Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/sock_map.c sock_map_link_update_prog() -> sock_map_prog_attach_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | prog->expected_attach_type | 1 |
| CAPPED_DATA | 1 | prog->type | 1 |
| DATA_SOURCE | 1 | prog | $1 |
| LOCK2 | global &sockmap_mutex |
net/core/sock_map.c sock_map_prog_update() -> sock_map_prog_attach_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attach_type | 4-5,7,38 |
| PARAM_VALUE | 1 | prog | 0,4096-ptr_max |
| BUF_SIZE | 1 | prog | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | attach_type | $4 |
| DATA_SOURCE | 1 | prog | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &sockmap_mutex |