opnsense-src/sys
Warner Losh ddfc9c4c59 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these
information functions that translates an sbuf into char * and len. The
current interface suffers issues of what to do in cases of truncation,
etc. Instead, migrate all these functions to using struct sbuf and these
issues go away. The caller is also in charge of any memory allocation
and/or expansion that's needed during this process.

Create a bus_generic_child_{pnpinfo,location} and make it default. It
just returns success. This is for those busses that have no information
for these items. Migrate the now-empty routines to using this as
appropriate.

Document these new interfaces with man pages, and oversight from before.

Reviewed by:		jhb, bcr
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29937
2021-06-22 20:52:06 -06:00
..
amd64 linux(4): Retire linux_kplatform. 2021-06-22 08:36:21 +03:00
arm newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
arm64 arm64: Use page_to_pvh() when the vm_page_t is known 2021-06-21 17:25:06 -05:00
bsm
cam cam: Set the CAM_QOS_VALID when valid 2021-06-20 19:14:13 -06:00
cddl
compat linux(4): Retire linux_kplatform. 2021-06-22 08:36:21 +03:00
conf linux(4): Get rid of Linuxulator kernel build options. 2021-06-22 08:32:39 +03:00
contrib zfs: merge openzfs/zfs@c4c162c1e (master) into main 2021-06-20 09:18:44 +02:00
crypto ossl: Use crypto_cursor_segment(). 2021-05-25 16:59:19 -07:00
ddb
dev newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
dts arm: allwinner: dtb: Add overlays to disable SD/MMC node 2021-06-14 20:47:37 +02:00
fs fusefs: ensure that FUSE ops' headers' unique values are actually unique 2021-06-19 14:45:29 -06:00
gdb
geom gconcat: Implement new online append feature 2021-06-14 11:42:03 -06:00
gnu
i386 linux(4): Retire unused declaration. 2021-06-22 08:41:33 +03:00
isa newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
kern newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
kgssapi
libkern
mips Move mips and arm to 1000Hz by default. 2021-06-16 20:00:14 -06:00
modules sdhci_fdt: Add gpio_if.h to the source 2021-06-21 21:55:03 +02:00
net Retore the vnet before returning an error. 2021-06-21 10:46:20 -04:00
net80211 net80211/LinuxKPI: add more radiotap definitions 2021-06-05 16:21:49 +00:00
netgraph Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
netinet toe: Read-lock the inp in toe_4tuple_check(). 2021-06-22 16:31:01 -07:00
netinet6 Enter the net epoch before calling ip6_setpktopts 2021-06-04 13:18:11 -04:00
netipsec
netpfil ipfw: Update the pfil mbuf pointer in ipfw_check_frame() 2021-06-16 09:46:56 -04:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-05-26 10:45:40 -04:00
nfs
nfsclient
nfsserver
nlm
ofed mlx4/OFED: replace the struct net_device with struct ifnet 2021-06-18 21:20:08 +00:00
opencrypto crypto: Remove now-unused crypto_cursor_seg{base,len}. 2021-06-16 15:23:16 -07:00
powerpc newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
riscv riscv: Add an hw.ncpu tunable to limit the number of cores 2021-06-15 01:22:13 +01:00
rpc Consistently use the SOLISTENING() macro 2021-06-14 17:32:27 -04:00
security
sys newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-17 08:49:09 +02:00
tools
ufs ffs: Correct the input size check in sysctl_ffs_fsck() 2021-05-31 18:59:18 -04:00
vm Un-staticise vm_page_init_page() 2021-06-17 16:58:44 +03:00
x86 Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
xdr
xen
Makefile