Searched refs:SetParamCheck (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux/test/unittest/paraperm_checker/ |
D | unit_test.cpp | 189 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/ |
D | param_checker.h | 43 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info);
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | param_checker.c | 116 int SetParamCheck(const char *paraName, const char *destContext, const SrcInfo *info) in SetParamCheck() function
|
/base/security/selinux/interfaces/tools/param_check/ |
D | test.cpp | 132 …std::cout << GetErrStr(SetParamCheck(paraName.c_str(), GetParamLabel(paraName.c_str()), info)) << … in TestSetPara()
|