Home
last modified time | relevance | path

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

12

/linux-6.1.9/kernel/
Dpid_namespace.c147 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns()
262 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler()
339 ns = task_active_pid_ns(task); in pidns_get()
378 struct pid_namespace *active = task_active_pid_ns(current); in pidns_install()
409 struct pid_namespace *active = task_active_pid_ns(current); in pidns_get_parent()
Dpid.c317 return find_pid_ns(nr, task_active_pid_ns(current)); in find_vpid()
422 return find_task_by_pid_ns(vnr, task_active_pid_ns(current)); in find_task_by_vpid()
488 return pid_nr_ns(pid, task_active_pid_ns(current)); in pid_vnr()
499 ns = task_active_pid_ns(current); in __task_pid_nr_ns()
507 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) in task_active_pid_ns() function
511 EXPORT_SYMBOL_GPL(task_active_pid_ns);
Dacct.c216 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on()
310 pin_kill(task_active_pid_ns(current)->bacct); in SYSCALL_DEFINE1()
617 for (ns = task_active_pid_ns(current); ns != NULL; ns = ns->parent) { in acct_process()
Dtaskstats.c208 fill_stats(current_user_ns(), task_active_pid_ns(current), tsk, stats); in fill_stats_for_pid()
309 if (task_active_pid_ns(current) != &init_pid_ns) in add_del_listener()
Dnsproxy.c390 pid_ns = task_active_pid_ns(tsk); in validate_nsset()
Dsignal.c1135 task_active_pid_ns(t)); in __send_signal_locked()
1228 force = !task_pid_nr_ns(current, task_active_pid_ns(t)); in send_signal_locked()
1248 if (!task_pid_nr_ns(current, task_active_pid_ns(t))) { in send_signal_locked()
2068 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(tsk->parent)); in do_notify_parent()
2159 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(parent)); in do_notify_parent_cldstop()
3787 struct pid_namespace *active = task_active_pid_ns(current); in access_pidfd_pidns()
Dreboot.c703 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
Dexit.c584 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
Daudit.c1057 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
/linux-6.1.9/include/linux/
Dpid_namespace.h85 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
91 return task_active_pid_ns(tsk) == &init_pid_ns; in task_is_in_init_pid_ns()
Dptrace.h182 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
/linux-6.1.9/fs/proc/
Dloadavg.c25 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in loadavg_proc_show()
Droot.c252 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
/linux-6.1.9/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.c1905 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show()
1933 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store()
1966 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_show()
1990 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_store()
/linux-6.1.9/fs/coda/
Dinode.c155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
Dpsdev.c273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
/linux-6.1.9/kernel/bpf/
Dtask_iter.c253 tgid = pid_nr_ns(pid, task_active_pid_ns(current)); in bpf_iter_attach_task()
414 common->ns = get_pid_ns(task_active_pid_ns(current)); in init_seq_pidns()
Dhelpers.c591 pidns = task_active_pid_ns(task); in BPF_CALL_4()
/linux-6.1.9/net/core/
Dscm.c55 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
/linux-6.1.9/kernel/cgroup/
Dcgroup-v1.c282 struct pid_namespace *ns = task_active_pid_ns(current); in cgroup_pidlist_find()
317 l->key.ns = get_pid_ns(task_active_pid_ns(current)); in cgroup_pidlist_find_create()
/linux-6.1.9/ipc/
Dutil.c910 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dsched.c1075 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in show_spu_loadavg()
/linux-6.1.9/fs/
Dlocks.c2189 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock()
2211 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock64()
Dexec.c1759 old_vpid = task_pid_nr_ns(current, task_active_pid_ns(current->parent)); in exec_binprm()

12