Board tree for Google Tensor G1 devices
Find a file
Ricky Niu 05eb29e217 Add hal_usb_impl permission
Add hal_usb_impl get below permission

allow hal_usb_impl configfs:dir rw_dir_perms;
allow hal_usb_impl configfs:file create_file_perms;

avc denied
02-16 12:05:19.820   788   788 I android.hardwar: type=1400 audit(0.0:4882): avc: denied { search } for name="/" dev="configfs" ino=13419 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:configfs:s0 tclass=dir permissive=1
02-16 12:05:19.820   788   788 I android.hardwar: type=1400 audit(0.0:4883): avc: denied { write } for name="g1" dev="configfs" ino=38003 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:configfs:s0 tclass=dir permissive=1
02-16 12:05:19.820   788   788 I android.hardwar: type=1400 audit(0.0:4884): avc: denied { add_name } for name="UDC" scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:configfs:s0 tclass=dir permissive=1
02-16 12:05:19.820   788   788 I android.hardwar: type=1400 audit(0.0:4885): avc: denied { create } for name="UDC" scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:configfs:s0 tclass=file permissive=1
02-16 12:05:19.820   788   788 I android.hardwar: type=1400 audit(0.0:4886): avc: denied { write } for name="UDC" dev="configfs" ino=106988 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:configfs:s0 tclass=file permissive=1

Bug: 218997592
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I854479cef1a0b8ad518814fb9d20558cf52202e7
2022-02-16 14:27:36 +08:00
ambient Allow exo_app to find Virtual Device manager 2021-10-19 11:20:13 -07:00
bluetooth move bluetooth related types to bluetooth 2021-10-18 11:43:15 +08:00
confirmationui organize confirmationui settings 2021-06-18 12:56:05 +08:00
display Allow HWC to get device_config_surface_flinger_native_boot_prop for adpf flags 2022-01-08 00:00:58 +00:00
edgetpu Grant selinux permission to com.google.edgetpu_vendor_service-V2-ndk.so 2021-11-02 09:06:16 +00:00
health Implement health AIDL HAL. 2022-01-05 23:08:07 -08:00
modem modularize dmd 2021-06-24 14:17:29 +08:00
neuralnetworks modulize hal_neuralnetwork_armnn 2021-06-08 11:17:22 +08:00
pkvm Assign pkvm_enabler to vendor_misc_writer domain 2021-10-08 09:34:22 +00:00
private gs101-sepolicy: Fix avc denials 2021-11-25 14:26:35 +00:00
system_ext Allow boot color propagation 2021-08-13 21:52:50 +00:00
telephony Avoid VTS testDataTypeViolators failure 2021-06-29 07:58:57 +08:00
tracking_denials Move twoshay definitions to hardware/google/pixel-sepolicy/input. 2021-10-26 02:06:20 +00:00
trusty_metricsd reorganize trusty_metricsd settings 2021-06-10 02:54:00 +00:00
usf selinux: Allow sensor HAL to access the display service HAL 2021-12-10 11:00:07 +08:00
whitechapel/vendor/google Add hal_usb_impl permission 2022-02-16 14:27:36 +08:00
gs101-sepolicy.mk Implement health AIDL HAL. 2022-01-05 23:08:07 -08:00
OWNERS Include core policy OWNERS. 2022-01-06 10:17:14 -08:00