[sudo-commits] sudo changeset 8892:0bdbac1b3b39
Todd C. Miller
Todd.Miller at courtesan.com
Wed May 22 09:32:17 MDT 2013
changeset: 8892:0bdbac1b3b39 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/0bdbac1b3b39
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Wed May 22 11:32:08 2013 -0400
Log Message:
Replace sequence number-based cycle detection in visudo with a
"used" flag in struct alias. The caller is required to call
alias_put() when it is done with the alias. Inspired by a patch
from Daniel Kopecek.
diffstat:
MANIFEST | 2 +
plugins/sudoers/alias.c | 32 +++++++---
plugins/sudoers/match.c | 81 +++++++++-------------------
plugins/sudoers/parse.c | 5 +-
plugins/sudoers/parse.h | 64 ++++++++++++----------
plugins/sudoers/regress/visudo/test4.out.ok | 1 +
plugins/sudoers/regress/visudo/test4.sh | 14 +++++
plugins/sudoers/visudo.c | 13 +---
8 files changed, 105 insertions(+), 107 deletions(-)
More information about the sudo-commits
mailing list