From 3f41cc3fee06b9e1d00d440aeef4583f6c44640f Mon Sep 17 00:00:00 2001 From: rwatson Date: Fri, 23 Feb 2007 11:15:35 +0000 Subject: Remove empty entry point functions (init, destroy, syscall) from policies that don't need them. --- sys/security/mac_partition/mac_partition.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/security/mac_partition/mac_partition.c') diff --git a/sys/security/mac_partition/mac_partition.c b/sys/security/mac_partition/mac_partition.c index 6fef299..257df3a 100644 --- a/sys/security/mac_partition/mac_partition.c +++ b/sys/security/mac_partition/mac_partition.c @@ -83,12 +83,6 @@ static int partition_slot; #define SLOT_SET(l, v) mac_label_set((l), partition_slot, (v)) static void -mac_partition_init(struct mac_policy_conf *conf) -{ - -} - -static void mac_partition_init_label(struct label *label) { @@ -269,7 +263,6 @@ mac_partition_check_vnode_exec(struct ucred *cred, struct vnode *vp, static struct mac_policy_ops mac_partition_ops = { - .mpo_init = mac_partition_init, .mpo_init_cred_label = mac_partition_init_label, .mpo_destroy_cred_label = mac_partition_destroy_label, .mpo_copy_cred_label = mac_partition_copy_label, -- cgit v1.1