Home
last modified time | relevance | path

Searched refs:SELINUX_LOG_ERROR (Results 1 – 2 of 2) sorted by relevance

/base/security/selinux/interfaces/policycoreutils/src/
Dhap_restorecon.cpp149SELINUX_LOG_ERROR(LABEL, "Load hap_contexts fail, no such file: %{public}s", SEHAP_CONTEXTS_FILE.c… in HapContextsLoad()
166 SELINUX_LOG_ERROR(LABEL, "type is empty in contexts file"); in TypeSet()
170SELINUX_LOG_ERROR(LABEL, "%{public}s %{public}s", GetErrStr(SELINUX_SET_CONTEXT_TYPE_ERROR), type.… in TypeSet()
228SELINUX_LOG_ERROR(LABEL, "context: %{public}s, %{public}s", secontext, GetErrStr(SELINUX_CHECK_CON… in HapLabelLookup()
290SELINUX_LOG_ERROR(LABEL, "HapFileRestorecon fail for path: %{public}s, errorNo: %{public}d", in HapFileRestorecon()
311 SELINUX_LOG_ERROR(LABEL, "Cannot get file context handle: %{public}s", strerror(errno)); in HapFileRestorecon()
333 SELINUX_LOG_ERROR(LABEL, "RestoreconSb failed"); in HapFileRestorecon()
343SELINUX_LOG_ERROR(LABEL, "%{public}s on %{public}s: %{public}s", GetErrStr(SELINUX_FTS_OPEN_ERROR)… in HapFileRestorecon()
353SELINUX_LOG_ERROR(LABEL, "%{public}s on %{public}s", GetErrStr(SELINUX_FTS_ELOOP), ftsent->fts_pat… in HapFileRestorecon()
359SELINUX_LOG_ERROR(LABEL, "Read error on %{public}s, errorno: %{public}s", ftsent->fts_path, in HapFileRestorecon()
[all …]
/base/security/selinux/interfaces/policycoreutils/include/
Dselinux_log.h28 #define SELINUX_LOG_ERROR(fmt, ...) HILOG_ERROR(LOG_CORE, fmt, ##__VA_ARGS__) macro
36 #define SELINUX_LOG_ERROR(label, fmt, ...) OHOS::HiviewDFX::HiLog::Error(label, fmt, ##__VA_ARGS__) macro
58 #define SELINUX_LOG_ERROR(fmt, ...) printf("[%s] error: %s: " fmt "\n", LOG_TAG, __func__, ##__VA_A… macro