]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
msgctl.2, semctl.2, shmctl.2: Some small wording improvements for Davidlohr Bueso...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 4 Nov 2018 16:28:24 +0000 (17:28 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 4 Nov 2018 16:28:24 +0000 (17:28 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/msgctl.2
man2/semctl.2
man2/shmctl.2

index 2175e73ff7741e4b35c91de71864189a7d04ad9b..2c29ea508478e3153f3cf4eda2a8c5acc14ea7fe 100644 (file)
@@ -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 ,
index afc9874f0161126fcde4efba1ee434fcb514deb3..76c6bf0c27c8dfef53c99d8cb3dccb1d82605013 100644 (file)
@@ -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
index 57f1855c49ff59873373472387fcc1efd2496b94..010c3be6b6f0075cb7c9d5973f9a5f841e5aabdc 100644 (file)
@@ -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: