diff options
author | Inseob Kim <inseob@google.com> | 2023-08-01 10:54:56 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2023-08-01 01:56:20 +0000 |
commit | cde31a9d4dcaf1f4631154a9b75f22fe12245b22 (patch) | |
tree | 2ccb31bde11ab51e6dcd0b8e1430db0d2aa6497c | |
parent | 51fde66c16fc4ec12ba2da47c43d618751ca9316 (diff) | |
download | selinux-cde31a9d4dcaf1f4631154a9b75f22fe12245b22.tar.gz |
Change seapp partition log to warning
It makes more sense to print it as a warning, because it's not a hard
error for now (until we resolve all violations and create a compliance
test)
Bug: N/A
Test: boot
Change-Id: Iac5deb1f965394ecd4c2acb3711bd07317956236
-rw-r--r-- | libselinux/src/android/android_seapp.c | 2 |
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); } |