Lines Matching refs:user_namespace
18 struct user_namespace;
19 extern struct user_namespace init_user_ns;
115 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
116 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
118 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid);
119 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
120 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
121 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
123 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
128 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
138 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid()
143 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid()
148 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid()
153 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) in from_kgid()
158 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged()
166 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) in from_kgid_munged()
174 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
179 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()