aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux')
-rw-r--r--libselinux/src/android/android_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libselinux/src/android/android_platform.c b/libselinux/src/android/android_platform.c
index 83a795a7..7085edd6 100644
--- a/libselinux/src/android/android_platform.c
+++ b/libselinux/src/android/android_platform.c
@@ -762,7 +762,7 @@ int selinux_android_seapp_context_reload(void)
break;
}
- if (cur->name.str &&
+ if (!cur->isPrivApp && cur->name.str &&
(!cur->seinfo || !strcmp(cur->seinfo, "default"))) {
selinux_log(SELINUX_ERROR, "%s: No specific seinfo value specified with name=\"%s\", on line %u: insecure configuration!\n",
seapp_contexts_files[i], cur->name.str, lineno);