Searched refs:pid_ns (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | tsacct_kern.h | 15 struct pid_namespace *pid_ns, 19 struct pid_namespace *pid_ns, in bacct_add_tsk() argument
|
| /linux/ipc/ |
| H A D | util.c | 772 struct pid_namespace *pid_ns; member 779 return iter->pid_ns; in ipc_seq_pid_ns() 907 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open() 917 put_pid_ns(iter->pid_ns); in sysvipc_proc_release()
|
| H A D | msg.c | 1343 struct pid_namespace *pid_ns = ipc_seq_pid_ns(s); in sysvipc_msg_proc_show() local 1355 pid_nr_ns(msq->q_lspid, pid_ns), in sysvipc_msg_proc_show() 1356 pid_nr_ns(msq->q_lrpid, pid_ns), in sysvipc_msg_proc_show()
|
| /linux/fs/ |
| H A D | pidfs.c | 658 struct pid_namespace *pid_ns; in pidfd_ioctl() local 660 pid_ns = task_active_pid_ns(task); in pidfd_ioctl() 661 if (ns_ref_get(pid_ns)) in pidfd_ioctl() 662 ns_common = to_ns_common(pid_ns); in pidfd_ioctl()
|
| /linux/kernel/ |
| H A D | reboot.c | 732 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4() local 737 if (!ns_capable(pid_ns->user_ns, CAP_SYS_BOOT)) in SYSCALL_DEFINE4() 753 ret = reboot_pid_ns(pid_ns, cmd); in SYSCALL_DEFINE4()
|
| H A D | exit.c | 613 struct pid_namespace *pid_ns = task_active_pid_ns(father); in exit_mm() 614 struct task_struct *reaper = pid_ns->child_reaper; in exit_mm() 622 ASSERT_EXCLUSIVE_WRITER(pid_ns->child_reaper); 623 WRITE_ONCE(pid_ns->child_reaper, reaper); in find_alive_thread() 634 zap_pid_ns_processes(pid_ns); in find_child_reaper() 659 * Find the first ->is_child_subreaper ancestor in our pid_ns. in find_child_reaper() 639 struct pid_namespace *pid_ns = task_active_pid_ns(father); find_child_reaper() local
|
| /linux/net/ipv6/ |
| H A D | ip6_flowlabel.c | 780 struct pid_namespace *pid_ns; member 841 state->pid_ns = proc_pid_ns(file_inode(seq->file)->i_sb); in ip6fl_seq_start() 877 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
|
| /linux/fs/fuse/ |
| H A D | file.c | 2471 fl->c.flc_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock() 2534 pid_t pid_nr = pid_nr_ns(pid, fm->fc->pid_ns); in fuse_setlk()
|