sm8150-common: sepolicy: Label (bt|wifi)_mac_generator

Change-Id: I048dddddc474272a7c8a039ea291088661c4cabc
This commit is contained in:
LuK1337 2019-07-07 21:22:29 +02:00
parent 015d7d0fcb
commit bf79bd435e
3 changed files with 10 additions and 0 deletions

4
sepolicy/vendor/bt_mac_generator.te vendored Normal file
View File

@ -0,0 +1,4 @@
type bt_mac_generator, domain;
type bt_mac_generator_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(bt_mac_generator)

View File

@ -3,7 +3,9 @@
/op2(/.*)? u:object_r:op2_file:s0
# Binaries
/(vendor|system/vendor)/bin/bt-mac-generator u:object_r:bt_mac_generator_exec:s0
/(vendor|system/vendor)/bin/vl53l1_daemon_main u:object_r:vl53l1_daemon_main_exec:s0
/(vendor|system/vendor)/bin/wifi-mac-generator u:object_r:wifi_mac_generator_exec:s0
# HALs
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.oneplus_msmnile u:object_r:hal_fingerprint_default_exec:s0

4
sepolicy/vendor/wifi_mac_generator.te vendored Normal file
View File

@ -0,0 +1,4 @@
type wifi_mac_generator, domain;
type wifi_mac_generator_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(wifi_mac_generator)