Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Chant
ba31cb9d42 sepolicy: Allow vendor_init to set vendor_bluetooth_prop
Per DeviceBootTest.SELinuxUncheckedDenialBootTest:

09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.soclog pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.fwsnoop pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.soclog pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.fwsnoop pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'

Test: SELinuxUncheckedDenialBootTest
Bug: 366314934
Flag: EXEMPT bugFix
Change-Id: I1710044f4f79a73818fcb55a97ea6b3d826aea1f
2024-09-17 10:20:19 -07:00
Vic Huang
d7525ba274 Add sepolicy for property persist.vendor.service.bdroid.
avc:  denied  { set } for property=persist.vendor.service.bdroid.bdaddr pid=860 uid=1002 gid=1002 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0

Bug: 359428216
Test: Forest build
Flag: EXEMPT N/A
Change-Id: Iee12fc870810c0919593745487f57eb5fb8fde9c
2024-09-05 07:43:01 +00:00
Vic Huang
378e0dc8e3 L10 sepolicy update for ssr coredump
Update hal_bluetooth_default sepolicy to dump crash info to Android
Subsystem Coredump collection directory

Bug: 279858654
Test: Manual
Change-Id: I14095753c1305f2d6e473adb5ff4ac1e20597902
2023-07-26 02:25:57 +00:00
Ted Wang
72e0e7fa38 Add sepolicy for grilservice
Bug: 282685427
Test: make; manual
Change-Id: Idcdc23d21a383e37541f346434c237c6dc9e366f
2023-06-01 07:59:29 +00:00
Myles Watson
e5a1cde5d4 Lynx: Use common sepolicy for bt_device
Bug: 205758693
Test: build
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: Ic1b7469d64c79285d9d7993befbe173c9bca34aa
2023-01-10 06:44:54 -08:00
Cheney Ni
49a3cfae3a Bluetooth: Allow QTI HAL service to access its logbuffer
Bug: 229691092
Test: Pass file permission check
Change-Id: Ic97bf3b23c452d20e5e32f3bafe2f6b2c5d2be3b
2022-07-20 19:05:20 +00:00
Cheney Ni
45b906133f Bluetooth: Add Sepolicy for QTI default HAL (1/2)
Bug: 202113218
Test: manually
Change-Id: I589b5c1df9fad6541799c1ba370fe2359cc31831
2021-12-16 09:48:33 +08:00