diff options
Diffstat (limited to '0002-Disable-issetugid.patch')
-rw-r--r-- | 0002-Disable-issetugid.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/0002-Disable-issetugid.patch b/0002-Disable-issetugid.patch new file mode 100644 index 000000000000..17251ef157bc --- /dev/null +++ b/0002-Disable-issetugid.patch @@ -0,0 +1,13 @@ +--- a/src/sys_unix.c ++++ b/src/sys_unix.c +@@ -170,10 +170,6 @@ + #ifdef HAVE_SECURE_GETENV + return secure_getenv(name); + #else +- /* Otherwise, make sure current process is not tainted by uid or gid +- * changes */ +- if (issetugid()) +- return NULL; + return getenv(name); + #endif + } |