PERFORCE change 42094 for review
Robert Watson
rwatson at FreeBSD.org
Wed Nov 12 04:08:18 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=42094
Change 42094 by rwatson at rwatson_tislabs on 2003/11/11 20:08:10
Biba, LOMAC, and MLS aren't unloadable, so don't implement
a destroy method for these policies.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#230 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#76 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#185 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#230 (text+ko) ====
@@ -495,12 +495,6 @@
* Policy module operations.
*/
static void
-mac_biba_destroy(struct mac_policy_conf *conf)
-{
-
-}
-
-static void
mac_biba_init(struct mac_policy_conf *conf)
{
@@ -3113,7 +3107,6 @@
static struct mac_policy_ops mac_biba_ops =
{
- .mpo_destroy = mac_biba_destroy,
.mpo_init = mac_biba_init,
.mpo_init_bpfdesc_label = mac_biba_init_label,
.mpo_init_cred_label = mac_biba_init_label,
==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#76 (text+ko) ====
@@ -616,12 +616,6 @@
* Policy module operations.
*/
static void
-mac_lomac_destroy(struct mac_policy_conf *conf)
-{
-
-}
-
-static void
mac_lomac_init(struct mac_policy_conf *conf)
{
@@ -3039,7 +3033,6 @@
static struct mac_policy_ops mac_lomac_ops =
{
- .mpo_destroy = mac_lomac_destroy,
.mpo_init = mac_lomac_init,
.mpo_init_bpfdesc_label = mac_lomac_init_label,
.mpo_init_cred_label = mac_lomac_init_label,
==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#185 (text+ko) ====
@@ -460,12 +460,6 @@
* Policy module operations.
*/
static void
-mac_mls_destroy(struct mac_policy_conf *conf)
-{
-
-}
-
-static void
mac_mls_init(struct mac_policy_conf *conf)
{
@@ -2890,7 +2884,6 @@
static struct mac_policy_ops mac_mls_ops =
{
- .mpo_destroy = mac_mls_destroy,
.mpo_init = mac_mls_init,
.mpo_init_bpfdesc_label = mac_mls_init_label,
.mpo_init_cred_label = mac_mls_init_label,
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list