Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/packet/af_packet.c fanout_set_data_cbpf() -> bpf_prog_create_from_user()

Type Parameter Key Value
PARAM_VALUE 0 pfp 3219052235060940800
PARAM_VALUE 1 fprog 1879161733048393728
PARAM_VALUE 1 fprog->filter 0-u32max
PARAM_VALUE 2 trans 0
PARAM_VALUE 3 save_orig 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fprog->len 0-u16max
HALF_LOCKED2 &smc->clcsock_release_lock

io_uring/bpf_filter.c io_register_bpf_filter() -> bpf_prog_create_from_user()

Type Parameter Key Value
PARAM_VALUE 0 pfp 8079373061820071936
PARAM_VALUE 1 fprog 5036586719342985216
PARAM_VALUE 2 trans 3146830620714037248
PARAM_VALUE 3 save_orig 0
USER_DATA 1 fprog->len 0-u16max
HALF_LOCKED2 &ctx->uring_lock

kernel/seccomp.c seccomp_prepare_filter() -> bpf_prog_create_from_user()

Type Parameter Key Value
PARAM_VALUE 0 pfp 4096-ptr_max
PARAM_VALUE 1 fprog 4649599162724261888
PARAM_VALUE 1 fprog->len 1-4096
PARAM_VALUE 2 trans 4886212477801005056
PARAM_VALUE 3 save_orig 1
DATA_SOURCE 1 fprog $0
FUZZY_MAX 1 fprog->len 4096
HARD_MAX 1 fprog->len 4096
USER_DATA 1 fprog->len 1-4096