Lines Matching defs:kuid
362 * kuid_root_in_ns - check whether the given kuid is root in the given ns
363 * @kuid: the kuid to be tested
366 * Returns true if @kuid represents the root user in @ns, false otherwise.
368 static bool kuid_root_in_ns(kuid_t kuid, struct user_namespace *ns)
371 if (from_kuid(ns, kuid) == 0)
382 kuid_t kuid;
386 kuid = vfsuid_into_kuid(vfsuid);
387 return kuid_root_in_ns(kuid, current_user_ns());
462 /* If this is an idmapped mount shift the kuid. */
465 /* If the root kuid maps to a valid uid in current ns, then return