diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-05-18 19:29:27 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-05-18 19:29:27 +0200 |
| commit | 849705db5cd36907fecfb80a4e3339542033b11e (patch) | |
| tree | 25f8598352de47a639d768fe61865b9525d5a5db /sys/linux/bpf.txt | |
| parent | 70c84d118abdee811384f2110233109ad49a60bf (diff) | |
sys/linux: few minor tweaks for bpf
Diffstat (limited to 'sys/linux/bpf.txt')
| -rw-r--r-- | sys/linux/bpf.txt | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index 4e991cdbb..62b7abc75 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -76,17 +76,18 @@ bpf_map_get_next_arg { } bpf_prog { - type flags[bpf_prog_type, int32] - ninsn bytesize8[insns, int32] - insns ptr64[in, bpf_instructions] - license ptr64[in, string[bpf_licenses]] - loglev int32 - logsize len[log, int32] - log ptr64[out, array[int8]] - kern_version flags[bpf_kern_version, int32] - flags flags[bpf_prog_load_flags, int32] - prog_name array[const[0, int8], BPF_OBJ_NAME_LEN] - prog_ifindex ifindex[opt] + type flags[bpf_prog_type, int32] + ninsn bytesize8[insns, int32] + insns ptr64[in, bpf_instructions] + license ptr64[in, string[bpf_licenses]] + loglev int32 + logsize len[log, int32] + log ptr64[out, array[int8], opt] + kern_version flags[bpf_kern_version, int32] + flags flags[bpf_prog_load_flags, int32] + prog_name array[const[0, int8], BPF_OBJ_NAME_LEN] + prog_ifindex ifindex[opt] + expected_attach_type flags[bpf_attach_type, int32] } bpf_licenses = "GPL", "syzkaller" @@ -290,7 +291,7 @@ bpf_test_prog_arg { indata ptr64[in, array[int8]] outdata ptr64[out, array[int8]] repeat int32 - dur int32 + dur const[0, int32] } bpf_get_prog_info_arg { |
