summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_biba
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-05 16:44:29 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-05 16:44:29 +0000
commit4f3c382c18f70d73800721d5f840cf8853857376 (patch)
treeaab8af7087b38fd3ee88a923eef90b125b4ed468 /sys/security/mac_biba
parente45ebe30a85d2c4686911080b0e9e802561d6304 (diff)
downloadFreeBSD-src-4f3c382c18f70d73800721d5f840cf8853857376.zip
FreeBSD-src-4f3c382c18f70d73800721d5f840cf8853857376.tar.gz
Since neither the Biba policy nor the MLS policy make use of
transitioning, remove their transition entry points. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r--sys/security/mac_biba/mac_biba.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index e66ba7b..c6dff49 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -1355,27 +1355,6 @@ mac_biba_create_cred(struct ucred *cred_parent, struct ucred *cred_child)
}
static void
-mac_biba_execve_transition(struct ucred *old, struct ucred *new,
- struct vnode *vp, struct label *vnodelabel)
-{
- struct mac_biba *source, *dest;
-
- source = SLOT(&old->cr_label);
- dest = SLOT(&new->cr_label);
-
- mac_biba_copy_single(source, dest);
- mac_biba_copy_range(source, dest);
-}
-
-static int
-mac_biba_execve_will_transition(struct ucred *old, struct vnode *vp,
- struct label *vnodelabel)
-{
-
- return (0);
-}
-
-static void
mac_biba_create_proc0(struct ucred *cred)
{
struct mac_biba *dest;
@@ -2627,8 +2606,6 @@ static struct mac_policy_ops mac_biba_ops =
.mpo_relabel_ifnet = mac_biba_relabel_ifnet,
.mpo_update_ipq = mac_biba_update_ipq,
.mpo_create_cred = mac_biba_create_cred,
- .mpo_execve_transition = mac_biba_execve_transition,
- .mpo_execve_will_transition = mac_biba_execve_will_transition,
.mpo_create_proc0 = mac_biba_create_proc0,
.mpo_create_proc1 = mac_biba_create_proc1,
.mpo_relabel_cred = mac_biba_relabel_cred,
OpenPOWER on IntegriCloud