diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:26:00 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:26:00 +0000 |
commit | e5ecee7440496904939e936501d0db93bed15415 (patch) | |
tree | 454d5fe169c8881519befda38dffc2c0fbfd3b39 /sys/security/mac_mls | |
parent | 7c8e2a57ddc4c00add6ba2468d9cdf85b77b4d5b (diff) | |
download | src-e5ecee7440496904939e936501d0db93bed15415.tar.gz src-e5ecee7440496904939e936501d0db93bed15415.zip |
Notes
Diffstat (limited to 'sys/security/mac_mls')
-rw-r--r-- | sys/security/mac_mls/mac_mls.c | 3 |
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, |