mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Run most of the code as root, not the invoking user. It doesn't really
gain us anything to run as the user since an attacker can just have an setuid(0) in their egg. Running as root solves potential problems wrt signalling.
This commit is contained in:
@@ -112,7 +112,6 @@ find_path(infile, outfile)
|
||||
path = estrdup(path);
|
||||
origpath = path;
|
||||
|
||||
/* XXX use strtok() */
|
||||
do {
|
||||
if ((n = strchr(path, ':')))
|
||||
*n = '\0';
|
||||
|
Reference in New Issue
Block a user