Hasini Gunasinghe
ab3f430aae
Merge "[Port ag/20645453] Map Rust KeyMint to same SELinux policy as C++"
2023-01-10 19:52:48 +00:00
Hasini Gunasinghe
76c4f20434
[Port ag/20645453] Map Rust KeyMint to same SELinux policy as C++
...
Allow the Rust and C++ implementations of the KeyMint HAL service to be
toggled easily, by mapping them to the same SELinux policy.
Bug: 197891150
Bug: 225036046
Test: VtsAidlKeyMintTargetTest
Change-Id: Ic43985f32aaabb2560ef0b02573a1e587e24fc6a
2023-01-10 01:19:17 +00:00
Ankit Goyal
344fb91207
Allow dmabuf heap access to graphics allocator
...
There is no change in dmabuf heaps from pro, so these use the exact same
SEpolicy rules
Fix: 264489636
Test: Boots to home (with SELinux enforced)
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I58ec8d9558fa76b805c0882cbbb20bfd08aead13
2023-01-09 16:16:28 -08:00
Darren Hsu
8eed3af1eb
sepolicy: remove tracking denials for hal_power_stats
...
Bug: 264489189
Test: Captured bugreport and make sure there is no any avc denails
Test: related to hal_power_stats
Change-Id: Id83022ebaca5a507873bee57363a54baf4a27310
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-01-07 15:04:35 +08:00
Wasb Liu
cefb0a621f
hal_health_default: updated sepolicy
...
Add necessary sepolicy.
Bug: 260366438
Bug: 261933135
Bug: 262178574
Bug: 262794970
Test: no avc denied for hal_health_default
Change-Id: I47043f64931c191063a0b3d5807ef814fa8b787f
Signed-off-by: Wasb Liu <wasbliu@google.com>
2022-12-29 09:47:23 +00:00
Darren Hsu
3ea4ff4944
sepolicy: Allow hal_power_stats to access required sysfs
...
Bug: 260366519
Bug: 260768935
Bug: 260922184
Bug: 261105152
Bug: 261363958
Bug: 261519183
Bug: 261651283
Bug: 261783107
Test: Captured bugreport and make sure there is no any avc denails
Test: related to hal_power_stats
Change-Id: Ic214dc1d8ea920b1bb8f700cd8b75918af3ab046
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-12-29 14:33:17 +08:00
Kris Chen
4963317cad
zuma: fingerprint: fix SELinux denails
...
Bug: 261105164
Test: boot with no relevant error on p23 device
Change-Id: I8d897693685591a042c5febfeca0121375749b8e
2022-12-23 17:43:50 +08:00
Timmy Li
a6fd3e2122
Merge "Add hal_camera_default se linux file for zuma"
2022-12-23 03:47:09 +00:00
Chia-Ching Yu
0dfdbed76e
Move the sepolicy setting of als_table to the new file.
...
Bug: 261111968
Test: There is no als_table avc denied log after reboot.
Change-Id: I41f9472e6a17dd7fce021d916e3e626a81fe79cf
2022-12-23 07:05:57 +08:00
timmyli
8d061f7ebc
Add hal_camera_default se linux file for zuma
...
Add hal_camera_default.te for zuma. Move referenced contexts and
settings to new zuma-sepolicy folders. Add hal_camera_default type declaration
to file.te
Bug: 261651093, 260366029, 263185135
Test: Build and test for hal_camera_default denials
Change-Id: Id0246f9ca8fd399853894e9e41548976ab44ccd0
2022-12-22 21:41:11 +00:00
Ernie Hsu
0faf3d2c7b
Merge "mediacodec_samsung: add sepolicy for mfc codec"
2022-12-22 05:25:29 +00:00
Ernie Hsu
bb7586ac03
mediacodec_samsung: add sepolicy for mfc codec
...
Add necessary sepolicy. Log and reason are added in review comment
move sysfs out from legacy setting
Bug: 262633502
Bug: 263049105
Bug: 262794577
Bug: 262794578
Bug: 262794634
Test: video playback
SELinuxTest#scanBugreport
SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: I240f3fc4672a0d3133699f76a808573e172d23f2
2022-12-22 03:46:04 +00:00
Ken Yang
de0b57a913
Merge "WLC: Remove sysfs_wlc sepolicy"
2022-12-21 08:36:15 +00:00
Adam Shih
169b9143fb
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: I7d077b7c5edfb3bee07a05fda05e5076e515c7bf
2022-12-20 08:50:43 +08:00
Ken Yang
0656a4f24d
WLC: Remove sysfs_wlc sepolicy
...
Bug: 237600973
Change-Id: If0416877447c9f588d69f498f6219297392f4e55
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-19 06:17:39 +00:00
Adam Shih
be72019a1c
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: I6faa55132d52896c5138eb4dcff2bde3557dcf90
2022-12-19 11:01:25 +08:00
Adam Shih
ce44423468
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: I427f1647d5a0a95e750fd59419575cdb7553111e
2022-12-14 11:27:03 +08:00
Adam Shih
4b9a4886f1
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: Ie67dbbdad041d84cddbabf62e98b0a8f2b1eadf2
2022-12-14 09:19:54 +08:00
Adam Shih
126d6a4771
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: Ib6b0d9415b286fc7025df009a3bf7f1105ae4860
2022-12-13 13:38:35 +08:00
Lopy Cheng
7b281b63f2
hal_graphics_composer_default: add sepolicy for display
...
Fix avc denied issues.
Bug: 260769163
Bug: 261105029
Bug: 261933075
Bug: 261933169
Bug: 262178623
Test:
There is no AVC denied log after reboot
Change-Id: I291877a0f70f25a43f49a96a2b280be925bb98c5
2022-12-12 16:12:18 +08:00
George Chang
b5887a9853
Update permissions for st54spi and st33spi
...
Remove st33spi and update st54spi rules
Bug: 261519145
Bug: 261519169
Test: m atest && atest-dev com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: I37736275204ad7bea98ce225121e71545260187c
2022-12-08 15:08:17 +00:00
Adam Shih
1774ec056b
restart domain
...
Bug: 254378739
Test: boot to home
Change-Id: I776bf6fa66605a4c3a888f2362b79fa1e0ec122a
2022-12-08 09:55:57 +08:00
Cyan Hsieh
fe97b2df7a
Revert "restart domain"
...
This reverts commit be714f6fa3
.
Reason for revert: build breakage
Change-Id: I02a16de23cd657bc0cc9494b03f840d0060ac9d1
2022-12-07 04:41:58 +00:00
Adam Shih
be714f6fa3
restart domain
...
Bug: 254378739
Test: boot to home
Change-Id: I63a3e22ccbee16dd3f186e76fa698d2e7454c057
2022-12-07 09:48:15 +08:00
TreeHugger Robot
8ddedfa7fa
Merge "restart domains"
2022-12-06 08:35:59 +00:00
Jenny Ho
ed45434f01
add permission for dump logbuffer
...
Bug: 260756283
Change-Id: If4d885cc53bbb2a4796d638c5f23fbf17a494436
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-12-06 10:50:21 +08:00
Adam Shih
21f4111616
restart domains
...
Bug: 254378739
Test: boot to home
Change-Id: If7264f1a5cdaace0558dbeda986d9c899dd6ac08
2022-12-06 10:34:32 +08:00
Adam Shih
d6f91bdd8c
restart deomains
...
Bug: 254378739
Test: boot to home
Change-Id: I0ba59f5781d50ac4e9d8f501792a74187eda864e
2022-12-05 12:33:05 +08:00
Adam Shih
eedcbe920d
fix missing declaration
...
Bug: 254378739
Test: build pass
Change-Id: Ifb823de88007108a158fe747d1ed1f42547c2120
2022-12-05 09:05:06 +08:00
Adam Shih
f1bdfb4013
restart other domains
...
Bug: 254378739
Test: boot to home
Change-Id: Iddd16a969514e9e74f20793a1b7a02d328d6afbf
2022-11-30 07:59:05 +08:00
timmyli
46ec476bbc
Fix rlsservice selinux denial
...
Allow rlsservice to access vendor_camera_prop
Bug: 260366344
Test: Compiles. Removing rlsservice.te and running specified unit test
does not reproduce bug.
Change-Id: I5b79c2c86ff3f35d1123e5e1b2a1a942f825af5e
2022-11-29 04:14:04 +00:00
Adam Shih
96d88b3f98
move touch settings to gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I881f27b45a412794cb2ea65147e2bf7b8cc708dd
2022-11-28 12:46:26 +08:00
Adam Shih
b718e7685c
restart HALs
...
Bug: 254378739
Test: boot to home
Change-Id: Ib88e410c9b7011231a98f096e8cda8ba7332008d
2022-11-28 10:07:26 +08:00
Adam Shih
8282a5abd2
restart a number of domains
...
Bug: 254378739
Test: boot to home
Change-Id: I2390670d7d885d0e63fd6d1b4a1c9996ac3b6ee5
2022-11-25 14:03:00 +08:00
Stephen Crane
d5f4298494
Merge "Allow Trusty storageproxy property"
2022-11-23 18:45:57 +00:00
Adam Shih
ed05e53cd7
remove permissions that are not relevant to boot
...
Bug: 254378739
Test: boot to home with no relevant error
Change-Id: Ie1bd477aeaf5fc38ce9d5160a7512cdfa17df9e3
2022-11-23 13:45:50 +08:00
Adam Shih
efa62674d4
remove obsolete files
...
Bug: 254378739
Test: boot with no relevant error
Change-Id: I74d3c0f5fa898af75c7760aaba62e4e3a9857f83
2022-11-23 11:06:51 +08:00
Stephen Crane
c5ac946a7a
Allow Trusty storageproxy property
...
Allows the Trusty storageproxyd to set ro.vendor.trusty.storage.fs_ready
when the data filesystems are ready for use, and allows vendor init to
query and wait on this property.
Test: build, flash, test app loading
Bug: 258018785
Change-Id: I5fe83524d74a6f5017011553c6d5ad0e3831751c
2022-11-22 23:27:44 +00:00
Adam Shih
cc516c150a
review proc_vendor_sched
...
Bug: 254378739
Test: boot with no relevant error
Change-Id: If7d7334896f544c7d91b123513ebe437a35373ad
2022-11-21 15:05:49 +08:00
Adam Shih
fcdad37b1b
restart hal_power_default
...
Bug: 254378739
Test: build pass
Change-Id: I86d598a437877ffd65d22b9fe73ffc16d31ea405
2022-11-21 14:39:18 +08:00
TreeHugger Robot
393e46397f
Merge changes I31ee3a76,Ic5954b5d,Ibdcea873
...
* changes:
review partition related operation
review partitions
review fsck and relevant partitions
2022-11-21 04:46:33 +00:00
Adam Shih
91f7e4c62e
review partition related operation
...
Bug: 254378739
Test: boot with no relevant avc error
Change-Id: I31ee3a7654e759fb19d90fa9ec05d493660c3741
2022-11-21 11:17:10 +08:00
Adam Shih
8cc9ed0404
review partitions
...
Bug: 254378739
Test: boot with relevant files labled correctly
Change-Id: Ic5954b5de7976e1864dc77254b547d6c97f9e564
2022-11-21 10:31:06 +08:00
Adam Shih
c37b0484af
review fsck and relevant partitions
...
Bug: 254378739
Test: boot with no relevant error
Change-Id: Ibdcea873e830c534101aaea0f12a1717748dcb48
2022-11-21 10:16:19 +08:00
Adam Shih
f1e1ee50c2
remove panther's touch setting
...
Bug: 256521567
Test: adb bugreport
Change-Id: Ia4019d1c3b7db0ae278cb0133c1530857eac364c
2022-11-18 13:39:07 +08:00
Adam Shih
381ae2dddb
restart device dependent HALs
...
Bug: 254378739
Test: build pass
Change-Id: I06061867773dd20989923b3ce81b58a457f8a929
2022-11-18 11:19:34 +08:00
Adam Shih
926118c0bd
remove logger_app to start over
...
Bug: 254378739
Test: build pass
Change-Id: Iec521b367fcdf48b38c81ee834f5805bd6e28bc8
2022-11-18 11:12:40 +08:00
Adam Shih
8003246da8
remove pixelstats_vendor
...
It has different implementation from gs201
Bug: 254378739
Test: build pass
Change-Id: I3aa23e902ecbb1004ebf2567c55c8a1ba910212c
2022-11-18 09:57:07 +08:00
Adam Shih
3e8c9ba007
Merge "use syna setting from gs-common"
2022-11-17 07:09:28 +00:00
Adam Shih
ac48178051
Merge "review cat_engine_service_app"
2022-11-17 02:59:15 +00:00