Searched refs:pid_ns (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | pid_namespace.c | 166 void zap_pid_ns_processes(struct pid_namespace *pid_ns) in zap_pid_ns_processes() argument 175 disable_pid_allocation(pid_ns); in zap_pid_ns_processes() 202 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) { in zap_pid_ns_processes() 245 if (pid_ns->pid_allocated == init_pids) in zap_pid_ns_processes() 268 if (pid_ns->reboot) in zap_pid_ns_processes() 269 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes() 271 acct_exit_ns(pid_ns); in zap_pid_ns_processes() 279 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler() local 283 if (write && !checkpoint_restore_ns_capable(pid_ns->user_ns)) in pid_ns_ctl_handler() 292 next = idr_get_cursor(&pid_ns->idr) - 1; in pid_ns_ctl_handler() [all …]
|
D | nsproxy.c | 361 struct pid_namespace *pid_ns = NULL; in validate_nsset() local 390 pid_ns = task_active_pid_ns(tsk); in validate_nsset() 391 if (unlikely(!pid_ns)) { in validate_nsset() 396 get_pid_ns(pid_ns); in validate_nsset() 444 ret = validate_ns(nsset, &pid_ns->ns); in validate_nsset() 475 if (pid_ns) in validate_nsset() 476 put_pid_ns(pid_ns); in validate_nsset()
|
D | tsacct.c | 21 struct pid_namespace *pid_ns, in bacct_add_tsk() argument 58 stats->ac_pid = task_pid_nr_ns(tsk, pid_ns); in bacct_add_tsk() 59 stats->ac_tgid = task_tgid_nr_ns(tsk, pid_ns); in bacct_add_tsk() 65 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
|
D | reboot.c | 705 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4() local 710 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4() 726 ret = reboot_pid_ns(pid_ns, cmd); in SYSCALL_DEFINE4()
|
D | exit.c | 587 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper() local 588 struct task_struct *reaper = pid_ns->child_reaper; in find_child_reaper() 596 pid_ns->child_reaper = reaper; in find_child_reaper() 607 zap_pid_ns_processes(pid_ns); in find_child_reaper()
|
D | taskstats.c | 175 struct pid_namespace *pid_ns, in fill_stats() argument 192 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
|