Commit graph

5656 commits

Author SHA1 Message Date
Suki Liu
8f3cb77d1c Merge "Update error on ROM 9460470" 2023-01-06 08:31:23 +00:00
kensun
0f5b5efdd1 Wifi: Add sepolicy files for hal_wifi_ext service
This commit adds the sepolicy related files for hal_wifi_ext service.

[   27.714476] type=1400 audit(1670979557.360:29): avc: denied { call } for comm="binder:942_1" scontext=u:r:hal_wifi_ext:s0 tcontext=u:r:grilservice_app:s0:c215,c256,c512,c768 tclass=binder permissive=1
12-14 08:59:17.360   942   942 I binder:942_1: type=1400 audit(0.0:29): avc: denied { call } for scontext=u:r:hal_wifi_ext:s0 tcontext=u:r:grilservice_app:s0:c215,c256,c512,c768 tclass=binder permissive=1

Bug: 262455388
Test: Check no avc_deny on hal_wifi_ext
Change-Id: Ibc48225845b0cd10bbe88527449016daa9ef9eff
2023-01-06 08:06:57 +00:00
Randall Huang
55133b1c0c sepolicy: remove vold tracking_denials.
Move platform-specific vold rule to common folder.

Bug: 264483567
Bug: 264483569
Bug: 264489799
Test: run atest
Change-Id: Idad799d9f536ca18a0c3b5e7eb9d0bc182015e64
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-01-06 14:04:21 +08:00
Oleg Matcovschi
e320769072 bootctrl: enforce synchronous write operation
Bug: 263218204
Bug: 197104397
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: Ifbc612fc40847395ccb751463b1bb15bd3f20657
(cherry picked from commit 354f3c6d2edf302b030ed698bac4c0fd8067f0f4)
2023-01-06 03:37:41 +00:00
sukiliu
18257ad81e Update error on ROM 9460470
Bug: 264483456
Bug: 264483024
Bug: 264600083
Bug: 264483531
Bug: 264606212
Bug: 264600084
Bug: 264483754
Test: SELinuxUncheckedDenialBootTest
Change-Id: I4a281b360783032132179fd9f9b314d0a65d233a
2023-01-06 10:46:28 +08:00
Adam Shih
9fbe949e7c Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 264483456
Bug: 264483024
Bug: 264600083
Bug: 264483531
Bug: 264600052
Bug: 264600084
Bug: 264483754
Test: scanBugreport
Bug: 264600171
Bug: 264600086
Bug: 264600053
Bug: 264599934
Change-Id: Idd111c69fbcebadf941f2a7cb6e0af7c8e24711d
2023-01-06 09:32:22 +08:00
TreeHugger Robot
513f2a6c29 Merge "Set /dev/video12 file permissions for zuma" 2023-01-05 22:19:47 +00:00
Victor Barr
612fabcb9d Support DBA HAL
Previously supported in gs101 only.

Bug: 263394888
Test: Built and ran DBA HAL on Android Device
Change-Id: I67ed862c8f2e9c3c573b5bc27ea49ea0a7e21762
2023-01-05 21:14:31 +00:00
Xu Han
525acba924 Allow camera HAL to call radioExt HAL for desense
Bug: 264204392
Test: selinux log
Change-Id: Iee7f45a649444cc6c95b8094f001645e85eb83ba
2023-01-05 18:54:59 +00:00
Adam Shih
16452851f3 dispatch domains to owner via bugs
Bug: 264484544
Bug: 264489606
Bug: 264489743
Bug: 264489675
Bug: 264489633
Bug: 264489777
Bug: 264489520
Bug: 264489270
Bug: 264489387
Bug: 264489745
Bug: 264489957
Bug: 264489521
Bug: 264490031
Bug: 264489388
Bug: 264489608
Bug: 264489609
Bug: 264489778
Bug: 264489634
Bug: 264489794
Bug: 264489795
Bug: 264489559
Bug: 264489636
Bug: 264489746
Bug: 264490032
Bug: 264489188
Bug: 264489676
Bug: 264489779
Bug: 264489189
Bug: 264489677
Bug: 264489780
Bug: 264489637
Bug: 264490033
Bug: 264489390
Bug: 264489561
Bug: 264489750
Bug: 264489190
Bug: 264490051
Bug: 264489958
Bug: 264489610
Bug: 264489562
Bug: 264489797
Bug: 264489781
Bug: 264490034
Bug: 264489678
Bug: 264490091
Bug: 264490035
Bug: 264490011
Bug: 264490052
Bug: 264489639
Bug: 264489961
Bug: 264490072
Bug: 264490012
Bug: 264489523
Bug: 264489679
Bug: 264490053
Bug: 264489564
Bug: 264489783
Bug: 264490036
Bug: 264490074
Bug: 264490054
Bug: 264489565
Bug: 264490092
Bug: 264490075
Bug: 264489641
Bug: 264490093
Bug: 264489962
Bug: 264489784
Bug: 264489567
Bug: 264490076
Bug: 264489786
Bug: 264490014
Bug: 264489524
Bug: 264490055
Bug: 264489569
Bug: 264489526
Bug: 264489642
Bug: 264489681
Bug: 264489963
Bug: 264489787
Bug: 264490095
Bug: 264489799
Bug: 264490077
Test: boot to home in enforcing mode
Change-Id: I784ee1653800119308c22c85652764a99ca076e4
2023-01-05 13:15:51 +08:00
Adam Shih
c858342332 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 264483752
Bug: 264483024
Bug: 264483531
Bug: 264483532
Bug: 264483567
Bug: 264483670
Bug: 264483151
Bug: 264483152
Bug: 264483352
Bug: 264483568
Bug: 264483753
Bug: 264482981
Bug: 264483754
Bug: 264483456
Bug: 264483787
Test: scanBugreport
Bug: 264483390
Bug: 264482983
Bug: 264483355
Bug: 264483356
Bug: 264483533
Bug: 264483319
Bug: 264483569
Test: scanAvcDeniedLogRightAfterReboot
Bug: 264321380
Bug: 264483357
Change-Id: I39f2a98bbbc8e416b86dd06cc99984acbab97baa
2023-01-05 11:04:42 +08:00
Tim Lin
4548b6eff1 enable combine mode for ECC list
The vendor changed property name for this feature.

Bug: 263329037
Change-Id: I760eb6f99688bc0c886a79e0df492a477fb79a17
Test: make
2023-01-04 12:24:16 +00:00
TreeHugger Robot
10a6384587 Merge "label GPU as same_process_hal" 2023-01-04 06:21:24 +00:00
TreeHugger Robot
95293d9fdd Merge "media: Support 7680x4320 performance points for video decoder" 2023-01-04 05:35:17 +00:00
TreeHugger Robot
e9a315b81a Merge "set necessary domains to permissive" 2023-01-04 05:06:08 +00:00
Adam Shih
92f2edf487 label GPU as same_process_hal
Bug: 261933250
Bug: 261933249
Bug: 261933226
Bug: 261933097
Bug: 261933428
Bug: 261933227
Bug: 260768740
Bug: 260922185
Test: boot to home under enforcing mode
Change-Id: Ied95ce0c1f851785e0848f7af788969f27e45101
2023-01-04 12:10:27 +08:00
Adam Shih
97748d82a9 set necessary domains to permissive
Bug: 254378739
Test: enforce and boot to home
Change-Id: I1dc8f400971e0926dbb2c5c0ac6f0ef99250e067
2023-01-04 11:57:28 +08:00
Adam Shih
00b1421a56 Update error on ROM 9451592
Bug: 264321380
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: Ibdf5acaa5898a728aac202902a1577d05f7d1f25
2023-01-04 10:23:28 +08:00
TreeHugger Robot
bd992ad2b4 Merge "Sepolicy: Pixelstats: Battery history sepolicy" 2023-01-04 02:19:54 +00:00
TreeHugger Robot
9546ecb1ef Merge "Temporary turn off DSP Saliency and ESP." 2023-01-03 17:11:43 +00:00
Jerry Huang
ff31b8e208 media: Support 7680x4320 performance points for video decoder
Bug: 233268217
Test: 8k playback
Change-Id: If0dd51faa7f77cc53002eadef7fc7434d83ceb2b
2023-01-03 20:11:09 +08:00
GOOGLE\huangaustin
578af451b3 [P23][Logging] Update group ID according to P23 codebase
bug: 255454761
Change-Id: If6ac8606edb8790e8424a38173058f17c584b9b5
2023-01-03 14:23:49 +08:00
Leo Liou
ad2150d56a conf: run ufs ffu script after boot complete
The ufs script is to work for ffu preparing. If device's ufs has an
old firmware, the script will copy the valid firmware into disk and
wait for ffu update on bootloader.

Bug: 224464892
Test: full build and test ffu update
Change-Id: I4e9c3766aa79740b8497a8914ad658b8339bd5a9
Signed-off-by: Leo Liou <leoliou@google.com>
2023-01-03 13:04:10 +08:00
TreeHugger Robot
af402f7187 Merge "Update error on ROM 9449178" 2023-01-03 03:06:21 +00:00
TreeHugger Robot
9bb06f3d46 Merge "modem_svc_sit: Grant permission to read vendor_fw_file" 2023-01-03 02:50:17 +00:00
Adam Shih
ef8da88fdc Update error on ROM 9449178
Bug: 264204392
Bug: 264204525
Bug: 264204023
Bug: 264204215
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: Ice60ef7f25f549a990e3c6f006ed528b0b0beedf
2023-01-03 10:03:13 +08:00
Po-Ya Hsu
6191ab4e6b Temporary turn off DSP Saliency and ESP.
Bug: 258342843
Test: DSP are disabled for the features.
Change-Id: If80ebaa83bd320af7e75f6e0a19f4598bda720c1
2022-12-30 15:07:54 +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
Shiyong Li
8b3d01fb4d Merge "Update IDisplay to V8" 2022-12-28 19:06:28 +00:00
Taehwan Kim
d709267930 update media_codecs_aosp_c2.xml
Bug: 238360304
Test: Build PASS
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Id03fecc514f983d57ac42d7d1f7120c654b9df9a
2022-12-28 09:31:14 +00:00
TreeHugger Robot
43b003ec79 Merge "Pixelstats: wireless charging metrics phase out" 2022-12-26 01:54:11 +00: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
Kadyr Narmamatov
3fc1ab6583 modem_svc_sit: Grant permission to read vendor_fw_file
Bug: 260371849
Change-Id: Ia1bb3483c0d1dfcc1fc34b625f8b0eddf099cafb
2022-12-23 04:11:01 +00:00
Timmy Li
a6fd3e2122 Merge "Add hal_camera_default se linux file for zuma" 2022-12-23 03:47:09 +00:00
TreeHugger Robot
42fb73dfeb Merge "Move the sepolicy setting of als_table to the new file." 2022-12-23 02:25:58 +00:00
Adam Shih
d045e5ac5e Update error on ROM 9431928
Bug: 263525155
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: Ie309aafff8d3772f19c28e3d3b049b642bd2c221
2022-12-23 08:19:30 +08: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
Mahesh Sivasubramanian
8070fab2e9 Remove wakelock that prevents suspend/resume
Removing wake locks as crashes around suspend are addressed with revert
of b/210162308.

Change-Id: Ia71d7cfe7748bc7b3cf7f16b18106d23a8a4439d
2022-12-22 11:34:57 -07:00
Denny cylee
b21192f79c Pixelstats: wireless charging metrics phase out
Not set the wireless charging uevent struct field

Bug: 260974677
Test: no abnormal pixelstat logcat found
Change-Id: Id7d67da01348681dcf06f3d48c60d14a44ee49f4
Signed-off-by: Denny cylee <dennycylee@google.com>
2022-12-22 09:50:03 +00:00
Dennycy
79210088c5 Sepolicy: Pixelstats: Battery history sepolicy
avc: denied { read } for comm="pixelstats-vend" name="battery_history"
dev="tmpfs" ino=845 scontext=u:r:pixelstats_vendor:s0 tcontext=u
:object_r:battery_history_device:s0 tclass=chr_file permissive=1

Bug: 260366322
Test: No more battery_history sepolicy found
Change-Id: Ic5d351ed0e42d08b24b5fd0af2d9ebd155086bc9
Signed-off-by: Dennycy <dennycylee@google.com>
2022-12-22 09:21:56 +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
Adam Shih
b3894c8262 Update error on ROM 9428849
Bug: 263429589
Bug: 263429985
Bug: 263429986
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: I7387105916c4cb8ca9c6a6ab0e6d58f6c8d24d0b
2022-12-22 10:02:41 +08:00
Ben Schwartz
46b34c6bda Merge "Revert "Remove wakelock that prevents suspend/resum"" 2022-12-21 23:39:58 +00:00
TreeHugger Robot
2b0228a5a1 Merge "init: adjust memlat parameters" 2022-12-21 16:12:57 +00:00
Kah Xuan Lim
77becc2a8f Merge "Modem ML: create selinux rules" 2022-12-21 10:04:58 +00:00
Kah Xuan Lim
6bc4bdf17b Merge "[Modem ML] Add daemon and ML models config file" 2022-12-21 10:04:58 +00:00
Chung-Kai (Michael) Mei
839546d2e3 Merge "Revert "Fix avc denials for powerhal"" 2022-12-21 08:39:31 +00:00