[sudo-commits] sudo changeset 10735:afcff7b5b647
Todd C. Miller
Todd.Miller at courtesan.com
Fri Nov 11 20:53:48 MST 2016
changeset: 10735:afcff7b5b647 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/afcff7b5b647
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Fri Nov 11 16:18:27 2016 -0700
Log Message:
Add simple reference-counted string allocator and use it for passing
around references to the sudoers path. This lets us avoid making
copies of the sudoers path for the errorfile as well as each Defaults
entry.
diffstat:
MANIFEST | 1 +
plugins/sudoers/Makefile.in | 12 ++++-
plugins/sudoers/gram.c | 28 +++-------
plugins/sudoers/gram.y | 24 ++-------
plugins/sudoers/rcstr.c | 100 ++++++++++++++++++++++++++++++++++++++++++
plugins/sudoers/sudoers.h | 6 ++
plugins/sudoers/toke.c | 31 +++++++-----
plugins/sudoers/toke.l | 31 +++++++-----
plugins/sudoers/visudo.c | 18 +++----
plugins/sudoers/visudo_json.c | 4 +-
10 files changed, 177 insertions(+), 78 deletions(-)
More information about the sudo-commits
mailing list