summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-05-12 18:31:05 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-05-12 18:58:00 (GMT)
commit5a7cde23aadd21f564e2f9d08729ac1eb09ca437 (patch)
treeaeee8b0dbe954886d94c4e5ec168ffd1cc156d25 /include
parented820ccda1a2323b5821db637ccd6dbb3dfce340 (diff)
downloadbusybox-setpriv.zip
busybox-setpriv.tar.gz
busybox-setpriv.tar.bz2
setpriv: new appletsetpriv
Add a minimal 'setpriv' implementation supporting the NO_NEW_PRIVS bit. As upstream only supports long options (--nnp/--no-new-privs), A non-standard "-N" option is also added for the applet. Typical usage: $ busybox setpriv sudo uname Linux $ busybox setpriv --nnp sudo uname sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges? Signed-off-by: Assaf Gordon <assafgordon@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions