Lines Matching refs:is_user
461 uint32_t rid, uid_t *pid, int *is_user) in kidmap_cache_lookup_pidbysid() argument
479 if (result->is_user != UNDEF_ISUSER) { in kidmap_cache_lookup_pidbysid()
480 if (result->is_user && result->uid_ttl > now) { in kidmap_cache_lookup_pidbysid()
482 *is_user = result->is_user; in kidmap_cache_lookup_pidbysid()
484 } else if (!result->is_user && result->gid_ttl > now) { in kidmap_cache_lookup_pidbysid()
486 *is_user = result->is_user; in kidmap_cache_lookup_pidbysid()
599 new->is_user = UNDEF_ISUSER; /* Unknown */ in kidmap_cache_add_sid2uid()
692 new->is_user = UNDEF_ISUSER; /* Unknown */ in kidmap_cache_add_sid2gid()
751 uint32_t rid, uid_t pid, int is_user, int direction) in kidmap_cache_add_sid2pid() argument
772 if (result->is_user == UNDEF_ISUSER) in kidmap_cache_add_sid2pid()
774 result->is_user = is_user; in kidmap_cache_add_sid2pid()
775 if (is_user) { in kidmap_cache_add_sid2pid()
790 new->is_user = is_user; in kidmap_cache_add_sid2pid()
791 if (is_user) { in kidmap_cache_add_sid2pid()
828 if (is_user) { in kidmap_cache_add_sid2pid()
912 if (item->is_user != UNDEF_ISUSER) in kidmap_purge_sid2pid_cache()