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/goodpath.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/goodpath.c')
-rw-r--r-- | usr.bin/sudo/goodpath.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/sudo/goodpath.c b/usr.bin/sudo/goodpath.c index 7c38d7b7fa2..1b72a66b141 100644 --- a/usr.bin/sudo/goodpath.c +++ b/usr.bin/sudo/goodpath.c @@ -1,6 +1,5 @@ /* - * Copyright (c) 1996, 1998, 1999, 2001 - * Todd C. Miller <Todd.Miller@courtesan.com>. + * Copyright (c) 1996, 1998-2005 Todd C. Miller <Todd.Miller@courtesan.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -19,7 +18,7 @@ * Materiel Command, USAF, under agreement number F39502-99-1-0512. */ -#include "config.h" +#include <config.h> #include <sys/types.h> #include <sys/stat.h> @@ -40,7 +39,7 @@ #include "sudo.h" #ifndef lint -static const char rcsid[] = "$Sudo: goodpath.c,v 1.41 2004/08/24 18:01:13 millert Exp $"; +__unused static const char rcsid[] = "$Sudo: goodpath.c,v 1.40.2.3 2007/06/12 01:28:41 millert Exp $"; #endif /* lint */ /* |