diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-10-02 13:39:00 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-10-05 16:43:14 +0000 |
| commit | db17ad9f74e0dd4957ca80d1e7fe4478aa57c9da (patch) | |
| tree | 8198c9448782962e3de51900c0ca8a10a192cc9b | |
| parent | becbb1dee111fc3704fd694c8edc2b5d58592265 (diff) | |
sys/linux: mark optional BPF_PROG_LOAD arguments as opt
func_info and line_info are both optional and should be marked as such.
Fixes: 934bb8cadebb57 ("modify")
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
| -rw-r--r-- | sys/linux/bpf.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index 4fd606ec3..edf636fc2 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -305,10 +305,10 @@ type bpf_prog_t[TYPE, ATTACH_TYPE, BTF_ID, PROG_FD] { expected_attach_type ATTACH_TYPE btf_fd fd_btf[opt] func_info_rec_size const[BPF_FUNC_INFO_SIZE, int32] - func_info ptr64[in, bpf_func_info] + func_info ptr64[in, bpf_func_info, opt] func_info_cnt len[func_info, int32] line_info_rec_size const[BPF_LINE_INFO_SIZE, int32] - line_info ptr64[in, bpf_line_info] + line_info ptr64[in, bpf_line_info, opt] line_info_cnt len[line_info, int32] attach_btf_id BTF_ID attach_prog_fd PROG_FD |
