Lines Matching refs:user_namespace
17 struct user_namespace;
18 extern struct user_namespace init_user_ns;
122 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
123 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
125 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid);
126 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
127 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
128 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
130 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
135 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
142 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid()
147 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid()
152 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid()
157 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) in from_kgid()
162 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged()
170 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) in from_kgid_munged()
178 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
183 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()