summaryrefslogtreecommitdiffstats
path: root/man2/semctl.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/semctl.2')
-rw-r--r--man2/semctl.29
1 files changed, 6 insertions, 3 deletions
diff --git a/man2/semctl.2 b/man2/semctl.2
index 9504bd45b..d40195007 100644
--- a/man2/semctl.2
+++ b/man2/semctl.2
@@ -39,7 +39,7 @@
.\" 2005-08-02, mtk: Added IPC_INFO, SEM_INFO, SEM_STAT descriptions.
.\" 2018-03-20, dbueso: Added SEM_STAT_ANY description.
.\"
-.TH SEMCTL 2 2020-04-11 "Linux" "Linux Programmer's Manual"
+.TH SEMCTL 2 2020-12-21 "Linux" "Linux Programmer's Manual"
.SH NAME
semctl \- System V semaphore control operations
.SH SYNOPSIS
@@ -94,6 +94,7 @@ struct semid_ds {
};
.EE
.in
+.PP
The fields of the
.I semid_ds
structure are as follows:
@@ -190,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
@@ -551,7 +554,7 @@ to include these header files.
.PP
The
.BR IPC_INFO ,
-.B SEM_STAT
+.BR SEM_STAT ,
and
.B SEM_INFO
operations are used by the
@@ -650,7 +653,7 @@ See
.BR sem_overview (7),
.BR sysvipc (7)
.SH COLOPHON
-This page is part of release 5.09 of the Linux
+This page is part of release 5.10 of the Linux
.I man-pages
project.
A description of the project,