Skip to content
Snippets Groups Projects
Commit 759c789e authored by Rob Herring's avatar Rob Herring
Browse files

btlinux: Fix sepolicy for split policy (Treble) builds


In full Treble builds, the btlinux HAL fails to build the sepolicy:

neverallow check failed at out/target/product/linaro_x86_64/obj/ETC/plat_sepolicy.cil_intermediates/plat_sepolicy.cil:4518
from system/sepolicy/public/domain.te:673
  (neverallow base_typeattr_55 base_typeattr_56 (file (execute execute_no_trans entrypoint)))
    <root>
    allow at out/target/product/linaro_x86_64/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil:6054
      (allow hal_bluetooth_btlinux hal_bluetooth_btlinux_exec (file (read getattr map execute entrypoint open)))

Test: Build completes successfully
Change-Id: Ibb8dbe7f2ca823c87ae4404c40cdc35656c8e0af
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 01a63882
No related branches found
No related tags found
No related merge requests found
type hal_bluetooth_btlinux, domain;
type hal_bluetooth_btlinux_exec, exec_type, file_type;
type hal_bluetooth_btlinux_exec, exec_type, file_type, vendor_file_type;
hal_server_domain(hal_bluetooth_btlinux, hal_bluetooth)
init_daemon_domain(hal_bluetooth_btlinux)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment