Searched defs:kuid (Results 1 - 2 of 2) sorted by relevance

/kernel/
H A Duser_namespace.c219 * make_kuid - Map a user-namespace uid pair into a kuid.
223 * Maps a user-namespace uid pair into a kernel internal kuid,
224 * and returns that kuid.
239 * from_kuid - Create a uid from a kuid user-namespace pair.
241 * @kuid: The kernel internal uid to start with.
243 * Map @kuid into the user-namespace specified by @targ and
248 * If @kuid has no mapping in @targ (uid_t)-1 is returned.
250 uid_t from_kuid(struct user_namespace *targ, kuid_t kuid) argument
253 return map_id_up(&targ->uid_map, __kuid_val(kuid));
258 * from_kuid_munged - Create a uid from a kuid use
275 from_kuid_munged(struct user_namespace *targ, kuid_t kuid) argument
[all...]
H A Dsys.c529 kuid_t kuid; local
531 kuid = make_kuid(ns, uid);
532 if (!uid_valid(kuid))
542 new->suid = new->uid = kuid;
543 if (!uid_eq(kuid, old->uid)) {
548 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) {
552 new->fsuid = new->euid = kuid;
741 kuid_t kuid; local
746 kuid
[all...]

Completed in 51 milliseconds