mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-04 01:20:52 +00:00
Merge "Don't require seinfo for privapps"
This commit is contained in:
commit
4a0df6c499
@ -627,7 +627,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);
|
||||
|
Loading…
Reference in New Issue
Block a user