docs/90731: [patch] one typo and one mistake in unix(4)
Andrey Simonenko
simon at comsys.ntu-kpi.kiev.ua
Wed Dec 21 07:00:20 UTC 2005
>Number: 90731
>Category: docs
>Synopsis: [patch] one typo and one mistake in unix(4)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 21 07:00:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrey Simonenko
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
FreeBSD 6.0-STABLE
src/share/man/man4/unix.4,v 1.12
>Description:
One typo and one mistake in unix(4).
>How-To-Repeat:
>Fix:
--- unix.4.orig Thu Nov 24 09:08:10 2005
+++ unix.4 Mon Dec 19 19:56:31 2005
@@ -228,7 +228,7 @@
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 @@
.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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list