aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-11-15 10:18:31 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-11-15 10:27:33 +0100
commit0a33c83e51afa6d16025090a315c9583e171ce31 (patch)
tree2176e9c25e3abac29d19df990159090048dd0b53
parent10aa508cadb6cb1c08901ff7447fe63b1ba9e050 (diff)
downloadman-pages-0a33c83e51afa6d16025090a315c9583e171ce31.tar.gz
msgctl.2, semctl.2, shmctl.2: Minor fix
Break text into more paragraphs to ease readability Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/msgctl.22
-rw-r--r--man2/semctl.22
-rw-r--r--man2/shmctl.22
3 files changed, 6 insertions, 0 deletions
diff --git a/man2/msgctl.2 b/man2/msgctl.2
index 4c588c8a1c..165e18c1b0 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 87b57c9f0c..c01db9bad7 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 4f38dcd5da..9bfb03e63f 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