forked from osmocom/wireshark
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:
parent
e6f944d632
commit
6d67dff656
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue