aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_mls
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:26:00 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:26:00 +0000
commite5ecee7440496904939e936501d0db93bed15415 (patch)
tree454d5fe169c8881519befda38dffc2c0fbfd3b39 /sys/security/mac_mls
parent7c8e2a57ddc4c00add6ba2468d9cdf85b77b4d5b (diff)
downloadsrc-e5ecee7440496904939e936501d0db93bed15415.tar.gz
src-e5ecee7440496904939e936501d0db93bed15415.zip
Notes
Diffstat (limited to 'sys/security/mac_mls')
-rw-r--r--sys/security/mac_mls/mac_mls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index a0e71403b802..da9ed8a3e141 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -2378,7 +2378,7 @@ mls_sysvshm_check_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr,
if (!mls_dominate_effective(obj, subj))
return (EACCES);
}
-
+
return (0);
}
@@ -3372,7 +3372,6 @@ static struct mac_policy_ops mls_ops =
.mpo_sysvshm_destroy_label = mls_destroy_label,
.mpo_sysvshm_init_label = mls_init_label,
-
.mpo_system_check_acct = mls_system_check_acct,
.mpo_system_check_auditctl = mls_system_check_auditctl,
.mpo_system_check_swapon = mls_system_check_swapon,