Home
last modified time | relevance | path

Searched refs:pidns (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/
H A Dpid.c723 struct pid_namespace *pidns = in proc_do_cad_pid()
727 if (ns_capable_noaudit(pidns->user_ns, CAP_SYS_ADMIN) || in proc_do_cad_pid()
728 uid_eq(current_euid(), make_kuid(pidns->user_ns, 0))) in proc_do_cad_pid()
730 else if (in_egroup_p(make_kgid(pidns->user_ns, 0))) in proc_do_cad_pid()
740 struct pid_namespace *pidns =
745 ns_root_uid = make_kuid(pidns->user_ns, 0);
749 ns_root_gid = make_kgid(pidns->user_ns, 0);
804 int register_pidns_sysctls(struct pid_namespace *pidns) in pid_idr_init()
809 setup_sysctl_set(&pidns->set, &pid_table_root, set_is_seen); in pid_idr_init()
814 tbl->data = &pidns in pid_idr_init()
681 struct pid_namespace *pidns = pid_table_root_permissions() local
698 struct pid_namespace *pidns = pid_table_root_set_ownership() local
762 register_pidns_sysctls(struct pid_namespace * pidns) register_pidns_sysctls() argument
787 unregister_pidns_sysctls(struct pid_namespace * pidns) unregister_pidns_sysctls() argument
[all...]
/linux/tools/testing/selftests/filesystems/nsfs/
H A D.gitignore3 pidns
H A DMakefile2 TEST_GEN_PROGS := owner pidns iterate_mntns
/linux/tools/testing/selftests/proc/
H A D.gitignore22 /proc-pidns
H A DMakefile32 TEST_GEN_PROGS += proc-pidns
/linux/kernel/bpf/
H A Dhelpers.c594 struct pid_namespace *pidns; in BPF_CALL_4() local
606 pidns = task_active_pid_ns(task); in BPF_CALL_4()
607 if (unlikely(!pidns)) { in BPF_CALL_4()
612 if (!ns_match(&pidns->ns, (dev_t)dev, ino)) in BPF_CALL_4()
615 nsdata->pid = task_pid_nr_ns(task, pidns); in BPF_CALL_4()
616 nsdata->tgid = task_tgid_nr_ns(task, pidns); in BPF_CALL_4()