Searched refs:GetErrStr (Results 1 – 7 of 7) sorted by relevance
/base/security/selinux_adapter/interfaces/tools/service_check/ |
D | test.cpp | 110 std::cout << GetErrStr(isHdf ? HdfAddServiceCheck(getpid(), serviceName.c_str()) in TestAddService() 117 std::cout << GetErrStr(isHdf ? HdfAddServiceCheck(getpid(), serName.c_str()) in TestAddService() 126 std::cout << GetErrStr(isHdf ? HdfGetServiceCheck(getpid(), serviceName.c_str()) in TestGetService() 133 std::cout << GetErrStr(isHdf ? HdfGetServiceCheck(getpid(), serName.c_str()) in TestGetService() 142 std::cout << GetErrStr(isHdf ? SELINUX_PERMISSION_DENY in TestGetRemoteService() 149 …std::cout << GetErrStr(isHdf ? SELINUX_PERMISSION_DENY : g_service->GetRemoteServiceCheck(getpid()… in TestGetRemoteService() 156 …std::cout << GetErrStr(isHdf ? HdfListServiceCheck(getpid()) : g_service->ListServiceCheck(getpid(… in TestListService()
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | selinux_error.h | 47 const char *GetErrStr(int errNo);
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_error.cpp | 40 const char *GetErrStr(int errNo) in GetErrStr() function
|
D | hap_restorecon.cpp | 293 …selinux_log(SELINUX_ERROR, "%s on %s: %s\n", GetErrStr(SELINUX_FTS_OPEN_ERROR), paths[0], strerror… in HapFileRecurseRestorecon() 303 … selinux_log(SELINUX_ERROR, "%s on %s\n", GetErrStr(SELINUX_FTS_ELOOP), ftsent->fts_path); in HapFileRecurseRestorecon() 408 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", secontext, GetErrStr(SELINUX_CHECK_CONTEXT_ERROR)); in HapLabelLookup() 464 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", typeContext, GetErrStr(SELINUX_CHECK_CONTEXT_ERROR… in HapDomainSetcontext() 520 … selinux_log(SELINUX_ERROR, "%s %s\n", GetErrStr(SELINUX_SET_CONTEXT_TYPE_ERROR), type.c_str()); in TypeSet()
|
D | service_checker.cpp | 260 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", srcContext.c_str(), GetErrStr(SELINUX_CHECK_CONTEX… in CheckPerm() 273 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", destContext.c_str(), GetErrStr(SELINUX_CHECK_CONTE… in CheckPerm()
|
/base/security/selinux_adapter/interfaces/tools/hap_restorecon/ |
D | test.cpp | 143 std::cout << GetErrStr(res) << std::endl; in main() 151 std::cout << GetErrStr(res) << std::endl; in main()
|
/base/security/selinux_adapter/interfaces/tools/param_check/ |
D | test.cpp | 135 …std::cout << GetErrStr(SetParamCheck(paraName.c_str(), GetParamLabel(paraName.c_str()), info)) << … in TestSetPara()
|