[sudo-cvs] CVS commit: sudo

Todd.Miller at courtesan.com Todd.Miller at courtesan.com
Mon Jun 11 19:18:34 EDT 2007

Module Name:	sudo
Committed By:	millert
Date:		Mon Jun 11 23:18:34 UTC 2007

Modified Files:
	sudo [SUDO_1_6_9]: env.c sudo.c

Log Message:
Instead of zeroing out the environment, just prune out entries
based on the env_delete and env_check lists.  Base building up
the new environment on the current environment and the variables
we removed initially.

Move setting of user_path, user_shell, user_prompt and prev_user
into init_vars() since user_shell at least is needed there.

To generate a diff of this commit:
cvs rdiff -r1.39.2.5 -r1.39.2.6 sudo/env.c
cvs rdiff -r1.369.2.6 -r1.369.2.7 sudo/sudo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the sudo-commits mailing list