diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-08-24 13:54:25 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-25 14:18:37 +0000 |
| commit | d48cdee764e01dac2e9e49a907cdb720eaaf9158 (patch) | |
| tree | 527233178d110eccc37f521909fe5f5cd7f5f19c /sys/linux/bpf.txt | |
| parent | 96e2da37710a4f74ccb24cf782cc98dd7c015e1c (diff) | |
sys/linux: support prog_attach_flags field for BPF_PROG_QUERY
Commit [1] upstream added a new field to the anonymous struct for the
BPF_PROG_QUERY bpf(2) command, for the kernel to return the attach flags
of the program. This commit adds this field in the syzkaller struct.
1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b79c9fc9551b
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'sys/linux/bpf.txt')
| -rw-r--r-- | sys/linux/bpf.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index e15b1505e..e7de40e5e 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -734,12 +734,13 @@ bpf_btf_info { } [align[8]] bpf_prog_query { - target_fd fd_cgroup - attach_type flags[bpf_prog_query_attach_type, int32] - query_flags flags[bpf_prog_query_flags, int32] - attach_flags int32 - prog_ids ptr64[out, array[int32]] - prog_cnt len[prog_ids, int32] + target_fd fd_cgroup + attach_type flags[bpf_prog_query_attach_type, int32] + query_flags flags[bpf_prog_query_flags, int32] + attach_flags int32 + prog_ids ptr64[out, array[int32]] + prog_cnt len[prog_ids, int32] + prog_attach_flags ptr64[out, array[int32]] } [align[8]] bpf_btf_load { |
