aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/util.c')
-rw-r--r--ipc/util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipc/util.c b/ipc/util.c
index ff045fec8d83..4ed5a17dd06f 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -23,9 +23,12 @@
23 * tree. 23 * tree.
24 * - perform initial checks (capabilities, auditing and permission, 24 * - perform initial checks (capabilities, auditing and permission,
25 * etc). 25 * etc).
26 * - perform read-only operations, such as STAT, INFO commands. 26 * - perform read-only operations, such as INFO command, that
27 * do not demand atomicity
27 * acquire the ipc lock (kern_ipc_perm.lock) through 28 * acquire the ipc lock (kern_ipc_perm.lock) through
28 * ipc_lock_object() 29 * ipc_lock_object()
30 * - perform read-only operations that demand atomicity,
31 * such as STAT command.
29 * - perform data updates, such as SET, RMID commands and 32 * - perform data updates, such as SET, RMID commands and
30 * mechanism-specific operations (semop/semtimedop, 33 * mechanism-specific operations (semop/semtimedop,
31 * msgsnd/msgrcv, shmat/shmdt). 34 * msgsnd/msgrcv, shmat/shmdt).