summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-03-27 19:26:39 +0000
committerrwatson <rwatson@FreeBSD.org>2003-03-27 19:26:39 +0000
commit5786f3cf186048553e834bc42946c017ffed61e1 (patch)
tree44ecf4a52ad0bca62fcad51a3a1134bf2d08fd0e
parentfdc61a3a240fc1c03970b36345b144af58fd5acd (diff)
downloadFreeBSD-src-5786f3cf186048553e834bc42946c017ffed61e1.zip
FreeBSD-src-5786f3cf186048553e834bc42946c017ffed61e1.tar.gz
Trim "trustedbsd_" from the front of the policy module "short names";
the vendor is only included in the long name currently, reducing verbosity when modules are registered and unregistered. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
-rw-r--r--sys/security/mac_biba/mac_biba.c2
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c2
-rw-r--r--sys/security/mac_ifoff/mac_ifoff.c2
-rw-r--r--sys/security/mac_mls/mac_mls.c2
-rw-r--r--sys/security/mac_none/mac_none.c2
-rw-r--r--sys/security/mac_partition/mac_partition.c4
-rw-r--r--sys/security/mac_seeotheruids/mac_seeotheruids.c2
-rw-r--r--sys/security/mac_stub/mac_stub.c2
-rw-r--r--sys/security/mac_test/mac_test.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index 8f2efe4..4fc25c7 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -2750,5 +2750,5 @@ static struct mac_policy_ops mac_biba_ops =
.mpo_check_vnode_write = mac_biba_check_vnode_write,
};
-MAC_POLICY_SET(&mac_biba_ops, trustedbsd_mac_biba, "TrustedBSD MAC/Biba",
+MAC_POLICY_SET(&mac_biba_ops, mac_biba, "TrustedBSD MAC/Biba",
MPC_LOADTIME_FLAG_NOTLATE, &mac_biba_slot);
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index 9791e2e6..d0d6dc1 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -772,5 +772,5 @@ static struct mac_policy_ops mac_bsdextended_ops =
.mpo_check_vnode_stat = mac_bsdextended_check_vnode_stat,
};
-MAC_POLICY_SET(&mac_bsdextended_ops, trustedbsd_mac_bsdextended,
+MAC_POLICY_SET(&mac_bsdextended_ops, mac_bsdextended,
"TrustedBSD MAC/BSD Extended", MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_ifoff/mac_ifoff.c b/sys/security/mac_ifoff/mac_ifoff.c
index 7ba2a0d..941d48e 100644
--- a/sys/security/mac_ifoff/mac_ifoff.c
+++ b/sys/security/mac_ifoff/mac_ifoff.c
@@ -162,5 +162,5 @@ static struct mac_policy_ops mac_ifoff_ops =
.mpo_check_socket_deliver = mac_ifoff_check_socket_deliver,
};
-MAC_POLICY_SET(&mac_ifoff_ops, trustedbsd_mac_ifoff, "TrustedBSD MAC/ifoff",
+MAC_POLICY_SET(&mac_ifoff_ops, mac_ifoff, "TrustedBSD MAC/ifoff",
MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index 0645cf9..230e048 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -2506,5 +2506,5 @@ static struct mac_policy_ops mac_mls_ops =
.mpo_check_vnode_write = mac_mls_check_vnode_write,
};
-MAC_POLICY_SET(&mac_mls_ops, trustedbsd_mac_mls, "TrustedBSD MAC/MLS",
+MAC_POLICY_SET(&mac_mls_ops, mac_mls, "TrustedBSD MAC/MLS",
MPC_LOADTIME_FLAG_NOTLATE, &mac_mls_slot);
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index 5bb8a42..5a600ea 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -1114,5 +1114,5 @@ static struct mac_policy_ops mac_none_ops =
.mpo_check_vnode_write = mac_none_check_vnode_write,
};
-MAC_POLICY_SET(&mac_none_ops, trustedbsd_mac_none, "TrustedBSD MAC/None",
+MAC_POLICY_SET(&mac_none_ops, mac_none, "TrustedBSD MAC/None",
MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_partition/mac_partition.c b/sys/security/mac_partition/mac_partition.c
index d7fc25c..5c68399 100644
--- a/sys/security/mac_partition/mac_partition.c
+++ b/sys/security/mac_partition/mac_partition.c
@@ -282,5 +282,5 @@ static struct mac_policy_ops mac_partition_ops =
.mpo_check_vnode_exec = mac_partition_check_vnode_exec,
};
-MAC_POLICY_SET(&mac_partition_ops, trustedbsd_mac_partition,
- "TrustedBSD MAC/Partition", MPC_LOADTIME_FLAG_UNLOADOK, &partition_slot);
+MAC_POLICY_SET(&mac_partition_ops, mac_partition, "TrustedBSD MAC/Partition",
+ MPC_LOADTIME_FLAG_UNLOADOK, &partition_slot);
diff --git a/sys/security/mac_seeotheruids/mac_seeotheruids.c b/sys/security/mac_seeotheruids/mac_seeotheruids.c
index 8ceb2c2..18397a3 100644
--- a/sys/security/mac_seeotheruids/mac_seeotheruids.c
+++ b/sys/security/mac_seeotheruids/mac_seeotheruids.c
@@ -166,5 +166,5 @@ static struct mac_policy_ops mac_seeotheruids_ops =
.mpo_check_socket_visible = mac_seeotheruids_check_socket_visible,
};
-MAC_POLICY_SET(&mac_seeotheruids_ops, trustedbsd_mac_seeotheruids,
+MAC_POLICY_SET(&mac_seeotheruids_ops, mac_seeotheruids,
"TrustedBSD MAC/seeotheruids", MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c
index 5bb8a42..5a600ea 100644
--- a/sys/security/mac_stub/mac_stub.c
+++ b/sys/security/mac_stub/mac_stub.c
@@ -1114,5 +1114,5 @@ static struct mac_policy_ops mac_none_ops =
.mpo_check_vnode_write = mac_none_check_vnode_write,
};
-MAC_POLICY_SET(&mac_none_ops, trustedbsd_mac_none, "TrustedBSD MAC/None",
+MAC_POLICY_SET(&mac_none_ops, mac_none, "TrustedBSD MAC/None",
MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c
index 751186d..4cdfba3 100644
--- a/sys/security/mac_test/mac_test.c
+++ b/sys/security/mac_test/mac_test.c
@@ -1495,5 +1495,5 @@ static struct mac_policy_ops mac_test_ops =
.mpo_check_vnode_write = mac_test_check_vnode_write,
};
-MAC_POLICY_SET(&mac_test_ops, trustedbsd_mac_test, "TrustedBSD MAC/Test",
+MAC_POLICY_SET(&mac_test_ops, mac_test, "TrustedBSD MAC/Test",
MPC_LOADTIME_FLAG_UNLOADOK, &test_slot);
OpenPOWER on IntegriCloud