aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2023-08-01 11:58:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-01 11:58:46 +0000
commiteb3bb6c98e789891722794cb63ca3c42c43f2349 (patch)
tree2ccb31bde11ab51e6dcd0b8e1430db0d2aa6497c
parentaceaafd0b4b8a1e869091477192f6e47a6f183fb (diff)
parentaa4e4066d3d1ea128867cf29de12815c3e3bff29 (diff)
downloadselinux-eb3bb6c98e789891722794cb63ca3c42c43f2349.tar.gz
Change seapp partition log to warning am: cde31a9d4d am: 9f06a40585 am: 6d76d34364 am: 0fee82b014 am: aa4e4066d3
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/2685446 Change-Id: Idabe772ac7b28da4fffd2d693710e0e58fe8968c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--libselinux/src/android/android_seapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libselinux/src/android/android_seapp.c b/libselinux/src/android/android_seapp.c
index 7e847a8a..273ac72c 100644
--- a/libselinux/src/android/android_seapp.c
+++ b/libselinux/src/android/android_seapp.c
@@ -917,7 +917,7 @@ int seapp_context_lookup_internal(enum seapp_kind kind,
if (isPreinstalledApp
&& !is_preinstalled_app_partition_valid(cur->partition, partition)) {
// 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",
__FUNCTION__, pkgname, partition, cur->partition);
}