Skip to content
Snippets Groups Projects
  • Jiyong Park's avatar
    57e9946f
    Annotate rild with socket_between_core_and_vendor_violators · 57e9946f
    Jiyong Park authored
    Full treble targets cannot have sockets between framework and vendor
    processes. In theory, this should not affect aosp_arm64_ab where only
    framework binaries are built. However, /system/sepolicy has rild.te
    which is now vendor binary and this causes neverallow conflict when
    building aosp_arm64_ab.
    
    So, we just temporarily annotate the rild with
    socket_between_core_and_vendor_violators so that the neverallow conflict
    can be avoided.
    
    Test: choosecombo 1 aosp_arm64_ab userdebug; m -j 80 The build should
    not break.
    
    Change-Id: I260757cde96857cc3f539d5f82ca69c50653f8c7
    57e9946f
    History
    Annotate rild with socket_between_core_and_vendor_violators
    Jiyong Park authored
    Full treble targets cannot have sockets between framework and vendor
    processes. In theory, this should not affect aosp_arm64_ab where only
    framework binaries are built. However, /system/sepolicy has rild.te
    which is now vendor binary and this causes neverallow conflict when
    building aosp_arm64_ab.
    
    So, we just temporarily annotate the rild with
    socket_between_core_and_vendor_violators so that the neverallow conflict
    can be avoided.
    
    Test: choosecombo 1 aosp_arm64_ab userdebug; m -j 80 The build should
    not break.
    
    Change-Id: I260757cde96857cc3f539d5f82ca69c50653f8c7
rild.te 373 B