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] [day] [month] [year] [list]
Message-ID: <fafd846d-d365-efc2-8a6a-a5a1b471e9cd@gmail.com>
Date:   Fri, 17 Apr 2020 12:09:04 +0200
From:   "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To:     Peter Wu <peter@...ensteyn.nl>
Cc:     mtk.manpages@...il.com, linux-man@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bpf.2: update enum bpf_map_type and enum bpf_prog_type

Hello Peter,

On 8/4/19 10:53 PM, Peter Wu wrote:
> Taken from Linux v5.3-rc2. Add a reference to the header file to save
> the future reader some time figuring out whether more entries exist.

Thanks. Patch applied.

Cheers,

Michael


> Signed-off-by: Peter Wu <peter@...ensteyn.nl>
> ---
>  man2/bpf.2 | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/man2/bpf.2 b/man2/bpf.2
> index 5a766aaa8..51e3bd111 100644
> --- a/man2/bpf.2
> +++ b/man2/bpf.2
> @@ -367,6 +367,14 @@ enum bpf_map_type {
>      BPF_MAP_TYPE_DEVMAP,
>      BPF_MAP_TYPE_SOCKMAP,
>      BPF_MAP_TYPE_CPUMAP,
> +    BPF_MAP_TYPE_XSKMAP,
> +    BPF_MAP_TYPE_SOCKHASH,
> +    BPF_MAP_TYPE_CGROUP_STORAGE,
> +    BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,
> +    BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,
> +    BPF_MAP_TYPE_QUEUE,
> +    BPF_MAP_TYPE_STACK,
> +    /* See /usr/include/linux/bpf.h for the full list. */
>  };
>  .EE
>  .in
> @@ -756,6 +764,25 @@ enum bpf_prog_type {
>      BPF_PROG_TYPE_KPROBE,
>      BPF_PROG_TYPE_SCHED_CLS,
>      BPF_PROG_TYPE_SCHED_ACT,
> +    BPF_PROG_TYPE_TRACEPOINT,
> +    BPF_PROG_TYPE_XDP,
> +    BPF_PROG_TYPE_PERF_EVENT,
> +    BPF_PROG_TYPE_CGROUP_SKB,
> +    BPF_PROG_TYPE_CGROUP_SOCK,
> +    BPF_PROG_TYPE_LWT_IN,
> +    BPF_PROG_TYPE_LWT_OUT,
> +    BPF_PROG_TYPE_LWT_XMIT,
> +    BPF_PROG_TYPE_SOCK_OPS,
> +    BPF_PROG_TYPE_SK_SKB,
> +    BPF_PROG_TYPE_CGROUP_DEVICE,
> +    BPF_PROG_TYPE_SK_MSG,
> +    BPF_PROG_TYPE_RAW_TRACEPOINT,
> +    BPF_PROG_TYPE_CGROUP_SOCK_ADDR,
> +    BPF_PROG_TYPE_LWT_SEG6LOCAL,
> +    BPF_PROG_TYPE_LIRC_MODE2,
> +    BPF_PROG_TYPE_SK_REUSEPORT,
> +    BPF_PROG_TYPE_FLOW_DISSECTOR,
> +    /* See /usr/include/linux/bpf.h for the full list. */
>  };
>  .EE
>  .in
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ