Re: pass kernel pointers to the sysctl ->proc_handler method v3

From: Alexei Starovoitov
Date: Sun Apr 26 2020 - 11:51:12 EST


On Fri, Apr 24, 2020 at 08:43:33AM +0200, Christoph Hellwig wrote:
> Hi all,
>
> this series changes the sysctl ->proc_handler methods to take kernel
> pointers. This simplifies some of the pointer handling in the methods
> (which could probably be further simplified now), and gets rid of the
> set_fs address space overrides used by bpf.
>
> Changes since v2:
> - free the buffer modified by BPF
> - move pid_max and friends to pid.h
>
> Changes since v1:
> - drop a patch merged by Greg
> - don't copy data out on a write
> - fix buffer allocation in bpf

The set looks good to me.
Should I take it via bpf-next tree ?