summaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_net.c
AgeCommit message (Expand)Author
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2023-01-31IfAPI: Add if_get/setmaclabel() and use it.Justin Hibbits
2021-06-29mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmitMateusz Guzik
2019-05-03When MAC is enabled and a policy module is loaded, don't unconditionallyRobert Watson
2018-12-11Remove unused argument to priv_check_cred.Mateusz Guzik
2018-03-30Use an accessor function to access ifr_data.Brooks Davis
2013-11-25- For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao
2012-04-06- Improve BPF locking model.Alexander V. Chernikov
2009-06-03Add one further check with mac_policy_count to an mbuf copying caseRobert Watson
2009-06-03Continue work to optimize performance of "options MAC" when no MAC policyRobert Watson
2009-05-01Rename MAC Framework-internal macros used to invoke policy entry points:Robert Watson
2009-03-14Rework MAC Framework synchronization in a number of ways in order toRobert Watson
2009-03-08Add static DTrace probes for MAC Framework access control checks andRobert Watson
2008-08-23Introduce two related changes to the TrustedBSD MAC Framework:Robert Watson
2007-10-28Garbage collect mac_mbuf_create_multicast_encap TrustedBSD MAC FrameworkRobert Watson
2007-10-28Continue to move from generic network entry points in the TrustedBSD MACRobert Watson
2007-10-28Move towards more explicit support for various network protocol stacksRobert Watson
2007-10-26Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' asRobert Watson
2007-10-24Merge first in a series of TrustedBSD MAC Framework KPI changesRobert Watson
2007-04-22Normalize variable naming in the MAC Framework by adopting the normalRobert Watson
2006-12-28Remove an inaccurate comment I added regarding storage for mbuf tagRobert Watson
2006-12-22Move src/sys/sys/mac_policy.h, the kernel interface between the MACRobert Watson
2006-12-21Remove mac_enforce_subsystem debugging sysctls. Enforcement onRobert Watson
2006-12-20Document that we could allocate the mbuf label as part of the tag ratherRobert Watson
2006-12-20Externalize local stack copy of the ifnet label, rather than the copy onRobert Watson
2006-11-06Sweep kernel replacing suser(9) calls with priv(9) calls, assigningRobert Watson
2006-10-22Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.hRobert Watson
2006-09-20Remove MAC_DEBUG label counters, which were used to debug leaks andRobert Watson
2005-07-05Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which isRobert Watson
2004-06-24Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels onRobert Watson
2004-05-03If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tagRobert Watson
2004-02-29Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock.Robert Watson
2004-02-26Move inet and inet6 related MAC Framework entry points from mac_net.cRobert Watson
2004-02-22Update my personal copyrights and NETA copyrights in the kernelRobert Watson
2003-12-17Switch TCP over to using the inpcb label when responding in timedRobert Watson
2003-11-18Introduce a MAC label reference in 'struct inpcb', which cachesRobert Watson
2003-11-16Implement sockets support for __mac_get_fd() and __mac_set_fd()Robert Watson
2003-11-16Abstract the label checking and setting logic fromRobert Watson
2003-11-16Reduce gratuitous redundancy and length in function names:Robert Watson
2003-11-16Whitespace fix.Robert Watson
2003-11-12Modify the MAC Framework so that instead of embedding a (struct label)Robert Watson
2003-11-07When allocation of a socket peer label fails, scrub what wasRobert Watson
2003-11-06Remove the flags argument from mac_externalize_*_label(), as it's notRobert Watson
2003-10-25Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the objectRobert Watson
2003-10-22Remove non-network related contents from mac_net.c. Leave:Robert Watson
2003-09-29If the struct mac copied into the kernel has a negative length, returnRobert Watson
2003-08-26Fix a mac_policy_list reference to be a mac_static_policy_listRobert Watson
2003-08-21Introduce two new MAC Framework and MAC policy entry points:Robert Watson
2003-08-21Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr():Robert Watson
2003-08-20Remove about 40 lines of #ifdef/#endif by using new macrosRobert Watson