msgctl.2, semctl.2, shmctl.2: Some small wording improvements for Davidlohr Bueso's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-11-04 17:28:24 +01:00
parent 5593795fc3
commit c020b5a217
3 changed files with 14 additions and 11 deletions

View File

@ -233,12 +233,13 @@ Return a
.I msqid_ds .I msqid_ds
structure as for structure as for
.BR MSG_STAT . .BR MSG_STAT .
However, the However,
.I msg_perm.mode .I msg_perm.mode
is not checked for read access for is not checked for read access for
.IR msqid , .IR msqid
resembing the behaviour of meaning that any user can employ this operation (just as any user may read
.IR /proc/sysvipc/msg . .IR /proc/sysvipc/msg
to obtain the same information).
.SH RETURN VALUE .SH RETURN VALUE
On success, On success,
.BR IPC_STAT , .BR IPC_STAT ,

View File

@ -246,12 +246,13 @@ Return a
.I seminfo .I seminfo
structure containing the same information as for structure containing the same information as for
.BR SEM_STAT . .BR SEM_STAT .
However, the However,
.I sem_perm.mode .I sem_perm.mode
is not checked for read access for is not checked for read access for
.IR semid , .IR semid
resembing the behaviour of meaning that any user can employ this operation (just as any user may read
.IR /proc/sysvipc/sem . .IR /proc/sysvipc/sem
to obtain the same information).
.TP .TP
.B GETALL .B GETALL
Return Return

View File

@ -249,12 +249,13 @@ Return a
.I shmid_ds .I shmid_ds
structure as for structure as for
.BR SHM_STAT . .BR SHM_STAT .
However, the However,
.I shm_perm.mode .I shm_perm.mode
is not checked for read access for is not checked for read access for
.IR shmid , .IR shmid ,
resembing the behaviour of meaning that any user can employ this operation (just as any user may read
.IR /proc/sysvipc/shm . .IR /proc/sysvipc/shm
to obtain the same information).
.PP .PP
The caller can prevent or allow swapping of a shared The caller can prevent or allow swapping of a shared
memory segment with the following \fIcmd\fP values: memory segment with the following \fIcmd\fP values: