Searched refs:init_user_ns (Results 1 – 13 of 13) sorted by relevance
/kernel/ |
D | user.c | 28 struct user_namespace init_user_ns = { variable 68 .keyring_name_list = LIST_HEAD_INIT(init_user_ns.keyring_name_list), 69 .keyring_sem = __RWSEM_INITIALIZER(init_user_ns.keyring_sem), 72 EXPORT_SYMBOL_GPL(init_user_ns);
|
D | cred.c | 61 .user_ns = &init_user_ns, 411 for (;subset_ns != &init_user_ns; subset_ns = subset_ns->parent) { in cred_cap_issubset() 815 from_kuid_munged(&init_user_ns, cred->uid), in dump_invalid_creds() 816 from_kuid_munged(&init_user_ns, cred->euid), in dump_invalid_creds() 817 from_kuid_munged(&init_user_ns, cred->suid), in dump_invalid_creds() 818 from_kuid_munged(&init_user_ns, cred->fsuid)); in dump_invalid_creds() 820 from_kgid_munged(&init_user_ns, cred->gid), in dump_invalid_creds() 821 from_kgid_munged(&init_user_ns, cred->egid), in dump_invalid_creds() 822 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds() 823 from_kgid_munged(&init_user_ns, cred->fsgid)); in dump_invalid_creds()
|
D | audit.c | 1002 if (current_user_ns() != &init_user_ns) in audit_netlink_ok() 1046 uid_t uid = from_kuid(&init_user_ns, current_uid()); in audit_log_common_recv_msg() 1430 sig_data->uid = from_kuid(&init_user_ns, audit_sig_uid); in audit_receive_msg() 2043 uid_t auid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in audit_log_session_info() 2138 from_kuid(&init_user_ns, audit_get_loginuid(current)), in audit_log_task_info() 2139 from_kuid(&init_user_ns, cred->uid), in audit_log_task_info() 2140 from_kgid(&init_user_ns, cred->gid), in audit_log_task_info() 2141 from_kuid(&init_user_ns, cred->euid), in audit_log_task_info() 2142 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info() 2143 from_kuid(&init_user_ns, cred->fsuid), in audit_log_task_info() [all …]
|
D | capability.c | 318 return has_ns_capability(t, &init_user_ns, cap); in has_capability() 361 return has_ns_capability_noaudit(t, &init_user_ns, cap); in has_capability_noaudit() 449 return ns_capable(&init_user_ns, cap); in capable()
|
D | auditsc.c | 969 from_kuid(&init_user_ns, auid), in audit_log_pid_context() 970 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context() 1185 from_kuid(&init_user_ns, name->fcap.rootid)); in audit_log_fcaps() 1209 from_kuid(&init_user_ns, context->ipc.uid), in show_special() 1210 from_kgid(&init_user_ns, context->ipc.gid), in show_special() 1358 from_kuid(&init_user_ns, n->uid), in audit_log_name() 1359 from_kgid(&init_user_ns, n->gid), in audit_log_name() 1501 from_kuid(&init_user_ns, in audit_log_exit() 2560 from_kuid(&init_user_ns, auid), in audit_log_task() 2561 from_kuid(&init_user_ns, uid), in audit_log_task() [all …]
|
D | panic.c | 680 from_kuid_munged(&init_user_ns, current_uid()), in refcount_error_report() 681 from_kuid_munged(&init_user_ns, current_euid())); in refcount_error_report()
|
D | taskstats.c | 288 if (current_user_ns() != &init_user_ns) in add_del_listener() 625 fill_stats(&init_user_ns, &init_pid_ns, tsk, stats); in taskstats_exit()
|
D | ucount.c | 235 BUG_ON(!setup_userns_sysctls(&init_user_ns)); in user_namespace_sysctl_init()
|
D | pid.c | 79 .user_ns = &init_user_ns,
|
D | resource.c | 117 if (file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN)) { in r_show()
|
D | fork.c | 834 init_user_ns.ucount_max[i] = max_threads/2; in fork_init()
|
/kernel/bpf/ |
D | helpers.c | 181 return (u64) from_kgid(&init_user_ns, gid) << 32 | in BPF_CALL_0() 182 from_kuid(&init_user_ns, uid); in BPF_CALL_0()
|
/kernel/cgroup/ |
D | cgroup.c | 207 .user_ns = &init_user_ns,
|