]> granicus.if.org Git - sudo/commit
Initial cut at a hooks implementation. The plugin can register
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 7 Mar 2012 21:35:42 +0000 (16:35 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 7 Mar 2012 21:35:42 +0000 (16:35 -0500)
commit37770ecf1ee15fcc6baf4e75c56d0b75feaa5772
tree03e368a85a86b6017aad707237b6ad770d764fa6
parent1504256134d263deda39944dce77bc5ea5e2a0bf
Initial cut at a hooks implementation.  The plugin can register
hooks for getenv, putenv, setenv and unsetenv.  This makes it
possible for the plugin to trap changes to the environment made by
authentication methods such as PAM or BSD auth so that such changes
are reflected in the environment passed back to sudo for execve().
24 files changed:
MANIFEST
aclocal.m4
common/sudo_debug.c
compat/Makefile.in
compat/setenv.c [deleted file]
compat/unsetenv.c [deleted file]
config.h.in
configure
configure.in
include/sudo_debug.h
include/sudo_plugin.h
mkdep.pl
plugins/sudoers/auth/aix_auth.c
plugins/sudoers/env.c
plugins/sudoers/ldap.c
plugins/sudoers/sudoers.c
plugins/sudoers/sudoers.h
src/Makefile.in
src/env_hooks.c [new file with mode: 0644]
src/hooks.c [new file with mode: 0644]
src/load_plugins.c
src/sudo.c
src/sudo.h
src/sudo_plugin_int.h