kernel_optimize_test/net/decnet
Christoph Hellwig 32927393dc sysctl: pass kernel pointers to ->proc_handler
Instead of having all the sysctl handlers deal with user pointers, which
is rather hairy in terms of the BPF interaction, copy the input to and
from  userspace in common code.  This also means that the strings are
always NUL-terminated by the common code, making the API a little bit
safer.

As most handler just pass through the data to one of the common handlers
a lot of the changes are mechnical.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2020-04-27 02:07:40 -04:00
..
netfilter treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 53 2019-05-24 17:36:42 +02:00
af_decnet.c net: Make sock protocol value checks more specific 2020-01-09 18:41:40 -08:00
dn_dev.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
dn_fib.c netlink: make validation more configurable for future strictness 2019-04-27 17:07:21 -04:00
dn_neigh.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
dn_nsp_in.c net: use helpers to change sk_ack_backlog 2019-11-06 16:14:48 -08:00
dn_nsp_out.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 24 2019-05-21 11:52:39 +02:00
dn_route.c Remove DST_HOST 2020-03-23 21:57:44 -07:00
dn_rules.c decnet: whitespace fixes 2018-07-24 14:10:42 -07:00
dn_table.c net: fix two coding style issues 2019-04-27 17:03:44 -04:00
dn_timer.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile decnet: whitespace fixes 2018-07-24 14:10:42 -07:00
README
sysctl_net_decnet.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
TODO decnet: whitespace fixes 2018-07-24 14:10:42 -07:00

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>