Board tree for Google Tensor G3 devices
Find a file
Chien Kun Niu 28cc58257f usb: allow hal_usb_gadget_impl sysfs_batteryinfo permission
Allow hal_usb_gadget_imple sysfs_batteryinfo r_dir_perms and rw_file_perms

[    8.237410] [  T379] type=1400 audit(1678784127.396:4): avc: denied { search } for comm="HwBinder:762_1" name="power_supply" dev="sysfs" ino=73783 scontext=u:r:hal_usb_gadget_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=1
[    8.237556] [  T379] type=1400 audit(1678784127.396:5): avc: denied { read } for comm="HwBinder:762_1" name="usb_type" dev="sysfs" ino=73797 scontext=u:r:hal_usb_gadget_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
[    8.237584] [  T379] type=1400 audit(1678784127.396:6): avc: denied { open } for comm="HwBinder:762_1" path="/sys/devices/platform/10cb0000.hsi2c/i2c-8/8-0025/power_supply/usb/usb_type" dev="sysfs" ino=73797 scontext=u:r:hal_usb_gadget_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
[    8.237603] [  T379] type=1400 audit(1678784127.396:7): avc: denied { getattr } for comm="HwBinder:762_1" path="/sys/devices/platform/10cb0000.hsi2c/i2c-8/8-0025/power_supply/usb/usb_type" dev="sysfs" ino=73797 scontext=u:r:hal_usb_gadget_impl:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1

Bug: 272166827
Test: Check avc denied log
Change-Id: Iecbf6ff712924b60ce186b75a76cf25f3b48e72d
2023-03-15 19:17:14 +08:00
legacy Remove firmware as same_process_hal_file 2023-03-07 05:01:16 +00:00
private sepolicy: label required wakeup nodes for system suspend 2023-02-07 10:12:30 +08:00
radio Merge "SSRestarDetector: modify the SELinux policy to allow access files owned by system for Zuma." into udc-dev am: 6eb86755a6 2023-03-14 04:47:21 +00:00
system_ext/private zuma: fingerprint: fix SELinux denails 2022-12-23 17:43:50 +08:00
tracking_denials Merge "Enforce isolated_app and untrusted_app" into udc-d1-dev 2023-03-15 06:03:04 +00:00
vendor usb: allow hal_usb_gadget_impl sysfs_batteryinfo permission 2023-03-15 19:17:14 +08:00
widevine Branch zuma from gs201 2022-04-19 14:10:58 +08:00
bug_map Update error on ROM 9558720 2023-02-07 11:29:45 +08:00
OWNERS Branch zuma from gs201 2022-04-19 14:10:58 +08:00
zuma-sepolicy.mk Allow HWC to access panel model 2023-03-03 13:48:53 -08:00