freebsd-skq/sys/security/mac
Robert Watson 0bf686c125 Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which
previously conditionally acquired Giant based on debug.mpsafenet.  As that
has now been removed, they are no longer required.  Removing them
significantly simplifies error-handling in the socket layer, eliminated
quite a bit of unwinding of locking in error cases.

While here clean up the now unneeded opt_net.h, which previously was used
for the NET_WITH_GIANT kernel option.  Clean up some related gotos for
consistency.

Reviewed by:	bz, csjp
Tested by:	kris
Approved by:	re (kensmith)
2007-08-06 14:26:03 +00:00
..
mac_audit.c Add a new MAC framework and policy entry point, 2007-06-26 14:14:01 +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 Add a new MAC framework and policy entry point, 2007-06-26 14:14:01 +00:00
mac_inet.c Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_internal.h Introduce accessor functions mac_label_get() and mac_label_set() to replace 2007-02-06 14:19:25 +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 Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_pipe.c Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_policy.h Fix a bunch of warnings due to a missing forward declaration of a struct. 2007-07-05 06:45:37 +00:00
mac_posix_sem.c Continue 7-CURRENT MAC Framework rearrangement and cleanup: 2007-02-06 10:59:23 +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 Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_socket.c Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_syscalls.c Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
mac_system.c Normalize variable naming in the MAC Framework by adopting the normal 2007-04-22 19:55:56 +00:00
mac_sysv_msg.c Continue 7-CURRENT MAC Framework rearrangement and cleanup: 2007-02-06 10:59:23 +00:00
mac_sysv_sem.c Continue 7-CURRENT MAC Framework rearrangement and cleanup: 2007-02-06 10:59:23 +00:00
mac_sysv_shm.c Continue 7-CURRENT MAC Framework rearrangement and cleanup: 2007-02-06 10:59:23 +00:00
mac_vfs.c Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin, 2007-04-23 13:36:54 +00:00