]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr():
authorrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 13:53:01 +0000 (13:53 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 13:53:01 +0000 (13:53 +0000)
commit6f522a9e5248d735aaee5f9fd322c6c758801149
tree516e8cf5fae27c0606b263da692534ee28f2e34b
parent1c5a183b7da9ef0273663eacb58ec473ec905d00
Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr():
explicit access control checks to delete and list extended attributes
on a vnode, rather than implicitly combining with the setextattr and
getextattr checks.  This reflects EA API changes in the kernel made
recently, including the move to explicit VOP's for both of these
operations.

Obtained from: TrustedBSD PRoject
Sponsored by: DARPA, Network Associates Laboratories
15 files changed:
sys/kern/kern_mac.c
sys/kern/vfs_extattr.c
sys/kern/vfs_syscalls.c
sys/security/mac/mac_framework.c
sys/security/mac/mac_framework.h
sys/security/mac/mac_internal.h
sys/security/mac/mac_net.c
sys/security/mac/mac_pipe.c
sys/security/mac/mac_policy.h
sys/security/mac/mac_process.c
sys/security/mac/mac_syscalls.c
sys/security/mac/mac_system.c
sys/security/mac/mac_vfs.c
sys/sys/mac.h
sys/sys/mac_policy.h