diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-30 17:56:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-30 17:56:57 +0000 |
commit | 27e2336a32675b2cd36865c86a1d9fb1c8259586 (patch) | |
tree | 28dc5ac7a288e9d5b8d25e23b9c642940599a61c /sys/security/mac_biba | |
parent | 6fdca8338e43b711db64d55811c025e999e87299 (diff) | |
download | FreeBSD-src-27e2336a32675b2cd36865c86a1d9fb1c8259586.zip FreeBSD-src-27e2336a32675b2cd36865c86a1d9fb1c8259586.tar.gz |
While 'mode_t' seemed like a good idea for the access mode argument for
MAC access() and open() checks, the argument actually has an int type
where it becomes available. Switch to using 'int' for the mode argument
throughout the MAC Framework and policy modules.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r-- | sys/security/mac_biba/mac_biba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index b57adfe..97de18a 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -2147,7 +2147,7 @@ mac_biba_check_vnode_mmap(struct ucred *cred, struct vnode *vp, static int mac_biba_check_vnode_open(struct ucred *cred, struct vnode *vp, - struct label *vnodelabel, mode_t acc_mode) + struct label *vnodelabel, int acc_mode) { struct mac_biba *subj, *obj; |