[PATCH v3] setpriv: new applet
Denys Vlasenko
vda.linux at googlemail.com
Wed Jun 14 09:49:13 UTC 2017
On Fri, May 19, 2017 at 4:48 AM, Assaf Gordon <assafgordon at gmail.com> wrote:
> 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 at gmail.com>
Applied, thanks!
More information about the busybox
mailing list