aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-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