Re: [PATCH bpf-next 00/21] bpf: Sysctl hook

2019-03-25 Thread Andrey Ignatov
Daniel Borkmann [Mon, 2019-03-25 03:27 -0700]: > Hi Andrey, Hi Daniel, > On 03/24/2019 01:12 AM, Andrey Ignatov wrote: > > The patch set introduces new BPF hook for sysctl. ... > The change in patch 2 which this whole series is centered around would > need a consent from fs maintainers: > > dif

Re: [PATCH bpf-next 00/21] bpf: Sysctl hook

2019-03-25 Thread Daniel Borkmann
Hi Andrey, On 03/24/2019 01:12 AM, Andrey Ignatov wrote: > The patch set introduces new BPF hook for sysctl. > > It adds new program type BPF_PROG_TYPE_CGROUP_SYSCTL and attach type > BPF_CGROUP_SYSCTL. > > BPF_CGROUP_SYSCTL hook is placed before calling to sysctl's proc_handler so > that access

[PATCH bpf-next 00/21] bpf: Sysctl hook

2019-03-23 Thread Andrey Ignatov
The patch set introduces new BPF hook for sysctl. It adds new program type BPF_PROG_TYPE_CGROUP_SYSCTL and attach type BPF_CGROUP_SYSCTL. BPF_CGROUP_SYSCTL hook is placed before calling to sysctl's proc_handler so that accesses (read/write) to sysctl can be controlled for specific cgroup and eith