Commit graph

5072 commits

Author SHA1 Message Date
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
Chung-Kai (Michael) Mei
21426ea726 Revert "Fix avc denials for powerhal"
This reverts commit 92e550d83f.

Reason for revert: here's duplicated setting

Change-Id: I4188deee0010c5dd10501fd9b36ae3876c412322
2022-12-21 08:37:50 +00:00
Ken Yang
a2ae568769 Merge "WLC: Move the wireless_charger to gs-common" 2022-12-21 08:36:15 +00:00
Ken Yang
de0b57a913 Merge "WLC: Remove sysfs_wlc sepolicy" 2022-12-21 08:36:15 +00:00
TreeHugger Robot
aed7870cb2 Merge "Fix avc denials for powerhal" 2022-12-21 07:20:07 +00:00
TreeHugger Robot
e9868935cf Merge "mediacodec_google: updated sepolicy" 2022-12-21 04:58:31 +00:00
Kah Xuan Lim
1965672461 [Modem ML] Add daemon and ML models config file
Bug: 229801539
Change-Id: I70054e19a40beaa0b2c8b2bff3c33e138d896ef8
2022-12-21 02:48:39 +00:00
Chungkai Mei
92e550d83f Fix avc denials for powerhal
Test: bott passed and no avc log after boot
Bug: 260769063
Bug: 261105028
Bug: 260366126
Bug: 261650934
Bug: 262178497
Bug: 262315567
Bug: 262633072
Change-Id: I84e5cdaeb8016bd3f5506a242ee8e3a58052ab07
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-21 02:46:39 +00:00
TreeHugger Robot
f22f38b970 Merge "Update error on ROM 9423786" 2022-12-21 02:40:11 +00:00
Mahesh Sivasubramanian
be61e6854f Revert "Remove wakelock that prevents suspend/resum"
This reverts commit abea026a7e.

Change-Id: Idb79b73cfc08bae16dd8f46c734965c43f7452c0
2022-12-20 19:16:07 -07:00
Mahesh Sivasubramanian
abea026a7e Remove wakelock that prevents suspend/resum
Removing wake locks as crashes around AOC SSR have been addressed.

Change-Id: I2ff948868b2d6540718fff02a4f20a3d7fd74459
2022-12-20 19:10:39 -07:00
Taylor Nelms
8bfdd499b8 Merge "Modify dumpstate to point to counters in sysfs rather than debugfs" 2022-12-21 01:41:40 +00:00
Taylor Nelms
9f72e56d46 Merge "Modify permissions to allow dumpstate process to access decon_counters node" 2022-12-21 01:41:40 +00:00
Adam Shih
f0d101b3e7 Update error on ROM 9423786
Bug: 263304957
Bug: 263305034
Bug: 263305106
Bug: 263305225
Bug: 263305107
Bug: 263305203
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: Iea85cf823b04f73d58ffab84f4b06dce39e80fc9
2022-12-21 08:44:19 +08:00
Kyle Lin
c9738d69e1 init: adjust memlat parameters
Bug: 255398465
Test: build, boot and UiBench
Change-Id: I9ea154dc5d11615a39fe8b5c9939eebd8aa20d8f
2022-12-20 19:54:35 +08:00
Kah Xuan Lim
6ea5e4634a Modem ML: create selinux rules
Bug: 262338662
Change-Id: I899a03a36b542bbf6b9e4b936f279f2d6b4a4c7b
2022-12-20 08:39:35 +00:00
Darren Hsu
8ba4347676 powerstats: add NFC state residency stats
Bug: 262487981
Bug: 262489554
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib5c80601853c1d6080f1bc36b54b62715ea97081
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-12-20 15:53:09 +08:00
TreeHugger Robot
d766110827 Merge "Remove UClamp Threshold setting" 2022-12-20 06:38:58 +00:00
Sateshk Kumar Chinnappan
293813afed Merge "Add selinux rules for platform_apps to access vendor_ims_app udp socket for read/write of RTP packets." 2022-12-20 04:01:42 +00:00
Ruofei Ma
fd79c76365 mediacodec_google: updated sepolicy
Add necessary sepolicy.

Bug: 262633230
Test: no avc denied for mediacodec_google

Change-Id: I0b2a8a12d9d9a6484cf899fabdf213b8c9a279e9
Signed-off-by: Ruofei Ma <ruofeim@google.com>
2022-12-19 19:37:52 -08:00
TreeHugger Robot
2b5846fc4a Merge "restart domains" 2022-12-20 03:28:07 +00:00
Adam Shih
169b9143fb restart domains
Bug: 254378739
Test: boot to home
Change-Id: I7d077b7c5edfb3bee07a05fda05e5076e515c7bf
2022-12-20 08:50:43 +08:00
Adam Shih
2682fc7fc4 update error on ROM 9420981
Bug: 263185135
Bug: 263184738
Bug: 263185136
Bug: 263185161
Bug: 263185431
Bug: 263185547
Bug: 263185432
Bug: 263185565
Bug: 263184920
Bug: 263185566
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: Ia305204ccda294f7ad38edb669c85907485e4db3
2022-12-20 08:38:41 +08:00
Sateshk Kumar Chinnappan
ebe77e31f4 Add selinux rules for platform_apps to access vendor_ims_app udp socket for read/write of RTP packets.
This addresses the following SE policy denial
11-11 20:51:49.388000  2167  2167 I auditd  : type=1400 audit(0.0:11): avc: denied { read write } for comm="nnon.imsservice" path="socket:[111836]" dev="sockfs" ino=111836 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:vendor_ims_app:s0:c228,c256,c512,c768 tclass=udp_socket permissive=0 app=com.shannon.imsservice

Bug: 262320328
Test: Manual
Change-Id: I450f1faebd6c6a67e9f904c880360e75bad3cb40
2022-12-19 19:26:14 +00: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
56d34babe5 Update error on ROM 9412813
Bug: 263049190
Bug: 263048776
Bug: 263048760
Bug: 263048994
Bug: 263049105
Test: scanBugreport
Change-Id: Iae0d5926b61b901ef92a6658ba72ff6e81133ed5
2022-12-19 10:11:42 +08:00
Randall Huang
56caf2c412 zuma: move sg_write_buffer rule to common folder
Bug: 253986334
Change-Id: I1d3c90ca36333f2d2c284eccdb768c1b23240cc8
Signed-off-by: Randall Huang <huangrandall@google.com>
2022-12-18 22:57:30 +08:00
Taylor Nelms
e7f915c920 Modify permissions to allow dumpstate process to access decon_counters node
Bug: 240346564
Test: Build for P23 device with "user" build, check bugreport for decon_counters content
Change-Id: Iac569b53880f903aa6496cb24bdadc6e38975171
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-16 16:50:49 +00:00
Taylor Nelms
16a03fb864 Modify dumpstate to point to counters in sysfs rather than debugfs
Bug: 240346564
Test: Build for P23 device with "user" build, check bugreport for decon_counters content
Change-Id: Icb002977d46a50902a426a11305ab4a2a86dfc98
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-16 16:49:46 +00:00
Jörg Wagner
334f0d8068 Merge "Install Vulkan 1.3 device properties" 2022-12-16 07:16:21 +00:00
Adam Shih
81112ab63a Update error on ROM 9409984
Bug: 262794634
Bug: 262793919
Bug: 262794428
Bug: 262794938
Bug: 262794359
Bug: 262794939
Bug: 262793920
Bug: 262794577
Bug: 262794578
Bug: 262794969
Bug: 262794970
Bug: 262794360
Bug: 262794429
Test: scanAvcDeniedLogRightAfterReboot
Change-Id: Iaa3d4e54ccee70f48a322df6d229d3cae1ba1df6
2022-12-16 09:41:47 +08:00
Bruce Po
490ca451ed Merge "Set acd-audio_rtp_* permissions to "radio" for vowifi" 2022-12-15 17:00:17 +00:00
TreeHugger Robot
3406af9012 Merge "Add BrownoutDetected Events - zuma sepolicy" 2022-12-15 05:29:35 +00:00
TreeHugger Robot
b6d1bcad72 Merge "Add BrownoutDetected Events - device" 2022-12-15 05:29:35 +00:00