Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/bpf_fs_kfuncs.c, line 46
- fs/proc/base.c, line 1766
- kernel/signal.c, line 1215
- kernel/taskstats.c, line 160
- security/apparmor/task.c, line 337
Smatch caller information:
security/apparmor/task.c get_current_exe_path() -> get_task_exe_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/proc/base.c proc_exe_link() -> get_task_exe_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->signal | 4096-ptr_max |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | task->signal->exec_update_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | task | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &task->signal->exec_update_lock | |
| TYPE_LOCK | (struct signal_struct)->exec_update_lock |
kernel/taskstats.c exe_add_tsk() -> get_task_exe_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->delays | 0,4096-ptr_max |
| PARAM_VALUE | 0 | task->delays->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | task->delays->lock.owner | (-1) |
| PARAM_VALUE | 0 | task->delays->lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | task->group_leader | 4096-ptr_max |
| PARAM_VALUE | 0 | task->real_cred | 4096-ptr_max |
| PARAM_VALUE | 0 | task->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | task->signal->cgroup_threadgroup_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | task->real_cred | 1 |
| DATA_SOURCE | 0 | task | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | task->exit_code | 0,256-65280[c] |
| USER_DATA | 0 | task->signal->group_exit_code | 0,256-65280[c] |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->blkio_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->compact_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->freepages_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->irq_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->swapin_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->thrashing_delay | |
| NO_OVERFLOW_SIMPLE | 0 | task->delays->wpcopy_delay |
kernel/signal.c print_fatal_signal() -> get_task_exe_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/bpf_fs_kfuncs.c bpf_get_task_exe_file() -> get_task_exe_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | task | $0 |