Date: Wed, 21 Dec 2005 08:58:34 +0200 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/90731: [patch] one typo and one mistake in unix(4) Message-ID: <20051221065834.GA16076@pm513-1.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <200512210700.jBL70FfZ070712@freefall.freebsd.org>
index | next in thread | raw e-mail
>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:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051221065834.GA16076>
