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
This commit is contained in:
rwatson 2003-03-27 19:26:39 +00:00
parent fdc61a3a24
commit 5786f3cf18
9 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);