user_namespace 137 fs/autofs/waitq.c struct user_namespace *user_ns = sbi->pipe->f_cred->user_ns; user_namespace 1319 fs/exec.c struct user_namespace *old, *user_ns; user_namespace 239 fs/fcntl.c struct user_namespace *user_ns = current_user_ns(); user_namespace 522 fs/fuse/fuse_i.h struct user_namespace *user_ns; user_namespace 951 fs/fuse/fuse_i.h void fuse_conn_init(struct fuse_conn *fc, struct user_namespace *user_ns, user_namespace 603 fs/fuse/inode.c void fuse_conn_init(struct fuse_conn *fc, struct user_namespace *user_ns, user_namespace 2081 fs/inode.c struct user_namespace *ns; user_namespace 17 fs/internal.h struct user_namespace; user_namespace 13 fs/mount.h struct user_namespace *user_ns; user_namespace 2832 fs/namei.c struct user_namespace *s_user_ns; user_namespace 3016 fs/namei.c struct user_namespace *s_user_ns; user_namespace 1832 fs/namespace.c static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *, bool); user_namespace 2045 fs/namespace.c struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; user_namespace 2322 fs/namespace.c struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; user_namespace 3149 fs/namespace.c static struct ucounts *inc_mnt_namespaces(struct user_namespace *ns) user_namespace 3177 fs/namespace.c static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns, bool anon) user_namespace 3213 fs/namespace.c struct user_namespace *user_ns, struct fs_struct *new_fs) user_namespace 4006 fs/namespace.c static struct user_namespace *mntns_owner(struct ns_common *ns) user_namespace 79 fs/nfs/nfs2xdr.c static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) user_namespace 86 fs/nfs/nfs2xdr.c static struct user_namespace *rpc_rqst_userns(const struct rpc_rqst *rqstp) user_namespace 266 fs/nfs/nfs2xdr.c struct user_namespace *userns) user_namespace 340 fs/nfs/nfs2xdr.c struct user_namespace *userns) user_namespace 471 fs/nfs/nfs2xdr.c struct user_namespace *userns) user_namespace 519 fs/nfs/nfs2xdr.c struct user_namespace *userns) user_namespace 532 fs/nfs/nfs2xdr.c struct user_namespace *userns) user_namespace 107 fs/nfs/nfs3xdr.c static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) user_namespace 114 fs/nfs/nfs3xdr.c static struct user_namespace *rpc_rqst_userns(const struct rpc_rqst *rqstp) user_namespace 534 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 625 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 679 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 749 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1020 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1079 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1124 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1132 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1474 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); user_namespace 1755 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 1780 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); user_namespace 1864 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); user_namespace 1909 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); user_namespace 1969 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_userns(entry->server->client); user_namespace 2077 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 2367 fs/nfs/nfs3xdr.c struct user_namespace *userns) user_namespace 75 fs/nfs/nfs4idmap.c static struct user_namespace *idmap_userns(const struct idmap *idmap) user_namespace 2532 fs/nfs/super.c const struct user_namespace *oldns = &init_user_ns; user_namespace 2533 fs/nfs/super.c const struct user_namespace *newns = &init_user_ns; user_namespace 1186 fs/nfsd/export.c struct user_namespace *userns = m->file->f_cred->user_ns; user_namespace 100 fs/nfsd/nfs3xdr.c decode_sattr3(__be32 *p, struct iattr *iap, struct user_namespace *userns) user_namespace 169 fs/nfsd/nfs3xdr.c struct user_namespace *userns = nfsd_user_namespace(rqstp); user_namespace 528 fs/nfsd/nfs4xdr.c struct user_namespace *userns = nfsd_user_namespace(argp->rqstp); user_namespace 127 fs/nfsd/nfsd.h static inline struct user_namespace * user_namespace 74 fs/nfsd/nfsxdr.c decode_sattr(__be32 *p, struct iattr *iap, struct user_namespace *userns) user_namespace 132 fs/nfsd/nfsxdr.c struct user_namespace *userns = nfsd_user_namespace(rqstp); user_namespace 189 fs/nsfs.c struct user_namespace *user_ns; user_namespace 206 fs/nsfs.c user_ns = container_of(ns, struct user_namespace, ns); user_namespace 210 fs/posix_acl.c posix_acl_valid(struct user_namespace *user_ns, const struct posix_acl *acl) user_namespace 667 fs/posix_acl.c struct user_namespace *to, struct user_namespace *from, user_namespace 707 fs/posix_acl.c struct user_namespace *user_ns = current_user_ns(); user_namespace 715 fs/posix_acl.c struct user_namespace *user_ns = current_user_ns(); user_namespace 725 fs/posix_acl.c posix_acl_from_xattr(struct user_namespace *user_ns, user_namespace 794 fs/posix_acl.c posix_acl_to_xattr(struct user_namespace *user_ns, const struct posix_acl *acl, user_namespace 155 fs/proc/array.c struct user_namespace *user_ns = seq_user_ns(m); user_namespace 1726 fs/proc/base.c struct user_namespace *user_ns = mm->user_ns; user_namespace 2830 fs/proc/base.c struct user_namespace *ns = NULL; user_namespace 2862 fs/proc/base.c struct user_namespace *ns = seq->private; user_namespace 2908 fs/proc/base.c struct user_namespace *ns = NULL; user_namespace 2943 fs/proc/base.c struct user_namespace *ns = seq->private; user_namespace 88 fs/proc/root.c struct user_namespace *user_ns) user_namespace 68 fs/quota/kqid.c qid_t from_kqid(struct user_namespace *targ, struct kqid kqid) user_namespace 101 fs/quota/kqid.c qid_t from_kqid_munged(struct user_namespace *targ, struct kqid kqid) user_namespace 201 fs/super.c struct user_namespace *user_ns) user_namespace 517 fs/super.c struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns; user_namespace 582 fs/super.c struct user_namespace *user_ns = current_user_ns(); user_namespace 44 include/linux/capability.h struct user_namespace; user_namespace 206 include/linux/capability.h struct user_namespace *ns, int cap); user_namespace 209 include/linux/capability.h struct user_namespace *ns, int cap); user_namespace 211 include/linux/capability.h extern bool ns_capable(struct user_namespace *ns, int cap); user_namespace 212 include/linux/capability.h extern bool ns_capable_noaudit(struct user_namespace *ns, int cap); user_namespace 213 include/linux/capability.h extern bool ns_capable_setid(struct user_namespace *ns, int cap); user_namespace 220 include/linux/capability.h struct user_namespace *ns, int cap) user_namespace 229 include/linux/capability.h struct user_namespace *ns, int cap) user_namespace 237 include/linux/capability.h static inline bool ns_capable(struct user_namespace *ns, int cap) user_namespace 241 include/linux/capability.h static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) user_namespace 245 include/linux/capability.h static inline bool ns_capable_setid(struct user_namespace *ns, int cap) user_namespace 250 include/linux/capability.h extern bool privileged_wrt_inode_uidgid(struct user_namespace *ns, const struct inode *inode); user_namespace 252 include/linux/capability.h extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap); user_namespace 253 include/linux/capability.h extern bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns); user_namespace 857 include/linux/cgroup.h struct user_namespace *user_ns; user_namespace 869 include/linux/cgroup.h struct user_namespace *user_ns, user_namespace 879 include/linux/cgroup.h copy_cgroup_ns(unsigned long flags, struct user_namespace *user_ns, user_namespace 146 include/linux/cred.h struct user_namespace *user_ns; /* user_ns the caps and keyrings are relative to. */ user_namespace 390 include/linux/cred.h extern struct user_namespace init_user_ns; user_namespace 394 include/linux/cred.h static inline struct user_namespace *current_user_ns(void) user_namespace 1527 include/linux/fs.h struct user_namespace *s_user_ns; user_namespace 25 include/linux/fs_context.h struct user_namespace; user_namespace 93 include/linux/fs_context.h struct user_namespace *user_ns; /* The user namespace for this mount */ user_namespace 41 include/linux/inet_diag.h struct user_namespace *user_ns, user_namespace 73 include/linux/inet_diag.h struct user_namespace *user_ns, bool net_admin); user_namespace 14 include/linux/ipc_namespace.h struct user_namespace; user_namespace 68 include/linux/ipc_namespace.h struct user_namespace *user_ns; user_namespace 124 include/linux/ipc_namespace.h struct user_namespace *user_ns, struct ipc_namespace *ns); user_namespace 136 include/linux/ipc_namespace.h struct user_namespace *user_ns, struct ipc_namespace *ns) user_namespace 421 include/linux/key.h extern void key_free_user_ns(struct user_namespace *); user_namespace 1478 include/linux/lsm_hooks.h struct user_namespace *ns, user_namespace 488 include/linux/mm_types.h struct user_namespace *user_ns; user_namespace 8 include/linux/mnt_namespace.h struct user_namespace; user_namespace 11 include/linux/mnt_namespace.h struct user_namespace *, struct fs_struct *); user_namespace 246 include/linux/netlink.h struct user_namespace *ns, int cap); user_namespace 248 include/linux/netlink.h struct user_namespace *ns, int cap); user_namespace 41 include/linux/pid_namespace.h struct user_namespace *user_ns; user_namespace 63 include/linux/pid_namespace.h struct user_namespace *user_ns, struct pid_namespace *ns); user_namespace 77 include/linux/pid_namespace.h struct user_namespace *user_ns, struct pid_namespace *ns) user_namespace 64 include/linux/posix_acl.h extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *); user_namespace 47 include/linux/posix_acl_xattr.h struct posix_acl *posix_acl_from_xattr(struct user_namespace *user_ns, user_namespace 49 include/linux/posix_acl_xattr.h int posix_acl_to_xattr(struct user_namespace *user_ns, user_namespace 23 include/linux/proc_ns.h struct user_namespace *(*owner)(struct ns_common *ns); user_namespace 17 include/linux/projid.h struct user_namespace; user_namespace 18 include/linux/projid.h extern struct user_namespace init_user_ns; user_namespace 53 include/linux/projid.h extern kprojid_t make_kprojid(struct user_namespace *from, projid_t projid); user_namespace 55 include/linux/projid.h extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid); user_namespace 56 include/linux/projid.h extern projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t projid); user_namespace 58 include/linux/projid.h static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) user_namespace 65 include/linux/projid.h static inline kprojid_t make_kprojid(struct user_namespace *from, projid_t projid) user_namespace 70 include/linux/projid.h static inline projid_t from_kprojid(struct user_namespace *to, kprojid_t kprojid) user_namespace 75 include/linux/projid.h static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid) user_namespace 83 include/linux/projid.h static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) user_namespace 79 include/linux/quota.h extern qid_t from_kqid(struct user_namespace *to, struct kqid qid); user_namespace 80 include/linux/quota.h extern qid_t from_kqid_munged(struct user_namespace *to, struct kqid qid); user_namespace 97 include/linux/quota.h static inline struct kqid make_kqid(struct user_namespace *from, user_namespace 187 include/linux/quota.h static inline bool qid_has_mapping(struct user_namespace *ns, struct kqid qid) user_namespace 73 include/linux/security.h struct user_namespace; user_namespace 132 include/linux/security.h extern int cap_capable(const struct cred *cred, struct user_namespace *ns, user_namespace 270 include/linux/security.h struct user_namespace *ns, user_namespace 537 include/linux/security.h struct user_namespace *ns, user_namespace 163 include/linux/seq_file.h static inline struct user_namespace *seq_user_ns(struct seq_file *seq) user_namespace 168 include/linux/seq_file.h extern struct user_namespace init_user_ns; user_namespace 14 include/linux/tsacct_kern.h extern void bacct_add_tsk(struct user_namespace *user_ns, user_namespace 18 include/linux/tsacct_kern.h static inline void bacct_add_tsk(struct user_namespace *user_ns, user_namespace 18 include/linux/uidgid.h struct user_namespace; user_namespace 19 include/linux/uidgid.h extern struct user_namespace init_user_ns; user_namespace 123 include/linux/uidgid.h extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); user_namespace 124 include/linux/uidgid.h extern kgid_t make_kgid(struct user_namespace *from, gid_t gid); user_namespace 126 include/linux/uidgid.h extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); user_namespace 127 include/linux/uidgid.h extern gid_t from_kgid(struct user_namespace *to, kgid_t gid); user_namespace 128 include/linux/uidgid.h extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); user_namespace 129 include/linux/uidgid.h extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid); user_namespace 131 include/linux/uidgid.h static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) user_namespace 136 include/linux/uidgid.h static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) user_namespace 143 include/linux/uidgid.h static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) user_namespace 148 include/linux/uidgid.h static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) user_namespace 153 include/linux/uidgid.h static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) user_namespace 158 include/linux/uidgid.h static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) user_namespace 163 include/linux/uidgid.h static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) user_namespace 171 include/linux/uidgid.h static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) user_namespace 179 include/linux/uidgid.h static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) user_namespace 184 include/linux/uidgid.h static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) user_namespace 60 include/linux/user_namespace.h struct user_namespace *parent; user_namespace 93 include/linux/user_namespace.h struct user_namespace *ns; user_namespace 99 include/linux/user_namespace.h extern struct user_namespace init_user_ns; user_namespace 101 include/linux/user_namespace.h bool setup_userns_sysctls(struct user_namespace *ns); user_namespace 102 include/linux/user_namespace.h void retire_userns_sysctls(struct user_namespace *ns); user_namespace 103 include/linux/user_namespace.h struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); user_namespace 108 include/linux/user_namespace.h static inline struct user_namespace *get_user_ns(struct user_namespace *ns) user_namespace 117 include/linux/user_namespace.h extern void __put_user_ns(struct user_namespace *ns); user_namespace 119 include/linux/user_namespace.h static inline void put_user_ns(struct user_namespace *ns) user_namespace 134 include/linux/user_namespace.h extern bool userns_may_setgroups(const struct user_namespace *ns); user_namespace 135 include/linux/user_namespace.h extern bool in_userns(const struct user_namespace *ancestor, user_namespace 136 include/linux/user_namespace.h const struct user_namespace *child); user_namespace 137 include/linux/user_namespace.h extern bool current_in_userns(const struct user_namespace *target_ns); user_namespace 141 include/linux/user_namespace.h static inline struct user_namespace *get_user_ns(struct user_namespace *ns) user_namespace 159 include/linux/user_namespace.h static inline void put_user_ns(struct user_namespace *ns) user_namespace 163 include/linux/user_namespace.h static inline bool userns_may_setgroups(const struct user_namespace *ns) user_namespace 168 include/linux/user_namespace.h static inline bool in_userns(const struct user_namespace *ancestor, user_namespace 169 include/linux/user_namespace.h const struct user_namespace *child) user_namespace 174 include/linux/user_namespace.h static inline bool current_in_userns(const struct user_namespace *target_ns) user_namespace 21 include/linux/utsname.h struct user_namespace; user_namespace 22 include/linux/utsname.h extern struct user_namespace init_user_ns; user_namespace 27 include/linux/utsname.h struct user_namespace *user_ns; user_namespace 40 include/linux/utsname.h struct user_namespace *user_ns, struct uts_namespace *old_ns); user_namespace 59 include/linux/utsname.h struct user_namespace *user_ns, struct uts_namespace *old_ns) user_namespace 40 include/net/net_namespace.h struct user_namespace; user_namespace 86 include/net/net_namespace.h struct user_namespace *user_ns; /* Owning user namespace */ user_namespace 192 include/net/net_namespace.h struct net *copy_net_ns(unsigned long flags, struct user_namespace *user_ns, user_namespace 202 include/net/net_namespace.h struct user_namespace *user_ns, struct net *old_net) user_namespace 124 include/net/scm.h struct user_namespace *current_ns = current_user_ns(); user_namespace 780 include/net/sock.h static inline struct user_namespace *sk_user_ns(struct sock *sk) user_namespace 2541 include/net/sock.h struct user_namespace *user_ns, int cap); user_namespace 86 ipc/mqueue.c struct user_namespace *notify_user_ns; user_namespace 1291 ipc/msg.c struct user_namespace *user_ns = seq_user_ns(s); user_namespace 22 ipc/namespace.c static struct ucounts *inc_ipc_namespaces(struct user_namespace *ns) user_namespace 32 ipc/namespace.c static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, user_namespace 80 ipc/namespace.c struct user_namespace *user_ns, struct ipc_namespace *ns) user_namespace 194 ipc/namespace.c static struct user_namespace *ipcns_owner(struct ns_common *ns) user_namespace 2414 ipc/sem.c struct user_namespace *user_ns = seq_user_ns(s); user_namespace 1742 ipc/shm.c struct user_namespace *user_ns = seq_user_ns(s); user_namespace 295 kernel/capability.c struct user_namespace *ns, int cap) user_namespace 336 kernel/capability.c struct user_namespace *ns, int cap) user_namespace 364 kernel/capability.c static bool ns_capable_common(struct user_namespace *ns, user_namespace 394 kernel/capability.c bool ns_capable(struct user_namespace *ns, int cap) user_namespace 412 kernel/capability.c bool ns_capable_noaudit(struct user_namespace *ns, int cap) user_namespace 431 kernel/capability.c bool ns_capable_setid(struct user_namespace *ns, int cap) user_namespace 466 kernel/capability.c bool file_ns_capable(const struct file *file, struct user_namespace *ns, user_namespace 487 kernel/capability.c bool privileged_wrt_inode_uidgid(struct user_namespace *ns, const struct inode *inode) user_namespace 504 kernel/capability.c struct user_namespace *ns = current_user_ns(); user_namespace 518 kernel/capability.c bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns) user_namespace 12 kernel/cgroup/namespace.c static struct ucounts *inc_cgroup_namespaces(struct user_namespace *ns) user_namespace 51 kernel/cgroup/namespace.c struct user_namespace *user_ns, user_namespace 138 kernel/cgroup/namespace.c static struct user_namespace *cgroupns_owner(struct ns_common *ns) user_namespace 397 kernel/cred.c const struct user_namespace *set_ns = set->user_ns; user_namespace 398 kernel/cred.c const struct user_namespace *subset_ns = subset->user_ns; user_namespace 1004 kernel/fork.c struct user_namespace *user_ns) user_namespace 45 kernel/groups.c struct user_namespace *user_ns = current_user_ns(); user_namespace 62 kernel/groups.c struct user_namespace *user_ns = current_user_ns(); user_namespace 179 kernel/groups.c struct user_namespace *user_ns = current_user_ns(); user_namespace 61 kernel/nsproxy.c struct task_struct *tsk, struct user_namespace *user_ns, user_namespace 137 kernel/nsproxy.c struct user_namespace *user_ns = task_cred_xxx(tsk, user_ns); user_namespace 191 kernel/nsproxy.c struct user_namespace *user_ns; user_namespace 68 kernel/pid_namespace.c static struct ucounts *inc_pid_namespaces(struct user_namespace *ns) user_namespace 78 kernel/pid_namespace.c static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns, user_namespace 151 kernel/pid_namespace.c struct user_namespace *user_ns, struct pid_namespace *old_ns) user_namespace 432 kernel/pid_namespace.c static struct user_namespace *pidns_owner(struct ns_common *ns) user_namespace 267 kernel/ptrace.c static bool ptrace_has_cap(const struct cred *cred, struct user_namespace *ns, user_namespace 1222 kernel/signal.c struct user_namespace *t_user_ns; user_namespace 352 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 414 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 495 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 571 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 623 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 715 kernel/sys.c struct user_namespace *ns = current_user_ns(); user_namespace 159 kernel/taskstats.c static void fill_stats(struct user_namespace *user_ns, user_namespace 20 kernel/tsacct.c void bacct_add_tsk(struct user_namespace *user_ns, user_namespace 37 kernel/ucount.c struct user_namespace *user_ns = user_namespace 38 kernel/ucount.c container_of(head->set, struct user_namespace, set); user_namespace 80 kernel/ucount.c bool setup_userns_sysctls(struct user_namespace *ns) user_namespace 102 kernel/ucount.c void retire_userns_sysctls(struct user_namespace *ns) user_namespace 114 kernel/ucount.c static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, struct hlist_head *hashent) user_namespace 125 kernel/ucount.c static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) user_namespace 189 kernel/ucount.c struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, user_namespace 193 kernel/ucount.c struct user_namespace *tns; user_namespace 117 kernel/uid16.c struct user_namespace *user_ns = current_user_ns(); user_namespace 135 kernel/uid16.c struct user_namespace *user_ns = current_user_ns(); user_namespace 27 kernel/user.c struct user_namespace init_user_ns = { user_namespace 28 kernel/user_namespace.c struct user_namespace *ns, int cap_setid, user_namespace 32 kernel/user_namespace.c static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) user_namespace 42 kernel/user_namespace.c static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) user_namespace 71 kernel/user_namespace.c struct user_namespace *ns, *parent_ns = new->user_ns; user_namespace 176 kernel/user_namespace.c struct user_namespace *parent, *ns = user_namespace 177 kernel/user_namespace.c container_of(work, struct user_namespace, work); user_namespace 203 kernel/user_namespace.c void __put_user_ns(struct user_namespace *ns) user_namespace 386 kernel/user_namespace.c kuid_t make_kuid(struct user_namespace *ns, uid_t uid) user_namespace 405 kernel/user_namespace.c uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) user_namespace 430 kernel/user_namespace.c uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid) user_namespace 454 kernel/user_namespace.c kgid_t make_kgid(struct user_namespace *ns, gid_t gid) user_namespace 473 kernel/user_namespace.c gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) user_namespace 497 kernel/user_namespace.c gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) user_namespace 521 kernel/user_namespace.c kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) user_namespace 540 kernel/user_namespace.c projid_t from_kprojid(struct user_namespace *targ, kprojid_t kprojid) user_namespace 565 kernel/user_namespace.c projid_t from_kprojid_munged(struct user_namespace *targ, kprojid_t kprojid) user_namespace 579 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 581 kernel/user_namespace.c struct user_namespace *lower_ns; user_namespace 600 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 602 kernel/user_namespace.c struct user_namespace *lower_ns; user_namespace 621 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 623 kernel/user_namespace.c struct user_namespace *lower_ns; user_namespace 658 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 665 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 672 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 851 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1036 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1037 kernel/user_namespace.c struct user_namespace *seq_ns = seq_user_ns(seq); user_namespace 1053 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1054 kernel/user_namespace.c struct user_namespace *seq_ns = seq_user_ns(seq); user_namespace 1070 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1071 kernel/user_namespace.c struct user_namespace *seq_ns = seq_user_ns(seq); user_namespace 1085 kernel/user_namespace.c struct user_namespace *ns, int cap_setid, user_namespace 1124 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1137 kernel/user_namespace.c struct user_namespace *ns = seq->private; user_namespace 1200 kernel/user_namespace.c bool userns_may_setgroups(const struct user_namespace *ns) user_namespace 1220 kernel/user_namespace.c bool in_userns(const struct user_namespace *ancestor, user_namespace 1221 kernel/user_namespace.c const struct user_namespace *child) user_namespace 1223 kernel/user_namespace.c const struct user_namespace *ns; user_namespace 1229 kernel/user_namespace.c bool current_in_userns(const struct user_namespace *target_ns) user_namespace 1235 kernel/user_namespace.c static inline struct user_namespace *to_user_ns(struct ns_common *ns) user_namespace 1237 kernel/user_namespace.c return container_of(ns, struct user_namespace, ns); user_namespace 1242 kernel/user_namespace.c struct user_namespace *user_ns; user_namespace 1258 kernel/user_namespace.c struct user_namespace *user_ns = to_user_ns(ns); user_namespace 1289 kernel/user_namespace.c struct user_namespace *my_user_ns = current_user_ns(); user_namespace 1290 kernel/user_namespace.c struct user_namespace *owner, *p; user_namespace 1305 kernel/user_namespace.c static struct user_namespace *userns_owner(struct ns_common *ns) user_namespace 1322 kernel/user_namespace.c user_ns_cachep = KMEM_CACHE(user_namespace, SLAB_PANIC); user_namespace 20 kernel/utsname.c static struct ucounts *inc_uts_namespaces(struct user_namespace *ns) user_namespace 45 kernel/utsname.c static struct uts_namespace *clone_uts_ns(struct user_namespace *user_ns, user_namespace 90 kernel/utsname.c struct user_namespace *user_ns, struct uts_namespace *old_ns) user_namespace 157 kernel/utsname.c static struct user_namespace *utsns_owner(struct ns_common *ns) user_namespace 346 lib/kobject_uevent.c struct user_namespace *owning_user_ns = sock_net(usk)->user_ns; user_namespace 318 net/core/net_namespace.c static __net_init int setup_net(struct net *net, struct user_namespace *user_ns) user_namespace 389 net/core/net_namespace.c static struct ucounts *inc_net_namespaces(struct user_namespace *ns) user_namespace 450 net/core/net_namespace.c struct user_namespace *user_ns, struct net *old_net) user_namespace 1371 net/core/net_namespace.c static struct user_namespace *netns_owner(struct ns_common *ns) user_namespace 157 net/core/sock.c struct user_namespace *user_ns, int cap) user_namespace 1196 net/core/sock.c struct user_namespace *current_ns = current_user_ns(); user_namespace 1205 net/core/sock.c struct user_namespace *user_ns = current_user_ns(); user_namespace 115 net/ipv4/inet_diag.c struct user_namespace *user_ns, user_namespace 175 net/ipv4/inet_diag.c struct user_namespace *user_ns, user_namespace 314 net/ipv4/inet_diag.c struct user_namespace *user_ns, user_namespace 400 net/ipv4/inet_diag.c struct user_namespace *user_ns, user_namespace 174 net/ipv4/sysctl_net_ipv4.c struct user_namespace *user_ns = current_user_ns(); user_namespace 65 net/netfilter/nfnetlink_log.c struct user_namespace *peer_user_ns; /* User namespace of the peer process */ user_namespace 155 net/netfilter/nfnetlink_log.c u32 portid, struct user_namespace *user_ns) user_namespace 608 net/netfilter/nfnetlink_log.c struct user_namespace *user_ns = inst->peer_user_ns; user_namespace 853 net/netlink/af_netlink.c struct user_namespace *user_ns, int cap) user_namespace 872 net/netlink/af_netlink.c struct user_namespace *user_ns, int cap) user_namespace 132 net/packet/diag.c struct user_namespace *user_ns, user_namespace 126 net/sctp/diag.c struct user_namespace *user_ns, user_namespace 65 net/smc/smc_diag.c struct user_namespace *user_ns) user_namespace 82 net/smc/smc_diag.c struct user_namespace *user_ns; user_namespace 419 net/sunrpc/auth_gss/auth_gss.c struct user_namespace *userns = cred->user_ns; user_namespace 446 net/sunrpc/auth_gss/auth_gss.c struct user_namespace *userns = cred->user_ns; user_namespace 110 net/sunrpc/auth_unix.c struct user_namespace *userns = clnt->cl_cred ? user_namespace 559 net/sunrpc/svcauth_unix.c struct user_namespace *user_ns = m->file->f_cred->user_ns; user_namespace 800 net/sunrpc/svcauth_unix.c struct user_namespace *userns; user_namespace 81 net/xdp/xsk_diag.c struct user_namespace *user_ns, user_namespace 170 security/apparmor/lsm.c static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, user_namespace 644 security/apparmor/policy.c struct user_namespace *user_ns = current_user_ns(); user_namespace 664 security/apparmor/policy.c struct user_namespace *user_ns = current_user_ns(); user_namespace 65 security/commoncap.c int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, user_namespace 68 security/commoncap.c struct user_namespace *ns = targ_ns; user_namespace 324 security/commoncap.c struct user_namespace *ns; user_namespace 379 security/commoncap.c struct user_namespace *fs_ns; user_namespace 454 security/commoncap.c struct user_namespace *task_ns) user_namespace 483 security/commoncap.c struct user_namespace *task_ns = current_user_ns(), user_namespace 580 security/commoncap.c struct user_namespace *fs_ns; user_namespace 915 security/commoncap.c struct user_namespace *user_ns = dentry->d_sb->s_user_ns; user_namespace 947 security/commoncap.c struct user_namespace *user_ns = dentry->d_sb->s_user_ns; user_namespace 57 security/keys/keyring.c void key_free_user_ns(struct user_namespace *ns) user_namespace 109 security/keys/keyring.c struct user_namespace *ns = current_user_ns(); user_namespace 1141 security/keys/keyring.c struct user_namespace *ns = current_user_ns(); user_namespace 20 security/keys/persistent.c static int key_create_persistent_register(struct user_namespace *ns) user_namespace 40 security/keys/persistent.c static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, user_namespace 73 security/keys/persistent.c static long key_get_persistent(struct user_namespace *ns, kuid_t uid, user_namespace 131 security/keys/persistent.c struct user_namespace *ns = current_user_ns(); user_namespace 66 security/keys/proc.c struct user_namespace *user_ns = seq_user_ns(p); user_namespace 80 security/keys/proc.c struct user_namespace *user_ns = seq_user_ns(p); user_namespace 252 security/keys/proc.c static struct rb_node *__key_user_next(struct user_namespace *user_ns, struct rb_node *n) user_namespace 263 security/keys/proc.c static struct rb_node *key_user_next(struct user_namespace *user_ns, struct rb_node *n) user_namespace 268 security/keys/proc.c static struct rb_node *key_user_first(struct user_namespace *user_ns, struct rb_root *r) user_namespace 38 security/keys/process_keys.c static struct key *get_user_register(struct user_namespace *user_ns) user_namespace 78 security/keys/process_keys.c struct user_namespace *user_ns = current_user_ns(); user_namespace 64 security/safesetid/lsm.c struct user_namespace *ns, user_namespace 725 security/security.c struct user_namespace *ns, user_namespace 2175 security/selinux/hooks.c static int selinux_capable(const struct cred *cred, struct user_namespace *ns,