freebsd-skq/sys/fs/devfs
hselasky 49c137f7be 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
..
devfs_devs.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
devfs_dir.c
devfs_int.h Prefer __containerof() above member2struct(). 2012-09-15 19:28:54 +00:00
devfs_rule.c make path matching in devfs rules consistent and sane (and safer) 2013-07-26 14:25:58 +00:00
devfs_vfsops.c Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. 2012-11-09 18:02:25 +00:00
devfs_vnops.c When vnode bypass cannot be performed on the cdev file descriptor for 2014-10-15 13:16:51 +00:00
devfs.h Introduce the "ruleset=number" option for devfs(5) mounts. 2012-02-09 10:09:12 +00:00