You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
268 B

  1. --- squid-4.0.21.orig/src/tools.cc
  2. +++ squid-4.0.21/src/tools.cc
  3. @@ -581,7 +581,8 @@
  4. }
  5. #else
  6. - setuid(0);
  7. + if (setuid(0) < 0)
  8. + debugs(50, 1, "no_suid: setuid (0)");
  9. #endif
  10. #if HAVE_PRCTL && defined(PR_SET_DUMPABLE)
  11. /* Set Linux DUMPABLE flag */