Skip to content
Permalink
Browse files

sys/linux: add few new bpf consts

  • Loading branch information...
dvyukov committed May 10, 2019
1 parent 16c4469 commit 46caad94600e423131f4a0072f17ac8d3ee54e0e
@@ -60,7 +60,7 @@

#if GOARCH_386
#define GOARCH "386"
#define SYZ_REVISION "2a310072609dd2e6ae7b07282877fd2cf31ef04b"
#define SYZ_REVISION "9a47570fd6dfab9549e7f6c6dc74820b136aa7b2"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -70,7 +70,7 @@

#if GOARCH_amd64
#define GOARCH "amd64"
#define SYZ_REVISION "635705c13150622d9e68e6d8b434fb56ed52289c"
#define SYZ_REVISION "ff56879f86d1c5d5c21a796f104d98cdda130643"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -80,7 +80,7 @@

#if GOARCH_arm
#define GOARCH "arm"
#define SYZ_REVISION "a6919059eb94d6f50a1aecf5881e762d1e6d212f"
#define SYZ_REVISION "2628a797a6d3c69a653099dc4c76e542511e5dee"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -90,7 +90,7 @@

#if GOARCH_arm64
#define GOARCH "arm64"
#define SYZ_REVISION "f2c20c26aaf4c83bed7b550a26dcc203defc6d67"
#define SYZ_REVISION "3874dd98d514bea344673e0dbe4e9fd0cdfd1cd7"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -100,7 +100,7 @@

#if GOARCH_ppc64le
#define GOARCH "ppc64le"
#define SYZ_REVISION "0b321c9de8c65a001f28b71c84c8780f9d4713a9"
#define SYZ_REVISION "84345e4c9ab2df204d5e2216e1ee380880b1e68c"
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
#define SYZ_EXECUTOR_USES_SHMEM 1
#define SYZ_PAGE_SIZE 4096
@@ -1643,6 +1643,7 @@ const call_t syscalls[] = {
{"bpf$BPF_GET_BTF_INFO", 357},
{"bpf$BPF_GET_MAP_INFO", 357},
{"bpf$BPF_GET_PROG_INFO", 357},
{"bpf$BPF_MAP_FREEZE", 357},
{"bpf$BPF_MAP_GET_FD_BY_ID", 357},
{"bpf$BPF_MAP_GET_NEXT_ID", 357},
{"bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM", 357},
@@ -4336,6 +4337,7 @@ const call_t syscalls[] = {
{"bpf$BPF_GET_BTF_INFO", 321},
{"bpf$BPF_GET_MAP_INFO", 321},
{"bpf$BPF_GET_PROG_INFO", 321},
{"bpf$BPF_MAP_FREEZE", 321},
{"bpf$BPF_MAP_GET_FD_BY_ID", 321},
{"bpf$BPF_MAP_GET_NEXT_ID", 321},
{"bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM", 321},
@@ -7025,6 +7027,7 @@ const call_t syscalls[] = {
{"bpf$BPF_GET_BTF_INFO", 386},
{"bpf$BPF_GET_MAP_INFO", 386},
{"bpf$BPF_GET_PROG_INFO", 386},
{"bpf$BPF_MAP_FREEZE", 386},
{"bpf$BPF_MAP_GET_FD_BY_ID", 386},
{"bpf$BPF_MAP_GET_NEXT_ID", 386},
{"bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM", 386},
@@ -9660,6 +9663,7 @@ const call_t syscalls[] = {
{"bpf$BPF_GET_BTF_INFO", 280},
{"bpf$BPF_GET_MAP_INFO", 280},
{"bpf$BPF_GET_PROG_INFO", 280},
{"bpf$BPF_MAP_FREEZE", 280},
{"bpf$BPF_MAP_GET_FD_BY_ID", 280},
{"bpf$BPF_MAP_GET_NEXT_ID", 280},
{"bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM", 280},
@@ -12268,6 +12272,7 @@ const call_t syscalls[] = {
{"bpf$BPF_GET_BTF_INFO", 361},
{"bpf$BPF_GET_MAP_INFO", 361},
{"bpf$BPF_GET_PROG_INFO", 361},
{"bpf$BPF_MAP_FREEZE", 361},
{"bpf$BPF_MAP_GET_FD_BY_ID", 361},
{"bpf$BPF_MAP_GET_NEXT_ID", 361},
{"bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM", 361},
@@ -42,6 +42,7 @@ bpf$BPF_BTF_LOAD(cmd const[BPF_BTF_LOAD], arg ptr[in, bpf_btf_load], size len[ar
bpf$BPF_BTF_GET_FD_BY_ID(cmd const[BPF_BTF_GET_FD_BY_ID], arg ptr[in, bpf_btf_id], size len[arg]) fd_btf
bpf$BPF_TASK_FD_QUERY(cmd const[BPF_TASK_FD_QUERY], arg ptr[inout, bpf_task_fd_query], size len[arg])
bpf$BPF_MAP_LOOKUP_AND_DELETE_ELEM(cmd const[BPF_MAP_LOOKUP_AND_DELETE_ELEM], arg ptr[in, bpf_map_lookup_arg], size len[arg])
bpf$BPF_MAP_FREEZE(cmd const[BPF_MAP_FREEZE], arg ptr[in, fd_bpf_map], size len[arg])

bpf_map_create_arg {
type flags[bpf_map_type, int32]
@@ -466,11 +467,11 @@ bpf_task_fd_query {
probe_addr const[0, int64]
}

bpf_map_type = BPF_MAP_TYPE_HASH, BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PROG_ARRAY, BPF_MAP_TYPE_PERF_EVENT_ARRAY, BPF_MAP_TYPE_STACK_TRACE, BPF_MAP_TYPE_CGROUP_ARRAY, BPF_MAP_TYPE_PERCPU_HASH, BPF_MAP_TYPE_PERCPU_ARRAY, BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_MAP_TYPE_LPM_TRIE, BPF_MAP_TYPE_ARRAY_OF_MAPS, BPF_MAP_TYPE_HASH_OF_MAPS, 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
bpf_map_type = BPF_MAP_TYPE_HASH, BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PROG_ARRAY, BPF_MAP_TYPE_PERF_EVENT_ARRAY, BPF_MAP_TYPE_STACK_TRACE, BPF_MAP_TYPE_CGROUP_ARRAY, BPF_MAP_TYPE_PERCPU_HASH, BPF_MAP_TYPE_PERCPU_ARRAY, BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_MAP_TYPE_LPM_TRIE, BPF_MAP_TYPE_ARRAY_OF_MAPS, BPF_MAP_TYPE_HASH_OF_MAPS, 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, BPF_MAP_TYPE_SK_STORAGE
bpf_map_flags = BPF_ANY, BPF_NOEXIST, BPF_EXIST
bpf_prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 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
map_flags = BPF_F_NO_PREALLOC, BPF_F_NO_COMMON_LRU, BPF_F_NUMA_NODE, BPF_F_RDONLY, BPF_F_WRONLY, BPF_F_STACK_BUILD_ID
bpf_attach_type = BPF_CGROUP_INET_INGRESS, BPF_CGROUP_INET_EGRESS, BPF_CGROUP_INET_SOCK_CREATE, BPF_CGROUP_SOCK_OPS, BPF_SK_SKB_STREAM_PARSER, BPF_SK_SKB_STREAM_VERDICT, BPF_CGROUP_DEVICE, BPF_SK_MSG_VERDICT, BPF_CGROUP_INET4_BIND, BPF_CGROUP_INET6_BIND, BPF_CGROUP_INET4_CONNECT, BPF_CGROUP_INET6_CONNECT, BPF_CGROUP_INET4_POST_BIND, BPF_CGROUP_INET6_POST_BIND
bpf_prog_type = BPF_PROG_TYPE_SOCKET_FILTER, 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, BPF_PROG_TYPE_CGROUP_SYSCTL, BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
map_flags = BPF_F_NO_PREALLOC, BPF_F_NO_COMMON_LRU, BPF_F_NUMA_NODE, BPF_F_RDONLY, BPF_F_WRONLY, BPF_F_STACK_BUILD_ID, BPF_F_ZERO_SEED, BPF_F_RDONLY_PROG, BPF_F_WRONLY_PROG
bpf_attach_type = BPF_CGROUP_INET_INGRESS, BPF_CGROUP_INET_EGRESS, BPF_CGROUP_INET_SOCK_CREATE, BPF_CGROUP_SOCK_OPS, BPF_SK_SKB_STREAM_PARSER, BPF_SK_SKB_STREAM_VERDICT, BPF_CGROUP_DEVICE, BPF_SK_MSG_VERDICT, BPF_CGROUP_INET4_BIND, BPF_CGROUP_INET6_BIND, BPF_CGROUP_INET4_CONNECT, BPF_CGROUP_INET6_CONNECT, BPF_CGROUP_INET4_POST_BIND, BPF_CGROUP_INET6_POST_BIND, BPF_CGROUP_UDP4_SENDMSG, BPF_CGROUP_UDP6_SENDMSG, BPF_LIRC_MODE2, BPF_FLOW_DISSECTOR, BPF_CGROUP_SYSCTL
bpf_prog_load_flags = BPF_F_STRICT_ALIGNMENT
bpf_attach_flags = BPF_F_ALLOW_OVERRIDE, BPF_F_ALLOW_MULTI
bpf_prog_query_flags = BPF_F_QUERY_EFFECTIVE
@@ -21,11 +21,15 @@ BPF_CGROUP_INET_EGRESS = 1
BPF_CGROUP_INET_INGRESS = 0
BPF_CGROUP_INET_SOCK_CREATE = 2
BPF_CGROUP_SOCK_OPS = 3
BPF_CGROUP_SYSCTL = 18
BPF_CGROUP_UDP4_SENDMSG = 14
BPF_CGROUP_UDP6_SENDMSG = 15
BPF_DIV0 = 3
BPF_DW0 = 3
BPF_END0 = 13
BPF_EXIST = 2
BPF_EXIT0 = 9
BPF_FLOW_DISSECTOR = 17
BPF_FUNC_INFO_SIZE = 8
BPF_F_ALLOW_MULTI = 2
BPF_F_ALLOW_OVERRIDE = 1
@@ -34,9 +38,12 @@ BPF_F_NO_PREALLOC = 1
BPF_F_NUMA_NODE = 4
BPF_F_QUERY_EFFECTIVE = 1
BPF_F_RDONLY = 8
BPF_F_RDONLY_PROG = 128
BPF_F_STACK_BUILD_ID = 32
BPF_F_STRICT_ALIGNMENT = 1
BPF_F_WRONLY = 16
BPF_F_WRONLY_PROG = 256
BPF_F_ZERO_SEED = 64
BPF_H0 = 1
BPF_IMM0 = 0
BPF_IND0 = 2
@@ -56,9 +63,11 @@ BPF_JSLT0 = 12
BPF_LD = 0
BPF_LDX = 1
BPF_LINE_INFO_SIZE = 16
BPF_LIRC_MODE2 = 16
BPF_LSH0 = 6
BPF_MAP_CREATE = 0
BPF_MAP_DELETE_ELEM = 3
BPF_MAP_FREEZE = 22
BPF_MAP_GET_FD_BY_ID = 14
BPF_MAP_GET_NEXT_ID = 12
BPF_MAP_GET_NEXT_KEY = 4
@@ -82,6 +91,7 @@ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4
BPF_MAP_TYPE_PROG_ARRAY = 3
BPF_MAP_TYPE_QUEUE = 22
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20
BPF_MAP_TYPE_SK_STORAGE = 24
BPF_MAP_TYPE_SOCKHASH = 18
BPF_MAP_TYPE_SOCKMAP = 15
BPF_MAP_TYPE_STACK = 23
@@ -110,6 +120,7 @@ BPF_PROG_TYPE_CGROUP_DEVICE = 15
BPF_PROG_TYPE_CGROUP_SKB = 8
BPF_PROG_TYPE_CGROUP_SOCK = 9
BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18
BPF_PROG_TYPE_CGROUP_SYSCTL = 23
BPF_PROG_TYPE_FLOW_DISSECTOR = 22
BPF_PROG_TYPE_KPROBE = 2
BPF_PROG_TYPE_LIRC_MODE2 = 20
@@ -119,6 +130,7 @@ BPF_PROG_TYPE_LWT_SEG6LOCAL = 19
BPF_PROG_TYPE_LWT_XMIT = 12
BPF_PROG_TYPE_PERF_EVENT = 7
BPF_PROG_TYPE_RAW_TRACEPOINT = 17
BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24
BPF_PROG_TYPE_SCHED_ACT = 4
BPF_PROG_TYPE_SCHED_CLS = 3
BPF_PROG_TYPE_SK_MSG = 16
@@ -21,11 +21,15 @@ BPF_CGROUP_INET_EGRESS = 1
BPF_CGROUP_INET_INGRESS = 0
BPF_CGROUP_INET_SOCK_CREATE = 2
BPF_CGROUP_SOCK_OPS = 3
BPF_CGROUP_SYSCTL = 18
BPF_CGROUP_UDP4_SENDMSG = 14
BPF_CGROUP_UDP6_SENDMSG = 15
BPF_DIV0 = 3
BPF_DW0 = 3
BPF_END0 = 13
BPF_EXIST = 2
BPF_EXIT0 = 9
BPF_FLOW_DISSECTOR = 17
BPF_FUNC_INFO_SIZE = 8
BPF_F_ALLOW_MULTI = 2
BPF_F_ALLOW_OVERRIDE = 1
@@ -34,9 +38,12 @@ BPF_F_NO_PREALLOC = 1
BPF_F_NUMA_NODE = 4
BPF_F_QUERY_EFFECTIVE = 1
BPF_F_RDONLY = 8
BPF_F_RDONLY_PROG = 128
BPF_F_STACK_BUILD_ID = 32
BPF_F_STRICT_ALIGNMENT = 1
BPF_F_WRONLY = 16
BPF_F_WRONLY_PROG = 256
BPF_F_ZERO_SEED = 64
BPF_H0 = 1
BPF_IMM0 = 0
BPF_IND0 = 2
@@ -56,9 +63,11 @@ BPF_JSLT0 = 12
BPF_LD = 0
BPF_LDX = 1
BPF_LINE_INFO_SIZE = 16
BPF_LIRC_MODE2 = 16
BPF_LSH0 = 6
BPF_MAP_CREATE = 0
BPF_MAP_DELETE_ELEM = 3
BPF_MAP_FREEZE = 22
BPF_MAP_GET_FD_BY_ID = 14
BPF_MAP_GET_NEXT_ID = 12
BPF_MAP_GET_NEXT_KEY = 4
@@ -82,6 +91,7 @@ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4
BPF_MAP_TYPE_PROG_ARRAY = 3
BPF_MAP_TYPE_QUEUE = 22
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20
BPF_MAP_TYPE_SK_STORAGE = 24
BPF_MAP_TYPE_SOCKHASH = 18
BPF_MAP_TYPE_SOCKMAP = 15
BPF_MAP_TYPE_STACK = 23
@@ -110,6 +120,7 @@ BPF_PROG_TYPE_CGROUP_DEVICE = 15
BPF_PROG_TYPE_CGROUP_SKB = 8
BPF_PROG_TYPE_CGROUP_SOCK = 9
BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18
BPF_PROG_TYPE_CGROUP_SYSCTL = 23
BPF_PROG_TYPE_FLOW_DISSECTOR = 22
BPF_PROG_TYPE_KPROBE = 2
BPF_PROG_TYPE_LIRC_MODE2 = 20
@@ -119,6 +130,7 @@ BPF_PROG_TYPE_LWT_SEG6LOCAL = 19
BPF_PROG_TYPE_LWT_XMIT = 12
BPF_PROG_TYPE_PERF_EVENT = 7
BPF_PROG_TYPE_RAW_TRACEPOINT = 17
BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24
BPF_PROG_TYPE_SCHED_ACT = 4
BPF_PROG_TYPE_SCHED_CLS = 3
BPF_PROG_TYPE_SK_MSG = 16
@@ -21,11 +21,15 @@ BPF_CGROUP_INET_EGRESS = 1
BPF_CGROUP_INET_INGRESS = 0
BPF_CGROUP_INET_SOCK_CREATE = 2
BPF_CGROUP_SOCK_OPS = 3
BPF_CGROUP_SYSCTL = 18
BPF_CGROUP_UDP4_SENDMSG = 14
BPF_CGROUP_UDP6_SENDMSG = 15
BPF_DIV0 = 3
BPF_DW0 = 3
BPF_END0 = 13
BPF_EXIST = 2
BPF_EXIT0 = 9
BPF_FLOW_DISSECTOR = 17
BPF_FUNC_INFO_SIZE = 8
BPF_F_ALLOW_MULTI = 2
BPF_F_ALLOW_OVERRIDE = 1
@@ -34,9 +38,12 @@ BPF_F_NO_PREALLOC = 1
BPF_F_NUMA_NODE = 4
BPF_F_QUERY_EFFECTIVE = 1
BPF_F_RDONLY = 8
BPF_F_RDONLY_PROG = 128
BPF_F_STACK_BUILD_ID = 32
BPF_F_STRICT_ALIGNMENT = 1
BPF_F_WRONLY = 16
BPF_F_WRONLY_PROG = 256
BPF_F_ZERO_SEED = 64
BPF_H0 = 1
BPF_IMM0 = 0
BPF_IND0 = 2
@@ -56,9 +63,11 @@ BPF_JSLT0 = 12
BPF_LD = 0
BPF_LDX = 1
BPF_LINE_INFO_SIZE = 16
BPF_LIRC_MODE2 = 16
BPF_LSH0 = 6
BPF_MAP_CREATE = 0
BPF_MAP_DELETE_ELEM = 3
BPF_MAP_FREEZE = 22
BPF_MAP_GET_FD_BY_ID = 14
BPF_MAP_GET_NEXT_ID = 12
BPF_MAP_GET_NEXT_KEY = 4
@@ -82,6 +91,7 @@ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4
BPF_MAP_TYPE_PROG_ARRAY = 3
BPF_MAP_TYPE_QUEUE = 22
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20
BPF_MAP_TYPE_SK_STORAGE = 24
BPF_MAP_TYPE_SOCKHASH = 18
BPF_MAP_TYPE_SOCKMAP = 15
BPF_MAP_TYPE_STACK = 23
@@ -110,6 +120,7 @@ BPF_PROG_TYPE_CGROUP_DEVICE = 15
BPF_PROG_TYPE_CGROUP_SKB = 8
BPF_PROG_TYPE_CGROUP_SOCK = 9
BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18
BPF_PROG_TYPE_CGROUP_SYSCTL = 23
BPF_PROG_TYPE_FLOW_DISSECTOR = 22
BPF_PROG_TYPE_KPROBE = 2
BPF_PROG_TYPE_LIRC_MODE2 = 20
@@ -119,6 +130,7 @@ BPF_PROG_TYPE_LWT_SEG6LOCAL = 19
BPF_PROG_TYPE_LWT_XMIT = 12
BPF_PROG_TYPE_PERF_EVENT = 7
BPF_PROG_TYPE_RAW_TRACEPOINT = 17
BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24
BPF_PROG_TYPE_SCHED_ACT = 4
BPF_PROG_TYPE_SCHED_CLS = 3
BPF_PROG_TYPE_SK_MSG = 16
@@ -21,11 +21,15 @@ BPF_CGROUP_INET_EGRESS = 1
BPF_CGROUP_INET_INGRESS = 0
BPF_CGROUP_INET_SOCK_CREATE = 2
BPF_CGROUP_SOCK_OPS = 3
BPF_CGROUP_SYSCTL = 18
BPF_CGROUP_UDP4_SENDMSG = 14
BPF_CGROUP_UDP6_SENDMSG = 15
BPF_DIV0 = 3
BPF_DW0 = 3
BPF_END0 = 13
BPF_EXIST = 2
BPF_EXIT0 = 9
BPF_FLOW_DISSECTOR = 17
BPF_FUNC_INFO_SIZE = 8
BPF_F_ALLOW_MULTI = 2
BPF_F_ALLOW_OVERRIDE = 1
@@ -34,9 +38,12 @@ BPF_F_NO_PREALLOC = 1
BPF_F_NUMA_NODE = 4
BPF_F_QUERY_EFFECTIVE = 1
BPF_F_RDONLY = 8
BPF_F_RDONLY_PROG = 128
BPF_F_STACK_BUILD_ID = 32
BPF_F_STRICT_ALIGNMENT = 1
BPF_F_WRONLY = 16
BPF_F_WRONLY_PROG = 256
BPF_F_ZERO_SEED = 64
BPF_H0 = 1
BPF_IMM0 = 0
BPF_IND0 = 2
@@ -56,9 +63,11 @@ BPF_JSLT0 = 12
BPF_LD = 0
BPF_LDX = 1
BPF_LINE_INFO_SIZE = 16
BPF_LIRC_MODE2 = 16
BPF_LSH0 = 6
BPF_MAP_CREATE = 0
BPF_MAP_DELETE_ELEM = 3
BPF_MAP_FREEZE = 22
BPF_MAP_GET_FD_BY_ID = 14
BPF_MAP_GET_NEXT_ID = 12
BPF_MAP_GET_NEXT_KEY = 4
@@ -82,6 +91,7 @@ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4
BPF_MAP_TYPE_PROG_ARRAY = 3
BPF_MAP_TYPE_QUEUE = 22
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20
BPF_MAP_TYPE_SK_STORAGE = 24
BPF_MAP_TYPE_SOCKHASH = 18
BPF_MAP_TYPE_SOCKMAP = 15
BPF_MAP_TYPE_STACK = 23
@@ -110,6 +120,7 @@ BPF_PROG_TYPE_CGROUP_DEVICE = 15
BPF_PROG_TYPE_CGROUP_SKB = 8
BPF_PROG_TYPE_CGROUP_SOCK = 9
BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18
BPF_PROG_TYPE_CGROUP_SYSCTL = 23
BPF_PROG_TYPE_FLOW_DISSECTOR = 22
BPF_PROG_TYPE_KPROBE = 2
BPF_PROG_TYPE_LIRC_MODE2 = 20
@@ -119,6 +130,7 @@ BPF_PROG_TYPE_LWT_SEG6LOCAL = 19
BPF_PROG_TYPE_LWT_XMIT = 12
BPF_PROG_TYPE_PERF_EVENT = 7
BPF_PROG_TYPE_RAW_TRACEPOINT = 17
BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24
BPF_PROG_TYPE_SCHED_ACT = 4
BPF_PROG_TYPE_SCHED_CLS = 3
BPF_PROG_TYPE_SK_MSG = 16

0 comments on commit 46caad9

Please sign in to comment.
You can’t perform that action at this time.