summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-26 17:11:57 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-26 17:11:57 +0000
commit2f11222833739f6b579a85ecde37ef6edf2e138c (patch)
tree06b016e3666e3730782ed81806dfee9447791631 /sys/security/mac/mac_framework.h
parent9d7a17413971aeaf7de568f53b30cf53d84978ea (diff)
downloadFreeBSD-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/security/mac/mac_framework.h')
-rw-r--r--sys/security/mac/mac_framework.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index 89c6efc..b03a172 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -335,6 +335,7 @@ int mac_setsockopt_label_set(struct ucred *cred, struct socket *so,
struct mac *extmac);
int mac_pipe_label_set(struct ucred *cred, struct pipe *pipe,
struct label *label);
+void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred);
/*
* Calls to help various file systems implement labeling functionality
OpenPOWER on IntegriCloud