linux-stable/net/mpls
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
..
af_mpls.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
internal.h net: mpls: Replace zero-length array with flexible-array member 2020-02-28 12:08:37 -08:00
Kconfig mpls: fix af_mpls dependencies for real 2019-06-12 09:42:34 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mpls_gso.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpls_iptunnel.c net: add net available in build_state 2020-03-29 22:30:57 -07:00