summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/oss-fuzzshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/oss-fuzzshark.c b/tools/oss-fuzzshark.c
index 11adf5681e..f4fab346e5 100644
--- a/tools/oss-fuzzshark.c
+++ b/tools/oss-fuzzshark.c
@@ -151,7 +151,9 @@ fuzz_init(int argc _U_, char **argv)
* Let the user know if anything happened.
*/
init_process_policies();
+#if 0 /* disable setresgid(), it fails with -EINVAL https://github.com/google/oss-fuzz/pull/532#issuecomment-294515463 */
relinquish_special_privs_perm();
+#endif
/*
* Attempt to get the pathname of the executable file.