From 0a33c83e51afa6d16025090a315c9583e171ce31 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 15 Nov 2020 10:18:31 +0100 Subject: [PATCH] msgctl.2, semctl.2, shmctl.2: Minor fix Break text into more paragraphs to ease readability Signed-off-by: Michael Kerrisk --- man2/msgctl.2 | 2 ++ man2/semctl.2 | 2 ++ man2/shmctl.2 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/man2/msgctl.2 b/man2/msgctl.2 index 4c588c8a1..165e18c1b 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -181,12 +181,14 @@ to the kernel data structure associated with this message queue, updating also its .I msg_ctime member. +.IP The following members of the structure are updated: .IR msg_qbytes , .IR msg_perm.uid , .IR msg_perm.gid , and (the least significant 9 bits of) .IR msg_perm.mode . +.IP The effective UID of the calling process must match the owner .RI ( msg_perm.uid ) or creator diff --git a/man2/semctl.2 b/man2/semctl.2 index 87b57c9f0..c01db9bad 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -191,11 +191,13 @@ to the kernel data structure associated with this semaphore set, updating also its .I sem_ctime member. +.IP The following members of the structure are updated: .IR sem_perm.uid , .IR sem_perm.gid , and (the least significant 9 bits of) .IR sem_perm.mode . +.IP The effective UID of the calling process must match the owner .RI ( sem_perm.uid ) or creator diff --git a/man2/shmctl.2 b/man2/shmctl.2 index 4f38dcd5d..9bfb03e63 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -192,9 +192,11 @@ to the kernel data structure associated with this shared memory segment, updating also its .I shm_ctime member. +.IP The following fields can be changed: \fIshm_perm.uid\fP, \fIshm_perm.gid\fP, and (the least significant 9 bits of) \fIshm_perm.mode\fP. +.IP The effective UID of the calling process must match the owner .RI ( shm_perm.uid ) or creator