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.c129 CU_ASSERT_TRUE(semanage_is_prefix(str, pre)); in test_semanage_is_prefix()
130 CU_ASSERT_TRUE(semanage_is_prefix(str, "")); in test_semanage_is_prefix()
131 CU_ASSERT_TRUE(semanage_is_prefix(str, NULL)); in test_semanage_is_prefix()
132 CU_ASSERT_FALSE(semanage_is_prefix(str, not_pre)); in test_semanage_is_prefix()
315 return semanage_is_prefix(str, "#"); in PREDICATE()
/external/selinux/libsemanage/src/
Dutilities.h68 int semanage_is_prefix(const char *str, const char *val) WARN_UNUSED;
Dutilities.c47 if (semanage_is_prefix(buff, var)) { in semanage_findval()
60 int semanage_is_prefix(const char *str, const char *prefix) in semanage_is_prefix() function
Dgenhomedircon.c466 return semanage_is_prefix(string, TEMPLATE_HOME_ROOT); in HOME_ROOT_PRED()
471 return semanage_is_prefix(string, TEMPLATE_HOME_DIR); in HOME_DIR_PRED()