Searched refs:init_pid_ns (Results 1 – 18 of 18) sorted by relevance
| /linux/kernel/ |
| H A D | pid.c | 59 .ns = &init_pid_ns, 72 struct pid_namespace init_pid_ns = { variable 73 .ns = NS_COMMON_INIT(init_pid_ns), 74 .idr = IDR_INIT(init_pid_ns.idr), 84 EXPORT_SYMBOL_GPL(init_pid_ns); 793 .data = &init_pid_ns.pid_max, 854 init_pid_ns.pid_max = min(pid_max_max, max_t(int, init_pid_ns.pid_max, in pid_idr_init() 858 pr_info("pid_max: default: %u minimum: %u\n", init_pid_ns.pid_max, pid_max_min); in pid_idr_init() 860 idr_init(&init_pid_ns.idr); in pid_idr_init() 862 init_pid_ns.pid_cachep = kmem_cache_create("pid", in pid_idr_init() [all …]
|
| H A D | nscommon.c | 315 return (task_active_pid_ns(current) == &init_pid_ns) && in may_see_all_namespaces() 316 ns_capable_noaudit(init_pid_ns.user_ns, CAP_SYS_ADMIN); in may_see_all_namespaces()
|
| H A D | audit.c | 1108 if (task_active_pid_ns(current) != &init_pid_ns) in audit_netlink_ok()
|
| /linux/include/linux/ |
| H A D | pid_types.h | 14 extern struct pid_namespace init_pid_ns;
|
| /linux/arch/s390/mm/ |
| H A D | pfault.c | 136 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in pfault_interrupt()
|
| /linux/drivers/hwtracing/coresight/ |
| H A 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()
|
| /linux/fs/coda/ |
| H A D | psdev.c | 273 if (task_active_pid_ns(current) != &init_pid_ns) in coda_psdev_open()
|
| H A D | upcall.c | 54 inp->ih.pid = task_pid_nr_ns(current, &init_pid_ns); in alloc_upcall() 55 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall()
|
| /linux/kernel/trace/ |
| H A D | pid_list.c | 424 WARN_ON_ONCE(init_pid_ns.pid_max > (1 << 30)); in trace_pid_list_alloc()
|
| H A D | trace_sched_switch.c | 446 tgid_map_max = init_pid_ns.pid_max; in trace_alloc_tgid_map()
|
| /linux/arch/um/drivers/ |
| H A D | mconsole_kern.c | 686 to = find_task_by_pid_ns(pid_requested, &init_pid_ns); in mconsole_stack()
|
| /linux/kernel/debug/ |
| H A D | gdbstub.c | 456 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
|
| /linux/kernel/debug/kdb/ |
| H A D | kdb_main.c | 2279 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid() 2350 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_kill()
|
| /linux/security/tomoyo/ |
| H A D | common.c | 1011 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain() 1736 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_read_pid()
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 610 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
|
| /linux/fs/fuse/ |
| H A D | file.c | 2458 fl->c.flc_pid = pid_nr_ns(find_pid_ns(ffl->pid, fc->pid_ns), &init_pid_ns); in convert_fuse_file_lock()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 2897 p = find_task_by_pid_ns(pid, &init_pid_ns); in bpf_task_from_pid()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 4932 pid = find_pid_ns(init_ublksrv_tgid, &init_pid_ns); in ublk_ctrl_get_dev_info()
|