[sudo-commits] sudo changeset 5240:cb122acc81a8
Todd C. Miller
Todd.Miller at courtesan.com
Tue Apr 13 06:31:55 EDT 2010
changeset: 5240:cb122acc81a8 in /home/hg/sudo
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Apr 13 06:31:55 2010 -0400
If execve fails in logging mode, pass the errno directly to the grandparent
on the backchannel and exit. The immediate parent will get SIGCHLD and
try to report that status but its parent will no longer be listening.
It would probably be cleaner to pass this over a pipe in script_child().
src/script.c | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
More information about the sudo-commits