Searched refs:typeContext (Results 1 – 1 of 1) sorted by relevance
502 const char *typeContext = context_str(con); in HapDomainSetcontext() local503 if (typeContext == nullptr) { in HapDomainSetcontext()510 hapDomainInfo.packageName.c_str(), oldTypeContext, typeContext); in HapDomainSetcontext()512 if (security_check_context(typeContext) < 0) { in HapDomainSetcontext()513 …selinux_log(SELINUX_ERROR, "context: %s, %s\n", typeContext, GetErrStr(SELINUX_CHECK_CONTEXT_ERROR… in HapDomainSetcontext()519 if (strcmp(typeContext, oldTypeContext)) { in HapDomainSetcontext()520 if (setcon(typeContext) < 0) { in HapDomainSetcontext()