[sudo-commits] sudo changeset 9243:55e006dbeaf3
Todd C. Miller
Todd.Miller at courtesan.com
Tue Jan 14 20:34:35 MST 2014
changeset: 9243:55e006dbeaf3 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/55e006dbeaf3
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Jan 14 20:20:26 2014 -0700
Log Message:
When relocating preserved fds, start with the highest ones first
to avoid moving fds around more than we have to. Now uses a bitmap
to keep track of which fds are being preserved. Fixes a bug where
the debugging fd could be relocated to the same fd as the error
backchannel temporarily, resulting in debugging output being printed
to the backchannel if util at debug was enabled.
diffstat:
src/preserve_fds.c | 94 ++++++++++++++++++++++++++---------------------------
1 files changed, 46 insertions(+), 48 deletions(-)
More information about the sudo-commits
mailing list