Module Name: src
Committed By: bouyer
Date: Tue Aug 18 10:53:45 UTC 2009
Modified Files:
src/lib/libc/sys [netbsd-4]: semctl.2 shmctl.2
Log Message:
Pull up following revision(s) (requested by dholland in ticket #1351):
lib/libc/sys/shmctl.2: revision 1.20
lib/libc/sys/semctl.2: revision 1.18
Fix pastos. From Jukka Salmi in PR 41605, with a very minor adjustment.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.10.1 src/lib/libc/sys/semctl.2
cvs rdiff -u -r1.17 -r1.17.2.1 src/lib/libc/sys/shmctl.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/semctl.2
diff -u src/lib/libc/sys/semctl.2:1.16 src/lib/libc/sys/semctl.2:1.16.10.1
--- src/lib/libc/sys/semctl.2:1.16 Thu May 13 10:20:58 2004
+++ src/lib/libc/sys/semctl.2 Tue Aug 18 10:53:45 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: semctl.2,v 1.16 2004/05/13 10:20:58 wiz Exp $
+.\" $NetBSD: semctl.2,v 1.16.10.1 2009/08/18 10:53:45 bouyer Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@@ -150,7 +150,7 @@
.Va sem_perm.cuid
or
.Va sem_perm.uid
-in the data structure associated with the message queue.
+in the data structure associated with the semaphore.
.It Dv IPC_RMID
Remove the semaphores associated with
.Fa semid
@@ -162,7 +162,7 @@
values in the data structure associated with the semaphore can do this.
.El
.Pp
-The permission to read or change a message queue (see
+The permission to read or change a semaphore (see
.Xr semop 2 )
is determined by the
.Va sem_perm.mode
@@ -209,7 +209,7 @@
.Va sem_perm.uid
or
.Va sem_perm.cuid
-fields of the data structure associated with the message queue.
+fields of the data structure associated with the semaphore.
.It Bq Er EACCES
The caller has no operation permission for this semaphore.
.It Bq Er EINVAL
Index: src/lib/libc/sys/shmctl.2
diff -u src/lib/libc/sys/shmctl.2:1.17 src/lib/libc/sys/shmctl.2:1.17.2.1
--- src/lib/libc/sys/shmctl.2:1.17 Sat Nov 25 21:40:05 2006
+++ src/lib/libc/sys/shmctl.2 Tue Aug 18 10:53:45 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: shmctl.2,v 1.17 2006/11/25 21:40:05 christos Exp $
+.\" $NetBSD: shmctl.2,v 1.17.2.1 2009/08/18 10:53:45 bouyer Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@@ -112,7 +112,7 @@
.Va shm_perm.cuid
or
.Va shm_perm.uid
-values in the data structure associated with the queue can do this.
+values in the data structure associated with the segment can do this.
.It Dv SHM_LOCK
Lock the shared memory segment specified by
.Fa shmid