Searched refs:get_user_ns (Results 1 – 25 of 29) sorted by relevance
12
162 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function195 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
301 fc->user_ns = get_user_ns(fc->cred->user_ns); in alloc_fs_context()304 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()308 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()408 get_user_ns(fc->user_ns); in vfs_dup_fs_context()
199 ns_common = to_ns_common(get_user_ns(task_cred_xxx(task, user_ns))); in pidfd_ioctl()
1042 return get_tree_keyed(fc, bm_fill_super, get_user_ns(fc->user_ns)); in bm_get_tree()
1420 bprm->mm->user_ns = get_user_ns(user_ns); in would_dump()
326 s->s_user_ns = get_user_ns(user_ns); in alloc_super()
76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
86 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
71 ns->user_ns = get_user_ns(user_ns); in clone_uts_ns()
225 get_user_ns(new->user_ns); in prepare_creds()649 get_user_ns(new->user_ns); in prepare_kernel_cred()
1327 user_ns = get_user_ns(__task_cred(task)->user_ns); in userns_get()1364 set_cred_user_ns(cred, get_user_ns(user_ns)); in userns_install()1387 return &get_user_ns(owner)->ns; in ns_get_owner()
111 ns->user_ns = get_user_ns(user_ns); in create_pid_namespace()
189 get_user_ns(new->ns); in alloc_ucounts()
421 user_ns = get_user_ns(__task_cred(tsk)->user_ns); in validate_nsset()
70 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns()
458 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mqueue_init_fs_context()483 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mq_create_mount()1425 info->notify_user_ns = get_user_ns(current_user_ns()); in do_mq_notify()
185 token->userns = get_user_ns(userns); in bpf_token_create()
254 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
3113 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_id_map_open()3191 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_setgroups_open()
107 ns->user_ns = get_user_ns(user_ns); in clone_time_ns()
938 new->user_ns = get_user_ns(old->user_ns); in key_change_session_keyring()
466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
488 get_user_ns(user_ns); in copy_net_ns()
1438 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in rpc_init_fs_context()
1419 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()