Defined in 1 files as a function:
Referenced in 7 files:
- block/ioprio.c
- drivers/tty/tty_jobctrl.c
- fs/autofs/autofs_i.h, line 157
- kernel/exit.c
- kernel/fork.c, line 2515
- kernel/signal.c, line 1586
- kernel/sys.c
Smatch caller information:
kernel/exit.c is_current_pgrp_orphaned() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &tasklist_lock | ||
| HALF_LOCKED2 | rcu_read |
kernel/exit.c kill_orphaned_pgrp() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | task | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/exit.c kill_orphaned_pgrp() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | task | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | task->dl.pi_se->runtime | 1-17592186044415[c] |
| USER_DATA | 0 | task->exit_code | 0,256-65280[c] |
| USER_DATA | 0 | task->signal->group_exit_code | 0,256-65280[c] |
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/exit.c will_become_orphaned_pgrp() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &tasklist_lock | ||
| HALF_LOCKED2 | irq |
kernel/fork.c copy_process() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq |
fs/autofs/dev-ioctl.c autofs_oz_mode() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|
fs/autofs/symlink.c autofs_oz_mode() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/ioprio.c __do_sys_ioprio_get() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
block/ioprio.c __do_sys_ioprio_get() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
block/ioprio.c __do_sys_ioprio_set() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
block/ioprio.c __do_sys_ioprio_set() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
drivers/tty/tty_jobctrl.c __proc_set_tty() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tty->ctrl.lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->ctrl.lock |
drivers/tty/tty_jobctrl.c __tty_check_change() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &tty->ldisc_sem |
fs/autofs/root.c autofs_oz_mode() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/signal.c kill_something_info() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &tasklist_lock |
kernel/sys.c __do_sys_getpriority() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/sys.c __do_sys_getpriority() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/sys.c __do_sys_setpgid() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->signal | 4096-ptr_max |
| CAPPED_DATA | 0 | task | 1 |
| DATA_SOURCE | 0 | task | r find_task_by_vpid |
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq | ||
| LOCK2 | rcu_read |
kernel/sys.c __do_sys_setpgid() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->signal | 4096-ptr_max |
| CAPPED_DATA | 0 | task | 1 |
| DATA_SOURCE | 0 | task | r find_task_by_vpid |
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq | ||
| LOCK2 | rcu_read |
kernel/sys.c __do_sys_setpriority() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/sys.c __do_sys_setpriority() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/sys.c do_getpgid() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | rcu_read |
kernel/sys.c do_getpgid() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 1-u64max |
| DATA_SOURCE | 0 | task | r find_task_by_vpid |
| LOCK2 | rcu_read |
kernel/sys.c set_special_pids() -> task_pgrp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | task | 4096-ptr_max |
| PARAM_VALUE | 0 | task->signal | 4096-ptr_max |
| LOCK2 | global &tasklist_lock | ||
| LOCK2 | irq |