Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Duser_namespace.h151 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
184 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() function
/linux-6.1.9/fs/
Dfs_context.c273 fc->user_ns = get_user_ns(fc->cred->user_ns); in alloc_fs_context()
276 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
280 fc->user_ns = get_user_ns(reference->d_sb->s_user_ns); in alloc_fs_context()
359 get_user_ns(fc->user_ns); in vfs_dup_fs_context()
Dnamespace.c1032 mnt->mnt.mnt_userns = get_user_ns(fs_userns); in vfs_create_mount()
1125 mnt->mnt.mnt_userns = get_user_ns(mnt->mnt.mnt_userns); in clone_mnt()
3446 new_ns->user_ns = get_user_ns(user_ns); in alloc_mnt_ns()
4096 mnt_userns = get_user_ns(kattr->mnt_userns); in do_idmap_mount()
4248 kattr->mnt_userns = get_user_ns(mnt_userns); in build_mount_idmapped()
Dsuper.c210 s->s_user_ns = get_user_ns(user_ns); in alloc_super()
Dexec.c1427 bprm->mm->user_ns = get_user_ns(user_ns); in would_dump()
/linux-6.1.9/fs/sysfs/
Dmount.c76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
/linux-6.1.9/kernel/cgroup/
Dnamespace.c86 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
Dcgroup.c2251 fc->user_ns = get_user_ns(ctx->ns->user_ns); in cgroup_init_fs_context()
6067 get_user_ns(init_cgroup_ns.user_ns); in cgroup_init()
/linux-6.1.9/kernel/
Dutsname.c71 ns->user_ns = get_user_ns(user_ns); in clone_uts_ns()
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()
Dcred.c274 get_user_ns(new->user_ns); in prepare_creds()
735 get_user_ns(new->user_ns); in prepare_kernel_cred()
Dpid_namespace.c109 ns->user_ns = get_user_ns(user_ns); in create_pid_namespace()
Ducount.c189 get_user_ns(new->ns); in alloc_ucounts()
Dnsproxy.c402 user_ns = get_user_ns(__task_cred(tsk)->user_ns); in validate_nsset()
/linux-6.1.9/ipc/
Dnamespace.c55 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns()
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()
1424 info->notify_user_ns = get_user_ns(current_user_ns()); in do_mq_notify()
/linux-6.1.9/fs/proc/
Droot.c254 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
Dbase.c3048 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_id_map_open()
3126 ns = get_user_ns(task_cred_xxx(task, user_ns)); in proc_setgroups_open()
/linux-6.1.9/kernel/time/
Dnamespace.c107 ns->user_ns = get_user_ns(user_ns); in clone_time_ns()
/linux-6.1.9/security/keys/
Dprocess_keys.c938 new->user_ns = get_user_ns(old->user_ns); in key_change_session_keyring()
/linux-6.1.9/fs/nfs/
Dnfs4idmap.c466 idmap->user_ns = get_user_ns(clp->cl_rpcclient->cl_cred->user_ns); in nfs_idmap_new()
/linux-6.1.9/net/core/
Dnet_namespace.c472 get_user_ns(user_ns); in copy_net_ns()
/linux-6.1.9/fs/nfsd/
Dnfsctl.c1396 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in nfsd_init_fs_context()
/linux-6.1.9/net/sunrpc/
Drpc_pipe.c1439 fc->user_ns = get_user_ns(fc->net_ns->user_ns); in rpc_init_fs_context()
/linux-6.1.9/fs/fuse/
Dinode.c847 fc->user_ns = get_user_ns(user_ns); in fuse_conn_init()

12