diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-10-22 12:12:40 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-10-22 12:12:40 +0000 |
commit | fe8ddb95e028077dbc2cdff19143b43ff49dadcc (patch) | |
tree | e454de9c46eb1a6e60d2000e7b6ab0043a3fde5c /sys | |
parent | 00f1836c10b240701baf7a7401a833706b645c5c (diff) | |
download | FreeBSD-src-fe8ddb95e028077dbc2cdff19143b43ff49dadcc.zip FreeBSD-src-fe8ddb95e028077dbc2cdff19143b43ff49dadcc.tar.gz |
Add an annotation to the comment for sysv_ipc.c to indicate that the
MAC Framework doesn't require checks in ipcperm() because checks
relating to System V IPC will be performed in individual IPC
implementations.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/sysv_ipc.c | 8 |
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; |