oss-fuzzshark: disable setresgid(), it fails with -EINVAL

Change-Id: I28abb1d0beb89ce45e20414298b2046f5149a25b
Reviewed-on: https://code.wireshark.org/review/21166
Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl>
This commit is contained in:
Jakub Zawadzki 2017-04-17 18:08:27 +02:00
parent e6f944d632
commit 6d67dff656
1 changed files with 2 additions and 0 deletions

View File

@ -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.