* typo in capabilities(7) man page
@ 2015-01-13 18:12 Christian Seiler
[not found] ` <ee0727efea7a018dd84444dd9342ba7c-+GPkE3DhqnY@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Christian Seiler @ 2015-01-13 18:12 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
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>
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <ee0727efea7a018dd84444dd9342ba7c-+GPkE3DhqnY@public.gmane.org>]
* Re: typo in capabilities(7) man page [not found] ` <ee0727efea7a018dd84444dd9342ba7c-+GPkE3DhqnY@public.gmane.org> @ 2015-01-16 7:14 ` Michael Kerrisk (man-pages) 0 siblings, 0 replies; 2+ messages in thread From: Michael Kerrisk (man-pages) @ 2015-01-16 7:14 UTC (permalink / raw) To: Christian Seiler Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-16 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).