Home
last modified time | relevance | path

Searched refs:task_active_pid_ns (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.4/kernel/
Dpid.c269 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);
Dpid_namespace.c155 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()
Dacct.c197 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()
Dtaskstats.c190 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()
Dreboot.c313 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
Dsignal.c1120 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()
Dexit.c506 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
Dsysctl_binary.c1305 mnt = task_active_pid_ns(current)->proc_mnt; in binary_sysctl()
/Linux-v5.4/fs/proc/
Dloadavg.c24 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in loadavg_proc_show()
Droot.c186 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
/Linux-v5.4/include/linux/
Dpid_namespace.h99 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
Dptrace.h190 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
/Linux-v5.4/fs/coda/
Dinode.c155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
Dpsdev.c277 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c1033 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()
Dcoresight-etm4x-sysfs.c1638 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/
Drestrack.c359 return task_active_pid_ns(current) == &init_pid_ns; in rdma_is_visible_in_pid_ns()
/Linux-v5.4/net/core/
Dscm.c55 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
/Linux-v5.4/kernel/cgroup/
Dcgroup-v1.c286 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/
Dcn_proc.c354 (task_active_pid_ns(current) != &init_pid_ns)) in cn_proc_mcast_ctl()
/Linux-v5.4/arch/um/drivers/
Dmconsole_kern.c126 struct vfsmount *mnt = task_active_pid_ns(current)->proc_mnt; in mconsole_proc()
/Linux-v5.4/ipc/
Dutil.c873 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
/Linux-v5.4/drivers/staging/gasket/
Dgasket_core.c1172 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/
Dsched.c1080 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in show_spu_loadavg()
/Linux-v5.4/fs/
Dlocks.c2286 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