Merge "Sepolicy load: use -N flag to skip neverallow checks" into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-24 22:40:41 +00:00 committed by Android (Google) Code Review
commit c53ae9ed3e

View file

@ -850,7 +850,7 @@ static bool selinux_load_split_policy() {
const char* compile_args[] = {
"/system/bin/secilc",
plat_policy_cil_file,
"-M", "true", "-G",
"-M", "true", "-G", "-N",
// Target the highest policy language version supported by the kernel
"-c", std::to_string(max_policy_version).c_str(),
mapping_file.c_str(),