diff options
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/bpf_lsm.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/linux/bpf_lsm.txt b/sys/linux/bpf_lsm.txt index 7f5d88d9c..e59aa9310 100644 --- a/sys/linux/bpf_lsm.txt +++ b/sys/linux/bpf_lsm.txt @@ -9,7 +9,10 @@ syz_btf_id_by_name$bpf_lsm(name ptr[in, string[bpf_lsm_func_names]]) bpf_lsm_btf bpf$BPF_LSM_PROG_LOAD(cmd const[BPF_PROG_LOAD], arg ptr[in, bpf_lsm_prog], size len[arg]) fd_bpf_prog (timeout[500]) -type bpf_lsm_prog bpf_prog_t[const[BPF_PROG_TYPE_LSM, int32], const[BPF_LSM_MAC, int32], bpf_lsm_btf_id, const[0, int32]] +# NEED: After #2035 is merged (which we can't for now due to pahole issues), +# syz_btf_id_by_name should work and we can remove the optional flag from +# bpf_lsm_btf_id. +type bpf_lsm_prog bpf_prog_t[const[BPF_PROG_TYPE_LSM, int32], const[BPF_LSM_MAC, int32], bpf_lsm_btf_id[opt], const[0, int32]] # The list is generated by the following commands: # $ VMLINUX=[path to Linux kernel source directory]/vmlinux |
