Home
last modified time | relevance | path

Searched refs:pid_ns (Results 1 – 19 of 19) sorted by relevance

/linux/kernel/
A Dpid_namespace.c175 disable_pid_allocation(pid_ns); in zap_pid_ns_processes()
245 if (pid_ns->pid_allocated == init_pids) in zap_pid_ns_processes()
251 if (pid_ns->reboot) in zap_pid_ns_processes()
254 acct_exit_ns(pid_ns); in zap_pid_ns_processes()
275 next = idr_get_cursor(&pid_ns->idr) - 1; in pid_ns_ctl_handler()
302 if (pid_ns == &init_pid_ns) in reboot_pid_ns()
308 pid_ns->reboot = SIGHUP; in reboot_pid_ns()
313 pid_ns->reboot = SIGINT; in reboot_pid_ns()
410 struct pid_namespace *pid_ns, *p; in pidns_get_parent() local
413 pid_ns = p = to_pid_ns(ns)->parent; in pidns_get_parent()
[all …]
A Dnsproxy.c361 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()
A Dtsacct.c21 struct pid_namespace *pid_ns, in bacct_add_tsk() argument
54 stats->ac_pid = task_pid_nr_ns(tsk, pid_ns); in bacct_add_tsk()
60 task_tgid_nr_ns(rcu_dereference(tsk->real_parent), pid_ns) : 0; in bacct_add_tsk()
A Dreboot.c315 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()
A Dtaskstats.c156 struct pid_namespace *pid_ns, in fill_stats() argument
173 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
A Dexit.c528 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper() local
529 struct task_struct *reaper = pid_ns->child_reaper; in find_child_reaper()
537 pid_ns->child_reaper = reaper; in find_child_reaper()
548 zap_pid_ns_processes(pid_ns); in find_child_reaper()
/linux/fs/proc/
A Droot.c33 struct pid_namespace *pid_ns; member
173 fs_info->pid_ns = get_pid_ns(ctx->pid_ns); in proc_fill_super()
236 put_pid_ns(ctx->pid_ns); in proc_fs_context_free()
255 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
257 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
276 put_pid_ns(fs_info->pid_ns); in proc_kill_sb()
A Dbase.c3382 ns = fs_info->pid_ns; in proc_pid_lookup()
3685 ns = fs_info->pid_ns; in proc_task_lookup()
/linux/include/linux/
A Dpid_namespace.h50 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
51 extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd);
79 static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) in reboot_pid_ns() argument
A Dtsacct_kern.h15 struct pid_namespace *pid_ns,
19 struct pid_namespace *pid_ns, in bacct_add_tsk() argument
A Dproc_fs.h62 struct pid_namespace *pid_ns; member
219 return proc_sb_info(sb)->pid_ns; in proc_pid_ns()
/linux/ipc/
A Dutil.c775 struct pid_namespace *pid_ns; member
782 return iter->pid_ns; in ipc_seq_pid_ns()
899 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
909 put_pid_ns(iter->pid_ns); in sysvipc_proc_release()
A Dmsg.c1323 struct pid_namespace *pid_ns = ipc_seq_pid_ns(s); in sysvipc_msg_proc_show() local
1335 pid_nr_ns(msq->q_lspid, pid_ns), in sysvipc_msg_proc_show()
1336 pid_nr_ns(msq->q_lrpid, pid_ns), in sysvipc_msg_proc_show()
A Dshm.c1830 struct pid_namespace *pid_ns = ipc_seq_pid_ns(s); in sysvipc_shm_proc_show() local
1853 pid_nr_ns(shp->shm_cprid, pid_ns), in sysvipc_shm_proc_show()
1854 pid_nr_ns(shp->shm_lprid, pid_ns), in sysvipc_shm_proc_show()
/linux/net/ipv6/
A Dip6_flowlabel.c747 struct pid_namespace *pid_ns; member
808 state->pid_ns = proc_pid_ns(file_inode(seq->file)->i_sb); in ip6fl_seq_start()
844 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
/linux/fs/fuse/
A Dfuse_i.h545 struct pid_namespace *pid_ns; member
A Dinode.c828 fc->pid_ns = get_pid_ns(task_active_pid_ns(current)); in fuse_conn_init()
849 put_pid_ns(fc->pid_ns); in fuse_conn_put()
A Ddev.c140 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_get_req()
475 req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in fuse_force_creds()
A Dfile.c2446 fl->fl_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
2509 pid_t pid_nr = pid_nr_ns(pid, fm->fc->pid_ns); in fuse_setlk()

Completed in 49 milliseconds