Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/
Dpid_namespace.c150 if (task_active_pid_ns(current) != old_ns) in copy_pid_ns()
282 struct pid_namespace *pid_ns = task_active_pid_ns(current); in pid_ns_ctl_handler()
358 ns = task_active_pid_ns(task); in pidns_get()
397 struct pid_namespace *active = task_active_pid_ns(current); in pidns_install()
428 struct pid_namespace *active = task_active_pid_ns(current); in pidns_get_parent()
Dpid.c320 return find_pid_ns(nr, task_active_pid_ns(current)); in find_vpid()
425 return find_task_by_pid_ns(vnr, task_active_pid_ns(current)); in find_task_by_vpid()
491 return pid_nr_ns(pid, task_active_pid_ns(current)); in pid_vnr()
502 ns = task_active_pid_ns(current); in __task_pid_nr_ns()
510 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) in task_active_pid_ns() function
514 EXPORT_SYMBOL_GPL(task_active_pid_ns);
Dpid_sysctl.h11 struct pid_namespace *ns = task_active_pid_ns(current); in pid_mfd_noexec_dointvec_minmax()
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.c409 pid_ns = task_active_pid_ns(tsk); in validate_nsset()
Dsignal.c1140 task_active_pid_ns(t)); in __send_signal_locked()
1233 force = !task_pid_nr_ns(current, task_active_pid_ns(t)); in send_signal_locked()
1253 if (!task_pid_nr_ns(current, task_active_pid_ns(t))) { in send_signal_locked()
2101 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(tsk->parent)); in do_notify_parent()
2192 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(parent)); in do_notify_parent_cldstop()
3823 struct pid_namespace *active = task_active_pid_ns(current); in access_pidfd_pidns()
Dreboot.c704 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
Dexit.c588 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
Daudit.c1067 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
/linux-6.6.21/include/linux/
Dpid_namespace.h117 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
123 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.6.21/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.6.21/drivers/hwtracing/coresight/
Dcoresight-etm3x-sysfs.c1034 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show()
1062 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store()
1088 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_show()
1108 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_mask_store()
Dcoresight-etm4x-sysfs.c1906 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_show()
1934 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_pid_store()
1967 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_show()
1991 if (task_active_pid_ns(current) != &init_pid_ns) in ctxid_masks_store()
/linux-6.6.21/mm/
Dmemfd.c274 struct pid_namespace *ns = task_active_pid_ns(current); in check_sysctl_memfd_noexec()
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/net/core/
Dscm.c56 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
/linux-6.6.21/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.6.21/ipc/
Dutil.c910 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dsched.c1075 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in show_spu_loadavg()
/linux-6.6.21/fs/
Dlocks.c2175 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock()
2197 flock->l_pid = locks_translate_pid(fl, task_active_pid_ns(current)); in posix_lock_to_flock64()

12