Jack Wu
8d45937a38
sepolicy: allows pixelstat to access pca file nodes
...
Bug: 262520811
Test: no Permission denied while accessing the file node
Change-Id: I0b50d85ea7002c9ee16f4c34b472b45def7f374e
Signed-off-by: Jack Wu <wjack@google.com>
2023-05-03 09:31:08 +00:00
Taeju Park
2a5fed4ac2
SELinux: allow to access GPU dvfs period change
...
Bug: 258095095
Change-Id: I96a41371d70f32ed42de0597c74e87e192b6b55f
Signed-off-by: Taeju Park <taeju@google.com>
2023-04-27 19:46:17 +00:00
TreeHugger Robot
0c8288d278
Merge "Add memtrack" into udc-d1-dev am: d1c31b785d
am: e23db371db
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22780494
Change-Id: Ida509a8cc023577b896d3df8f60e15f61421cf13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 00:37:20 +00:00
Ankit Goyal
5e4db7517c
Add memtrack
...
Bug: 279108265
Test: dumpsys meminfo
Change-Id: Ib46c89811aa3aa1a5573076f9dc69e7222f56ea4
2023-04-20 23:18:56 -07:00
Minchan Kim
a382f85f96
move vendor_cma_debugfs into gs-common
...
The CMA dump is common feature for pixel devices so move
it to gs-common.
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: I46be7899939da3ae7e9323a0d3ee92f4b3759acf
Signed-off-by: Minchan Kim <minchan@google.com>
(cherry picked from commit afb8d91c5dd0df836c6c8a53963b44e23005efb7)
2023-04-12 13:25:46 +00:00
Minchan Kim
11e5da54ef
Merge "remove dump_cma"
2023-04-12 03:25:58 +00:00
Treehugger Robot
eefef62f70
Merge "Add btbcm wakelock node context" into udc-d1-dev am: bc7379022a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22572817
Change-Id: Ie49fcc84a41c924558050f7d4a283a915bc68b84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 01:40:12 +00:00
Minchan Kim
1b4fae5ce3
remove dump_cma
...
We will introduce it into gs-common
Bug: 276901078
Change-Id: I56a0c67fb09563baacbabf738625bf748ab80378
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-12 01:22:08 +00:00
Treehugger Robot
bc7379022a
Merge "Add btbcm wakelock node context" into udc-d1-dev
2023-04-12 00:32:46 +00:00
Wei Wang
87214b4c2c
Merge "sepolicy: label bci and dsu max frequency" into udc-d1-dev am: 4cd8d2fef9
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22497095
Change-Id: I27ceda44c1a2baeb2450c56cbfed0762b68274ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 17:05:18 +00:00
Wilson Sung
2e19e54fe5
Add btbcm wakelock node context
...
avc: denied { read } for name="wakeup178" dev="sysfs" ino=119871 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0
Bug: 277717252
Test: boot-to-home and no avc error
Change-Id: I82ed45ff6bf28c0cf2237098c54b6ead59c6c284
2023-04-11 11:02:26 +00:00
Ali K. Zadeh
1f56ec32b6
sepolicy: label bci and dsu max frequency
...
Bug: 274005880
Test: powerhint is able to change the bci/dsu max frequency
Change-Id: I8d59450878ba8e349d7f797cc74f0f1cc00c6187
2023-04-10 23:24:55 +00:00
Darren Hsu
bc15f1c8ee
sepolicy: fix VTS failure for system suspend [RESTRICT AUTOMERGE]
...
Bug: 275143652
Test: run vts -m SuspendSepolicyTests
Change-Id: I7cb5fdb18e7b16d98961bfed11da21496e8fa026
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-29 18:46:56 +08:00
Wilson Sung
c705e81227
Merge "Move OTA context out of legacy folder" to master
...
Bug: 275143841
Test: OTA
Change-Id: I4774b7c48c075afc1b02d8c34fded212cd0efffb
2023-03-27 11:46:05 +08:00
Wilson Sung
6acea9d647
Move OTA context out of legacy folder
...
Bug: 275143841
Test: OTA
Change-Id: I4774b7c48c075afc1b02d8c34fded212cd0efffb
2023-03-27 11:44:51 +08:00
TreeHugger Robot
48b6856587
Merge "sepolicy: label odpm paths for system suspend" into udc-d1-dev am: b76a3b6257
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22189946
Change-Id: I16131bd8b5cde5325378a6f22bca3042dd1fdf05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 07:46:35 +00:00
Darren Hsu
8e028f0a03
sepolicy: label odpm paths for system suspend
...
Bug: 272166423
Test: run singleCommand pts -m PtsSELinuxTestCases
Change-Id: I0295cc09cd8eb46b19edcec0d74440e497440423
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-23 14:13:43 +08:00
Chungkai Mei
5bedd6391a
genfs_contexts: fix path for i2c peripheral device [DO NOT MERGE]
...
correct path for i2c devices
Test: without avc denial when booting
Bug: 240641235
Change-Id: Iabb7bdac51c2877a9b254bb287361c58f16a353f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-03-21 01:17:40 +00:00
Alice Sheng
c3288bb774
Merge "Add sepolicy for RA9530 nodes."
2023-03-15 17:57:24 +00:00
TreeHugger Robot
e83033d9f1
Merge "sepolicy: label dsu and bci" into udc-d1-dev am: 35b10634bf
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21981985
Change-Id: I0eb26b8dc03fdef37e8ff4e80d4024ce0485dfab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 03:15:50 +00:00
Quinn Yan
542f3553c7
Merge "Remove the tracking_denials for edgetpu project. Fix the wrong sysfs directory for edgetpu." into udc-dev am: fe4ffed5de
am: b1ebacbd43
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22082013
Change-Id: I17f0e8c9a9d98a0b67a2c3dbdd4fa9c7be427626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 03:02:33 +00:00
TreeHugger Robot
35b10634bf
Merge "sepolicy: label dsu and bci" into udc-d1-dev
2023-03-15 02:28:38 +00:00
Quinn Yan
e825edbf28
Merge "Remove the tracking_denials for edgetpu project. Fix the wrong sysfs directory for edgetpu." into udc-dev am: fe4ffed5de
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/22082013
Change-Id: I3a6e12bb4e7f9e81deb4b0cf9c1d59102370efef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 01:42:42 +00:00
Quinn Yan
fe4ffed5de
Merge "Remove the tracking_denials for edgetpu project. Fix the wrong sysfs directory for edgetpu." into udc-dev
2023-03-15 01:26:24 +00:00
qinyiyan
1f30d7d1f9
Remove the tracking_denials for edgetpu project.
...
Fix the wrong sysfs directory for edgetpu.
Test: No avc denails seen with the selinx=enforcing
Bug: 264489387,264489676
Change-Id: I5d4d249a0b906e3e5d765ed8830fd915db8aa66e
2023-03-14 17:01:19 -07:00
Kyle Lin
ed9bcae5ba
sepolicy: label dsu and bci
...
Bug: 272750446
Bug: 269809407
Bug: 258100337
Test: build and boot
Change-Id: Ica7902851c307fcf71d3ad09befdff6bdcc7a72c
2023-03-14 11:48:23 +08:00
Jeremy DeHaan
09e286f1ca
Merge "Allow HWC to access panel model" into udc-dev am: 3a29cc604b
am: dbe0ec8114
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21776404
Change-Id: Iff8da61c479f876d643a06bee39eeeae3b9c640b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 19:13:19 +00:00
Jeremy DeHaan
83126173b7
Merge "Allow HWC to access panel model" into udc-dev am: 3a29cc604b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21776404
Change-Id: I4c16dc7e470a1f07fafd29996502bdba66dd88ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:18:27 +00:00
Jeremy DeHaan
3a29cc604b
Merge "Allow HWC to access panel model" into udc-dev
2023-03-10 17:48:34 +00:00
Alice Sheng
726291157f
Add sepolicy for RA9530 nodes.
...
Bug: 270440233
Test: No selinux denials related to wireless
Change-Id: I790052270a20c3324c7b9a9f674dc48a7d003c6f
2023-03-09 14:34:13 -08:00
Darren Hsu
080b747bcd
Merge "sepolicy: label more paths for sysfs_odpm" into udc-dev am: 3867f2f21f
am: 2caf9aa778
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21912561
Change-Id: I6c058342009fbeed632fbc03a519ce7fa77bcc43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 08:26:58 +00:00
Darren Hsu
055b52e584
Merge "sepolicy: label more paths for sysfs_odpm" into udc-dev am: 3867f2f21f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21912561
Change-Id: I2e1cde774f763e3f30b0e50484824483d5319c08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 07:54:54 +00:00
Darren Hsu
3867f2f21f
Merge "sepolicy: label more paths for sysfs_odpm" into udc-dev
2023-03-09 07:20:30 +00:00
KRIS CHEN
88da4d5f3e
Merge "Allow fingerprint hal to access display hibernation node" into udc-dev am: 92c67c8422
am: 4309d80318
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21896646
Change-Id: I2f633d4cc5d4792b8689e46a488d767c0e07532a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 04:51:37 +00:00
KRIS CHEN
4309d80318
Merge "Allow fingerprint hal to access display hibernation node" into udc-dev am: 92c67c8422
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21896646
Change-Id: I232a8e1d378731c0a42d42b9450fee002efd15bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 04:21:05 +00:00
Darren Hsu
f3e948a640
sepolicy: label more paths for sysfs_odpm
...
Bug: 272164439
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Iec1be5189d21ff6b2bdfe5056b526f01dc2b35e4
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-09 08:35:42 +08:00
Kris Chen
cc2458e456
Allow fingerprint hal to access display hibernation node
...
Fix the following avc denial:
avc: denied { write } for name="hibernation" dev="sysfs" ino=75339
scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0
Bug: 256947811
Bug: 251239489
Bug: 267271482
Test: Perform udfps osc compensation.
Change-Id: I2cfb1353770734a19e7fcf1a10eb2fc7bf84a4f5
2023-03-08 09:10:24 +00:00
Jeremy DeHaan
f33a422c17
Allow HWC to access panel model
...
Bug: 217472351
Change-Id: I2831eb402d15ceb0962325ce827a1ca3cca00109
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 13:48:53 -08:00
Ernie Hsu
11bbec30bc
Merge "move mediacodec_samsung build config and sepolicy to gs-common" into udc-dev am: 899ad9c1ab
am: fbbc198801
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21553180
Change-Id: I5e45ca88e24d8b4b67dd65326cece156cf38905d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 10:10:31 +00:00
Ernie Hsu
fbbc198801
Merge "move mediacodec_samsung build config and sepolicy to gs-common" into udc-dev am: 899ad9c1ab
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma-sepolicy/+/21553180
Change-Id: I90171c56ccbb152a1cf7fbca77bb1d56311bebaa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 09:19:35 +00:00
Ernie Hsu
899ad9c1ab
Merge "move mediacodec_samsung build config and sepolicy to gs-common" into udc-dev
2023-03-02 08:38:54 +00:00
Hiroshi Akiyama
c0587fbf36
Update sepolicy for BCL IRQ durations to dumpstate
...
Bug: 269752322
Test: adb bugreport
Change-Id: Icd524bd32ed41c3de72f0e1b13428d76e871d203
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
Merged-In: Icd524bd32ed41c3de72f0e1b13428d76e871d203
2023-03-02 06:03:23 +00:00
Hiroshi Akiyama
b45a7465cf
Merge "Update sepolicy for BCL IRQ durations to dumpstate"
2023-03-02 04:21:56 +00:00
Hiroshi Akiyama
a13ce6baf4
Update sepolicy for BCL IRQ durations to dumpstate
...
Bug: 269752322
Test: adb bugreport
Change-Id: Icd524bd32ed41c3de72f0e1b13428d76e871d203
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-03-02 03:04:08 +00:00
Wilson Sung
4e36ecc334
Merge "Add sensor boot-to-home required policy" to master
...
Test: boot-to-home
Fix: 261105336
Change-Id: I2a12d4cf87b00d8dc117ced7062a97016d75275c
2023-03-02 10:42:55 +08:00
Wilson Sung
d0105abe01
Add sensor boot-to-home required policy
...
Test: boot-to-home
Fix: 261105336
Change-Id: I772ff7a294cc5d2448361c164d4e671a41c92c8d
2023-03-02 02:39:15 +00:00
Ernie Hsu
4d90089d25
move mediacodec_samsung build config and sepolicy to gs-common
...
Bug: 263444717
Test: build pass, camera record, youtube
Change-Id: I8fa4d79495b3971429b977a63aed811ef8d62ddb
2023-03-01 10:12:22 +00:00
Kenny Root
076591d107
Add GSA logs policy
...
This adds a label to the sysfs files for GSA logs to allow dumpstate to
read them during a bugreport.
Bug: 271125313
Test: adb shell dumpstate
Change-Id: I8842c0bec972c4cfad15ca689f8e4ae7fa99e179
2023-02-28 18:33:23 -08:00
Adam Shih
650b20d27f
Merge "create cma dump"
2023-02-15 06:28:52 +00:00
Adam Shih
a438fce84f
create cma dump
...
Bug: 240530709
Test: adb bugreport
Change-Id: I1a97098d73106a16c0be675a5d8f58183d5f9531
2023-02-15 12:41:31 +08:00