Home
last modified time | relevance | path

Searched refs:SetParamCheck (Results 1 – 4 of 4) sorted by relevance

/base/security/selinux/test/unittest/paraperm_checker/
Dunit_test.cpp189 ASSERT_EQ(-SELINUX_PTR_NULL, SetParamCheck(nullptr, &info));
191 ASSERT_EQ(-SELINUX_PTR_NULL, SetParamCheck(TEST_NOT_EXIST_PARA_NAME.c_str(), nullptr));
193 ASSERT_EQ(SELINUX_SUCC, SetParamCheck(TEST_NOT_EXIST_PARA_NAME.c_str(), &info));
201 ASSERT_EQ(SELINUX_SUCC, SetParamCheck(para.c_str(), &info));
219 ASSERT_EQ(SELINUX_SUCC, SetParamCheck(TEST_PARA_NAME.c_str(), &uc));
/base/security/selinux/interfaces/policycoreutils/include/
Dparam_checker.h43 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info);
/base/security/selinux/interfaces/policycoreutils/src/
Dparam_checker.c116 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info) in SetParamCheck() function
/base/security/selinux/interfaces/tools/param_check/
Dtest.cpp132 …std::cout << GetErrStr(SetParamCheck(paraName.c_str(), GetParamLabel(paraName.c_str()), info)) << … in TestSetPara()