system/core/init/init.cpp
static bool selinux_is_enforcing(void)
{
++ return false;
if (ALLOW_DISABLE_SELINUX) {
return selinux_status_from_cmdline() == SELINUX_ENFORCING;
}
return true;
}
kernel\arch\arm\boot\dts\rk3126-86v-r2.dts
chosen {
-- bootargs = "vmalloc=496M rockchip_jtag";
++ bootargs = "vmalloc=496M rockchip_jtag androidboot.selinux=permissive";
};