Documented in 1 files:
Defined in 1 files as a function:
Referenced in 14 files:
- arch/arm/kernel/ptrace.c
- arch/arm64/kernel/ptrace.c
- arch/parisc/kernel/ptrace.c
- arch/powerpc/kernel/ptrace/ptrace.c
- arch/powerpc/kernel/ptrace/ptrace32.c, line 274
- arch/sh/kernel/ptrace_32.c
- arch/sparc/kernel/ptrace_32.c
- arch/sparc/kernel/ptrace_64.c
- arch/x86/kernel/ptrace.c
- arch/x86/um/ptrace_32.c
- arch/x86/um/ptrace_64.c, line 205
- arch/x86/um/signal.c, line 97
- arch/xtensa/kernel/ptrace.c
- kernel/ptrace.c, line 932
Smatch caller information:
kernel/ptrace.c ptrace_regset() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 1 | view | 2169040756991135744,7638265486241312768 |
| PARAM_VALUE | 1 | view->n | 5-6 |
| PARAM_VALUE | 3 | offset | 0 |
| BUF_SIZE | 1 | view | 32 |
| CAPPED_DATA | 1 | view->n | 1 |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 1 | view | r task_user_regset_view |
| UNITS | 4 | size | unit_byte |
| UNITS | 5 | data | unit_byte |
arch/x86/kernel/ptrace.c arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | target->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | target->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->ptrace | 1-u32max |
| PARAM_VALUE | 0 | target->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *target->se->cfs_rq->removed.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | view | 7638265486241312768 |
| PARAM_VALUE | 2 | setno | 0 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 216 |
| BUF_SIZE | 1 | view | 32 |
| CAPPED_DATA | 0 | target->parent | 1 |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | target->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | target->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->ptrace | 1-u32max |
| PARAM_VALUE | 0 | target->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *target->se->cfs_rq->removed.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | view | 7638265486241312768 |
| PARAM_VALUE | 2 | setno | 1 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 512 |
| BUF_SIZE | 1 | view | 32 |
| CAPPED_DATA | 0 | target->parent | 1 |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c ia32_arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | view | 2169040756991135744 |
| PARAM_VALUE | 2 | setno | 0 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 68 |
| PARAM_VALUE | 5 | data | 0-u32max |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c ia32_arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | view | 2169040756991135744 |
| PARAM_VALUE | 2 | setno | 1 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 108 |
| PARAM_VALUE | 5 | data | 0-u32max |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c ia32_arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | view | 2169040756991135744 |
| PARAM_VALUE | 2 | setno | 2 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 512 |
| PARAM_VALUE | 5 | data | 0-u32max |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c x32_arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | target->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | target->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->ptrace | 1-u32max |
| PARAM_VALUE | 0 | target->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *target->se->cfs_rq->removed.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | view | 7638265486241312768 |
| PARAM_VALUE | 2 | setno | 0 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 216 |
| PARAM_VALUE | 5 | data | 0-u32max |
| CAPPED_DATA | 0 | target->parent | 1 |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |
arch/x86/kernel/ptrace.c x32_arch_ptrace() -> copy_regset_from_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dl.rq->active_balance | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->clock_update_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_enabled | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_occupation | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_forceidle_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_pick_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_sched_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->core_task_seq | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->has_blocked_load | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->hrtick_sched | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->membarrier_state | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->nohz_idle_balance | 0-255 |
| PARAM_VALUE | 0 | target->dl.rq->nohz_tick_stopped | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_numa_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pinned | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_pref_llc_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_preferred_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->nr_running | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->numa_migrate_on | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->online | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->push_busy | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->push_cpu | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->sched_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->sched_goidle | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ticks_without_resched | s32min-s32max |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_local | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->ttwu_pending | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->uclamp_flags | 0-4294967295 |
| PARAM_VALUE | 0 | target->dl.rq->yld_count | 0-4294967295 |
| PARAM_VALUE | 0 | target->jobctl | 0,16777216-u64max |
| PARAM_VALUE | 0 | target->on_rq | 0,2-255 |
| PARAM_VALUE | 0 | target->pi_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | target->ptrace | 1-u32max |
| PARAM_VALUE | 0 | target->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *target->se->cfs_rq->removed.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | view | 7638265486241312768 |
| PARAM_VALUE | 2 | setno | 1 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 512 |
| PARAM_VALUE | 5 | data | 0-u32max |
| CAPPED_DATA | 0 | target->parent | 1 |
| DATA_SOURCE | 0 | target | $0 |
| DATA_SOURCE | 5 | data | $3 |
| UNITS | 4 | size | unit_byte |