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