Module Name: src
Committed By: snj
Date: Fri Aug 14 21:18:54 UTC 2009
Modified Files:
src/lib/libc/sys [netbsd-5]: semctl.2 shmctl.2
Log Message:
Pull up following revision(s) (requested by dholland in ticket #894):
lib/libc/sys/semctl.2: revision 1.18
lib/libc/sys/shmctl.2: revision 1.20
Fix pastos. From Jukka Salmi in PR 41605, with a very minor adjustment.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.6.1 src/lib/libc/sys/semctl.2
cvs rdiff -u -r1.19 -r1.19.18.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.17 src/lib/libc/sys/semctl.2:1.17.6.1
--- src/lib/libc/sys/semctl.2:1.17 Tue May 6 20:25:09 2008
+++ src/lib/libc/sys/semctl.2 Fri Aug 14 21:18:54 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: semctl.2,v 1.17 2008/05/06 20:25:09 njoly Exp $
+.\" $NetBSD: semctl.2,v 1.17.6.1 2009/08/14 21:18:54 snj 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.19 src/lib/libc/sys/shmctl.2:1.19.18.1
--- src/lib/libc/sys/shmctl.2:1.19 Sun Dec 31 03:17:52 2006
+++ src/lib/libc/sys/shmctl.2 Fri Aug 14 21:18:54 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: shmctl.2,v 1.19 2006/12/31 03:17:52 uebayasi Exp $
+.\" $NetBSD: shmctl.2,v 1.19.18.1 2009/08/14 21:18:54 snj 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