summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sysv_ipc.c')
-rw-r--r--sys/kern/sysv_ipc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/sysv_ipc.c b/sys/kern/sysv_ipc.c
index cc8531d..e8ea41d 100644
--- a/sys/kern/sysv_ipc.c
+++ b/sys/kern/sysv_ipc.c
@@ -67,9 +67,13 @@ shmexit(struct vmspace *vm)
}
/*
- * Check for ipc permission
+ * Check for IPC permission.
+ *
+ * Note: The MAC Framework does not require any modifications to the
+ * ipcperm() function, as access control checks are performed throughout the
+ * implementation of each primitive. Those entry point calls complement the
+ * ipcperm() discertionary checks.
*/
-
int
ipcperm(td, perm, mode)
struct thread *td;
OpenPOWER on IntegriCloud