summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2005-12-21 08:23:04 +0000
committermaxim <maxim@FreeBSD.org>2005-12-21 08:23:04 +0000
commitf6ff25a50ea653bf22e7c80174009503f937f351 (patch)
tree7bf6ca97669137608f3e4f3720ff97ce005d5176 /share
parenta70a67d8a8e4221124a0e3f853c8ed103b200c16 (diff)
downloadFreeBSD-src-f6ff25a50ea653bf22e7c80174009503f937f351.zip
FreeBSD-src-f6ff25a50ea653bf22e7c80174009503f937f351.tar.gz
o Fix typo: id_t -> uid_t.
o Use align aware CMSG_LEN() macro for cmsg_len computation. PR: docs/90731 Submitted by: Andrey Simonenko Reviewed by: mdodd MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/unix.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/unix.4 b/share/man/man4/unix.4
index 8a27de2..89944ce 100644
--- a/share/man/man4/unix.4
+++ b/share/man/man4/unix.4
@@ -228,7 +228,7 @@ structure, defined in
as follows:
.Bd -literal
struct sockcred {
- id_t sc_uid; /* real user id */
+ uid_t sc_uid; /* real user id */
uid_t sc_euid; /* effective user id */
gid_t sc_gid; /* real group id */
gid_t sc_egid; /* effective group id */
@@ -247,7 +247,7 @@ The
.Vt cmsghdr
fields have the following values:
.Bd -literal
-cmsg_len = sizeof(struct cmsghdr) + SOCKCREDSIZE(ngroups)
+cmsg_len = CMSG_LEN(SOCKCREDSIZE(ngroups))
cmsg_level = SOL_SOCKET
cmsg_type = SCM_CREDS
.Ed
OpenPOWER on IntegriCloud