lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190416153705.06a74f1e@cakuba.netronome.com>
Date:   Tue, 16 Apr 2019 15:37:05 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     Andrey Ignatov <rdna@...com>
Cc:     <netdev@...r.kernel.org>, <ast@...nel.org>, <daniel@...earbox.net>,
        <kernel-team@...com>
Subject: Re: [PATCH bpf-next] bpftool: Support sysctl hook

On Tue, 16 Apr 2019 13:13:47 -0700, Andrey Ignatov wrote:
> Add support for recently added BPF_PROG_TYPE_CGROUP_SYSCTL program type
> and BPF_CGROUP_SYSCTL attach type.
> 
> Example of bpftool output with sysctl program from selftests:
> 
>   # bpftool p load ./test_sysctl_prog.o /mnt/bpf/sysctl_prog type cgroup/sysctl
>   # bpftool p l
>   9: cgroup_sysctl  name sysctl_tcp_mem  tag 0dd05f81a8d0d52e  gpl
>           loaded_at 2019-04-16T12:57:27-0700  uid 0
>           xlated 1008B  jited 623B  memlock 4096B
>   # bpftool c a /mnt/cgroup2/bla sysctl id 9
>   # bpftool c t
>   CgroupPath
>   ID       AttachType      AttachFlags     Name
>   /mnt/cgroup2/bla
>       9        sysctl                          sysctl_tcp_mem
>   # bpftool c d /mnt/cgroup2/bla sysctl id 9
>   # bpftool c t
>   CgroupPath
>   ID       AttachType      AttachFlags     Name
> 
> Signed-off-by: Andrey Ignatov <rdna@...com>

Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ