From 409809d8a7c9c775eaea317add40e7a86a1e836c Mon Sep 17 00:00:00 2001 From: bobogei81123 Date: Wed, 9 Sep 2020 14:02:04 -0700 Subject: sys/linux: improve descriptions of bpf tracing (#2076) - Rename bpf_lsm to bpf_trace and put all bpf program types that use BPF_RAW_TRACEPOINT_OPEN here. - Add descriptions for types RAW_TRACEPOINT(_WRITABLE), BPF_TRACING and BPF_EXT. - Add the hook names for RAW_TRACEPOINT(_WRITABLE). --- sys/linux/bpf_trace.txt.const | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sys/linux/bpf_trace.txt.const (limited to 'sys/linux/bpf_trace.txt.const') diff --git a/sys/linux/bpf_trace.txt.const b/sys/linux/bpf_trace.txt.const new file mode 100644 index 000000000..1185aff61 --- /dev/null +++ b/sys/linux/bpf_trace.txt.const @@ -0,0 +1,17 @@ +# Code generated by syz-sysgen. DO NOT EDIT. +arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x +BPF_LSM_MAC = 27 +BPF_MODIFY_RETURN = 26 +BPF_PROG_LOAD = 5 +BPF_PROG_TYPE_EXT = 28 +BPF_PROG_TYPE_LSM = 29 +BPF_PROG_TYPE_RAW_TRACEPOINT = 17 +BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24 +BPF_PROG_TYPE_TRACING = 26 +BPF_RAW_TRACEPOINT_OPEN = 17 +BPF_TRACE_FENTRY = 24 +BPF_TRACE_FEXIT = 25 +BPF_TRACE_ITER = 28 +BPF_TRACE_RAW_TP = 23 +BTF_ID_MAX = 200000 +__NR_bpf = 280, 386:357, amd64:321, arm:386, mips64le:5315, ppc64le:361, s390x:351 -- cgit mrf-deployment