Home
last modified time | relevance | path

Searched refs:semanage_user_has_role (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_user.c366 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()
/external/selinux/libsemanage/include/semanage/
Duser_record.h68 extern int semanage_user_has_role(const semanage_user_t * user,
/external/selinux/libsemanage/src/
Duser_record.c202 int semanage_user_has_role(const semanage_user_t * user, const char *role) in semanage_user_has_role() function
Dsemanageswig_python_exception.i569 %exception semanage_user_has_role {
Dgenhomedircon.c187 semanage_user_has_role(user, prefix); in prefix_is_homedir_role()