freebsd-skq/sys
cem 63c98f9ad4 ddb(4): Add 'sysctl' command
Implement `sysctl` in `ddb` by overriding `SYSCTL_OUT`.  When handling the
req, we install custom ddb in/out handlers.  The out handler prints straight
to the debugger, while the in handler ignores all input.  This is intended
to allow us to print just about any sysctl.

There is a known issue when used from ddb(4) entered via 'sysctl
debug.kdb.enter=1'.  The DDB mode does not quite prevent all lock
interactions, and it is possible for the recursive Giant lock to be unlocked
when the ddb(4) 'sysctl' command is used.  This may result in a panic on
return from ddb(4) via 'c' (continue).  Obviously, this is not a problem
when debugging already-paniced systems.

Submitted by:	Travis Lane (formerly: <travis.lane AT isilon.com>)
Reviewed by:	vangyzen (earlier version), Don Morris <dgmorris AT earthlink.net>
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D20219
2019-08-08 00:42:29 +00:00
..
amd64 Use designated initializers for vmm_ops. 2019-08-07 19:45:44 +00:00
arm Remove gzip'ed a.out support. 2019-07-30 05:13:16 +00:00
arm64 Enable superpage promotion within the kernel pmap. 2019-08-05 02:44:04 +00:00
bsm
cam Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
cddl Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
compat Fix 32-bit build again, post r350570. 2019-08-04 20:00:39 +00:00
conf Add cdceem(4) driver, for virtual ethernet devices compliant 2019-08-07 18:14:45 +00:00
contrib Expose zlib's utility functions in Z_SOLO library when building kernel. 2019-08-07 01:41:17 +00:00
crypto aesni(4): Fix trivial type typo 2019-05-27 00:47:51 +00:00
ddb Cache kernel stacks in UMA. This gives us NUMA support, better concurrency, 2019-08-06 23:15:34 +00:00
dev GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
dts dtso: allwinner: Add an overlay for H3 i2c0 2019-07-20 17:42:46 +00:00
fs fusefs: merge from projects/fuse2 2019-08-07 00:38:26 +00:00
gdb
geom GEOM: Reduce unnecessary log interleaving with sbufs 2019-08-07 19:28:35 +00:00
gnu arm: dts: am33xx: Fix the region for uart0 2019-08-07 13:11:53 +00:00
i386 Detect invalid PCI devices more correctly in PCI interrupt router drivers. 2019-08-06 23:15:04 +00:00
isa
kern ddb(4): Add 'sysctl' command 2019-08-08 00:42:29 +00:00
kgssapi Make the warning intervals for deprecated crypto algorithms tunable. 2019-06-11 23:00:55 +00:00
libkern Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
mips Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
modules Remove the fuse.ko -> fusefs.ko symlink 2019-08-07 20:28:27 +00:00
net Properly validte arguments for route deletion 2019-08-03 14:42:07 +00:00
net80211 Enhance the comment ieee80211_add_channel() to avoid a 2019-06-10 14:31:18 +00:00
netgraph
netinet Fix a locking issue in sctp_accept. 2019-08-06 10:29:19 +00:00
netinet6 Correct ICMPv6/MLDv2 out-of-bounds memory access 2019-08-06 17:11:30 +00:00
netipsec netipsec key_register: check for M_NOWAIT alloc failure 2019-06-25 15:43:52 +00:00
netpfil pf: zero (another) output buffer in pfioctl 2019-07-31 16:58:09 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Fix prio vs. nonprio tagged traffic in RDMACM 2019-06-04 06:21:31 +00:00
opencrypto Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, 2019-08-01 06:35:33 +00:00
powerpc Fix build from r350622 2019-08-06 03:49:40 +00:00
riscv riscv: Fix copyin/copyout 2019-07-29 14:59:14 +00:00
rpc Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
security Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
sparc64 Don't pass error from syscallenter() to syscallret(). 2019-07-15 21:25:16 +00:00
sys sbuf(9): Add sbuf_nl_terminate() API 2019-08-07 19:27:14 +00:00
teken
tests
tools Add SDIO support. 2019-06-08 16:26:56 +00:00
ufs A race condition existed between the time a UFS/FFS superblock check 2019-08-06 18:10:34 +00:00
vm Cache kernel stacks in UMA. This gives us NUMA support, better concurrency, 2019-08-06 23:15:34 +00:00
x86 PR: 239143 2019-07-14 21:08:54 +00:00
xdr
xen
Makefile