Fix a comment, update a variable name in a prototype; all cosmetic.
This commit is contained in:
@@ -139,7 +139,7 @@ mon_handler(int s, siginfo_t *info, void *context)
|
||||
|
||||
/*
|
||||
* If the signal came from the command we ran, just ignore
|
||||
* it since we don't want the child to indirectly kill itself.
|
||||
* it since we don't want the command to indirectly kill itself.
|
||||
* This can happen with, e.g. BSD-derived versions of reboot
|
||||
* that call kill(-1, SIGTERM) to kill all other processes.
|
||||
*/
|
||||
|
@@ -35,7 +35,7 @@ extern volatile pid_t cmnd_pid;
|
||||
/* exec_pty.c */
|
||||
struct command_details;
|
||||
struct command_status;
|
||||
int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *oset);
|
||||
int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *omask);
|
||||
int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat);
|
||||
int suspend_parent(int signo);
|
||||
void fd_set_iobs(fd_set *fdsr, fd_set *fdsw);
|
||||
|
Reference in New Issue
Block a user