summaryrefslogtreecommitdiff
path: root/methods/server.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-10-07 21:17:04 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-10-07 21:17:04 +0200
commit8f45798d532223adc378a4ad9ecfc64b3be26e4f (patch)
treede964d38c9c216670993f188ed592b8cc900ae58 /methods/server.h
parentf8aba23f2e8a4c52869cd3869a716df28267597a (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/server.h')
0 files changed, 0 insertions, 0 deletions