From 0655deab577a079e6039522e2cfcdbe93c810edb Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 7 Aug 2012 14:47:58 -0400 Subject: [PATCH] Fix a comment, update a variable name in a prototype; all cosmetic. --- src/exec_pty.c | 2 +- src/sudo_exec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exec_pty.c b/src/exec_pty.c index 4f44d0031..7f82ed37d 100644 --- a/src/exec_pty.c +++ b/src/exec_pty.c @@ -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. */ diff --git a/src/sudo_exec.h b/src/sudo_exec.h index f22976be4..eb104cdd1 100644 --- a/src/sudo_exec.h +++ b/src/sudo_exec.h @@ -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);