opnsense-src/sys/security/mac
Mateusz Guzik 6dcf45feda mac: reduce pessimization of sdt probe handling
Prior to the change the code would branch on return value and then check
if probes are enabled. Since vast majority of the time they are not, this
is clearly wasteful. Check probes first.

Sponsored by:	The FreeBSD Foundation
2018-12-19 22:30:26 +00:00
..
mac_audit.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_cred.c sys/security: minor spelling fixes. 2016-05-06 16:59:04 +00:00
mac_framework.c Require that MAC label buffers be able to store a non-empty string. 2018-08-01 03:46:07 +00:00
mac_framework.h Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
mac_inet.c Fix improper use of "its". 2016-11-08 23:59:41 +00:00
mac_inet6.c Continue work to optimize performance of "options MAC" when no MAC policy 2009-06-03 18:46:28 +00:00
mac_internal.h mac: reduce pessimization of sdt probe handling 2018-12-19 22:30:26 +00:00
mac_label.c
mac_net.c Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
mac_pipe.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_policy.h Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
mac_posix_sem.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_posix_shm.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_priv.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_process.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_socket.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_syscalls.c Reduce duplication in __mac_*_(file|link)(2) implementation. 2018-02-15 18:57:22 +00:00
mac_system.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_sysv_msg.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_sysv_sem.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_sysv_shm.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
mac_vfs.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00