]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock.
authorrwatson <rwatson@FreeBSD.org>
Sun, 29 Feb 2004 15:33:56 +0000 (15:33 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sun, 29 Feb 2004 15:33:56 +0000 (15:33 +0000)
commitc1b863ca38a168a91fc0a9af58bd8c517458847a
treec567eb68dd71ab9a9e68ae96544eddee259d5757
parentd108afc2e8f67ee2f8cf2ee59b7637118c70f43a
Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock.

Assert the BPF descriptor lock in the MAC calls referencing live
BPF descriptors.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
sys/net/bpfdesc.h
sys/security/mac/mac_net.c