Defined in 1 files as a prototype:
Defined in 22 files as a function:
- arch/alpha/kernel/ptrace.c, line 280 (as a function)
- arch/arc/kernel/ptrace.c, line 322 (as a function)
- arch/arm/kernel/ptrace.c, line 725 (as a function)
- arch/arm64/kernel/ptrace.c, line 2380 (as a function)
- arch/csky/kernel/ptrace.c, line 306 (as a function)
- arch/hexagon/kernel/ptrace.c, line 169 (as a function)
- arch/loongarch/kernel/ptrace.c, line 1006 (as a function)
- arch/m68k/kernel/ptrace.c, line 164 (as a function)
- arch/microblaze/kernel/ptrace.c, line 77 (as a function)
- arch/mips/kernel/ptrace.c, line 1084 (as a function)
- arch/nios2/kernel/ptrace.c, line 125 (as a function)
- arch/openrisc/kernel/ptrace.c, line 273 (as a function)
- arch/parisc/kernel/ptrace.c, line 122 (as a function)
- arch/powerpc/kernel/ptrace/ptrace.c, line 37 (as a function)
- arch/riscv/kernel/ptrace.c, line 544 (as a function)
- arch/s390/kernel/ptrace.c, line 428 (as a function)
- arch/sh/kernel/ptrace_32.c, line 338 (as a function)
- arch/sparc/kernel/ptrace_32.c, line 360 (as a function)
- arch/sparc/kernel/ptrace_64.c, line 1010 (as a function)
- arch/um/kernel/ptrace.c, line 41 (as a function)
- arch/x86/kernel/ptrace.c, line 730 (as a function)
- arch/xtensa/kernel/ptrace.c, line 497 (as a function)
Referenced in 4 files:
- arch/parisc/kernel/ptrace.c
- arch/powerpc/kernel/ptrace/ptrace32.c, line 296
- arch/x86/kernel/ptrace.c, line 1121
- kernel/ptrace.c, line 1440
Smatch caller information:
kernel/ptrace.c __do_sys_ptrace() -> 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 | s64min-(-1),1-15,17-16901,16903-s64max |
| CAPPED_DATA | 0 | child->parent | 1 |
| DATA_SOURCE | 0 | child | r find_get_task_by_vpid |
| DATA_SOURCE | 1 | request | $0 |
| DATA_SOURCE | 2 | addr | $2 |
| DATA_SOURCE | 3 | data | $3 |
| FUZZY_MAX | 1 | request | 16903 |
| USER_DATA | 1 | request | s64min-(-1),1-7,9-15,17-16901,16904-s64max |
| USER_DATA | 2 | addr | 0-u64max |
| USER_DATA | 3 | data | 0-u64max |
kernel/ptrace.c __do_sys_ptrace() -> 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 | s64min-(-1),1-15,17-16901,16903-s64max |
| CAPPED_DATA | 0 | child->parent | 1 |
| DATA_SOURCE | 0 | child | r find_get_task_by_vpid |
| DATA_SOURCE | 1 | request | $0 |
| DATA_SOURCE | 2 | addr | $2 |
| DATA_SOURCE | 3 | data | $3 |
| FUZZY_MAX | 1 | request | 16903 |
| USER_DATA | 1 | request | s64min-(-1),1-7,9-15,17-16901,16904-s64max |
| USER_DATA | 2 | addr | 0-u64max |
| USER_DATA | 3 | data | 0-u64max |
arch/x86/kernel/ptrace.c ia32_arch_ptrace() -> arch_ptrace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | request | 25-26 |
| PARAM_VALUE | 2 | addr | 0-u32max |
| PARAM_VALUE | 3 | data | 0-u32max |
| DATA_SOURCE | 0 | child | $0 |
| DATA_SOURCE | 1 | request | $1 |
| DATA_SOURCE | 2 | addr | $2 |
| DATA_SOURCE | 3 | data | $3 |