]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r313174: Clean up documentation of AF_UNIX control messages.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Feb 2017 18:52:01 +0000 (18:52 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Feb 2017 18:52:01 +0000 (18:52 +0000)
commit7cd88d0b973edba0cefb2d7a3a28c2ee53a7aa54
tree71217e81c785b04467e61fdd50e7dcfab2183e08
parentb51d55b04669bae73838b212c5a2dfed3d8a6892
MFC r313174: Clean up documentation of AF_UNIX control messages.

Document AF_UNIX control messages in unix(4) only, not split between unix(4)
and recv(2).

Also, warn about LOCAL_CREDS effective uid/gid fields, since the write could
be from a setuid or setgid program (with the explicit SCM_CREDS and
LOCAL_PEERCRED, the credentials are read at such a time that it can be
assumed that the process intends for them to be used in this context).

git-svn-id: svn://svn.freebsd.org/base/stable/10@313685 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/recv.2
share/man/man4/unix.4