Searched refs:pid_ns (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | pid_namespace.c | 173 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes() argument 182 disable_pid_allocation(pid_ns); in zap_pid_ns_processes() 209 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) { in zap_pid_ns_processes() 252 if (pid_ns->pid_allocated == init_pids) in zap_pid_ns_processes() 275 if (pid_ns->reboot) in zap_pid_ns_processes() 276 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes() 278 acct_exit_ns(pid_ns); in zap_pid_ns_processes() 286 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler() local 290 if (write && !checkpoint_restore_ns_capable(pid_ns->user_ns)) in pid_ns_ctl_handler() 299 next = idr_get_cursor(&pid_ns->idr) - 1; in pid_ns_ctl_handler() [all …]
|
D | nsproxy.c | 366 struct pid_namespace *pid_ns = NULL; in validate_nsset() local 395 pid_ns = task_active_pid_ns(tsk); in validate_nsset() 396 if (unlikely(!pid_ns)) { in validate_nsset() 401 get_pid_ns(pid_ns); in validate_nsset() 449 ret = validate_ns(nsset, &pid_ns->ns); in validate_nsset() 480 if (pid_ns) in validate_nsset() 481 put_pid_ns(pid_ns); in validate_nsset()
|
D | tsacct.c | 21 struct pid_namespace *pid_ns, in bacct_add_tsk() argument 53 stats->ac_pid = task_pid_nr_ns(tsk, pid_ns); in bacct_add_tsk() 59 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
|
D | reboot.c | 316 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4() local 321 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4() 337 ret = reboot_pid_ns(pid_ns, cmd); in SYSCALL_DEFINE4()
|
D | taskstats.c | 156 struct pid_namespace *pid_ns, in fill_stats() argument 173 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
|
D | exit.c | 558 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper() local 559 struct task_struct *reaper = pid_ns->child_reaper; in find_child_reaper() 567 pid_ns->child_reaper = reaper; in find_child_reaper() 578 zap_pid_ns_processes(pid_ns); in find_child_reaper()
|