Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/sys.c __do_sys_setpgid() -> change_pid()

Type Parameter Key Value
PARAM_VALUE 0 pids 4096-ptr_max
PARAM_VALUE 1 task 4096-ptr_max
PARAM_VALUE 1 task->exit_signal 0-s32max
PARAM_VALUE 1 task->real_parent 4096-ptr_max
PARAM_VALUE 1 task->signal 4096-ptr_max
PARAM_VALUE 1 task->signal->leader 0
PARAM_VALUE 2 type 2
BUF_SIZE 0 pids 32
CAPPED_DATA 1 task 1
DATA_SOURCE 1 task r find_task_by_vpid
NOCHECK_CALL
LOCK2 global &tasklist_lock
LOCK2 irq
LOCK2 rcu_read

kernel/sys.c __do_sys_setpgid() -> change_pid()

Type Parameter Key Value
PARAM_VALUE 0 pids 4096-ptr_max
PARAM_VALUE 1 task 4096-ptr_max
PARAM_VALUE 1 task->exit_signal 0-s32max
PARAM_VALUE 1 task->real_parent 4096-ptr_max
PARAM_VALUE 1 task->signal 4096-ptr_max
PARAM_VALUE 1 task->signal->leader 0
PARAM_VALUE 2 type 2
BUF_SIZE 0 pids 32
CAPPED_DATA 1 task 1
DATA_SOURCE 1 task r find_task_by_vpid
NOCHECK_CALL
LOCK2 global &tasklist_lock
LOCK2 irq
LOCK2 rcu_read

kernel/sys.c set_special_pids() -> change_pid()

Type Parameter Key Value
PARAM_VALUE 0 pids 4096-ptr_max
PARAM_VALUE 1 task 4096-ptr_max
PARAM_VALUE 1 task->signal 4096-ptr_max
PARAM_VALUE 2 type 3
BUF_SIZE 0 pids 32
BUF_SIZE 0 pids 32
DATA_SOURCE 0 pids $0
DATA_SOURCE 3 pid $1
NOCHECK_CALL
LOCK2 global &tasklist_lock
LOCK2 irq

kernel/sys.c set_special_pids() -> change_pid()

Type Parameter Key Value
PARAM_VALUE 0 pids 4096-ptr_max
PARAM_VALUE 1 task 4096-ptr_max
PARAM_VALUE 1 task->signal 4096-ptr_max
PARAM_VALUE 2 type 2
BUF_SIZE 0 pids 32
BUF_SIZE 0 pids 32
DATA_SOURCE 0 pids $0
DATA_SOURCE 3 pid $1
NOCHECK_CALL
LOCK2 global &tasklist_lock
LOCK2 irq