opnsense-src/sys
Leandro Lupori eb5a41cf2f Add SYSCTL to get KERNBASE and relocated KERNBASE
This change adds 2 new SYSCTLs, to retrieve the original and relocated KERNBASE
values. This provides an easy, architecture independent way to calculate the
running kernel displacement (current/load address minus original base address).

The initial goal for this change is to add a new libkvm function that returns
the kernel displacement, both for live kernels and crashdumps. This would in
turn be used by kgdb to find out how to relocate kernel symbols (if needed).

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D23284
2020-02-05 11:34:10 +00:00
..
amd64 Regen after r357503. 2020-02-04 16:02:04 +00:00
arm Kill old armv4 busdma 2020-02-02 08:27:14 +00:00
arm64 Print useful debug data on unhandled kernel fault on arm64 2020-02-04 12:33:00 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
cddl Add sys/systm.h to several places that use vm headers. 2020-02-04 18:56:26 +00:00
compat Add sys/systm.h to several places that use vm headers. 2020-02-04 18:56:26 +00:00
conf Set the LMA of the riscv kernel to the OpenSBI jump target by default 2020-02-04 00:06:16 +00:00
contrib Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by 2020-02-05 00:13:15 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs tmpfs: add nomtime mount option, 2020-02-04 19:05:58 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom The error variable is not really needed. Remove it. 2020-02-01 10:15:23 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 uma: convert mbuf_jumbo_alloc to UMA_ZONE_CONTIG & tag others 2020-02-04 22:40:23 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern Add SYSCTL to get KERNBASE and relocated KERNBASE 2020-02-05 11:34:10 +00:00
kgssapi Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
modules Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
net typo: Registration. 2020-02-03 02:02:13 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph I doubt anybody in the world uses ng_device, but its write method should 2020-02-05 03:07:20 +00:00
netinet Remove unused timer. 2020-02-04 14:01:07 +00:00
netinet6 Fix NOINET builds. 2020-01-31 02:23:48 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil pf: Apply kif flags to new group members 2020-01-23 22:13:41 +00:00
netsmb Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc uma: convert mbuf_jumbo_alloc to UMA_ZONE_CONTIG & tag others 2020-02-04 22:40:23 +00:00
riscv prci: register tlclk as a fixed clock 2020-02-01 17:13:52 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sys Bump __FreeBSD_version to 1300077 for r357455 2020-02-04 09:12:12 +00:00
teken Adjust teken to allow build as part of loader 2019-09-05 18:07:40 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs With INVARIANTS, track all softdep dependency structures centrally 2020-02-03 17:47:14 +00:00
vm uma: multipage chicken switch 2020-02-04 22:40:45 +00:00
x86 In dmar_gas_lowermatch, skip searching a subtree if all its addresses are greater than lowaddr. 2020-02-01 21:47:34 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00