]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpriv: add --ambient-caps to usage()
authorKarel Zak <kzak@redhat.com>
Tue, 27 Jun 2017 13:10:09 +0000 (15:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Jun 2017 13:10:09 +0000 (15:10 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setpriv.c

index a029a8a44735605a10cc3bd37f5cf4b5c7242f10..41a865ff11d5900fe2e341247933e85a60a27f6e 100644 (file)
@@ -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 <caps,...>    set inheritable capabilities\n"), out);
-       fputs(_(" --bounding-set <caps>    set capability bounding set\n"), out);
-       fputs(_(" --ruid <uid>             set real uid\n"), out);
-       fputs(_(" --euid <uid>             set effective uid\n"), out);
-       fputs(_(" --rgid <gid>             set real gid\n"), out);
-       fputs(_(" --egid <gid>             set effective gid\n"), out);
-       fputs(_(" --reuid <uid>            set real and effective uid\n"), out);
-       fputs(_(" --regid <gid>            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 <group,...>     set supplementary groups\n"), out);
-       fputs(_(" --securebits <bits>      set securebits\n"), out);
-       fputs(_(" --selinux-label <label>  set SELinux label\n"), out);
-       fputs(_(" --apparmor-profile <pr>  set AppArmor profile\n"), out);
+       fputs(_(" -d, --dump                  show current state (and do not exec)\n"), out);
+       fputs(_(" --nnp, --no-new-privs       disallow granting new privileges\n"), out);
+       fputs(_(" --ambient-caps <caps,...>   set ambient capabilities\n"), out);
+       fputs(_(" --inh-caps <caps,...>       set inheritable capabilities\n"), out);
+       fputs(_(" --bounding-set <caps>       set capability bounding set\n"), out);
+       fputs(_(" --ruid <uid>                set real uid\n"), out);
+       fputs(_(" --euid <uid>                set effective uid\n"), out);
+       fputs(_(" --rgid <gid>                set real gid\n"), out);
+       fputs(_(" --egid <gid>                set effective gid\n"), out);
+       fputs(_(" --reuid <uid>               set real and effective uid\n"), out);
+       fputs(_(" --regid <gid>               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 <group,...>        set supplementary groups\n"), out);
+       fputs(_(" --securebits <bits>         set securebits\n"), out);
+       fputs(_(" --selinux-label <label>     set SELinux label\n"), out);
+       fputs(_(" --apparmor-profile <pr>     set AppArmor profile\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
        print_usage_help_options(16);