summaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_framework.c
AgeCommit message (Expand)Author
4 dayskern: mac: add a MAC label to struct prisonKyle Evans
2025-10-13MAC: Use proper prototype for SYSINIT functionsZhenlei Huang
2024-12-16MAC: Define a common 'mac' node for MAC's jail parametersOlivier Certner
2024-12-16MAC: 'kernel_mac_support' module: Make an outdated comment more genericOlivier Certner
2023-11-26sys: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-13Remove gratuitous copyouts of unchanged struct mac.Brooks Davis
2023-08-16sys: Remove $FreeBSD$: one-line .c patternWarner Losh
2023-04-18mac: Honor order when registering MAC modules.Steve Kiernan
2022-08-17mac: cheaper check for mac_pipe_check_readMateusz Guzik
2021-06-29mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmitMateusz Guzik
2021-01-08mac: cheaper check for mac_vnode_check_readlinkMateusz Guzik
2021-01-06cache: combine fast path enabled status into one flagMateusz Guzik
2020-11-19pipe: allow for lockless pipe_statMateusz Guzik
2020-08-05vfs: add a cheaper entry for mac_vnode_check_accessMateusz Guzik
2020-07-29vfs: elide MAC-induced locking on rename if there are no relevant hoooksMateusz Guzik
2020-07-16vfs: fix vn_poll performance with either MAC or AUDITMateusz Guzik
2020-04-04mac_policy: Remove mac_policy_sxJason A. Harmening
2020-02-26Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki
2020-02-13vfs: use mac fastpath for lookup, open, read, write, mmapMateusz Guzik
2020-02-13mac: implement fast path for checksMateusz Guzik
2019-12-27mac: use a sleepable rmlock instead of an sx lockMateusz Guzik
2018-08-01Require that MAC label buffers be able to store a non-empty string.Mark Johnston
2016-05-06sys/security: minor spelling fixes.Pedro F. Giffuni
2015-12-16Fix style issues around existing SDT probes.Mark Johnston
2013-12-25As constantly reported during kernel compilation, m_buflen is unsigned soBjoern A. Zeeb
2013-11-26dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINEAndriy Gapon
2013-11-25- For kernel compiled only with KDTRACE_HOOKS and not any lock debuggingAttilio Rao
2013-10-01Fix some typos that were causing probe argument types to show up as unknown.Mark Johnston
2013-09-29Make the mac_policy_rm lock recursable, which allows reentrance intoKonstantin Belousov
2011-12-12put sys/systm.h at its proper place or add it if missingAndriy Gapon
2011-01-12sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.Matthew D Fleming
2010-08-22Add an extra comment to the SDT probes definition. This allows us to getRui Paulo
2009-06-02Mark MAC Framework sx and rm locks as NOWITNESS to suppress warnings thatRobert Watson
2009-06-02Add internal 'mac_policy_count' counter to the MAC Framework, which is aRobert Watson
2009-05-29Make the rmlock(9) interface a bit more like the rwlock(9) interface:Robert Watson
2009-05-27Convert the MAC Framework from using rwlocks to rmlocks to stabilizeRobert Watson
2009-03-14Rework MAC Framework synchronization in a number of ways in order toRobert Watson
2009-03-08Improve the consistency of MAC Framework and MAC policy entry pointRobert Watson
2009-03-08Add static DTrace probes for MAC Framework access control checks andRobert Watson
2009-03-03Reduce the verbosity of SDT trace points for DTrace by defining severalRobert Watson
2009-01-24Begin to add SDT tracing of the MAC Framework: add policy modevent,Robert Watson
2009-01-10Rather than having MAC policies explicitly declare what object typesRobert Watson
2008-08-23Introduce two related changes to the TrustedBSD MAC Framework:Robert Watson
2007-01-01Remove conditional return of 1. For the MAC_STATIC case at this point inChristian S.J. Peron
2006-12-31Only signal the CV indicating that the MAC Framework is available forRobert Watson
2006-12-29Slightly resort functions in file so that no forward function prototypesRobert Watson
2006-12-29Re-add include of opt_mac.h in mac_framework.c, which was improperlyRobert Watson
2006-12-28Centralize definition of MAC_VERSION in mac_policy.h, as it defines theRobert Watson
2006-12-28Move mac_init_label() and mac_destroy_label() from mac_framework.c toRobert Watson
2006-12-28Trim unneeded includes.Robert Watson