diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
commit | ab753fcde40b28248172c552ce2b1f23eddfc9f4 (patch) | |
tree | 2ff2724ef77294878f91b528843a0f0b6dba5462 /data/sudo/platformize.diff | |
parent | 295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (diff) |
Update more packages
Diffstat (limited to 'data/sudo/platformize.diff')
-rw-r--r-- | data/sudo/platformize.diff | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/sudo/platformize.diff b/data/sudo/platformize.diff index 44dba8964..ed730c5fd 100644 --- a/data/sudo/platformize.diff +++ b/data/sudo/platformize.diff @@ -24,7 +24,7 @@ diff -ur sudo-1.8.23/src/sudo.c sudo-1.8.23+iPhone/src/sudo.c + + setuidptr(getpid()); + -+ setuid(0); ++ seteuid(0); + + const char *dlsym_error = dlerror(); + if (dlsym_error) { @@ -45,4 +45,3 @@ diff -ur sudo-1.8.23/src/sudo.c sudo-1.8.23+iPhone/src/sudo.c int nargc, ok, status = 0; char **nargv, **env_add; char **user_info, **command_info, **argv_out, **user_env_out; -Only in sudo-1.8.23+iPhone/src: sudo.c.orig |