Home
last modified time | relevance | path

Searched refs:roles_arr (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsemanage/src/
Duser_base_record.c136 const char ***roles_arr, in semanage_user_base_get_roles() argument
140 return sepol_user_get_roles(handle->sepolh, user, roles_arr, num_roles); in semanage_user_base_get_roles()
145 const char **roles_arr, in semanage_user_base_set_roles() argument
149 return sepol_user_set_roles(handle->sepolh, user, roles_arr, num_roles); in semanage_user_base_set_roles()
Dseusers_local.c26 const char **roles_arr; in semanage_user_roles() local
33 &roles_arr, in semanage_user_roles()
36 size += (strlen(roles_arr[i]) + 1); in semanage_user_roles()
43 strcpy(roles,roles_arr[0]); in semanage_user_roles()
46 strcat(roles,roles_arr[i]); in semanage_user_roles()
Duser_record.c210 const char ***roles_arr, unsigned int *num_roles) in semanage_user_get_roles() argument
213 return semanage_user_base_get_roles(handle, user->base, roles_arr, in semanage_user_get_roles()
221 const char **roles_arr, unsigned int num_roles) in hidden_def()
224 return semanage_user_base_set_roles(handle, user->base, roles_arr, in hidden_def()
Duser_internal.h126 const char ***roles_arr,
131 const char **roles_arr,
Dsemanageswig_python.i127 const char*** roles_arr,
/external/selinux/libsepol/include/sepol/
Duser_record.h64 const char ***roles_arr,
69 const char **roles_arr, unsigned int num_roles);
/external/selinux/libsemanage/include/semanage/
Duser_record.h73 const char ***roles_arr,
78 const char **roles_arr,
/external/selinux/libsepol/src/
Duser_record.c227 const char **roles_arr, unsigned int num_roles) in hidden_def()
241 tmp_roles[i] = strdup(roles_arr[i]); in hidden_def()
272 const char ***roles_arr, unsigned int *num_roles) in sepol_user_get_roles() argument
284 *roles_arr = tmp_roles; in sepol_user_get_roles()
/external/selinux/libsemanage/tests/
Dtest_user.c351 const char **roles_arr = NULL; in test_user_roles() local
372 CU_ASSERT(semanage_user_get_roles(sh, user, &roles_arr, in test_user_roles()
375 CU_ASSERT_STRING_EQUAL(roles_arr[0], "role_r"); in test_user_roles()
376 CU_ASSERT_STRING_EQUAL(roles_arr[1], "my_role_r"); in test_user_roles()