Change seapp partition log to warning am: cde31a9d4d am: 9f06a40585

Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/2685446

Change-Id: Id5655ac83fba93b9f0244b338cdb50cb8925bb44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Inseob Kim 2023-08-01 09:48:32 +00:00 committed by Automerger Merge Worker
commit 6d76d34364

View file

@ -917,7 +917,7 @@ int seapp_context_lookup_internal(enum seapp_kind kind,
if (isPreinstalledApp if (isPreinstalledApp
&& !is_preinstalled_app_partition_valid(cur->partition, partition)) { && !is_preinstalled_app_partition_valid(cur->partition, partition)) {
// TODO(b/280547417): make this an error after fixing violations // TODO(b/280547417): make this an error after fixing violations
selinux_log(SELINUX_ERROR, selinux_log(SELINUX_WARNING,
"%s: App %s preinstalled to %s can't be labeled with %s sepolicy", "%s: App %s preinstalled to %s can't be labeled with %s sepolicy",
__FUNCTION__, pkgname, partition, cur->partition); __FUNCTION__, pkgname, partition, cur->partition);
} }