Searched refs:semanage_user_has_role (Results 1 – 5 of 5) sorted by relevance
366 CU_ASSERT(semanage_user_has_role(user, "role_r")); in test_user_roles()367 CU_ASSERT(!semanage_user_has_role(user, "my_role_r")); in test_user_roles()381 CU_ASSERT(semanage_user_has_role(user, "new_role_r")); in test_user_roles()382 CU_ASSERT(semanage_user_has_role(user, "new_my_role_r")); in test_user_roles()384 CU_ASSERT(!semanage_user_has_role(user, "role_r")); in test_user_roles()385 CU_ASSERT(!semanage_user_has_role(user, "my_role_r")); in test_user_roles()
68 extern int semanage_user_has_role(const semanage_user_t * user,
202 int semanage_user_has_role(const semanage_user_t * user, const char *role) in semanage_user_has_role() function
569 %exception semanage_user_has_role {
187 semanage_user_has_role(user, prefix); in prefix_is_homedir_role()