aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-11-04 17:28:24 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-11-04 17:28:24 +0100
commitc020b5a217b2941ce5d6d179f28e782c99aa9ad2 (patch)
tree0292eb469e1fc2de7378a6f9c54f6d075cea669d
parent5593795fc3f3f908c1aacc4fc4572059de1aff1e (diff)
downloadman-pages-c020b5a217b2941ce5d6d179f28e782c99aa9ad2.tar.gz
msgctl.2, semctl.2, shmctl.2: Some small wording improvements for Davidlohr Bueso's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/msgctl.29
-rw-r--r--man2/semctl.29
-rw-r--r--man2/shmctl.27
3 files changed, 14 insertions, 11 deletions
diff --git a/man2/msgctl.2 b/man2/msgctl.2
index 2175e73ff7..2c29ea5084 100644
--- a/man2/msgctl.2
+++ b/man2/msgctl.2
@@ -233,12 +233,13 @@ Return a
.I msqid_ds
structure as for
.BR MSG_STAT .
-However, the
+However,
.I msg_perm.mode
is not checked for read access for
-.IR msqid ,
-resembing the behaviour of
-.IR /proc/sysvipc/msg .
+.IR msqid
+meaning that any user can employ this operation (just as any user may read
+.IR /proc/sysvipc/msg
+to obtain the same information).
.SH RETURN VALUE
On success,
.BR IPC_STAT ,
diff --git a/man2/semctl.2 b/man2/semctl.2
index afc9874f01..76c6bf0c27 100644
--- a/man2/semctl.2
+++ b/man2/semctl.2
@@ -246,12 +246,13 @@ Return a
.I seminfo
structure containing the same information as for
.BR SEM_STAT .
-However, the
+However,
.I sem_perm.mode
is not checked for read access for
-.IR semid ,
-resembing the behaviour of
-.IR /proc/sysvipc/sem .
+.IR semid
+meaning that any user can employ this operation (just as any user may read
+.IR /proc/sysvipc/sem
+to obtain the same information).
.TP
.B GETALL
Return
diff --git a/man2/shmctl.2 b/man2/shmctl.2
index 57f1855c49..010c3be6b6 100644
--- a/man2/shmctl.2
+++ b/man2/shmctl.2
@@ -249,12 +249,13 @@ Return a
.I shmid_ds
structure as for
.BR SHM_STAT .
-However, the
+However,
.I shm_perm.mode
is not checked for read access for
.IR shmid ,
-resembing the behaviour of
-.IR /proc/sysvipc/shm .
+meaning that any user can employ this operation (just as any user may read
+.IR /proc/sysvipc/shm
+to obtain the same information).
.PP
The caller can prevent or allow swapping of a shared
memory segment with the following \fIcmd\fP values: