opnsense-src/sys/conf
Matthew D Fleming d7854da193 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma
zones for each malloc bucket size.  The purpose is to isolate
different malloc types into hash classes, so that any buffer overruns
or use-after-free will usually only affect memory from malloc types in
that hash class.  This is purely a debugging tool; by varying the hash
function and tracking which hash class was corrupted, the intersection
of the hash classes from each instance will point to a single malloc
type that is being misused.  At this point inspection or memguard(9)
can be used to catch the offending code.

Add MALLOC_DEBUG_MAXZONES=8 to -current GENERIC configuration files.
The suggestion to have this on by default came from Kostik Belousov on
-arch.

This code is based on work by Ron Steinke at Isilon Systems.

Reviewed by:    -arch (mostly silence)
Reviewed by:    zml
Approved by:    zml (mentor)
2010-07-28 15:36:12 +00:00
..
defines
files Remove the acpi_aiboost driver. It has been replaced by aibs(4). 2010-07-25 17:55:57 +00:00
files.amd64 Add a parser for the ACPI SRAT table for amd64 and i386. It sets 2010-07-27 20:40:46 +00:00
files.arm Move MRVL FDT fixups and PIC decode routine to a platform specific area. 2010-07-19 18:41:50 +00:00
files.i386 Add a parser for the ACPI SRAT table for amd64 and i386. It sets 2010-07-27 20:40:46 +00:00
files.ia64 Provide groundwork for 32-bit binary compatibility on non-x86 platforms, 2010-03-11 14:49:06 +00:00
files.mips Update MIPS timer code (except RMI) to utilize new MI event timer 2010-07-23 07:46:55 +00:00
files.pc98 Rename timeevents.c to kern_clocksource.c. 2010-07-14 18:43:27 +00:00
files.powerpc MFppc64: 2010-07-13 05:32:19 +00:00
files.sparc64 Change ad_firmware_geom_adjust() to operate on a struct disk * only and 2010-05-20 12:46:19 +00:00
files.sun4v Fix some sorting and whitespace nits. 2010-04-24 16:27:43 +00:00
kern.mk Handle a few corner cases for clang like we did with icc. These should 2010-07-22 18:47:41 +00:00
kern.post.mk Convert several instances of MACHINE_ARCH to MACHINE_CPUARCH and use the 2010-07-13 13:11:18 +00:00
kern.pre.mk Fix previous commit: don't remove the WERROR definition when using 2010-07-22 21:31:35 +00:00
kmod.mk Handle a few corner cases for clang like we did with icc. These should 2010-07-22 18:47:41 +00:00
kmod_syms.awk Our awk does not implement the ARGIND variable, so we were attempting 2002-08-06 19:31:04 +00:00
ldscript.amd64 Provide the _start_ctors and _stop_ctors symbols. As on i386, the addresses 2004-05-29 01:09:00 +00:00
ldscript.arm Create a non-elf pure binary version of the kernel as well. 2005-11-24 02:25:49 +00:00
ldscript.i386 Align the .ctors section correctly. 2003-12-03 07:40:03 +00:00
ldscript.ia64 Have the linker provide btext. It's used for profiling. 2004-08-25 07:43:28 +00:00
ldscript.mips - Move .text and all sections up to .bss inclusive to the beginning of 2010-01-23 05:59:10 +00:00
ldscript.mips.64 64 bit ld script for mips, and configuration file for 64 bit compilation 2010-07-08 16:06:58 +00:00
ldscript.mips.cfe Use KERNLOADADDR instead of hardcoded address. This is required to be able to 2010-02-22 01:48:38 +00:00
ldscript.mips.mips64 Put back KERNLOADADDR. 2009-09-09 00:46:11 +00:00
ldscript.mips.n32 Add linker script and configuration file for n32 kernel. 2010-06-24 10:14:31 +00:00
ldscript.mips.octeon1.32 Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in 2010-03-05 23:03:20 +00:00
ldscript.mips.octeon1.64 Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in 2010-03-05 23:03:20 +00:00
ldscript.mips.octeon1.n32 Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in 2010-03-05 23:03:20 +00:00
ldscript.powerpc Avoid hardcoding the kernel link address in the linker script. 2008-02-27 00:03:23 +00:00
ldscript.powerpc64 Add powerpc64 kernel ldscript. 2010-07-13 05:43:43 +00:00
ldscript.sparc64 Use the same SEARCH_DIR as other platforms. 2003-06-07 18:23:50 +00:00
Makefile.amd64 Add a kernel option for amd64 to compile with the frame on the stack 2008-05-23 03:52:55 +00:00
Makefile.arm Convert Marvell ARM platforms to FDT convention. 2010-06-13 13:28:53 +00:00
Makefile.i386 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.ia64 Remove definition of the GCC3 variable. It was introduced in rev. 2007-06-02 21:30:39 +00:00
Makefile.mips Merge r187428, r191079, r195533, r195669, r197004, r197012 and r197015 2010-01-10 05:34:46 +00:00
Makefile.pc98 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.powerpc MFppc64: 2010-07-13 05:32:19 +00:00
Makefile.sparc64 Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
Makefile.sun4v Revert config(8) version bump. It brings major pain for people working on 2007-05-16 17:23:54 +00:00
makeLINT.mk Generate a second LINT configuration for i386 and amd64 in 2010-01-08 19:00:20 +00:00
makeLINT.sed Implemented "nooption" and "nomakeoption" config(8) tokens. 2003-02-26 23:36:59 +00:00
newvers.sh Revert to r197433, the more recent change doesn't work for the common 2010-03-10 01:00:37 +00:00
NOTES Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
options Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
options.amd64 Merge COUNT_XINVLTLB_HITS and COUNT_IPIS kernel options from i386 to amd64. 2010-06-17 11:54:49 +00:00
options.arm Now that we are fully FDT-driven on MRVL platforms, remove PHYSMEM_SIZE option. 2010-07-19 19:19:33 +00:00
options.i386 Make NKPT a kernel option on i386 so that it can be set to a non-default 2010-03-10 19:50:52 +00:00
options.ia64 Provide groundwork for 32-bit binary compatibility on non-x86 platforms, 2010-03-11 14:49:06 +00:00
options.mips Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executive 2010-07-20 19:25:11 +00:00
options.pc98 Unbreak the build for pc98. Specify the newly introduced, for ia32, 2010-01-16 12:24:12 +00:00
options.powerpc MFppc64: 2010-07-13 05:32:19 +00:00
options.sparc64 Add a driver for the `Fire' JBus to PCIe bridges found in at least 2009-12-27 16:55:44 +00:00
options.sun4v Remove remnants from the sparc64 origin of this file and which are 2007-01-19 12:22:50 +00:00
systags.sh Use a simpler way to reach the <machine> include dir, which should 2005-12-03 21:37:54 +00:00