Home
last modified time | relevance | path

Searched refs:DEFAULT_CONTEXT (Results 1 – 6 of 6) sorted by relevance

/base/security/selinux_adapter/test/unittest/paraperm_checker/
Dunit_test.cpp25 const static std::string DEFAULT_CONTEXT = "u:object_r:default_param:s0"; variable
67 ASSERT_EQ(DEFAULT_CONTEXT, GetParamLabel(nullptr));
69 ASSERT_EQ(DEFAULT_CONTEXT, GetParamLabel(TEST_NOT_EXIST_PARA_NAME.c_str()));
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_parameter.c27 static const char DEFAULT_CONTEXT[] = "u:object_r:default_param:s0"; variable
85 return DEFAULT_CONTEXT; in GetParamLabel()
Dcontexts_trie.c23 static const char DEFAULT_CONTEXT[] = "u:object_r:default_param:s0"; variable
91 childPtr->prefixLabel = DEFAULT_CONTEXT; in InsertElementToTrie()
92 childPtr->matchLabel = DEFAULT_CONTEXT; in InsertElementToTrie()
141 const char *updateCurLabel = DEFAULT_CONTEXT; in SearchFromParamTrie()
273 tmpRoot->prefixLabel = DEFAULT_CONTEXT; in ReadParamFromSharedMemInit()
274 tmpRoot->matchLabel = DEFAULT_CONTEXT; in ReadParamFromSharedMemInit()
Dservice_checker.cpp44 static const std::string DEFAULT_CONTEXT = "u:object_r:default_service:s0"; variable
220 context = isHdf_ ? DEFAULT_HDF_CONTEXT : DEFAULT_CONTEXT; in GetServiceContext()
Dhap_restorecon.cpp59 static const char *DEFAULT_CONTEXT = "u:object_r:unlabeled:s0"; variable
371 *secontextPtr = strdup(DEFAULT_CONTEXT); in HapLabelLookup()
/base/security/selinux_adapter/test/unittest/parameter_static/
Dunit_test.cpp35 static const char DEFAULT_CONTEXT[] = "u:object_r:default_param:s0"; variable