Searched refs:task_active_pid_ns (Results 1 – 25 of 33) sorted by relevance
12
/linux-6.6.21/kernel/ |
D | pid_namespace.c | 150 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()
|
D | pid.c | 320 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);
|
D | pid_sysctl.h | 11 struct pid_namespace *ns = task_active_pid_ns(current); in pid_mfd_noexec_dointvec_minmax()
|
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 | 409 pid_ns = task_active_pid_ns(tsk); in validate_nsset()
|
D | signal.c | 1140 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()
|
D | reboot.c | 704 struct pid_namespace *pid_ns = task_active_pid_ns(current); in SYSCALL_DEFINE4()
|
D | exit.c | 588 struct pid_namespace *pid_ns = task_active_pid_ns(father); in find_child_reaper()
|
D | audit.c | 1067 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
|
/linux-6.6.21/include/linux/ |
D | pid_namespace.h | 117 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()
|
D | ptrace.h | 182 ns = task_active_pid_ns(rcu_dereference(current->parent)); in ptrace_event_pid()
|
/linux-6.6.21/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.6.21/drivers/hwtracing/coresight/ |
D | coresight-etm3x-sysfs.c | 1034 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()
|
D | coresight-etm4x-sysfs.c | 1906 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/ |
D | memfd.c | 274 struct pid_namespace *ns = task_active_pid_ns(current); in check_sysctl_memfd_noexec()
|
/linux-6.6.21/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.6.21/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()
|
/linux-6.6.21/net/core/ |
D | scm.c | 56 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
|
/linux-6.6.21/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.6.21/ipc/ |
D | util.c | 910 iter->pid_ns = get_pid_ns(task_active_pid_ns(current)); in sysvipc_proc_open()
|
/linux-6.6.21/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.6.21/fs/ |
D | locks.c | 2175 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