2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Move set_perms() to its own file and use POSIX saved uid or setreuid()

if available.

Added stay_setuid option for systems that have libraries that perform
extra paranoia checks in system libraries for setuid programs (ie:
anything with issetugid(2)).
This commit is contained in:
Todd C. Miller
2000-11-03 05:37:44 +00:00
parent 70f16a284d
commit 7ea65e54bd
5 changed files with 289 additions and 165 deletions

View File

@@ -202,6 +202,9 @@ struct sudo_defs_types sudo_defs_table[] = {
}, {
"set_logname", T_FLAG,
"Set the LOGNAME and USER environment variables"
}, {
"stay_setuid", T_FLAG,
"Only set the effective uid to the target user, not the real uid"
}, {
"loglinelen", T_INT|T_BOOL,
"Length at which to wrap log file lines (0 for no wrap): %d"