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