OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:semanage_is_prefix
(Results
1 - 4
of
4
) sorted by null
/external/selinux/libsemanage/src/
utilities.h
68
int
semanage_is_prefix
(const char *str, const char *val) WARN_UNUSED;
utilities.c
48
if (
semanage_is_prefix
(buff, var)) {
61
int
semanage_is_prefix
(const char *str, const char *prefix)
function
genhomedircon.c
456
return
semanage_is_prefix
(string, TEMPLATE_HOME_ROOT);
461
return
semanage_is_prefix
(string, TEMPLATE_HOME_DIR);
/external/selinux/libsemanage/tests/
test_utilities.c
83
if (NULL == CU_add_test(suite, "
semanage_is_prefix
",
124
CU_ASSERT_TRUE(
semanage_is_prefix
(str, pre));
125
CU_ASSERT_TRUE(
semanage_is_prefix
(str, ""));
126
CU_ASSERT_TRUE(
semanage_is_prefix
(str, NULL));
127
CU_ASSERT_FALSE(
semanage_is_prefix
(str, not_pre));
266
return
semanage_is_prefix
(str, "#");
Completed in 660 milliseconds