Skip to content
Snippets Groups Projects
user avatar
Christoph Hellwig authored
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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarAndrey Ignatov <rdna@fb.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
32927393
Name Last commit Last update