freebsd-dev/sys/conf
Mark Johnston 2a519c3b14 kasan: Disable validation of function parameters passed by value
It appears that the emitted code in the caller does not update shadow
state for values passed on the stack to the callee, which it seemingly
ought to do after pushing values on the stack and prior to the call
itself.  This leaves open a window where an interrupt handler can cause
regions of the stack containing these values to be poisoned, resulting
in rare false positive reports.  This happens particularly in the amd64
TLB invalidation code, where we liberally pass cpuset_t's around by
value.

LLVM has a flag to disable validation of accesses of function parameters
passed by value.  Such validation is itself a relatively new feature.
Turn it off for now.

Reported by:	pho, syzkaller
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2021-11-03 12:36:02 -04:00
..
config.mk
dtb.build.mk Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
dtb.mk
files Retire obsolete iscsi_initiator(4) 2021-10-26 16:17:35 -04:00
files.amd64 Drop cloudabi 2021-09-22 00:18:44 +03:00
files.arm arm: move signal delivery code to exec_machdep.c 2021-10-08 03:20:42 +03:00
files.arm64 arm/pmu: add ACPI attachment. 2021-11-02 19:35:29 +00:00
files.i386 Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
files.mips Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
files.powerpc powerpc: retire bcmp 2021-08-23 16:11:56 +00:00
files.riscv riscv: move signal delivery code to exec_machdep.c 2021-10-08 03:20:42 +03:00
files.x86 Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
kern.mk kernel: Disable errors for -Walloca-larger-than for GCC. 2021-09-25 11:24:35 -07:00
kern.opts.mk WITH_OFED build option: fix 2021-02-02 18:44:52 +02:00
kern.post.mk Fix the KCSAN_ENABLED check when building modules 2021-06-02 10:59:19 +00:00
kern.pre.mk kasan: Disable validation of function parameters passed by value 2021-11-03 12:36:02 -04:00
kmod_syms_prefix.awk
kmod_syms.awk
kmod.mk kmod.mk: Allow extra objects to be specified in modules 2021-06-02 10:39:58 -06:00
kmod.opts.mk
ldscript.amd64 amd64: do not assume that kernel is loaded at 2M physical 2021-07-31 16:53:42 +03:00
ldscript.arm
ldscript.arm64 arm64: add read_frequently, read_mostluy and exclusive_cache_line to linker script 2021-08-23 15:22:17 +02:00
ldscript.i386
ldscript.kmod.amd64 Move PLTs to the beginning of amd64 kernel modules. 2020-09-16 13:51:47 +00:00
ldscript.kmod.i386
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64
ldscript.powerpc64le [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
ldscript.powerpcspe
ldscript.riscv
Makefile.amd64
Makefile.arm ipq4018: add TCSR definitions from Linux. 2021-10-18 19:18:01 +00:00
Makefile.arm64 arm64: Check dtb version against the one we're expecting to find 2021-03-23 15:24:53 +01:00
Makefile.i386
Makefile.mips mips: Add the device-tree path to the include paths 2021-01-16 11:33:37 +01:00
Makefile.powerpc
Makefile.riscv riscv: Add the device-tree path to the include path 2021-01-16 11:31:17 +01:00
newvers.sh newvers.sh: better regexp for the FreeBSD_version line 2021-04-22 11:45:12 -06:00
NOTES Retire obsolete iscsi_initiator(4) 2021-10-26 16:17:35 -04:00
options nvme: Only reset once on attach. 2021-10-01 11:09:34 -06:00
options.amd64 linux(4): Get rid of Linuxulator kernel build options. 2021-06-22 08:32:39 +03:00
options.arm arm: allow the debug stuff in CP14 to be disabled at compile time 2021-10-18 19:18:56 +00:00
options.arm64 Use L2 blocks when in the identity map 2021-03-03 14:18:03 +00:00
options.i386 Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
options.mips Remove remaning definition of GFB_<foo> options. 2020-12-05 19:44:00 +00:00
options.powerpc powerpc/pseries: Allow radix pmap in pseries for ISA 3.0 2021-08-11 19:07:04 -05:00
options.riscv
std.nodebug Split out the NODEBUG options to a common file 2021-01-14 16:57:53 +00:00
sysent.mk syscalls.master: switch to CAPENABLED flags 2021-09-01 21:58:16 +01:00
systags.sh
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE