freebsd-nq/sys
Mark Johnston 100949103a uma: Add KMSAN hooks
For now, just hook the allocation path: upon allocation, items are
marked as initialized (absent M_ZERO).  Some zones are exempted from
this when it would otherwise raise false positives.

Use kmsan_orig() to update the origin map for UMA and malloc(9)
allocations.  This allows KMSAN to print the return address when an
uninitialized UMA item is implicated in a report.  For example:
  panic: MSan: Uninitialized UMA memory from m_getm2+0x7fe

Sponsored by:	The FreeBSD Foundation
2021-08-10 21:27:54 -04:00
..
amd64 Add a GENERIC-KMSAN kernel configuration for amd64 2021-08-10 21:27:53 -04:00
arm Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
arm64 Remove an unused arm64 panic string 2021-08-08 21:28:25 +00:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam cam(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:07:19 -04:00
cddl dtrace: use %zu format specifier for data of size_t type 2021-08-09 00:27:04 +03:00
compat Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
conf Add the KMSAN runtime 2021-08-10 21:27:53 -04:00
contrib Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
crypto Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ddb
dev busdma: Add KMSAN integration 2021-08-10 21:27:54 -04:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs nfscl: Cache an open stateid for the "oneopenown" mount option 2021-07-28 15:48:27 -07:00
gdb
geom geom(4): Mark all sysctls as CTLFLAG_MPSAFE. 2021-08-10 20:18:46 -04:00
gnu
i386 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
isa
kern uma: Add KMSAN hooks 2021-08-10 21:27:54 -04:00
kgssapi
libkern Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
mips Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
modules enetc: Add autogenerated files to Makefile 2021-08-08 22:27:16 +02:00
net Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
net80211 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
netgraph socket: Implement SO_RERROR 2021-07-28 09:35:09 -07:00
netinet sctp: remove some set, but unused variables 2021-08-09 15:58:46 +02:00
netinet6 nd6: Mark several callouts as MPSAFE 2021-08-09 13:27:52 -04:00
netipsec netipsec/key.c: Use ANSI C definition for key_random() 2021-08-10 03:46:24 +03:00
netpfil pf: bound DIOCGETSTATES memory use 2021-08-02 16:29:23 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Kernel space update based on Linux 5.7-rc1. 2021-07-28 13:28:29 +02:00
opencrypto Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
powerpc Add pmap_vm_page_alloc_check() 2021-07-31 16:53:42 +03:00
riscv riscv: Fix pmap_alloc_l2 when it should allocate a new L1 entry 2021-08-09 20:28:37 +01:00
rpc
security Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
sys Add the KMSAN runtime 2021-08-10 21:27:53 -04:00
teken
tests
tools Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ufs Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00
vm uma: Add KMSAN hooks 2021-08-10 21:27:54 -04:00
x86 busdma: Add KMSAN integration 2021-08-10 21:27:54 -04:00
xdr
xen xen: introduce xen_pv_disks_disabled() 2021-07-28 17:27:04 +02:00
Makefile