Lines Matching defs:selinuxuser
927 struct cil_selinuxuser *selinuxuser = current->data;
933 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum);
941 cil_log(CIL_ERR, "Selinuxuser must be a user: %s\n", user_datum->fqn);
946 selinuxuser->user = (struct cil_user*)user_datum;
948 if (selinuxuser->range_str != NULL) {
949 rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_datum);
953 selinuxuser->range = (struct cil_levelrange*)lvlrange_datum;
956 if (selinuxuser->range->datum.name == NULL) {
957 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args);
962 } else if (selinuxuser->range != NULL) {
963 rc = cil_resolve_levelrange(current, selinuxuser->range, extra_args);