Commit ID 61cffa06f863c6df801ed5a0fdbc8565a2e6d5bc
|
|
Contributor: | TecKhan54 as Todd C. Miller |
Files Modified: | 24 |
| Date: | 07-March-2012 at 21:35 | Lines Added: | 1063 | |
| Repository: | http://www.sudo.ws/repos/sudo | Lines Removed: | 259 | |
| Commit Comment: | 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(). |
|||
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
| aclocal.m4 | Autoconf | 14 | 0 | 3 | 0 | 1 | 0 |
| common/sudo_debug.c | C | 1 | 0 | 0 | 0 | 0 | 0 |
| compat/Makefile.in | Make | 2 | 4 | 0 | 0 | 0 | 0 |
| compat/setenv.c | C | 0 | 54 | 0 | 20 | 0 | 9 |
| compat/unsetenv.c | C | 0 | 51 | 0 | 17 | 0 | 8 |
| config.h.in | C | 1 | 0 | 1 | 0 | 1 | 0 |
| configure | Autoconf | 31 | 17 | 0 | 0 | 2 | 0 |
| configure.in | Autoconf | 4 | 3 | 0 | 0 | 0 | 0 |
| include/sudo_debug.h | C | 1 | 0 | 0 | 0 | 0 | 0 |
| include/sudo_plugin.h | C | 35 | 1 | 19 | 1 | 6 | 0 |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.