freebsd-dev/sys/security/mac
Robert Watson 8501a69cc9 Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to
explicitly select write locking for all use of the inpcb mutex.
Update some pcbinfo lock assertions to assert locked rather than
write-locked, although in practice almost all uses of the pcbinfo
rwlock main exclusive, and all instances of inpcb lock acquisition
are exclusive.

This change should introduce (ideally) little functional change.
However, it lays the groundwork for significantly increased
parallelism in the TCP/IP code.

MFC after:	3 months
Tested by:	kris (superset of committered patch)
2008-04-17 21:38:18 +00:00
..
mac_atalk.c Move towards more explicit support for various network protocol stacks 2007-10-28 15:55:23 +00:00
mac_audit.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_framework.c Remove conditional return of 1. For the MAC_STATIC case at this point in 2007-01-01 01:40:29 +00:00
mac_framework.h Make naming of include guards for MAC Framework include files more 2008-04-13 21:45:52 +00:00
mac_inet6.c Move towards more explicit support for various network protocol stacks 2007-10-28 15:55:23 +00:00
mac_inet.c Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to 2008-04-17 21:38:18 +00:00
mac_internal.h Make naming of include guards for MAC Framework include files more 2008-04-13 21:45:52 +00:00
mac_label.c Introduce accessor functions mac_label_get() and mac_label_set() to replace 2007-02-06 14:19:25 +00:00
mac_net.c Garbage collect mac_mbuf_create_multicast_encap TrustedBSD MAC Framework 2007-10-28 17:55:57 +00:00
mac_pipe.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_policy.h Make naming of include guards for MAC Framework include files more 2008-04-13 21:45:52 +00:00
mac_posix_sem.c Fix a MAC label leak for POSIX semaphores, in which per-policy labels 2007-12-17 17:26:32 +00:00
mac_posix_shm.c Add a new file descriptor type for IPC shared memory objects and use it to 2008-01-08 21:58:16 +00:00
mac_priv.c Move src/sys/sys/mac_policy.h, the kernel interface between the MAC 2006-12-22 23:34:47 +00:00
mac_process.c VOP_LOCK1() (and so VOP_LOCK()) and VOP_UNLOCK() are only used in 2008-01-13 14:44:15 +00:00
mac_socket.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_syscalls.c Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
mac_system.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_sysv_msg.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_sysv_sem.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_sysv_shm.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
mac_vfs.c Rename mac_associate_nfsd_label() to mac_proc_associate_nfsd(), and move 2007-10-25 12:34:14 +00:00