Searched refs:task_active_pid_ns (Results 1 – 25 of 31) sorted by relevance
12
/Linux-v5.4/kernel/ |
D | pid.c | 269 return find_pid_ns(nr, task_active_pid_ns(current)); in find_vpid() 355 return find_task_by_pid_ns(vnr, task_active_pid_ns(current)); in find_task_by_vpid() 421 return pid_nr_ns(pid, task_active_pid_ns(current)); in pid_vnr() 432 ns = task_active_pid_ns(current); in __task_pid_nr_ns() 441 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) in task_active_pid_ns() function 445 EXPORT_SYMBOL_GPL(task_active_pid_ns);
|
D | pid_namespace.c | 155 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns() 270 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler() 347 ns = task_active_pid_ns(task); in pidns_get() 385 struct pid_namespace *active = task_active_pid_ns(current); in pidns_install() 416 struct pid_namespace *active = task_active_pid_ns(current); in pidns_get_parent()
|
D | acct.c | 197 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() 291 pin_kill(task_active_pid_ns(current)->bacct); in SYSCALL_DEFINE1() 600 for (ns = task_active_pid_ns(current); ns != NULL; ns = ns->parent) { in acct_process()
|
D | taskstats.c | 190 fill_stats(current_user_ns(), task_active_pid_ns(current), tsk, stats); in fill_stats_for_pid() 291 if (task_active_pid_ns(current) != &init_pid_ns) in add_del_listener()
|
D | reboot.c | 313 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
|
D | signal.c | 1120 task_active_pid_ns(t)); in __send_signal() 1211 force = !task_pid_nr_ns(current, task_active_pid_ns(t)); in send_signal() 1231 if (!task_pid_nr_ns(current, task_active_pid_ns(t))) { in send_signal() 1948 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(tsk->parent)); in do_notify_parent() 2035 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(parent)); in do_notify_parent_cldstop() 3650 struct pid_namespace *active = task_active_pid_ns(current); in access_pidfd_pidns()
|
D | exit.c | 506 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
|
D | sysctl_binary.c | 1305 mnt = task_active_pid_ns(current)->proc_mnt; in binary_sysctl()
|
/Linux-v5.4/fs/proc/ |
D | loadavg.c | 24 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in loadavg_proc_show()
|
D | root.c | 186 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
|
/Linux-v5.4/include/linux/ |
D | pid_namespace.h | 99 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
|
D | ptrace.h | 190 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
|
/Linux-v5.4/fs/coda/ |
D | inode.c | 155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
|
D | psdev.c | 277 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
|
/Linux-v5.4/drivers/hwtracing/coresight/ |
D | coresight-etm3x-sysfs.c | 1033 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show() 1061 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store() 1087 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_show() 1107 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_store()
|
D | coresight-etm4x-sysfs.c | 1638 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show() 1666 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store() 1699 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_show() 1722 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_store()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | restrack.c | 359 return task_active_pid_ns(current) == &init_pid_ns; in rdma_is_visible_in_pid_ns()
|
/Linux-v5.4/net/core/ |
D | scm.c | 55 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
|
/Linux-v5.4/kernel/cgroup/ |
D | cgroup-v1.c | 286 struct pid_namespace *ns = task_active_pid_ns(current); in cgroup_pidlist_find() 321 l->key.ns = get_pid_ns(task_active_pid_ns(current)); in cgroup_pidlist_find_create()
|
/Linux-v5.4/drivers/connector/ |
D | cn_proc.c | 354 (task_active_pid_ns(current) != &init_pid_ns)) in cn_proc_mcast_ctl()
|
/Linux-v5.4/arch/um/drivers/ |
D | mconsole_kern.c | 126 struct vfsmount *mnt = task_active_pid_ns(current)->proc_mnt; in mconsole_proc()
|
/Linux-v5.4/ipc/ |
D | util.c | 873 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
|
/Linux-v5.4/drivers/staging/gasket/ |
D | gasket_core.c | 1172 struct pid_namespace *pid_ns = task_active_pid_ns(current); in gasket_open() 1251 struct pid_namespace *pid_ns = task_active_pid_ns(current); in gasket_release()
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 1080 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in show_spu_loadavg()
|
/Linux-v5.4/fs/ |
D | locks.c | 2286 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock() 2308 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock64()
|
12