[PATCH 16/16] capsh.c: Spelling fixes in usage() message

Michael Kerrisk (man-pages) mtk.manpages at gmail.com
Fri Jul 17 06:00:00 UTC 2020


On Thu, 16 Jul 2020 at 17:08, Andrew G. Morgan <morgan at kernel.org> wrote:
>
> Thanks! Applied all of them except 07_16. Instead, I've hopefully
> clarified the intent of the text with some quotes.

Okay. Thanks, Andrew.

Cheers,

Michael

> https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=34e4e00b983a2c0fc5f13b403871a8fb5860bb89
>
> On Thu, Jul 16, 2020 at 3:19 AM Michael Kerrisk (man-pages)
> <mtk.manpages at gmail.com> wrote:
> >
> > Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages at gmail.com>
> > ---
> >  progs/capsh.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/progs/capsh.c b/progs/capsh.c
> > index 94bf57d..7bed98e 100644
> > --- a/progs/capsh.c
> > +++ b/progs/capsh.c
> > @@ -879,10 +879,10 @@ int main(int argc, char *argv[], char *envp[])
> >                    "  --delamb=xxx   remove xxx,... capabilities from ambient\n"
> >                    "  --noamb        reset (drop) all ambient capabilities\n"
> >                    "  --caps=xxx     set caps as per cap_from_text()\n"
> > -                  "  --inh=xxx      set xxx,.. inheritiable set\n"
> > +                  "  --inh=xxx      set xxx,.. inheritable set\n"
> >                    "  --secbits=<n>  write a new value for securebits\n"
> >                    "  --iab=...      use cap_iab_from_text() to set iab\n"
> > -                  "  --keep=<n>     set keep-capabability bit to <n>\n"
> > +                  "  --keep=<n>     set keep-capability bit to <n>\n"
> >                    "  --uid=<n>      set uid to <n> (hint: id <username>)\n"
> >                    "  --cap-uid=<n>  libcap cap_setuid() to change uid\n"
> >                    "  --is-uid=<n>   exit 1 if uid != <n>\n"
> > --
> > 2.26.2
> >



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



More information about the Linux-security-module-archive mailing list