1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
amd64 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
arm Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
boot Fully support constructors for the purpose of code coverage analysis. 2014-10-20 17:04:03 +00:00
bsm
cam Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
cddl Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
compat Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
conf Add vxlan interface 2014-10-20 14:42:42 +00:00
contrib Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
crypto
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
fs Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
gdb
geom Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
isa
kern Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
kgssapi
libkern Add a complete implementation of MurmurHash3. Tweak both implementations 2014-10-18 22:15:11 +00:00
mips Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
modules IFC @r273338 2014-10-21 01:57:36 +00:00
net Use the size of the Ethernet address, not the entire header, when 2014-10-21 05:45:57 +00:00
net80211 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netgraph Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netinet Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netinet6 Overhaul if_gif(4): 2014-10-14 13:31:47 +00:00
netipsec Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netnatm
netpfil Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netsmb
nfs Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsclient Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsserver
nlm
ofed Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Merge pc98's machdep.c into i386/i386/machdep.c. 2014-10-04 06:01:30 +00:00
powerpc Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
rpc
security
sparc64 Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
sys Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
teken
tools
ufs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
vm Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
x86 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
xdr
xen xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00