diff options
author | maxim <maxim@FreeBSD.org> | 2005-12-21 08:23:04 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2005-12-21 08:23:04 +0000 |
commit | f6ff25a50ea653bf22e7c80174009503f937f351 (patch) | |
tree | 7bf6ca97669137608f3e4f3720ff97ce005d5176 /share | |
parent | a70a67d8a8e4221124a0e3f853c8ed103b200c16 (diff) | |
download | FreeBSD-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.4 | 4 |
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 |