From 4fb515f90079739771b64dcb6beeb384e3be7cf5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 27 Jun 2017 15:10:09 +0200 Subject: setpriv: add --ambient-caps to usage() Signed-off-by: Karel Zak --- sys-utils/setpriv.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'sys-utils/setpriv.c') diff --git a/sys-utils/setpriv.c b/sys-utils/setpriv.c index a029a8a44..41a865ff1 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