diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/security/mac_partition/mac_partition.c | 7 | ||||
-rw-r--r-- | sys/security/mac_test/mac_test.c | 25 |
2 files changed, 0 insertions, 32 deletions
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, diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index 6c5e4ce..f1d6622 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -278,28 +278,6 @@ SYSCTL_INT(_security_mac_test, OID_AUTO, internalize_count, CTLFLAG_RD, #endif /* - * Policy module operations. - */ -static void -mac_test_destroy(struct mac_policy_conf *conf) -{ - -} - -static void -mac_test_init(struct mac_policy_conf *conf) -{ - -} - -static int -mac_test_syscall(struct thread *td, int call, void *arg) -{ - - return (0); -} - -/* * Label operations. */ static void @@ -2395,9 +2373,6 @@ mac_test_check_vnode_write(struct ucred *active_cred, static struct mac_policy_ops mac_test_ops = { - .mpo_destroy = mac_test_destroy, - .mpo_init = mac_test_init, - .mpo_syscall = mac_test_syscall, .mpo_init_bpfdesc_label = mac_test_init_bpfdesc_label, .mpo_init_cred_label = mac_test_init_cred_label, .mpo_init_devfsdirent_label = mac_test_init_devfsdirent_label, |