diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-26 17:11:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-26 17:11:57 +0000 |
commit | 2f11222833739f6b579a85ecde37ef6edf2e138c (patch) | |
tree | 06b016e3666e3730782ed81806dfee9447791631 /sys/kern | |
parent | 9d7a17413971aeaf7de568f53b30cf53d84978ea (diff) | |
download | FreeBSD-src-2f11222833739f6b579a85ecde37ef6edf2e138c.zip FreeBSD-src-2f11222833739f6b579a85ecde37ef6edf2e138c.tar.gz |
Un-staticize mac_cred_mmapped_drop_perms() so that it may be used
by policy modules making use of downgrades in the MAC AST event. This
is required by the mac_lomac port of LOMAC to the MAC Framework.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mac.c b/sys/kern/kern_mac.c index f9eb44e..10fe51d 100644 --- a/sys/kern/kern_mac.c +++ b/sys/kern/kern_mac.c @@ -1856,7 +1856,7 @@ mac_check_vnode_write(struct ucred *active_cred, struct ucred *file_cred, * memory space, and revoke access (in the least surprising ways we * know) when necessary. The process lock is not held here. */ -static void +void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred) { |