Commit graph

5063 commits

Author SHA1 Message Date
Adam Shih
ce1a20ee01 Merge "Move memory dump to gs-common" 2023-02-14 07:22:11 +00:00
Randall Huang
da5df9cd20 storage: remove dumpstate tracking_denial rule
Bug: 261933169
Test: no scsi avc denial when generating bugreport
Change-Id: Iecf98c248a2ad28d05095b7c91b8695dd92486be
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 07:13:54 +00:00
Wilson Sung
cc76d0f05b Revert "Revert "update error on ROM 9588633""
This reverts commit 9290d7c45b.
Add hal_googlebattery related denied to bug_map

Bug: 268566583
Bug: 268572197
Bug: 268572164
Change-Id: Iabfcfb28f69c118707fb64c34e2882ea0a49a776
2023-02-14 15:05:12 +08:00
Ken Yang
8893d42439 Remove hal_vibrator_default in bug_map
Remove hal_vibrator_default in bug_map due to my incorrect rebase

Bug: 264483356
Change-Id: I25310ad9f6d2c16d90f20969cbfc792f34584c93
Signed-off-by: Ken Yang <yangken@google.com>
2023-02-14 06:56:52 +00:00
Dinesh Yadav
1dbaa50d8c Remove b/264321380 from bug map
This bug was created to track the selinux violations caused when
camera hal tried to access gxp. This has been resolved by ag/21003929

Bug: 264321380
Change-Id: I33458cb7a1a657aba8be62362b62be52d881420f
Signed-off-by: Dinesh Yadav <dkyadav@google.com>
2023-02-14 05:49:34 +00:00
Adam Shih
ebf2357498 Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: I579fb77c2743bae854ff10b1baf895d9df641971
2023-02-14 13:01:52 +08:00
Adam Shih
91274e75c1 Merge "Remove obsolete led dump" 2023-02-14 04:28:34 +00:00
TreeHugger Robot
439199228b Merge "Storage: remove hal_health_storage tracking denials rules" 2023-02-14 04:14:24 +00:00
Randall Huang
ccd8416356 Merge changes from topic "264483567"
* changes:
  storage: fix idle-maint avc denials.
  storage: remove vold tracking_denials rules
2023-02-14 03:07:06 +00:00
Randall Huang
938e0732dd storage: fix idle-maint avc denials.
Bug: 264483567
Test: run idle-maint run
Change-Id: If4e67ce574de8be2709ebdf9ed2d09ad952ac206
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-14 09:29:59 +08:00
Florian Mayer
0a55c41d15 [Zuma] set mte_tcf_preferred to sync for little and mid cores
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.

SYNC is prohibitively slow on the big core.

Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
2023-02-14 00:53:27 +00:00
Xiang Wang
4964215149 Update USB HAL clients to use Thermal stable AIDL
Bug: b/264594715
Test: boot test
Change-Id: I28bd0e7fab1812c7c5f02d2b0337648f23e7f6a1
2023-02-13 14:51:27 -08:00
Jaegeuk Kim
eb83660057 Remove deprecated f2fsstat
Change-Id: If5d1bdc39109150b7d49565760e28771656988f2
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-02-13 12:58:34 -08:00
Doug Zobel
b844ec7548 Merge "Move sysfs_pcie type definition to gs-common" 2023-02-13 16:15:21 +00:00
Darren Hsu
a7dca1b9c1 powerstats: add support of sleep duration in CPUPM data provider
Bug: 263276734
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If873c5d50dd12a54addd14f56aebd48fdee91415
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-02-13 22:47:41 +08:00
George
39733f8622 Remove dontaudit for secure_element
SELinuxUncheckedDenialBootTest
scanAvcDeniedLogRightAfterReboot
no avc denials for secure_element

Bug: 264490093
Bug: 262794969
Bug: 261651095
Bug: 260922187
Bug: 260768672
Test: manually check dumpsys secure_element
Test: run cts -m CtsOmapiTestCases
Test: m atest && atest-dev com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot
Change-Id: Ic06f9d0bf61bc8f30e0f285403a99e2c73384418
2023-02-13 12:36:51 +00:00
Randall Huang
eb3e643acd Storage: remove hal_health_storage tracking denials rules
Bug: 264490032
Test: boot to home
Change-Id: I825b33ba513e135754a969a108d13096a326745a
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-13 17:14:36 +08:00
Ray Chi
cf818217df Fix avc denied for USB property
Bug: 268572164
Test: reboot device and no related logs
Change-Id: I473d0ee022e9a9edc076ef479e2343d11b9ef63d
2023-02-13 17:03:02 +08:00
Randall Huang
2c859d0485 storage: remove vold tracking_denials rules
Bug: 264483567
Test: boot to home
Change-Id: Iad702bf293ea374174034239c81ea3499c837cf0
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-02-13 16:58:39 +08:00
Ken Yang
c6bd3ad477 Merge "WLC: Add hal_wireless_charger policies for systemui" 2023-02-13 08:13:26 +00:00
Adam Shih
176bdd647d Move memory dump to gs-common
Bug: 240530709
Test: adb bugreport
Change-Id: Ie860adb97d7bcebf87cd4280e1d5601163d06074
2023-02-13 14:58:08 +08:00
George Chang
806fda64ba Merge "Update sepolicy for streset and stpreprocess" 2023-02-13 04:05:57 +00:00
Adam Shih
0584dcc4b5 Remove obsolete led dump
Bug: 240530709
Test: adb bugreport
Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
2023-02-13 11:54:12 +08:00
Adam Shih
e3aae9ad7d Merge "extract misc section from dumpstate" 2023-02-13 03:24:47 +00:00
Tim Lin
d0226c5674 Merge "include ril.mk to enable ril extension service" 2023-02-11 02:33:44 +00:00
Andrew Chant
f861570a64 Merge "Revert "update error on ROM 9588633"" 2023-02-11 01:33:03 +00:00
Andrew Chant
9290d7c45b Revert "update error on ROM 9588633"
This reverts commit 8c2f12f39d.

Reason for revert: Broke the zuma build
Bug: 268566583

device/google/zuma-sepolicy/tracking_denials/systemui_app.te:6:ERROR 'unknown type hal_googlebattery' at token ';' on line 100380:
dontaudit systemui_app hal_googlebattery:binder { call };
dontaudit systemui_app default_android_service:service_manager { find };
checkpolicy:  error(s) encountered while parsing configuration

Change-Id: I1286020227bdd73c14833489613237f82573d02f
2023-02-11 01:27:19 +00:00
Nathan Huckleberry
3d2698105e Enable HCTR2 for filenames encryption
Fix prefix-correlation weakness in filenames encryption by switching to
AES-256-HCTR2.  Enabling HCTR2 fixes a longstanding known weakness in
filenames encryption.

Also enable HCTR2 for adoptable storage.  Pixel phones don't have an SD
card slot.  So they can only have adoptable storage through the "Virtual
SD Card", which is for testing only.

Bug: 265046004
Test: Equivalent changes were tested on P21 since I don't have a P23.
Will be tested with storage-qa.

Change-Id: I0666eb07c4b93b1bab4da41e3b4f5019ac38c213
2023-02-11 01:20:01 +00:00
Alan Chen
b3fdc8cd90 Merge "Create RadioExt v1.6." 2023-02-11 00:22:40 +00:00
Doug Zobel
bfd738a84d Move sysfs_pcie type definition to gs-common
SELinux type declaration 'sysfs_pcie' moved to gs-common
for the PCIe dumpstate script.

Test: adb logcat "pixelstats-vendor:D *:S"
Bug: 266561593
Change-Id: Ieae65d9d3f5dbf80f60c1787a384f1aa3adef77c
Signed-off-by: Doug Zobel <zobel@google.com>
2023-02-10 07:37:32 -06:00
George
baa51816de Update sepolicy for streset and stpreprocess
Allow hal_secure_element_st54spi to access nfc device
Allow hal_nfc_default to set se property
Allow vendor_init to set nfc/se property

Bug: 267838462
Test: manually trigger eSE reset without avc error
Change-Id: I0ad6a0432f4fb158186874b318b5832dddce47e6
2023-02-10 21:01:20 +08:00
Wilson Sung
e338667584 vendor_init: Add getattr to sg
Bug: 260522244
Change-Id: I9f447ecb635280048ca0d785f00b6c851a9dedf3
2023-02-10 18:35:47 +08:00
Wilson Sung
6cf7ce5cc0 Allow vendor_init chown gvotables
Bug: 267736435
Bug: 260366195
Change-Id: I0a27a7fb3719d57449fb3d7f4c4d746d09419a75
2023-02-10 18:34:51 +08:00
Wilson Sung
594dee4dc4 Allow vendor_init create link for bootdevice_sysdev
Bug: 263185566
Change-Id: I3a041c8dbd33c538d3971b793c64e4ea7c310190
2023-02-10 16:24:06 +08:00
Adam Shih
6fe621f1a5 extract misc section from dumpstate
Bug: 240530709
Test: adb bugreport
Change-Id: I209101de3cc5c583bbe73fbfc29ace80c4da31d2
2023-02-10 13:21:55 +08:00
Ken Yang
b2585e3a2e WLC: Add hal_wireless_charger policies for systemui
Bug: 268457480
Change-Id: Iadb44efc736cd6bb3c3dfe5283d5fd2a7ce3cf34
Signed-off-by: Ken Yang <yangken@google.com>
2023-02-10 04:40:44 +00:00
Wilson Sung
8c2f12f39d update error on ROM 9588633
Bug: 268566583
Bug: 268572197
Bug: 268572164
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I6eba194f27258a0c2acbcb739c3a69dfa7b77b56
2023-02-10 11:57:07 +08:00
Tom Huang
dfe1f3799b Merge "Add BT hal sepolicy for allowing accessing AoC device node" 2023-02-10 02:23:42 +00:00
Wilson Sung
3c27af4e58 Fix avc error from systemui
Bug: 264266705
Change-Id: Iabc41ea7901ea99646147b133b96dd0297fd376d
2023-02-10 02:40:36 +08:00
timtmlin
69ded45aae include ril.mk to enable ril extension service
Bug: 258184594
Test: make
Change-Id: I353755abc219b665570aac6b29c81acadb5aab3f
2023-02-09 12:38:49 +00:00
kuanyuhuang
3ce317ca5f Add BT hal sepolicy for allowing accessing AoC device node
Allow BT hal to access device and aoc_device.

Test: manual and check avc log
Bug: 265587172
Change-Id: I62e9fb3f0278af7e0365f88bb3723cb47a266b81
2023-02-09 09:34:10 +00:00
TreeHugger Robot
c7edca28e2 Merge changes Ia32c4b01,I4746bca6
* changes:
  Permissive systemui during bringup stage
  label SystemUI app
2023-02-09 07:05:46 +00:00
TreeHugger Robot
a88ab70189 Merge "Revert "support RIL extension service using IRilExt"" 2023-02-09 06:29:17 +00:00
Tim Lin
dbd0de415f Revert "support RIL extension service using IRilExt"
Revert submission 20424805-ril-extension-service

Reason for revert: BB on partner branch

Reverted changes: /q/submissionid:20424805-ril-extension-service

Change-Id: I64dc5c969ad507959f9c6349847c737279603d41
2023-02-09 04:52:27 +00:00
More Kuo
459ad4638f Merge "Bluetooth: remove dontaudit for hal_bluetooth_btlinux" 2023-02-09 04:38:39 +00:00
Welly Hsu
782f4c6e6b Merge "Update ofl_app selinux policy" 2023-02-09 03:47:53 +00:00
Wilson Sung
5af20ce7a5 Permissive systemui during bringup stage
Bug: 264266705
Change-Id: Ia32c4b016aad4f47c437e62069e55990297dad82
2023-02-09 11:44:09 +08:00
Wilson Sung
f88300dc69 label SystemUI app
Bug: 264266705
Bug: 262794428
Change-Id: I4746bca6291d57ee36c0565d15ee5320380e1bc0
2023-02-09 11:33:54 +08:00
Adam Shih
3361456f53 Merge "migrate power section to its own script" 2023-02-09 02:51:48 +00:00
Adam Shih
e4e0bd775f Merge "migrate power section to its own script" 2023-02-09 02:51:48 +00:00