From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Christian Seiler <christian-+GPkE3DhqnY@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: typo in capabilities(7) man page
Date: Fri, 16 Jan 2015 08:14:44 +0100 [thread overview]
Message-ID: <54B8BA64.2040400@gmail.com> (raw)
In-Reply-To: <ee0727efea7a018dd84444dd9342ba7c-+GPkE3DhqnY@public.gmane.org>
Hello Christian,
On 01/13/2015 07:12 PM, Christian Seiler wrote:
> Dear Maintainers,
>
> I have found a small typo in capabilities(7). As per instructions[1],
> I'm reporting it directly via email.
>
> Under the capability CAP_SYS_ADMIN it says that you need it if you
> want to
>
> 'forge UID when passing socket credentials;'
>
> This should read instead:
>
> 'forge PID when passing socket credentials;'
>
> Rationale:
>
> UID/GID are governed by CAP_SET[UG]ID instead (which is already
> correctly mentioned in the man page), only PID requires CAP_SYS_ADMIN.
>
> The check in the kernel source can be found in:
> <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/net/core/scm.c#n47>
>
> Thanks!
>
> Christian
>
> [1] <https://www.kernel.org/doc/man-pages/reporting_bugs.html>
Thanks for the very complete report! Yes, the page needs fixing,
and I've done that.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-01-16 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 18:12 typo in capabilities(7) man page Christian Seiler
[not found] ` <ee0727efea7a018dd84444dd9342ba7c-+GPkE3DhqnY@public.gmane.org>
2015-01-16 7:14 ` Michael Kerrisk (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54B8BA64.2040400@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=christian-+GPkE3DhqnY@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.