Skip to content

AOSP Android 9.0 User build fails (sepolicy_neverallows) #224

@LordRafa

Description

@LordRafa

Hello I am trying to compile AOSP Android 9.0 user build but I am getting this error related to sepolicy_neverallows

FAILED: out/target/product/phhgsi_arm64_a/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows /bin/bash -c "(rm -f out/target/product/phhgsi_arm64_a/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows ) && (ASAN_OPTIONS=detect_leaks=0 out/host/linux-x86/bin/checkpolicy -M -c 30 -o out/target/product/phhgsi_arm64_a/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows out/target/product/phhgsi_arm64_a/obj/ETC/sepolicy_neverallows_intermediates/policy.conf )" libsepol.report_assertion_extended_permissions: neverallowxperm on line 15 of device/phh/treble/sepolicy/su.te (or line 38680 of policy.conf) violated by allow phhsu_daemon shell_devpts:chr_file { ioctl };

Any idea how to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions