HomeSort by relevance Sort by last modified time
    Searched refs:num_roles (Results 1 - 4 of 4) sorted by null

  /external/libsepol/src/
user_record.c 22 unsigned int num_roles; member in struct:sepol_user
167 return user->num_roles;
182 sizeof(char *) * (user->num_roles + 1));
187 user->num_roles++;
189 user->roles[user->num_roles - 1] = role_cp;
207 for (i = 0; i < user->num_roles; i++)
217 const char **roles_arr, unsigned int num_roles)
223 if (num_roles > 0) {
226 tmp_roles = (char **)calloc(1, sizeof(char *) * num_roles);
230 for (i = 0; i < num_roles; i++)
    [all...]
users.c 113 unsigned int num_roles = 0; local
133 if (sepol_user_get_roles(handle, user, &roles, &num_roles) < 0)
158 for (i = 0; i < num_roles; i++) {
  /external/libsepol/tests/
test-expander-users.c 31 static void check_user_roles(policydb_t * p, char *user_name, char **role_names, int num_roles)
46 found = calloc(num_roles, sizeof(unsigned char));
51 for (j = 0; j < num_roles; j++) {
60 for (j = 0; j < num_roles; j++) {
  /external/libsepol/include/sepol/
user_record.h 61 unsigned int *num_roles);
65 const char **roles_arr, unsigned int num_roles);

Completed in 42 milliseconds