freebsd-nq/sys/dev
Mariusz Zaborski bd1da0a002 Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.
Change the nvlist_recv() function to take additional argument that
specifies flags expected on the received nvlist. Receiving a nvlist with
different set of flags than the ones we expect might lead to undefined
behaviour, which might be potentially dangerous.

Update consumers of this and related functions and update the tests.

Approved by:	pjd (mentor)

Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist
and cap_xfer_nvlist.

Reviewed by:	AllanJude
Approved by:	pjd (mentor)
2015-05-02 17:45:52 +00:00
..
aac Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
aacraid Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
acpi_support
acpica There may not be an FACS table, check for this before accessing it. 2015-04-28 16:06:58 +00:00
adb
adlink
advansys Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ae
age
agp
aha Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ahb Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ahci Reduce priority of ATA/SATA drivers. 2015-03-23 19:47:52 +00:00
aic
aic7xxx
alc
ale
alpm
altera
amdpm
amdsbwd
amdsmb
amdtemp
amr Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
an
arcmsr
asmc
ata Remove from legacy ata(4) driver support for hardware, supported by newer 2015-03-24 18:09:07 +00:00
ath Return the correct HAL data type for HAL_DIAG_ANI_STATS. 2015-04-06 01:12:53 +00:00
atkbdc Remove leftover from r282269. 2015-04-30 17:49:35 +00:00
auxio
bce
beri
bfe
bge bge(4): Small memory leak 2015-03-08 19:55:46 +00:00
bktr
bm
buslogic Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
bvm
bwi Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
bwn Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
bxe Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
cadence Use the new ifnet API. Also, allocate bus_dma_maps as needed instead of 2015-03-09 22:39:58 +00:00
cardbus
cas
ce
cesa
cfe
cfi
ciss Remove redundant mtx_lock/unlock in ciss_name_device. This is a guaranteed 2015-04-02 23:12:18 +00:00
cm
cmx
coretemp
cp
cpuctl
cpufreq
cs
ct Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ctau
cx
cxgb Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl 2015-03-14 17:08:28 +00:00
cxgbe Don't use ifm_data. It was used only for self checking debug. 2015-04-26 21:31:30 +00:00
cy
dc
dcons
de
digi
dpms
dpt Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
drm
drm2 drm: Import Linux commit 9bc3cd5673d84d29272fa7181a4dfca83cbb48c1 2015-03-29 18:45:51 +00:00
dwc o Remove superfluous includes 2015-04-03 11:37:23 +00:00
e1000 Various fixes to the stats in igb(4), ixgbe(4), and ixl(4). 2015-04-30 18:23:38 +00:00
ed
eisa
en
ep
esp
et
etherswitch Fix French typos in etherswitch. 2015-04-18 07:34:39 +00:00
ex
exca
fatm
fb Add support for USB display link adapters to the FB and VT drivers. 2015-03-07 20:45:15 +00:00
fdc
fdt Bring in the start of the arm64 kernel. 2015-04-13 14:43:10 +00:00
fe
ffec
filemon
firewire
flash
fxp
gem
glxiic
glxsb
gpio Handle multiple "gpio-leds"-compatible nodes 2015-04-02 02:43:48 +00:00
gxemul
hatm
hifn
hme
hpt27xx
hptiop
hptmv
hptnr Merge changes from vendor driver version 1.1.1: 2015-04-11 00:45:03 +00:00
hptrr
hwpmc Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
hyperv Microsoft vmbus, storage and other related driver enhancements for HyperV. 2015-04-29 10:12:34 +00:00
ic
ichsmb Add Lynx-Point LP smbus controller ID. 2015-04-24 07:24:31 +00:00
ichwd
ida Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ie
if_ndis Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
iicbus Make the pcf8563 RTC work on FDT systems and on interrupt based i2c 2015-04-25 21:43:29 +00:00
iir Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
intpm
io
ipmi Watchdog drivers need to support rearming the watchdog in contexts which 2015-04-24 16:56:23 +00:00
ips
ipw
isci
iscsi Remove icl_conn_connected(); was unused. 2015-04-04 22:11:38 +00:00
iscsi_initiator Use sysctl_handle_string() and the sbuf printf routines instead of large 2015-03-14 22:32:15 +00:00
ismt
isp
ispfw
iwi
iwn iwn, wlan: fix typos 2015-04-10 20:55:17 +00:00
ixgb
ixgbe Remove the extra extern which makes gcc complain; I assume it came from 2015-05-01 12:10:36 +00:00
ixl Various fixes to the stats in igb(4), ixgbe(4), and ixl(4). 2015-04-30 18:23:38 +00:00
jme
joy
kbd
kbdmux Revert r281889: 2015-04-29 20:08:03 +00:00
ksyms
le
led
lge
lmc
malo
mbox
mc146818
mca
mcd
md
mem
mfi
mge
mii Add another variant of BCM5708S controller to IBM HS21 workaround 2015-04-23 01:39:28 +00:00
mk48txx
mlx Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
mly Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
mmc Add necessary changes to support various Amlogic SoC devices 2015-03-31 11:50:46 +00:00
mn
mpr
mps
mpt
mrsas
mse
msk
mvs Reduce priority of ATA/SATA drivers. 2015-03-23 19:47:52 +00:00
mwl
mxge Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
my
nand machine/fdt.h no longer exists for powerpc. 2015-03-31 05:26:30 +00:00
ncr
ncv
netfpga10g/nf10bmac
netmap netmap: improve the netmap attach message on FreeBSD. 2015-04-11 06:20:46 +00:00
nfe
nfsmb
nge
nmdm
nsp
ntb
null
nvd
nvme nvme: use BUS_SPACE_MAXSIZE for bus_dma_tag_create maxsize parameter 2015-04-09 00:37:55 +00:00
nvram
nvram2env
nxge
oce
ofw Fix bug in xrefinfo_find() for 64-bit platforms 2015-03-30 09:49:54 +00:00
patm
pbio
pccard
pccbb Update the pci_cfg_save/restore routines to operate on bridge devices 2015-04-22 22:02:27 +00:00
pcf
pci Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno. 2015-05-02 17:45:52 +00:00
pcn
pdq
powermac_nvram
ppbus
ppc
proto
psci Add psci for arm64. This is currently used when rebooting and powering off 2015-04-13 16:41:33 +00:00
pst
pty
puc
qlxgb
qlxgbe
qlxge
quicc
ral
random
rc
re Don't enable RX and TX before their initial configuration is done, i. e. 2015-04-09 21:35:44 +00:00
rl
rndtest
rp
rt
safe
sbni
scc
scd
sdhci
sec
sf
sfxge sfxge: fix bug in TSO when a DMA segment has both header and data 2015-03-29 15:18:04 +00:00
sge
si
siba
siis Reduce priority of ATA/SATA drivers. 2015-03-23 19:47:52 +00:00
sio
sis
sk
smbus Expand SMBUS API to add smbus_trans() function. 2015-04-25 16:15:01 +00:00
smc
sn
snc
snp
sound Allow DSP basename cloning to be disabled or enabled at boot and 2015-04-26 11:39:13 +00:00
speaker
spibus
ste
stg
stge
streams fd: remove filedesc argument from fdclose 2015-04-11 15:40:28 +00:00
sym
syscons
tdfx
terasic
ti
tl
tpm
trm Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
tsec
twa
twe Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
tws
tx
txp
uart Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
ubsec
usb - Disable usb aggregation mode by default since it boots performance 2015-04-30 02:47:21 +00:00
utopia
vge
viapm
viawd
videomode
virtio Don't free mbufs when stopping an interface in netmap mode. 2015-04-29 17:48:25 +00:00
vkbd
vmware/vmxnet3
vr
vt vt: fix vt_fb_bitblt_bitmap mask corruption 2015-04-29 20:30:11 +00:00
vte
vx
vxge
watchdog
wb
wbwd Revert r279933; this is going to be fixed in sbuf instead. 2015-03-14 13:02:08 +00:00
wds
wi
wl
wpi Do not access peripheral before clock stabilization. 2015-04-09 04:56:24 +00:00
wtap
xe
xen Remove support for Xen PV domU kernels. Support for HVM domU kernels 2015-04-30 15:48:48 +00:00
xl