msgget.2, semget.2, shmget.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-23 09:43:00 +01:00
parent 0f1e53ec43
commit 3ed6ea8db5
3 changed files with 18 additions and 18 deletions

View File

@ -109,22 +109,22 @@ then its associated data structure
(see
.BR msgctl (2))
is initialized as follows:
.IP
.IP \(bu 2
.I msg_perm.cuid
and
.I msg_perm.uid
are set to the effective user ID of the calling process.
.IP
.IP \(bu
.I msg_perm.cgid
and
.I msg_perm.gid
are set to the effective group ID of the calling process.
.IP
.IP \(bu
The least significant 9 bits of
.I msg_perm.mode
are set to the least significant 9 bits of
.IR msgflg .
.IP
.IP \(bu
.IR msg_qnum ,
.IR msg_lspid ,
.IR msg_lrpid ,
@ -132,10 +132,10 @@ are set to the least significant 9 bits of
and
.I msg_rtime
are set to 0.
.IP
.IP \(bu
.I msg_ctime
is set to the current time.
.IP
.IP \(bu
.I msg_qbytes
is set to the system limit
.BR MSGMNB .

View File

@ -113,29 +113,29 @@ initializes the set's associated data structure,
(see
.BR semctl (2)),
as follows:
.IP
.IP \(bu 2
.I sem_perm.cuid
and
.I sem_perm.uid
are set to the effective user ID of the calling process.
.IP
.IP \(bu
.I sem_perm.cgid
and
.I sem_perm.gid
are set to the effective group ID of the calling process.
.IP
.IP \(bu
The least significant 9 bits of
.I sem_perm.mode
are set to the least significant 9 bits of
.IR semflg .
.IP
.IP \(bu
.I sem_nsems
is set to the value of
.IR nsems .
.IP
.IP \(bu
.I sem_otime
is set to 0.
.IP
.IP \(bu
.I sem_ctime
is set to the current time.
.PP

View File

@ -180,33 +180,33 @@ its associated data structure,
(see
.BR shmctl (2)),
is initialized as follows:
.IP
.IP \(bu 2
.I shm_perm.cuid
and
.I shm_perm.uid
are set to the effective user ID of the calling process.
.IP
.IP \(bu
.I shm_perm.cgid
and
.I shm_perm.gid
are set to the effective group ID of the calling process.
.IP
.IP \(bu
The least significant 9 bits of
.I shm_perm.mode
are set to the least significant 9 bit of
.IR shmflg .
.IP
.IP \(bu
.I shm_segsz
is set to the value of
.IR size .
.IP
.IP \(bu
.IR shm_lpid ,
.IR shm_nattch ,
.IR shm_atime ,
and
.I shm_dtime
are set to 0.
.IP
.IP \(bu
.I shm_ctime
is set to the current time.
.PP