freebsd-skq/sys/security
rwatson 23574c8673 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
..
audit Remove two boot printfs generated by Audit to announce it's presence, 2007-07-01 20:51:30 +00:00
mac Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
mac_biba Rename mac*devfsdirent*() to mac*devfs*() to synchronize with SEDarwin, 2007-04-23 13:36:54 +00:00
mac_bsdextended In preparation for 7.0 privilege cleanup, clean up style: 2007-07-05 13:16:04 +00:00
mac_ifoff Apply variable name normalization to MAC policies: adopt global conventions 2007-04-23 13:15:23 +00:00
mac_lomac Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
mac_mls When checking labels during a vnode link operation in MLS, use the file 2007-07-23 13:28:54 +00:00
mac_none Remove many unneeded includes, update copyright. 2007-02-23 11:21:26 +00:00
mac_partition Apply variable name normalization to MAC policies: adopt global conventions 2007-04-23 13:15:23 +00:00
mac_portacl Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
mac_seeotheruids Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
mac_stub Add a new MAC framework and policy entry point, 2007-06-26 14:14:01 +00:00
mac_test Add a new MAC framework and policy entry point, 2007-06-26 14:14:01 +00:00