freebsd-skq/sys
Mateusz Guzik 91061084d1 mac: implement fast path for checks
All checking routines walk a linked list of all modules in order to determine
if given hook is installed. This became a significant problem after mac_ntpd
started being loaded by default.

Implement a way perform checks for select hooks by testing a boolean.

Use it for priv_check and priv_grant, which are constantly called from priv_check.

The real fix would use hotpatching, but the above provides a way to know when
to do it.
2020-02-13 22:19:17 +00:00
..
amd64 vmm: Add Hygon Dhyana support. 2020-02-13 19:03:12 +00:00
arm Implement atomic_testandclear_{32,int,long} for 32-bit arm. Also, replace 2020-02-10 00:05:04 +00:00
arm64 Add PCI Express driver for the ARM Neoverse N1 System Development 2020-02-11 15:12:09 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Use INT instead of string for the ints. Because the string "I" was right, the 2020-02-13 03:37:11 +00:00
cddl Remove duplicate dbufs accounting. 2020-02-07 15:50:47 +00:00
compat regen sysent after r357831, r357838 2020-02-12 19:05:10 +00:00
conf Disable new clang 10.0.0 warnings about misleading indentation in ce(4) 2020-02-13 19:25:49 +00:00
contrib Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev hyperv: Add Hygon Dhyana support. 2020-02-13 19:12:07 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs tmpfs: add nomtime mount option, 2020-02-04 19:05:58 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom geli taste: allow GELIBOOT tagged providers as well 2020-02-07 21:36:14 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 Define MAXCPU consistently between the kernel and KLDs. 2020-02-05 19:08:21 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern Inline jailed(). 2020-02-13 22:16:30 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Enter the network epoch in the xdma interrupt handler if required 2020-02-08 23:07:29 +00:00
modules Disable new clang 10.0.0 warnings about misleading indentation in ce(4) 2020-02-13 19:25:49 +00:00
net Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process 2020-02-12 09:19:47 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph ng_nat: avoid panic if attached directly to ng_ether and got short packet 2020-02-12 00:31:00 +00:00
netinet sack_newdata and snd_recover hold the same value. Therefore, use only 2020-02-13 15:14:46 +00:00
netinet6 Fix NOINET builds. 2020-01-31 02:23:48 +00:00
netipsec netipsec: fix a mismatched uma_zfree -> uma_zfree_pcpu 2020-02-12 20:18:29 +00:00
netpfil Add missing EPOCH(9) wrapper in ipfw(8). 2020-02-11 18:16:29 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Miscellaneous typo fixes 2020-02-07 19:53:07 +00:00
powerpc powerpc: Fix altivec disabling in set_mcontext() 2020-02-06 01:25:30 +00:00
riscv Implement vm.pmap.kernel_maps for RISC-V 2020-02-12 14:06:02 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security mac: implement fast path for checks 2020-02-13 22:19:17 +00:00
sys Inline jailed(). 2020-02-13 22:16:30 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs Revert r357710 and 357711 until they can be debugged 2020-02-10 14:27:28 +00:00
vm Fix a case where ub_seq would fail to be set if the cross bucket was 2020-02-13 20:58:51 +00:00
x86 In dmar_gas_lowermatch, skip searching a subtree if all its addresses are greater than lowaddr. 2020-02-01 21:47:34 +00:00
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
xen
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00