]> granicus.if.org Git - sudo/commit
Add simple reference-counted string allocator and use it for passing
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 11 Nov 2016 23:18:27 +0000 (16:18 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 11 Nov 2016 23:18:27 +0000 (16:18 -0700)
commit90995c0acf95e33381cd91fea5d2bac46f60d22c
treebac13f8cb3ab57bcdd9860e836eedf4979960002
parentb5e3a7aef2b38d09069a7ac0f7887f295d28a2a8
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.
MANIFEST
plugins/sudoers/Makefile.in
plugins/sudoers/gram.c
plugins/sudoers/gram.y
plugins/sudoers/rcstr.c [new file with mode: 0644]
plugins/sudoers/sudoers.h
plugins/sudoers/toke.c
plugins/sudoers/toke.l
plugins/sudoers/visudo.c
plugins/sudoers/visudo_json.c