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); 772 .data = &init_pid_ns.pid_max, 825 init_pid_ns.pid_max = min(pid_max_max, max_t(int, init_pid_ns.pid_max, in pid_idr_init() 829 pr_info("pid_max: default: %u minimum: %u\n", init_pid_ns.pid_max, pid_max_min); in pid_idr_init() 831 idr_init(&init_pid_ns.idr); in pid_idr_init() 833 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 | 1109 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/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/notify/fanotify/ |
| H A D | fanotify_user.c | 159 &init_pid_ns); in perm_group_watchdog()
|
| /linux/Documentation/bpf/ |
| H A D | kfuncs.rst | 775 * globally-unique pid from the init_pid_ns. Thus,
|
| /linux/fs/fuse/ |
| H A D | file.c | 2472 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 | 2994 p = find_task_by_pid_ns(pid, &init_pid_ns); in bpf_task_from_pid()
|