Michael Ayoubi
ea0561e344
Merge "Allow euiccpixel_app to get dck_prop" into sc-v2-dev am: 21c2c3f145
am: f94f426c9e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15795866
Change-Id: Id64d5c0d45c32838a54d33ef81f8b4b2019dd39f
2021-10-20 01:06:23 +00:00
Michael Ayoubi
f94f426c9e
Merge "Allow euiccpixel_app to get dck_prop" into sc-v2-dev am: 21c2c3f145
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15795866
Change-Id: I18da0736804df2e43fab9d938e758d4cc480d9eb
2021-10-20 00:48:48 +00:00
Michael Ayoubi
21c2c3f145
Merge "Allow euiccpixel_app to get dck_prop" into sc-v2-dev
2021-10-20 00:32:56 +00:00
jintinglin
936079ad1c
Allow modem app to read the battery info
...
Test: flash the forrest build, MDS can read the info file
Bug: 203478533
Change-Id: I9985dd2731a43445dd653e226fd2939ca355cda4
2021-10-19 03:22:46 +00:00
Adam Shih
d50db9e2e7
Merge "move bluetooth related types to bluetooth"
2021-10-19 01:07:50 +00:00
Adam Shih
5c28519e40
move bluetooth related types to bluetooth
...
Bug: 202790744
Test: boot with bluetooth hal started
Change-Id: I615d4b13262af2bc2c044914e595a7c2085999d2
2021-10-18 11:43:15 +08:00
Bart Van Assche
3a1c10bb76
Stop using the bdev_type and sysfs_block_type SELinux attributes
...
Stop using these attributes since these will be removed soon. This
commit reverts 37b5741301
("Add the 'bdev_type' attribute to all block
device types").
Bug: 202520796
Test: Untested.
Change-Id: I00f10d1fd164b6ca01ecd5cffd2012acfc05eeca
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-10-15 14:20:18 -07:00
Adam Shih
17881f3a38
reorganize pixelstats_vendor
...
Bug: 202462997
Test: boot with pixelstats_vendor started
Change-Id: I8582ac4e83720768ee7992d41bdac0798da892d9
2021-10-08 11:06:49 +08:00
Max Kogan
61792ec645
Merge "sepolicy: gs101: allow dumpstate to access AoC stats" into sc-qpr1-dev am: 2a166c0eb5
am: 49a05309af
am: f2d985cc54
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15900366
Change-Id: Ib3f29fbb54a6af7ba033cbb756e34c6726caa6bb
2021-10-04 18:57:11 +00:00
Max Kogan
f2d985cc54
Merge "sepolicy: gs101: allow dumpstate to access AoC stats" into sc-qpr1-dev am: 2a166c0eb5
am: 49a05309af
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15900366
Change-Id: I5cc1bababdf50d88df5e511285783d52dd68f4c2
2021-10-04 18:24:27 +00:00
Max Kogan
584abcc50c
Merge "sepolicy: gs101: allow dumpstate to access AoC stats" into sc-qpr1-dev am: 2a166c0eb5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15900366
Change-Id: I72aaf0f773f9fd640a56a1b684cfea012efeabb8
2021-10-04 18:15:20 +00:00
Max Kogan
49a05309af
Merge "sepolicy: gs101: allow dumpstate to access AoC stats" into sc-qpr1-dev am: 2a166c0eb5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15900366
Change-Id: I71ca6648ff0305c5142047c75eeda8e7d41cb2b6
2021-10-04 18:15:19 +00:00
Max Kogan
2a166c0eb5
Merge "sepolicy: gs101: allow dumpstate to access AoC stats" into sc-qpr1-dev
2021-10-04 18:04:01 +00:00
George Lee
ad5faa2933
Merge "power_hal: add bcl file permission" into sc-qpr1-dev am: 9d3965da4f
am: 6613966d5d
am: e0b6a83d6f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905927
Change-Id: I8bd36e4c7dab55b0b4e7424112be29b6ef7ffdf1
2021-10-04 17:37:12 +00:00
George Lee
e0b6a83d6f
Merge "power_hal: add bcl file permission" into sc-qpr1-dev am: 9d3965da4f
am: 6613966d5d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905927
Change-Id: I26351c1346487603a89f80b612985481bfcf5b3b
2021-10-04 17:21:05 +00:00
George Lee
0ab239e045
Merge "power_hal: add bcl file permission" into sc-qpr1-dev am: 9d3965da4f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905927
Change-Id: Idf99714202d32825ff0b04843e1688e42cf6635a
2021-10-04 17:11:49 +00:00
George Lee
6613966d5d
Merge "power_hal: add bcl file permission" into sc-qpr1-dev am: 9d3965da4f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905927
Change-Id: Ic3e85e9bb8b4ac9139b6c9606edcc3522da818ee
2021-10-04 17:11:49 +00:00
George Lee
9d3965da4f
Merge "power_hal: add bcl file permission" into sc-qpr1-dev
2021-10-04 16:54:14 +00:00
Philip Quinn
ac931238bf
Merge "Move twoshay definitions to hardware/google/pixel-sepolicy/input."
2021-09-30 17:23:42 +00:00
Edwin Tung
ffe990fd82
Merge "gps: add sepolicy to allow gps access pps gpio" into sc-qpr1-dev am: 6c249e4a9f
am: 14719fc742
am: 2200881a2b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15897560
Change-Id: I627aac1ebcb4cab000b40aa9a5d5c715d9188e0d
2021-09-30 14:50:55 +00:00
Edwin Tung
2200881a2b
Merge "gps: add sepolicy to allow gps access pps gpio" into sc-qpr1-dev am: 6c249e4a9f
am: 14719fc742
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15897560
Change-Id: I1a32ed0832220518af95fdef054f7096ba718d8c
2021-09-30 14:36:37 +00:00
Edwin Tung
0a91edb9b7
Merge "gps: add sepolicy to allow gps access pps gpio" into sc-qpr1-dev am: 6c249e4a9f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15897560
Change-Id: If95d3e18d1da32b13246d0897d998935eb37c774
2021-09-30 14:26:41 +00:00
Edwin Tung
14719fc742
Merge "gps: add sepolicy to allow gps access pps gpio" into sc-qpr1-dev am: 6c249e4a9f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15897560
Change-Id: I327b8257a1c929c94a4adc02037488bdb547d642
2021-09-30 14:26:41 +00:00
Edwin Tung
6c249e4a9f
Merge "gps: add sepolicy to allow gps access pps gpio" into sc-qpr1-dev
2021-09-30 14:11:49 +00:00
George Chang
8f3fb5c47f
Update SecureElement Sepolicy
...
Add rules for sysfs_st33spi
Separate hal_secure_element_st54spi and st33spi form default
Bug: 193417907
Test: VtsHalSecureElementV1_2TargetTest,
VtsHalSecureElementV1_1TargetTest,
VtsHalSecureElementV1_0TargetTest,
CtsOmapiTestCases
Change-Id: I444af2e38fc120d173445bce48b7e4d381201a91
2021-09-30 17:41:32 +08:00
Edwin Tung
4d6a7023e1
gps: add sepolicy to allow gps access pps gpio
...
Bug: 175086879
Test: no avc deny
Change-Id: I960940d7223c25732021ff4d92ae72255c044291
2021-09-30 12:41:17 +08:00
Philip Quinn
d5ac0ac3ce
Move twoshay definitions to hardware/google/pixel-sepolicy/input.
...
Bug: 187654303
Test: twoshay works on R4, B3, P7
Change-Id: I2cada463fcbfd3b52230430b12b091a655e2abbb
2021-09-28 20:11:33 +00:00
TreeHugger Robot
abb6cd5910
Merge "Using dontaudit to fix the avc on boot test"
2021-09-28 05:46:10 +00:00
Ted Lin
951ce82739
Using dontaudit to fix the avc on boot test
...
avc: denied { search } for comm="kworker/6:2" name="google_battery" dev="debugfs" ino=32648 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_battery_debugfs:s0 tclass=dir permissive=1
Bug:200739262
Test: Check bugreport
Change-Id: I50a96bab88f564fef0eda9a23bb77dc6ffed357f
Signed-off-by: Ted Lin <tedlin@google.com>
2021-09-28 03:21:38 +00:00
Erik Staats
c57b0bdb55
Allow the sensor HAL to access raw HID devices. am: d60ebc5327
am: 35b6d77e0c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15847652
Change-Id: I9bb49fa27647423d27a4d8cb5444412b5220930c
2021-09-27 19:06:50 +00:00
Erik Staats
35b6d77e0c
Allow the sensor HAL to access raw HID devices. am: d60ebc5327
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15847652
Change-Id: I31d13e1a04c7280706e52caea4f1c34a28b5d0e7
2021-09-27 18:45:23 +00:00
Erik Staats
d60ebc5327
Allow the sensor HAL to access raw HID devices.
...
Bug: 195964858
Test: Paired a Sony PS4 controller and verified that it's discovered by
the dynamic sensor HAL.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15847652 .
Change-Id: Ic0bdd711d066a9793eba305102e9a850e3973856
2021-09-27 18:34:30 +00:00
Jenny Ho
948eeb2de5
sepolicy: add rule for new debug file node am: c8651e514c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: I459d1f82f9680d87a2533568259cd54c11233d5f
2021-09-27 15:57:26 +00:00
Erik Staats
509fb93a76
Allow the sensor HAL to access dynamic sensor properties. am: e42a4ed3be
am: cb725e413b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905607
Change-Id: Icebeadf358ecb4cc6a14674b52a8fb0ff5179042
2021-09-24 18:05:32 +00:00
Erik Staats
cb725e413b
Allow the sensor HAL to access dynamic sensor properties. am: e42a4ed3be
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15905607
Change-Id: I4d16e83741afa94aec87bdf19d412d8d7e53f91a
2021-09-24 17:46:31 +00:00
George Lee
2a4bce5b31
power_hal: add bcl file permission
...
Bug: 201002339
Test: Local test and ensure proper ratio written via PowerHAL
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ib0a3a5401312403ce870b9c4a4ca971f05c253e4
2021-09-24 16:10:53 +00:00
Erik Staats
e42a4ed3be
Allow the sensor HAL to access dynamic sensor properties.
...
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list and that
no SELinux violations occur on sc-v2-dev and master.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15905607 .
Change-Id: I2f1c05ec0d840f6ebae1e5356f668b3f9431fd25
2021-09-24 05:53:35 -07:00
Max Kogan
b92bc5f51c
sepolicy: gs101: allow dumpstate to access AoC stats
...
Add AoC DRAM votes to bugreports.
Bug: 198203507
Change-Id: I77addf15709fceb70514d552b9fa8553cb129a7c
2021-09-23 17:52:51 -07:00
Jenny Ho
c8651e514c
sepolicy: add rule for new debug file node
...
W dumpstate@1.1-s: type=1400 audit(0.0:7): avc: denied { read } for name="logbuffer_maxfg_monitor" dev="tmpfs" ino=500 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
Bug: 196755019
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Merged-In: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
Change-Id: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
2021-09-23 23:29:29 +00:00
TreeHugger Robot
b608691d92
Merge "Add Context Hub AIDL to gs101 sepolicy"
2021-09-23 17:14:54 +00:00
Arthur Ishiguro
2bc80fd0e7
Add Context Hub AIDL to gs101 sepolicy
...
Bug: 194285834
Test: None
Change-Id: I8f9ef02c51d3f06bbfa94e9ce006cd2a0ee59c73
2021-09-23 08:16:01 -07:00
Erik Staats
2f3c410332
Revert "Allow the sensor HAL to access dynamic sensor properties." am: aef1a206a7
am: f66955e015
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15886140
Change-Id: I9ff54bc3528ad381e8b871f8fccdf1579e4dac43
2021-09-22 18:28:17 +00:00
Erik Staats
f66955e015
Revert "Allow the sensor HAL to access dynamic sensor properties." am: aef1a206a7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15886140
Change-Id: I8fa160db43cbe237c73cb103e6e212e1aa0df7a0
2021-09-22 18:11:29 +00:00
Erik Staats
aef1a206a7
Revert "Allow the sensor HAL to access dynamic sensor properties."
...
Revert "dynamic_sensor: Add sensor manager init to sub-HAL 2.1."
Revert submission 15874906-bug_195964858.2
Reason for revert: b/200815351
Reverted Changes:
I76a60f7fb:Allow the sensor HAL to access dynamic sensor prop...
I5d587dc46:dynamic_sensor: Add sensor manager init to sub-HAL...
Change-Id: Ib29649b058ec6f329958e1dfcba0c2e35ea79306
2021-09-22 17:53:58 +00:00
Erik Staats
0489fa3d2a
Allow the sensor HAL to access dynamic sensor properties. am: fba4a09331
am: 9cadbdc347
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15874927
Change-Id: I252e8f01842ba5929dba7d8465140170e2a3f177
2021-09-22 12:58:02 +00:00
Erik Staats
9cadbdc347
Allow the sensor HAL to access dynamic sensor properties. am: fba4a09331
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15874927
Change-Id: I9022c4d8e270af3a0d369692a6996dd046c732c4
2021-09-22 12:40:34 +00:00
Erik Staats
fba4a09331
Allow the sensor HAL to access dynamic sensor properties.
...
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list and that
no SELinux violations occur.
Test: See details in testing done comment in
https://googleplex-android-review.git.corp.google.com/15874927 .
Change-Id: I76a60f7fbd113059156ccaea2c4f98580cb0836a
2021-09-20 16:53:16 -07:00
TreeHugger Robot
3b65e6f197
Merge "Split bluetooth sepolicy file to avoid conflict"
2021-09-17 08:46:42 +00:00
Adam Shih
22ed933f97
label extcon files
...
Bug: 199987074
Test: boot with no relevant errors
Change-Id: Idd26d8675c332043b1066e3eba1706527254eb03
2021-09-16 10:02:11 +08:00
Patty
9795c12e8f
Split bluetooth sepolicy file to avoid conflict
...
- Move bluetooth related config to bluetooth folder
Bug: 196308076
Test: make; boot with service btlinux started
Change-Id: I8d40697f20a916fc154f0b60851abecd1deadc0d
2021-09-15 10:50:39 +08:00