Wilson Sung
624effa7bb
Remove dump_wlan
...
Bug: 312143882
Test: make selinux_policy
Change-Id: I9e3cabf93c0d28a7d82ab367eff6c7daecf83131
2023-12-06 09:15:36 +00:00
Jason Chiu
4d6d0adb8f
zumapro: move sepolicy related to bootctrl hal to gs-common
...
Bug: 265063384
Change-Id: I0eaa0b798f46a32404c8d7d797b5aeceb12326a0
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 01:35:46 +08:00
Kamal Shafi
83f48c2556
sepolicy: move lwis dev sepolicy to device folder
...
- Remove lwis dev device specific sepolicy from zumapro
Bug: 312869113
Test: build
Change-Id: I12e8e703fb3a58a5be4f4b6dd0ade188cf4d8c0e
2023-11-27 10:09:13 +00:00
Kamal Shafi
daeea509ef
sepolicy: add front camera taotie eeprom sepolicy
...
Add missing sepolicy for front camera eeprom.
Bug: 312849126
Test: build
Change-Id: I032624791c1dc114d4513d633c72b4f415bc7c5f
2023-11-23 06:21:03 +00:00
Wilson Sung
2a66f04eee
Move legacy zuma/file_contexts to vendor
...
Bug: 312143882
Change-Id: I992762f507a49edfcb4f25bf26594bbb03f191a1
2023-11-22 11:34:18 +00:00
Wilson Sung
b880b46c91
Move file_context to vendor
...
Bug: 312143882
Change-Id: Idadeb768371ec170fce8851a381d6ab9e5d31bfc
2023-11-22 08:39:03 +00:00
Donnie Pollitz
6ebd0711a4
Fix SELinux permissions for trusty_userdata partition
...
Bug: 301677815
Test: Trusty storage port tests passing
Change-Id: Ibbcbd4523e31a3c79035fe16bc1bec3ed60205fa
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-11-21 09:15:50 +01:00
Devika Krishnadas
006925c584
Merge "Add Pixel Mapper as a sp-HAL" into main
2023-11-20 18:17:28 +00:00
Devika Krishnadas
ef01242b5b
Add Pixel Mapper as a sp-HAL
...
Bug: 267352318
Change-Id: Ib1f2b6e10ae4a6b590f6be761e23be859ba46e01
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2023-11-16 01:24:03 +00:00
Chien Kun Niu
84ef937a19
hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor
...
Move hal_usb_impl and hal_usb_gadget_impl to right space
Bug: 310816620
Change-Id: I04d3710dd7f4e52b204f537de73d18a1351a6836
Signed-off-by: Chien Kun Niu <rickyniu@google.com>
2023-11-15 17:50:29 +08:00
Ted Wang
16dc4769c4
Add sepolicy for Bluetooth HAL to access uart and lpm related device nodes
...
Bug: 303046044
Test: Manually
Change-Id: I20db519f27c8e59cac0ad326078228c89565550f
2023-10-26 10:06:10 +00:00
Hiroshi Akiyama
65bb6f7c98
Migrate dump_power.sh to cpp for improved speed
...
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ia12b5f4c050a719f994b0f7df8211533d48e0806
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-13 18:01:11 -07:00
Hasan Awais
3ca2aca558
uwb: add permissions for factory uwb calib file
...
needed for copying the factory calib file from persist to
/data/vendor/uwb, along with converting the file to a valid format
for uwb HAL
Equivalent CL: ag/22980180
Bug: 296108382
Bug: 296108391
Test: local build passed
Change-Id: I576d21433e2d0b958ef876bd42c382dd2061796e
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-09-11 17:36:08 +00:00
Jack Wu
a43564d968
fix incorrect max_secondary path
...
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: I198b7117270ef078c698b2c30f479bcb510d6471
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:10:19 +08:00
Wilson Sung
863d41f6c6
Move vendor to legacy/zuma/vendor
...
Bug: 296187211
Change-Id: I28450565c4ee585060387ad988e7efbb1620eaee
2023-09-04 11:07:29 +08:00
Alec Foster
a0a3bf954f
Merge "Add selinux policy for QFP UDFPS." into udc-qpr-dev am: 2ceb44240d
am: adf57ce075
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro-sepolicy/+/24558016
Change-Id: I5eb748142276e85ad6780381f1b7a528550c8eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 06:37:04 +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
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
Martin Liu
f8d4e87b03
Add sepolicies for gcma_camera heaps
...
Bug: 275481134
Test: launch camera
Change-Id: I2efe897826d3c32bb85c815207865c0db557ea9f
Signed-off-by: Martin Liu <liumartin@google.com>
2023-08-21 08:47:16 +00:00
horngchuang
c52abed728
Add sepolicy permission of new camera components
...
Bug: 296775053
Test: Build and test for sensor denials
Change-Id: I53dfbcf47b1750402af7c85f9ff67cb4c25afbd3
2023-08-21 13:07:17 +08:00
Hyunki Koo
e1542f9b76
Add sepolicy for swiftshader
...
Bug: 295365113
Change-Id: Ib122cb4015bb66bdcdd00adffee36b65a46bc322
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
2023-08-16 00:30:28 +00:00
Joerg Wagner
ca2f1c7d86
Prepare for Mali r44p0 UMD update
...
Add selinux rule to allow new V2 interface file alongside of V1 used up to r43p0.
The V1 entry will be removed once the r44p0 UMD update completes.
This decouples small changes from large, potentially intrusive ones in
other repositories.
Bug: 284254900
Change-Id: Ia928f871d8ea1fdbfb963cecb8fc4a99947e443e
2023-07-18 10:10:18 +02:00
Jenny Ho
eb242f21f6
Add sepolicy for max77779fg
...
Bug: 290315763
Change-Id: I71249d99b972f7966f8b1b3a4978d62985f27d49
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-07-07 08:03:46 +00:00
Firman Prayoga
6da1510a72
Merge "zumapro-sepolicy: Update camera device nodes" into udc-qpr-dev
2023-06-27 06:53:45 +00:00
Yixuan Wang
ea65f1e6bd
Add selinux policy for chre vendor data directory
...
Bug: 278114604
Test: on device test
Change-Id: Ic8f0256c43ab3bc7c7bd30484f47e77bb970ce56
2023-06-22 18:18:28 +00:00
Firman Prayoga
0e6e839823
zumapro-sepolicy: Update camera device nodes
...
Bug: 288215624
Test: Boot, set camera mode, no selinux error
Change-Id: I9a636d60a5352d991cd199f7c9bb227554311ef7
2023-06-21 10:46:36 +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
Ankit Goyal
129741a269
Mark video secure devices as default dmabuf heaps
...
Mali driver (and codec HAL as well) require direct access to video
secure dmabuf devices. Mali driver being an SP-HAL cannot explicitly
write blanket rules for all the scontext. So, we piggyback on
dmabuf_system_secure_heap_device to allow all scontext to be able to use
these device nodes.
This is just as secure as dmabuf_system_secure_heap_device in that case.
There is no additional security impact. An app can still use gralloc to
allocate buffers from these heaps and disallowing access to these heaps
to the intended users.
Bug: 278513588
Test: Trusting result of ag/22743596 (no zumapro device yet)
Change-Id: I2fd77e6694cdd4d1e51c9f01f4ae2b9f9670cea0
2023-04-19 19:53:49 +00:00
Minchan Kim
4ce6753500
Merge "remove dump_cma.sh"
2023-04-12 03:25:58 +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
d9e2e6aae9
Sync with device/google/zuma-sepolicy cfa00dfc881e3
...
Bug: 272725898
Change-Id: I9125ed760c0b4c688cf37720f5d4a744f2484be7
2023-04-11 10:30:07 +00:00
Robin Peng
bff99af2da
init zumapro from zuma sha 43d5907677d0f
...
Bug: 272725898
Change-Id: If35d9efdda9dd3b8d8b24008f0738a0cbbe5bd9b
2023-03-31 14:16:57 +00:00