Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Duser_namespace.h152 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
185 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
/openbmc/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 Dmnt_idmapping.c239 idmap->owner = get_user_ns(mnt_userns); in alloc_mnt_idmap()
H A Dsuper.c334 s->s_user_ns = get_user_ns(user_ns); in alloc_super()
H A Dexec.c1435 bprm->mm->user_ns = get_user_ns(user_ns); in would_dump()
H A Dnamespace.c3757 new_ns->user_ns = get_user_ns(user_ns); in alloc_mnt_ns()
4570 kattr->mnt_userns = get_user_ns(mnt_userns); in build_mount_idmapped()
/openbmc/linux/fs/sysfs/
H A Dmount.c76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
/openbmc/linux/kernel/cgroup/
H A Dnamespace.c86 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
/openbmc/linux/kernel/
H A Dutsname.c71 ns->user_ns = get_user_ns(user_ns); in clone_uts_ns()
H A Dcred.c220 get_user_ns(new->user_ns); in prepare_creds()
646 get_user_ns(new->user_ns); in prepare_kernel_cred()
H A Duser_namespace.c1325 user_ns = get_user_ns(__task_cred(task)->user_ns); in userns_get()
1362 set_cred_user_ns(cred, get_user_ns(user_ns)); in userns_install()
1385 return &get_user_ns(owner)->ns; in ns_get_owner()
H A Dpid_namespace.c110 ns->user_ns = get_user_ns(user_ns); in create_pid_namespace()
H A Ducount.c190 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()
/openbmc/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()
1423 info->notify_user_ns = get_user_ns(current_user_ns()); in do_mq_notify()
/openbmc/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.c3107 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_id_map_open()
3185 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_setgroups_open()
/openbmc/linux/kernel/time/
H A Dnamespace.c107 ns->user_ns = get_user_ns(user_ns); in clone_time_ns()
/openbmc/linux/security/keys/
H A Dprocess_keys.c938 new->user_ns = get_user_ns(old->user_ns); in key_change_session_keyring()
/openbmc/linux/fs/nfs/
H A Dnfs4idmap.c466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
/openbmc/linux/net/core/
H A Dnet_namespace.c514 get_user_ns(user_ns); in copy_net_ns()
/openbmc/linux/fs/nfsd/
H A Dnfsctl.c1446 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()
/openbmc/linux/net/sunrpc/
H A Drpc_pipe.c1439 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in rpc_init_fs_context()
/openbmc/linux/fs/fuse/
H A Dinode.c945 fc->user_ns = get_user_ns(user_ns); in fuse_conn_init()

12