]> granicus.if.org Git - sudo/commitdiff
Fix a comment, update a variable name in a prototype; all cosmetic.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Aug 2012 18:47:58 +0000 (14:47 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Aug 2012 18:47:58 +0000 (14:47 -0400)
src/exec_pty.c
src/sudo_exec.h

index 4f44d003107329588a077c5f048909f810e02e11..7f82ed37d7e65464b5a8f38e285798fd17a4f50d 100644 (file)
@@ -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.
      */
index f22976be429d492e54f708070edfb4ef99d5f1e3..eb104cdd12eaa90ee89e0d586e38d04ffda1ba1d 100644 (file)
@@ -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);