[sudo-commits] sudo changeset 8886:7028b21f7a9b
Todd C. Miller
Todd.Miller at courtesan.com
Fri May 3 14:24:29 MDT 2013
changeset: 8886:7028b21f7a9b in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/7028b21f7a9b
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri May 03 16:14:12 2013 -0400
Log Message:
No longer store the ctime of a devpts tty. The handling of ctime
on devpts in Linux has been changed to conform to POSIX. As a
result we can no longer assume that the ctime will stay unchanged
throughout the life of the session. We store the session ID in the
time stamp file so there is a much smaller chance of the time stamp
file being reused by a new login. While here, store the uid/gid
in the timestamp file too for good measure.
diffstat:
plugins/sudoers/check.h | 3 +-
plugins/sudoers/timestamp.c | 50 +-------------------------------------------
2 files changed, 4 insertions(+), 49 deletions(-)
More information about the sudo-commits
mailing list