diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-10-07 21:17:04 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-10-07 21:17:04 +0200 |
commit | 8f45798d532223adc378a4ad9ecfc64b3be26e4f (patch) | |
tree | de964d38c9c216670993f188ed592b8cc900ae58 /methods/connect.cc | |
parent | f8aba23f2e8a4c52869cd3869a716df28267597a (diff) |
set PR_SET_NO_NEW_PRIVS also if run as non-root
Changing user and co works only as root, but can do some things for
methods run as normal user as well to protect them from being able to
call setuid binaries like sudo to elevate their privileges.
Also uses a cheap trick now to build with old unsupporting kernels.
Diffstat (limited to 'methods/connect.cc')
0 files changed, 0 insertions, 0 deletions