Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 15:39:10 -0700 (PDT)
From:      graphix@iastate.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/1712: semget man page refers to SEM_W instead of SEM_A
Message-ID:  <199610022239.PAA11991@freefall.freebsd.org>
Resent-Message-ID: <199610022240.PAA12072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1712
>Category:       docs
>Synopsis:       semget man page refers to SEM_W instead of SEM_A
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct  2 15:40:02 PDT 1996
>Last-Modified:
>Originator:     Kent Vander Velden
>Organization:
Iowa State University
>Release:        -current
>Environment:
FreeBSD pseudo.cc.iastate.edu 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Sun Sep 29 02:52:06 CDT 1996     kent@pseudo.cc.iastate.edu:/usr/src/sys/compile/PSEUDO  i386
	

>Description:

The semget() man page refers to the macro SEM_W but the include file
sys/sem.h does not define this and instead defines SHM_A.  A change
to the man page is needed to reflect this.
>How-To-Repeat:


>Fix:
src|Wed5:39pm} cvs diff -r HEAD lib/libc/sys/semget.2
Index: lib/libc/sys/semget.2
===================================================================
RCS file: /usr/FreeBSD-CVS/src/lib/libc/sys/semget.2,v
retrieving revision 1.1
diff -r1.1 semget.2
83,84c83,84
< .It Dv SEM_W
< Write access for user.
---
> .It Dv SEM_A
> Alter access for user.
87,88c87,88
< .It Dv (SEM_W>>3)
< Write access for group.
---
> .It Dv (SEM_A>>3)
> Alter access for group.
91,92c91,92
< .It Dv (SEM_W>>6)
< Write access for other.
---
> .It Dv (SEM_A>>6)
> Alter access for other.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610022239.PAA11991>