opnsense-src/sys/conf
Mitchell Horne 758e72c0a8 Add new vnode dumper to support live minidumps
This dumper can instantiate and write the dump's contents to a
file-backed vnode.

Unlike existing disk or network dumpers, the vnode dumper should not be
invoked during a system panic, and therefore is not added to the global
dumper_configs list. Instead, the vnode dumper is constructed ad-hoc
when a live dump is requested using the new ioctl on /dev/mem. This is
similar in spirit to a kgdb session against the live system via
/dev/mem.

As described briefly in the mem(4) man page, live dumps are not
guaranteed to result in a usuable output file, but offer some debugging
value where forcefully panicing a system to dump its memory is not
desirable/feasible.

A future change to savecore(8) will add an option to save a live dump.

Reviewed by:	markj, Pau Amma <pauamma@gundo.com> (manpages)
Discussed with:	kib
MFC after:	3 weeks
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D33813

(cherry picked from commit c9114f9f86)
2022-06-27 16:32:06 -03:00
..
config.mk
dtb.build.mk
dtb.mk
files Add new vnode dumper to support live minidumps 2022-06-27 16:32:06 -03:00
files.amd64 linux(4): Get rid of Linuxulator kernel build options. 2022-06-17 22:30:22 +03:00
files.arm netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
files.arm64 Support LSE atomics in the arm64 casue* functions 2022-06-07 15:20:18 +01: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): Update to 1.34.2-k 2022-03-07 16:11:46 -08: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 Disable -Wreturn-type on GCC. 2022-05-10 17:11:44 -07:00
kern.opts.mk WITH_OFED build option: fix 2021-02-05 03:27:33 +02: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 infiniband: Disable -Wredundant-decl warnings. 2022-05-10 15:51:49 -07:00
kmod.mk linuxkpi: Add i2c support 2022-06-21 17:13:57 +02:00
kmod.opts.mk
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
ldscript.arm64
ldscript.i386
ldscript.kmod.amd64
ldscript.kmod.i386
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64
ldscript.powerpc64le
ldscript.powerpcspe
ldscript.riscv
Makefile.amd64
Makefile.arm
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
Makefile.riscv
newvers.sh Rename stable/13 to -STABLE now that releng/13.1 has branched 2022-03-09 19:11:29 -05:00
NOTES linux(4): Get rid of Linuxulator kernel build options. 2022-06-17 22:30:22 +03: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
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
options.powerpc
options.riscv
std.nodebug Exclude DEBUG_VFS_LOCKS from non-debug kernel configs 2022-06-05 04:23:20 +03:00
sysent.mk
systags.sh
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