Home
last modified time | relevance | path

Searched refs:semanage_is_prefix (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_utilities.c124 CU_ASSERT_TRUE(semanage_is_prefix(str, pre)); in test_semanage_is_prefix()
125 CU_ASSERT_TRUE(semanage_is_prefix(str, "")); in test_semanage_is_prefix()
126 CU_ASSERT_TRUE(semanage_is_prefix(str, NULL)); in test_semanage_is_prefix()
127 CU_ASSERT_FALSE(semanage_is_prefix(str, not_pre)); in test_semanage_is_prefix()
266 return semanage_is_prefix(str, "#"); in PREDICATE()
/external/selinux/libsemanage/src/
Dutilities.c48 if (semanage_is_prefix(buff, var)) { in semanage_findval()
61 int semanage_is_prefix(const char *str, const char *prefix) in semanage_is_prefix() function
Dutilities.h68 int semanage_is_prefix(const char *str, const char *val) WARN_UNUSED;
Dgenhomedircon.c456 return semanage_is_prefix(string, TEMPLATE_HOME_ROOT); in HOME_ROOT_PRED()
461 return semanage_is_prefix(string, TEMPLATE_HOME_DIR); in HOME_DIR_PRED()