Commit graph

107 commits

Author SHA1 Message Date
Jenny Ho
1fcea23710 Add permission to read charger online
Bug: 296141243
Change-Id: Ie477983e4647ad24f04dc819e2d89de38d78775c
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-08-16 08:19:39 +00:00
Ilya Matyukhin
dc29ce7753 zumapro: Add sysfs_faceauth_gcma_heap type
Bug: 288156745
Test: build
Change-Id: I009e0721c09886d96a8d071afaf9244305e1a257
2023-08-11 05:32:18 +00:00
Jenny Ho
ad31020715 add permission for dc-mains
Bug: 290542674
Change-Id: I30bb1e796b1863c035b2c4b4baa7695a80a31d60
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-31 16:11:10 +08:00
Jenny Ho
207d448245 Add sepolicy to allow dump battery charger and FG data
W cat     : type=1400 audit(0.0:308): avc:  denied  { read } for  name="registers_dump" dev="sysfs" ino=78205 scontext=u:r:dump_power:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
W cat     : type=1400 audit(0.0:309): avc:  denied  { read } for  name="registers" dev="debugfs" ino=33 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat     : type=1400 audit(0.0:311): avc:  denied  { read } for  name="model_ok" dev="debugfs" ino=26186 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat     : type=1400 audit(0.0:312): avc:  denied  { read } for  name="registers" dev="debugfs" ino=26192 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
W cat     : type=1400 audit(0.0:313): avc:  denied  { read } for  name="debug_registers" dev="debugfs" ino=26193 scontext=u:r:dump_power:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

Bug: 290542674
Change-Id: I7d8fa1efdf9c1c233643089273ddfd786b44ce15
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-19 11:51:34 +00:00
Robin Peng
30ab759177 Sync with device/google/zuma-sepolicy a89fbcc4aa1ae
fix build breakage:
device/google/zumapro-sepolicy/legacy/whitechapel_pro/file.te:4:ERROR 'Duplicate declaration of type' at token ';' on line 104436:
type tcpdump_vendor_data_file, file_type, data_file_type;
type updated_wifi_firmware_data_file, file_type, data_file_type;

Bug: 272725898
Change-Id: Ic17d18409c28760d172a4ee7a5beb6c90016a381
2023-05-01 10:04:38 +00:00
Minchan Kim
bc5690cd84 remove dump_cma.sh
We will introduce it into gs-common

Bug: 276901078
Change-Id: I395e3ca45a3ad4aa346e56fd8746ffc70ae94107
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-11 22:35:22 +00:00
Robin Peng
bff99af2da init zumapro from zuma sha 43d5907677d0f
Bug: 272725898
Change-Id: If35d9efdda9dd3b8d8b24008f0738a0cbbe5bd9b
2023-03-31 14:16:57 +00:00