summarylogtreecommitdiffstats
path: root/0002-Disable-issetugid.patch
blob: 17251ef157bcf6385a6160651bfa706d7066f75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
 }