Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b225019 authored by Myles Watson's avatar Myles Watson
Browse files

Move sepolicy files to system/sepolicy

Test: Toggle Bluetooth, ls -alZ /vendor/bin/hw/*blue*
Change-Id: Ibf72f8bacc2f4975d06f4892e3b33ef6fb08aab7
(cherry picked from commit 771bbe7c623ebfea9cf12e286b484353852f459c)
parent d20768f2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
/sys/class/rfkill/rfkill[0-9]/state    u:object_r:sysfs_bluetooth_writable:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.btlinux    u:object_r:hal_bluetooth_btlinux_exec:s0
+0 −8
Original line number Diff line number Diff line
type hal_bluetooth_btlinux, domain;
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)

allow hal_bluetooth_btlinux self:socket { create bind read write };
allow hal_bluetooth_btlinux self:bluetooth_socket { create bind read write };