Lines Matching refs:username
178 char *username = NULL; in getseuserbyname() local
195 rc = process_seusers(buffer, &username, &seuser, &level, in getseuserbyname()
205 if (!strcmp(username, name)) in getseuserbyname()
208 if (username[0] == '%' && in getseuserbyname()
210 check_group(&username[1], name, gid)) { in getseuserbyname()
215 !strcmp(username, "__default__")) { in getseuserbyname()
223 free(username); in getseuserbyname()
224 username = NULL; in getseuserbyname()
232 free(username); in getseuserbyname()
268 int getseuser(const char *username, const char *service, in getseuser() argument
279 if (asprintf(&path,"%s/logins/%s", selinux_policy_root(), username) < 0) in getseuser()
330 return (ret ? getseuserbyname(username, r_seuser, r_level) : ret); in getseuser()