[sudo-commits] sudo changeset 6054:2d9dd09a9fce
Todd C. Miller
Todd.Miller at courtesan.com
Fri Sep 10 13:19:34 EDT 2010
changeset: 6054:2d9dd09a9fce in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/2d9dd09a9fce
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Sep 10 13:19:26 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:
exec.c | 301 +++++++++++++++++++++++++++++++++++++++++++++--------------
exec_pty.c | 40 +++++-
list.c | 30 +++++
list.h | 1 +
sudo_exec.h | 3 +-
5 files changed, 290 insertions(+), 85 deletions(-)
More information about the sudo-commits
mailing list