Commit graph

69 commits

Author SHA1 Message Date
Daniel Okazaki
2fd032d1c7 adding zumapro BMS sepolicy entries am: a2e02afde8 am: 29b703b93d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24576031

Change-Id: I92b898c6f7cd252c213d759d47251ec13af9b5b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:23 +00:00
Zheng Pan
146021afc9 update selinux policy based on new i2c bus id am: 9d124e7ddd am: 2b6f638ebc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24541565

Change-Id: I3505c7eb5285dd590217579dd80ddfe02b79152b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:30:19 +00:00
Daniel Okazaki
a2e02afde8 adding zumapro BMS sepolicy entries
Bug: 296941196
Test: build/flash/adb bugreport
Change-Id: I97185198f0147c5e7bd836b3e1b7e23284c6fe9b
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2023-08-28 19:36:27 +00:00
Alec Foster
8d86f12d0e Add selinux policy for QFP UDFPS.
Bug: 295228935
Test: adb logcat -b events -e avc -d
Test: Fingerprint sensor works.
Change-Id: I22a92d6acdc8b4211bf84f33ab9d7c524f078ebc
2023-08-28 19:36:23 +00:00
Zheng Pan
9d124e7ddd update selinux policy based on new i2c bus id
Bug: 296941196
Test: Check logcat and make sure no permission deny
Change-Id: Ib82ba45c600f940c0253b165fbe2f5676990231f
2023-08-24 22:45:23 +00:00
Wilson Sung
c7a757a4ee Revert "Sync zuma-sepolicy to legacy folder"
This reverts commit 355f0df8fd.

Bug: 297270938
Merged-In: I3b15b35df4bc40716d0aa757a226c5075c7e29ff
Change-Id: I44cbb1a0ea6248fbc5a4dc3c12e96d2b66a32282
2023-08-24 08:47:01 +08:00
Vania Januar
dbe23f1ab5 Revert "Revert^2 commit 2c99c990d3""
This reverts commit 9bd666007d.

Reason for revert: build break b/297170337

Change-Id: I2459b680bb3153d3d7e0f17761b4a825da942bcc
2023-08-23 12:58:42 +00:00
Wilson Sung
9bd666007d Revert^2 commit 2c99c990d3"
This reverts commit 5d2c755531.

Bug: 297129706
Change-Id: Ia8301a139559e8abf119a0964d7a06914aacf55e
2023-08-23 17:57:57 +08:00
Chiachang Wang
5d2c755531 Revert commit 2c99c990d3
This reverts commit 2c99c990d3.

Reason for revert: <Build break>

Change-Id: I030b4f5c59383478355ac2cee8363f45c8101041
2023-08-23 04:16:56 +00:00
Wilson Sung
355f0df8fd Sync zuma-sepolicy to legacy folder
Duplicate from zuma-sepolicy 7f3e2b9

Test: make selinux_policy
Bug: 296187211
Change-Id: If686fbdcf058849479019e8b37bb1d57a0215ed6
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-08-22 15:37:56 +08:00
Spade Lee
31eae0600c Add missing paths for permission
Bug: 296141243
Change-Id: I0905fbcad90a8d4f6cfbc881e73e6912461cf985
Signed-off-by: Spade Lee <spadelee@google.com>
2023-08-21 09:15:01 +00:00
Ilya Matyukhin
dabd49dff7 Merge "zumapro: Add sysfs_faceauth_gcma_heap type" into udc-qpr-dev 2023-08-16 20:38:34 +00:00
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