Searched refs:semanage_is_prefix (Results 1 – 4 of 4) sorted by relevance
/external/selinux/libsemanage/tests/ |
D | test_utilities.c | 129 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/ |
D | utilities.h | 68 int semanage_is_prefix(const char *str, const char *val) WARN_UNUSED;
|
D | utilities.c | 47 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
|
D | genhomedircon.c | 466 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()
|