Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/ptrace.c __ptrace_detach() -> __wake_up_parent()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->__state 0,512
PARAM_VALUE 0 p->blocked_on 0
PARAM_VALUE 0 p->core_node.__rb_parent_color 1
PARAM_VALUE 0 p->core_node.rb_left 4096-ptr_max
PARAM_VALUE 0 p->core_node.rb_right 4096-ptr_max
PARAM_VALUE 0 p->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 p->delays->blkio_count 0-4294967295
PARAM_VALUE 0 p->delays->blkio_delay_max_ts.tv_nsec 0-999999999
PARAM_VALUE 0 p->delays->lock.dep_map->name 0-255
PARAM_VALUE 0 p->delays->lock.owner (-1)
PARAM_VALUE 0 p->delays->lock.owner_cpu 4294967295
PARAM_VALUE 0 p->dl.dl_timer.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 p->dl.dl_timer.entry.pprev 0
PARAM_VALUE 0 p->dl.inactive_timer.base->active.rb_root.rb_leftmost->node.__rb_parent_color 1
PARAM_VALUE 0 p->dl.pi_se->dl_bw 0
PARAM_VALUE 0 p->dl.pi_se->dl_deadline 0
PARAM_VALUE 0 p->dl.pi_se->dl_defer 0
PARAM_VALUE 0 p->dl.pi_se->dl_defer_armed 0
PARAM_VALUE 0 p->dl.pi_se->dl_defer_running 0
PARAM_VALUE 0 p->dl.pi_se->dl_density 0
PARAM_VALUE 0 p->dl.pi_se->dl_non_contending 0
PARAM_VALUE 0 p->dl.pi_se->dl_overrun 0
PARAM_VALUE 0 p->dl.pi_se->dl_period 0
PARAM_VALUE 0 p->dl.pi_se->dl_runtime 0
PARAM_VALUE 0 p->dl.pi_se->dl_server 0
PARAM_VALUE 0 p->dl.pi_se->dl_throttled 0
PARAM_VALUE 0 p->dl.pi_se->dl_yielded 0
PARAM_VALUE 0 p->dl.pi_se->flags 0
PARAM_VALUE 0 p->dl.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 p->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 p->dl.rb_node.rb_left 0,4096-ptr_max
PARAM_VALUE 0 p->dl.rq->active_balance s32min-s32max
PARAM_VALUE 0 p->dl.rq->clock_update_flags 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_enabled 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_forceidle_count 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_forceidle_occupation 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_forceidle_seq 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_pick_seq 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_sched_seq 0-4294967295
PARAM_VALUE 0 p->dl.rq->core_task_seq 0-4294967295
PARAM_VALUE 0 p->dl.rq->cpu s32min-s32max
PARAM_VALUE 0 p->dl.rq->has_blocked_load 0-4294967295
PARAM_VALUE 0 p->dl.rq->hrtick_sched 0-4294967295
PARAM_VALUE 0 p->dl.rq->idle_balance 0-255
PARAM_VALUE 0 p->dl.rq->membarrier_state s32min-s32max
PARAM_VALUE 0 p->dl.rq->nohz_idle_balance 0-255
PARAM_VALUE 0 p->dl.rq->nohz_tick_stopped 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_llc_running 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_numa_running 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_pinned 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_pref_llc_running 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_preferred_running 0-4294967295
PARAM_VALUE 0 p->dl.rq->nr_running 0-4294967295
PARAM_VALUE 0 p->dl.rq->numa_migrate_on 0-4294967295
PARAM_VALUE 0 p->dl.rq->online s32min-s32max
PARAM_VALUE 0 p->dl.rq->push_busy 0-4294967295
PARAM_VALUE 0 p->dl.rq->push_cpu s32min-s32max
PARAM_VALUE 0 p->dl.rq->sched_count 0-4294967295
PARAM_VALUE 0 p->dl.rq->sched_goidle 0-4294967295
PARAM_VALUE 0 p->dl.rq->ticks_without_resched s32min-s32max
PARAM_VALUE 0 p->dl.rq->ttwu_count 0-4294967295
PARAM_VALUE 0 p->dl.rq->ttwu_local 0-4294967295
PARAM_VALUE 0 p->dl.rq->ttwu_pending 0-4294967295
PARAM_VALUE 0 p->dl.rq->uclamp_flags 0-4294967295
PARAM_VALUE 0 p->dl.rq->yld_count 0-4294967295
PARAM_VALUE 0 p->exit_signal 0-s32max
PARAM_VALUE 0 p->exit_state 32
PARAM_VALUE 0 p->is_blocked 0
PARAM_VALUE 0 p->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 p->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 p->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 p->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 p->on_rq 0-1,3-255
PARAM_VALUE 0 p->ptrace 0
PARAM_VALUE 0 p->ptrace_entry.next->prev 4096-ptr_max
PARAM_VALUE 0 p->ptrace_entry.prev->next 4096-ptr_max
PARAM_VALUE 0 p->ptracer_cred 0
PARAM_VALUE 0 p->ptracer_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->ptracer_cred->rcu.func 1-u64max
PARAM_VALUE 0 p->ptracer_cred->rcu.next 0
PARAM_VALUE 0 p->ptracer_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->ptracer_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->ptracer_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->ptracer_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 p->ptracer_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 p->ptracer_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 p->ptracer_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 p->ptracer_cred->user_ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 p->ptracer_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 p->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 p->pushable_tasks.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.node_list.prev->next 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.prio_list.prev->next 4096-ptr_max
PARAM_VALUE 0 p->pushable_tasks.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 p->real_parent 4096-ptr_max
PARAM_VALUE 0 p->rseq.event.ids_changed 1
PARAM_VALUE 0 p->saved_state 0
PARAM_VALUE 0 p->sched_migrated 1
PARAM_VALUE 0 p->sched_task_group->autogroup 0
PARAM_VALUE 0 p->sched_task_group->cfs_rq 0
PARAM_VALUE 0 p->sched_task_group->idle s32min-s32max
PARAM_VALUE 0 p->sched_task_group->parent 0
PARAM_VALUE 0 p->sched_task_group->rt_rq 0
PARAM_VALUE 0 p->sched_task_group->rt_se 0
PARAM_VALUE 0 p->sched_task_group->shares 0
PARAM_VALUE 0 p->se.cfs_rq->curr 0
PARAM_VALUE 0 p->se.cfs_rq->propagate 1
PARAM_VALUE 0 p->se.cfs_rq->removed.load_avg 0
PARAM_VALUE 0 p->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 p->se.cfs_rq->removed.lock.owner_cpu 4294967295
PARAM_VALUE 0 p->se.cfs_rq->removed.nr 0
PARAM_VALUE 0 p->se.cfs_rq->removed.runnable_avg 0
PARAM_VALUE 0 p->se.cfs_rq->removed.util_avg 0
PARAM_VALUE 0 p->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 p->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->core_node.__rb_parent_color 1
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->dl.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->dl.dl_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->on_rq 0-1,3-255
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 p->se.cfs_rq->rq->donor->wake_cpu 0-s32max
PARAM_VALUE 0 p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 p->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 p->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 p->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color 1
PARAM_VALUE 0 p->se.group_node.next->next 4096-ptr_max
PARAM_VALUE 0 p->se.group_node.next->prev 4096-ptr_max
PARAM_VALUE 0 p->se.group_node.prev->next 4096-ptr_max
PARAM_VALUE 0 p->se.group_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 p->se.my_q->prop_runnable_sum 0
PARAM_VALUE 0 p->se.my_q->propagate 0
PARAM_VALUE 0 p->se.parent 0,4096-ptr_max
PARAM_VALUE 0 p->se.rel_deadline 0
PARAM_VALUE 0 p->se.run_node.rb_left 0,4096-ptr_max
PARAM_VALUE 0 p->se.run_node.rb_left->rb_right 0
PARAM_VALUE 0 p->se.run_node.rb_right 0,4096-ptr_max
PARAM_VALUE 0 p->se.run_node.rb_right->rb_left 0
PARAM_VALUE 0 p->sighand 4096-ptr_max
PARAM_VALUE 0 p->sighand->siglock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->signal 4096-ptr_max
PARAM_VALUE 0 p->throttle_node.next->next 4096-ptr_max
PARAM_VALUE 0 p->throttle_node.next->prev 4096-ptr_max
PARAM_VALUE 0 p->throttle_node.prev->next 4096-ptr_max
PARAM_VALUE 0 p->throttle_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 p->wake_cpu 0-s32max
PARAM_VALUE 1 parent 4096-ptr_max
PARAM_VALUE 1 parent->sighand 4096-ptr_max
PARAM_VALUE 1 parent->sighand->siglock.rlock.dep_map->name 0-255
PARAM_VALUE 1 parent->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 parent->signal->cgroup_threadgroup_rwsem.first_waiter->type 0-1
CAPPED_DATA 0 p 1
CAPPED_DATA 0 p->real_parent->signal 1
CAPPED_DATA 0 p->thread_node.next 1
CAPPED_DATA 1 parent->signal 1
DATA_SOURCE 0 p $1
DATA_SOURCE 1 parent $0
PARAM_COMPARE 0 p->real_parent->signal == $1->signal
PARAM_COMPARE 0 &p->signal->thread_head == $0->thread_node.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 p->dl.pi_se->runtime 1-17592186044415[c]
USER_DATA 0 p->exit_code 0-64
USER_DATA 1 parent->dl.pi_se->runtime 1-17592186044415[c]
USER_DATA 1 parent->exit_code 0,256-65280[c]
USER_DATA 1 parent->signal->group_exit_code 0,256-65280[c]
LOCK2 global &tasklist_lock
LOCK2 irq

kernel/signal.c do_notify_parent() -> __wake_up_parent()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->exit_signal 0-s32max
PARAM_VALUE 0 p->parent 4096-ptr_max
PARAM_VALUE 0 p->parent->sighand->action 4096-ptr_max
PARAM_VALUE 0 p->signal 4096-ptr_max
PARAM_VALUE 0 p->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 p->signal->cgroup_threadgroup_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 p->thread_pid 4096-ptr_max
PARAM_VALUE 1 parent 4096-ptr_max
PARAM_VALUE 1 parent->sighand->action 4096-ptr_max
CAPPED_DATA 0 p 1
CAPPED_DATA 0 p->parent 1
CAPPED_DATA 1 parent 1
DATA_SOURCE 0 p $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 p->dl.pi_se->runtime 1-17592186044415[c]
USER_DATA 0 p->exit_code 0-64,256-65280[c]
USER_DATA 0 p->signal->group_exit_code 0,256-65280[c]
NO_OVERFLOW_SIMPLE 0 p->delays->blkio_delay
NO_OVERFLOW_SIMPLE 0 p->delays->compact_delay
NO_OVERFLOW_SIMPLE 0 p->delays->freepages_delay
NO_OVERFLOW_SIMPLE 0 p->delays->irq_delay
NO_OVERFLOW_SIMPLE 0 p->delays->swapin_delay
NO_OVERFLOW_SIMPLE 0 p->delays->thrashing_delay
NO_OVERFLOW_SIMPLE 0 p->delays->wpcopy_delay
NO_OVERFLOW_SIMPLE 0 p->signal->stats->blkio_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->compact_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->cpu_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->cpu_run_virtual_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->freepages_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->irq_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->swapin_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->thrashing_delay_total
NO_OVERFLOW_SIMPLE 0 p->signal->stats->wpcopy_delay_total
UNITS 1 parent unit_byte
LOCK2 &psig->siglock
LOCK2 flags
LOCK2 global &tasklist_lock
LOCK2 irq
TYPE_LOCK (struct sighand_struct)->siglock

kernel/signal.c do_notify_parent_cldstop() -> __wake_up_parent()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->signal->cgroup_threadgroup_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 p->signal->cgroup_threadgroup_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 parent 4096-ptr_max
PARAM_VALUE 1 parent->sighand 4096-ptr_max
PARAM_VALUE 1 parent->sighand->action 4096-ptr_max
CAPPED_DATA 1 parent 1
DATA_SOURCE 0 p $0 [m]
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 p->signal->group_exit_code 0,256-65280[c]
UNITS 1 parent unit_byte
LOCK2 &sighand->siglock
LOCK2 flags
LOCK2 global &tasklist_lock
HALF_LOCKED2 &sighand->siglock
TYPE_LOCK (struct sighand_struct)->siglock

security/selinux/hooks.c selinux_bprm_committed_creds() -> __wake_up_parent()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &tasklist_lock

fs/exec.c de_thread() -> __wake_up_parent()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->exit_signal (-1)
PARAM_VALUE 0 p->exit_state 16
PARAM_VALUE 0 p->group_leader 4096-ptr_max
PARAM_VALUE 0 p->group_leader->exit_signal s32min-(-1)
PARAM_VALUE 0 p->group_leader->group_leader 4096-ptr_max
PARAM_VALUE 0 p->group_leader->sibling.next 4096-ptr_max
PARAM_VALUE 0 p->group_leader->sibling.prev 4096-ptr_max
PARAM_VALUE 0 p->group_leader->tasks.next 4096-ptr_max
PARAM_VALUE 0 p->ptrace 1-u32max
CAPPED_DATA 0 p->signal 1
NOCHECK_CALL
UNITS 1 parent unit_byte
LOCK2 global &tasklist_lock
LOCK2 irq