Home
last modified time | relevance | path

Searched refs:get_user_ns (Results 1 – 25 of 29) sorted by relevance

12

/linux/include/linux/
H A Duser_namespace.h162 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
195 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
/linux/fs/
H A Dfs_context.c301 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()
H A Dpidfs.c199 ns_common = to_ns_common(get_user_ns(task_cred_xxx(task, user_ns))); in pidfd_ioctl()
H A Dbinfmt_misc.c1042 return get_tree_keyed(fc, bm_fill_super, get_user_ns(fc->user_ns)); in bm_get_tree()
H A Dexec.c1420 bprm->mm->user_ns = get_user_ns(user_ns); in would_dump()
H A Dsuper.c326 s->s_user_ns = get_user_ns(user_ns); in alloc_super()
/linux/fs/sysfs/
H A Dmount.c76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
/linux/kernel/cgroup/
H A Dnamespace.c86 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
/linux/kernel/
H A Dutsname.c71 ns->user_ns = get_user_ns(user_ns); in clone_uts_ns()
H A Dcred.c225 get_user_ns(new->user_ns); in prepare_creds()
649 get_user_ns(new->user_ns); in prepare_kernel_cred()
H A Duser_namespace.c1327 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()
H A Dpid_namespace.c111 ns->user_ns = get_user_ns(user_ns); in create_pid_namespace()
H A Ducount.c189 get_user_ns(new->ns); in alloc_ucounts()
H A Dnsproxy.c421 user_ns = get_user_ns(__task_cred(tsk)->user_ns); in validate_nsset()
/linux/ipc/
H A Dnamespace.c70 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns()
H A Dmqueue.c458 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()
/linux/kernel/bpf/
H A Dtoken.c185 token->userns = get_user_ns(userns); in bpf_token_create()
/linux/fs/proc/
H A Droot.c254 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
H A Dbase.c3113 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()
/linux/kernel/time/
H A Dnamespace.c107 ns->user_ns = get_user_ns(user_ns); in clone_time_ns()
/linux/security/keys/
H A Dprocess_keys.c938 new->user_ns = get_user_ns(old->user_ns); in key_change_session_keyring()
/linux/fs/nfs/
H A Dnfs4idmap.c466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
/linux/net/core/
H A Dnet_namespace.c488 get_user_ns(user_ns); in copy_net_ns()
/linux/net/sunrpc/
H A Drpc_pipe.c1438 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in rpc_init_fs_context()
/linux/fs/nfsd/
H A Dnfsctl.c1419 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()

12