• topjohnwu's avatar
    Don't load sepolicy on Huawei devices · e476c18c
    topjohnwu authored
    Of course, the cancer of Android, Huawei, has to do some f**king weird
    modifications to the Linux kernel. Its kernel only accepts 1 single
    policy load in its lifetime, a second load will result in ENOMEM error.
    Since Huawei devices always use their own stupid ramdisk setup and not
    system-as-root, not loading sepolicy is not a concern (for now).
    e476c18c
init.cpp 16.1 KB