[sudo-commits] sudo changeset 6051:ee84d65c16b6
Todd C. Miller
Todd.Miller at courtesan.com
Fri Sep 10 11:27:30 EDT 2010
changeset: 6051:ee84d65c16b6 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/ee84d65c16b6
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Sep 10 11:20:32 2010 -0400
Log Message:
Instead of using a array to store received signals, open a pipe and
have the signal handler write the signal number to one end and
select() on the other end. This makes it possible to handle signals
similar to I/O without race conditions.
diffstat:
src/exec.c | 279 +++++++++++++++++++++++++++++++++++++++++--------------
src/exec_pty.c | 42 ++++++--
src/sudo_exec.h | 3 +-
3 files changed, 239 insertions(+), 85 deletions(-)
More information about the sudo-commits
mailing list