diff options
author | jhb <jhb@FreeBSD.org> | 2008-06-23 21:37:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-06-23 21:37:53 +0000 |
commit | 437891381c13fcfea1097ae4d151f60dbcd8f601 (patch) | |
tree | 99442461adc39a20433f25399980988944e1cf03 /sys/security/mac/mac_framework.h | |
parent | 0203c01701d045d8cccc12f303fdd5dc4c2a6c1b (diff) | |
download | FreeBSD-src-437891381c13fcfea1097ae4d151f60dbcd8f601.zip FreeBSD-src-437891381c13fcfea1097ae4d151f60dbcd8f601.tar.gz |
Remove the posixsem_check_destroy() MAC check. It is semantically identical
to doing a MAC check for close(), but no other types of close() (including
close(2) and ksem_close(2)) have MAC checks.
Discussed with: rwatson
Diffstat (limited to 'sys/security/mac/mac_framework.h')
-rw-r--r-- | sys/security/mac/mac_framework.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index 9b02e4f..c68d2d1 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -189,7 +189,6 @@ void mac_pipe_init(struct pipepair *); int mac_pipe_label_set(struct ucred *cred, struct pipepair *pp, struct label *label); -int mac_posixsem_check_destroy(struct ucred *cred, struct ksem *ks); int mac_posixsem_check_getvalue(struct ucred *cred,struct ksem *ks); int mac_posixsem_check_open(struct ucred *cred, struct ksem *ks); int mac_posixsem_check_post(struct ucred *cred, struct ksem *ks); |