Defined in 1 files as a prototype:
Defined in 7 files as a function:
- arch/arm64/kernel/ptrace.c, line 2285 (as a function)
- arch/mips/kernel/ptrace32.c, line 43 (as a function)
- arch/parisc/kernel/ptrace.c, line 252 (as a function)
- arch/powerpc/kernel/ptrace/ptrace32.c, line 38 (as a function)
- arch/riscv/kernel/ptrace.c, line 614 (as a function)
- arch/sparc/kernel/ptrace_64.c, line 927 (as a function)
- arch/x86/kernel/ptrace.c, line 1220 (as a function)
Referenced in 1 files:
Smatch caller information:
kernel/ptrace.c __do_compat_sys_ptrace() -> compat_arch_ptrace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | child | 4096-ptr_max |
| PARAM_VALUE | 0 | child->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | child->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | child->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | child->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | child->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | child->ptrace | 1-u32max |
| PARAM_VALUE | 0 | child->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | request | s32min-(-1),1-15,17-16901,16903-s32max |
| CAPPED_DATA | 0 | child->parent | 1 |
| DATA_SOURCE | 0 | child | r find_get_task_by_vpid |
| DATA_SOURCE | 1 | request | $0 |
| DATA_SOURCE | 2 | caddr | $2 |
| DATA_SOURCE | 3 | cdata | $3 |
| FUZZY_MAX | 1 | request | 16903 |
| USER_DATA | 1 | request | s32min-(-1),1-7,9-15,17-16901,16904-s32max |
| USER_DATA | 2 | caddr | 0-u32max |
| USER_DATA | 3 | cdata | 0-u32max |
kernel/ptrace.c __do_compat_sys_ptrace() -> compat_arch_ptrace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | child | 4096-ptr_max |
| PARAM_VALUE | 0 | child->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | child->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | child->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | child->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | child->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | child->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | child->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | child->ptrace | 1-u32max |
| PARAM_VALUE | 0 | child->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | request | s32min-(-1),1-15,17-16901,16903-s32max |
| CAPPED_DATA | 0 | child->parent | 1 |
| DATA_SOURCE | 0 | child | r find_get_task_by_vpid |
| DATA_SOURCE | 1 | request | $0 |
| DATA_SOURCE | 2 | caddr | $2 |
| DATA_SOURCE | 3 | cdata | $3 |
| FUZZY_MAX | 1 | request | 16903 |
| USER_DATA | 1 | request | s32min-(-1),1-7,9-15,17-16901,16904-s32max |
| USER_DATA | 2 | caddr | 0-u32max |
| USER_DATA | 3 | cdata | 0-u32max |