freebsd-dev/sys/security
Robert Watson 310e7ceb94 Socket MAC labels so_label and so_peerlabel are now protected by
SOCK_LOCK(so):

- Hold socket lock over calls to MAC entry points reading or
  manipulating socket labels.

- Assert socket lock in MAC entry point implementations.

- When externalizing the socket label, first make a thread-local
  copy while holding the socket lock, then release the socket lock
  to externalize to userspace.
2004-06-13 02:50:07 +00:00
..
mac Socket MAC labels so_label and so_peerlabel are now protected by 2004-06-13 02:50:07 +00:00
mac_biba Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_bsdextended Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_ifoff Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_lomac Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_mls Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_none Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_partition Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_portacl Remove dead code. (This loop counted the number of rules, but the count 2004-05-15 20:55:19 +00:00
mac_seeotheruids Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_stub Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_test Update copyright. 2004-05-03 21:38:42 +00:00