diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-01-26 19:08:09 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-01-30 10:29:28 +0000 |
| commit | 7f400fcb5977e5e102241f2ee93246b07b09e13c (patch) | |
| tree | 148c1a93e9861a8f871764f50f53088b3ff0e3ce /sys/linux/bpf.txt | |
| parent | fb343ecc19084bf98da750539377d508c9e077b3 (diff) | |
sys/linux: run make extract
Split out deprecated descriptions from socket_netlink_route_sched.txt.
Adjust outdated descriptions.
Diffstat (limited to 'sys/linux/bpf.txt')
| -rw-r--r-- | sys/linux/bpf.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index c54bb64d3..c8e00526d 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -488,6 +488,10 @@ bpf_get_prog_info_arg { info ptr64[out, bpf_prog_info] } +# These are defined in bpf/verifier.c. +define MIN_BPF_FUNCINFO_SIZE 8 +define MAX_FUNCINFO_REC_SIZE 252 + bpf_prog_info { type int32 id bpf_prog_id @@ -511,14 +515,14 @@ bpf_prog_info { jited_ksyms ptr64[out, array[int64]] jited_func_lens ptr64[out, array[int32]] btf_id bpf_btf_id - func_info_rec_size const[BPF_FUNC_INFO_SIZE, int32] (in) + func_info_rec_size int32[MIN_BPF_FUNCINFO_SIZE:MAX_FUNCINFO_REC_SIZE] (in) func_info ptr64[out, array[bpf_func_info]] nr_func_info bytesize[func_info, int32] (in) nr_line_info len[line_info, int32] (in) line_info ptr64[out, bpf_line_info] jited_line_info ptr64[out, int64] nr_jited_line_info len[jited_line_info, int32] (in) - line_info_rec_size const[BPF_LINE_INFO_SIZE, int32] (in) + line_info_rec_size int32[MIN_BPF_FUNCINFO_SIZE:MAX_FUNCINFO_REC_SIZE] (in) jited_line_info_rec_size const[8, int32] (in) nr_prog_tags len[prog_tags, int32] (in) prog_tags ptr64[out, int64] |
