From: Karel Zak Date: Tue, 27 Jun 2017 13:10:09 +0000 (+0200) Subject: setpriv: add --ambient-caps to usage() X-Git-Tag: v2.31-rc1~250 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fb515f90079739771b64dcb6beeb384e3be7cf5;p=thirdparty%2Futil-linux.git setpriv: add --ambient-caps to usage() Signed-off-by: Karel Zak --- diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c index a029a8a447..41a865ff11 100644 --- a/sys-utils/setpriv.c +++ b/sys-utils/setpriv.c @@ -119,23 +119,24 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_("Run a program with different privilege settings.\n"), out); fputs(USAGE_OPTIONS, out); - fputs(_(" -d, --dump show current state (and do not exec anything)\n"), out); - fputs(_(" --nnp, --no-new-privs disallow granting new privileges\n"), out); - fputs(_(" --inh-caps set inheritable capabilities\n"), out); - fputs(_(" --bounding-set set capability bounding set\n"), out); - fputs(_(" --ruid set real uid\n"), out); - fputs(_(" --euid set effective uid\n"), out); - fputs(_(" --rgid set real gid\n"), out); - fputs(_(" --egid set effective gid\n"), out); - fputs(_(" --reuid set real and effective uid\n"), out); - fputs(_(" --regid set real and effective gid\n"), out); - fputs(_(" --clear-groups clear supplementary groups\n"), out); - fputs(_(" --keep-groups keep supplementary groups\n"), out); - fputs(_(" --init-groups initialize supplementary groups\n"), out); - fputs(_(" --groups set supplementary groups\n"), out); - fputs(_(" --securebits set securebits\n"), out); - fputs(_(" --selinux-label