Searched refs:pid_ns (Results 1 – 5 of 5) sorted by relevance
/kernel/ |
D | pid_namespace.c | 181 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes() argument 190 disable_pid_allocation(pid_ns); in zap_pid_ns_processes() 217 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) { in zap_pid_ns_processes() 253 if (pid_ns->pid_allocated == init_pids) in zap_pid_ns_processes() 259 if (pid_ns->reboot) in zap_pid_ns_processes() 260 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes() 262 acct_exit_ns(pid_ns); in zap_pid_ns_processes() 270 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler() local 274 if (write && !ns_capable(pid_ns->user_ns, CAP_SYS_ADMIN)) in pid_ns_ctl_handler() 283 next = idr_get_cursor(&pid_ns->idr) - 1; in pid_ns_ctl_handler() [all …]
|
D | tsacct.c | 21 struct pid_namespace *pid_ns, in bacct_add_tsk() argument 51 stats->ac_pid = task_pid_nr_ns(tsk, pid_ns); in bacct_add_tsk() 57 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
|
D | reboot.c | 315 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4() local 320 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4() 336 ret = reboot_pid_ns(pid_ns, cmd); in SYSCALL_DEFINE4()
|
D | exit.c | 506 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper() local 507 struct task_struct *reaper = pid_ns->child_reaper; in find_child_reaper() 515 pid_ns->child_reaper = reaper; in find_child_reaper() 526 zap_pid_ns_processes(pid_ns); in find_child_reaper()
|
D | taskstats.c | 160 struct pid_namespace *pid_ns, in fill_stats() argument 177 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
|