]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Integrate a devfs/MAC fix from the MAC tree: avoid a race condition during
authorRobert Watson <rwatson@FreeBSD.org>
Sat, 5 Oct 2002 18:40:10 +0000 (18:40 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Sat, 5 Oct 2002 18:40:10 +0000 (18:40 +0000)
commit74e62b1b75c300ed90ee10ab6496973d575400c1
tree6ab685df96169b084c81758fa864ba83a468cb49
parente8890ccc51ec57b5d7a6edd2e4539aa769d04c24
Integrate a devfs/MAC fix from the MAC tree: avoid a race condition during
devfs VOP symlink creation by introducing a new entry point to determine
the label of the devfs_dirent prior to allocation of a vnode for the
symlink.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
14 files changed:
sys/fs/devfs/devfs_vnops.c
sys/kern/kern_mac.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