Searched refs:task_active_pid_ns (Results 1 – 25 of 31) sorted by relevance
12
/linux-6.1.9/kernel/ |
D | pid_namespace.c | 147 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()
|
D | pid.c | 317 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);
|
D | acct.c | 216 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()
|
D | taskstats.c | 208 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()
|
D | nsproxy.c | 390 pid_ns = task_active_pid_ns(tsk); in validate_nsset()
|
D | signal.c | 1135 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()
|
D | reboot.c | 703 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
|
D | exit.c | 584 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
|
D | audit.c | 1057 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
|
/linux-6.1.9/include/linux/ |
D | pid_namespace.h | 85 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()
|
D | ptrace.h | 182 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
|
/linux-6.1.9/fs/proc/ |
D | loadavg.c | 25 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in loadavg_proc_show()
|
D | root.c | 252 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
|
/linux-6.1.9/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 | 1905 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/ |
D | inode.c | 155 if (task_active_pid_ns(current) != &init_pid_ns) in coda_fill_super()
|
D | psdev.c | 273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
|
/linux-6.1.9/kernel/bpf/ |
D | task_iter.c | 253 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()
|
D | helpers.c | 591 pidns = task_active_pid_ns(task); in BPF_CALL_4()
|
/linux-6.1.9/net/core/ |
D | scm.c | 55 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
|
/linux-6.1.9/kernel/cgroup/ |
D | cgroup-v1.c | 282 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/ |
D | util.c | 910 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 1075 idr_get_cursor(&task_active_pid_ns(current)->idr) - 1); in show_spu_loadavg()
|
/linux-6.1.9/fs/ |
D | locks.c | 2189 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()
|
D | exec.c | 1759 old_vpid = task_pid_nr_ns(current, task_active_pid_ns(current->parent)); in exec_binprm()
|
12