opnsense-src/sys/conf
Mark Johnston 2b76d0699e Simplify kernel sanitizer interceptors
KASAN and KCSAN implement interceptors for various primitive operations
that are not instrumented by the compiler.  KMSAN requires them as well.
Rather than adding new cases for each sanitizer which requires
interceptors, implement the following protocol:
- When interceptor definitions are required, define
  SAN_NEEDS_INTERCEPTORS and SANITIZER_INTERCEPTOR_PREFIX.
- In headers that declare functions which need to be intercepted by a
  sanitizer runtime, use SANITIZER_INTERCEPTOR_PREFIX to provide
  declarations.
- When SAN_RUNTIME is defined, do not redefine the names of intercepted
  functions.  This is typically the case in files which implement
  sanitizer runtimes but is also needed in, for example, files which
  define ifunc selectors for intercepted operations.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit a90d053b84)
2022-11-14 14:23:40 -05:00
..
config.mk Add SCTP_SUPPORT handling to config.mk. 2020-06-25 15:25:00 +00:00
dtb.build.mk Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
dtb.mk
files Import the WireGuard driver from zx2c4.com. 2022-11-11 13:44:11 -08:00
files.amd64 ice(4): Add RDMA Client Interface 2022-10-17 21:19:36 -07:00
files.arm netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
files.arm64 arm64: coresight: fix the build without FDT 2022-11-02 12:02:25 -05:00
files.i386 linux(4): Get rid of Linuxulator kernel build options. 2022-06-17 22:30:22 +03:00
files.mips netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
files.powerpc ice(4): Add RDMA Client Interface 2022-10-17 21:19:36 -07:00
files.riscv files: Make ext_resources non-optional 2022-05-16 14:53:15 +02:00
files.x86 linux(4): Get rid of Linuxulator kernel build options. 2022-06-17 22:30:22 +03:00
kern.mk Suppress -Wstrict-prototypes for several zlib files 2022-07-29 20:29:59 +02:00
kern.opts.mk Add SPLIT_KERNEL_DEBUG knob 2022-07-18 11:01:23 -04:00
kern.post.mk amd64: Only build aout.ko when COMPAT_FREEBSD32 is enabled 2021-12-14 02:44:01 +02:00
kern.pre.mk Simplify kernel sanitizer interceptors 2022-11-14 14:23:40 -05:00
kmod.mk LinuxKPI: add the "dummy" includes directory to builds 2022-10-17 20:37:05 +00:00
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
kmod_syms.awk kmod_syms.awk: fix removal of the export list from the symbol table 2021-11-25 03:09:21 +02:00
kmod_syms_prefix.awk
ldscript.amd64 amd64: do not assume that kernel is loaded at 2M physical 2021-08-24 02:21:13 +03:00
ldscript.arm Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker 2019-12-29 18:17:12 +00:00
ldscript.arm64 More the arm64 early page tables and stack to .bss 2020-12-23 13:10:23 +00:00
ldscript.i386 Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.kmod.amd64 Move PLTs to the beginning of amd64 kernel modules. 2020-09-16 13:51:47 +00:00
ldscript.kmod.i386 Formalize the use of linker scripts for kernel modules. 2019-10-16 22:19:56 +00:00
ldscript.mips Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.cfe Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.mips64 Expose the kernel's build-ID through sysctl 2019-06-04 13:07:10 +00:00
ldscript.mips.octeon1 Fix linking OCTEON1 kernel with LLD 2020-03-22 22:18:00 +00:00
ldscript.powerpc [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.powerpc64 [PowerPC] Fix build-id note on powerpc64 kernel 2020-06-01 19:40:59 +00:00
ldscript.powerpc64le [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
ldscript.powerpcspe [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
ldscript.riscv Set the LMA of the riscv kernel to the OpenSBI jump target by default 2020-02-04 00:06:16 +00:00
Makefile.amd64 Don't try ctfconvert on file without debug info. 2020-04-28 16:09:25 +00:00
Makefile.arm Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
Makefile.arm64 arm64: Don't rely on host readelf for u-boot booti image generation 2022-01-24 23:59:51 +00:00
Makefile.i386
Makefile.mips mips: Fix build of kernel.tramp.bin after upstream merge 2021-12-06 17:30:10 +01:00
Makefile.powerpc Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.riscv riscv: Add the device-tree path to the include path 2021-01-16 11:31:17 +01:00
newvers.sh newvers.sh: Don't use return to exit. 2022-07-13 09:20:34 -07:00
NOTES Import the WireGuard driver from zx2c4.com. 2022-11-11 13:44:11 -08:00
options ed: Remove options 2022-02-22 11:44:56 -07:00
options.amd64 linux(4): Get rid of Linuxulator kernel build options. 2022-06-17 22:30:22 +03:00
options.arm Remove unused options. 2020-11-29 17:42:32 +00:00
options.arm64 Per-thread stack canary on arm64 2021-12-20 11:09:27 +00:00
options.i386 hyperv: Fix vmbus after the i386 4/4 split 2021-06-21 21:09:17 -04: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 2022-10-04 13:24:14 -03:00
options.riscv
std.nodebug Exclude DEBUG_VFS_LOCKS from non-debug kernel configs 2022-06-05 04:23:20 +03:00
sysent.mk sysent: regenerate files every time 2022-11-02 12:02:23 -05:00
systags.sh Fix kernel-tags target. 2020-01-23 13:56:12 +00:00
vdso_amd64.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-18 04:01:24 +02:00
vdso_amd64_ia32.ldscript vdso linker scripts: explicitly specify output arch and target 2022-02-18 04:01:24 +02:00
WITHOUT_SOURCELESS
WITHOUT_SOURCELESS_HOST
WITHOUT_SOURCELESS_UCODE retire cx,ctau drivers 2020-03-20 16:50:19 +00:00