diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-26 16:10:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-07-26 16:10:17 +0000 |
commit | 828fe35b0dee0a24eae19e816e9f6bc05c720bc0 (patch) | |
tree | 2adb27efde016e50eadcf2e74892e19861268a25 /usr.bin/sudo/sudo_noexec.c | |
parent | eb13f7f0aa17caa3bf79e5518751b3f095fb2445 (diff) |
Update to sudo 1.6.9p1. Note that the environment handling in sudo
1.6.9 has changed relative to older versions. Sudo now starts
commands with a minimal environment containing the variables in the
env_keep and env_check lists. This behavior is configurable in the
sudoers file. Please see the "SECURITY NOTES" section in the sudo
manual.
Diffstat (limited to 'usr.bin/sudo/sudo_noexec.c')
-rw-r--r-- | usr.bin/sudo/sudo_noexec.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/sudo/sudo_noexec.c b/usr.bin/sudo/sudo_noexec.c index bce1a922772..f0723d0e2a3 100644 --- a/usr.bin/sudo/sudo_noexec.c +++ b/usr.bin/sudo/sudo_noexec.c @@ -14,17 +14,22 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "config.h" +#include <config.h> #include <errno.h> +#ifndef HAVE_TIMESPEC +# include <time.h> +#endif #ifdef __STDC__ # include <stdarg.h> #else # include <varargs.h> #endif +#include <compat.h> + #ifndef lint -static const char rcsid[] = "$Sudo: sudo_noexec.c,v 1.11 2005/03/10 15:09:28 millert Exp $"; +__unused static const char rcsid[] = "$Sudo: sudo_noexec.c,v 1.5.2.2 2007/06/12 00:56:43 millert Exp $"; #endif /* lint */ /* |