aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_stub
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-11-16 18:28:58 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-11-16 18:28:58 +0000
commit0196273b2d524eec6918dc2f8f096ca5fb3fc6c5 (patch)
tree4a05f7d2a7c4ef288f03facf93b4b11d50c44eb1 /sys/security/mac_stub
parent9e71dd0feb2afc33dbcef6000e26208e6fbbdea9 (diff)
Notes
Diffstat (limited to 'sys/security/mac_stub')
-rw-r--r--sys/security/mac_stub/mac_stub.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c
index 5b68506c5c9b..a0c7d95d55af 100644
--- a/sys/security/mac_stub/mac_stub.c
+++ b/sys/security/mac_stub/mac_stub.c
@@ -127,6 +127,12 @@ stub_destroy_label(struct label *label)
}
+static void
+stub_copy_label(struct label *src, struct label *dest)
+{
+
+}
+
static int
stub_externalize_label(struct label *label, char *element_name,
struct sbuf *sb, int *claimed)
@@ -1024,6 +1030,9 @@ static struct mac_policy_ops mac_stub_ops =
.mpo_destroy_socket_label = stub_destroy_label,
.mpo_destroy_socket_peer_label = stub_destroy_label,
.mpo_destroy_vnode_label = stub_destroy_label,
+ .mpo_copy_mbuf_label = stub_copy_label,
+ .mpo_copy_pipe_label = stub_copy_label,
+ .mpo_copy_vnode_label = stub_copy_label,
.mpo_externalize_cred_label = stub_externalize_label,
.mpo_externalize_ifnet_label = stub_externalize_label,
.mpo_externalize_pipe_label = stub_externalize_label,