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
0970321dcb
[automerger skipped] sepolicy: add rule for new debug file node am: c8651e514c
-s ours am: a592fb52c3
-s ours am: 59ec413953
-s ours
...
am skip reason: Merged-In I0ddf68d5e15fe8d77d8d61287f65621c14024f46 with SHA-1 17e518038e
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: I09ea2191f3755e63c1b4eea4c4584b6cd8e36e98
2021-09-27 16:30:46 +00:00
Jenny Ho
23373a1187
[automerger skipped] sepolicy: add rule for new debug file node am: c8651e514c
am: 948eeb2de5
-s ours am: ae368d3f03
-s ours
...
am skip reason: Merged-In I0ddf68d5e15fe8d77d8d61287f65621c14024f46 with SHA-1 17e518038e
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: I0b6a5473fc06f2707899f6e30b27c1abd6aee04a
2021-09-27 16:30:32 +00:00
Jenny Ho
59ec413953
[automerger skipped] sepolicy: add rule for new debug file node am: c8651e514c
-s ours am: a592fb52c3
-s ours
...
am skip reason: Merged-In I0ddf68d5e15fe8d77d8d61287f65621c14024f46 with SHA-1 17e518038e
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: I0ad52614acb4f241c9000db84095182261061b3d
2021-09-27 16:20:46 +00:00
Jenny Ho
ae368d3f03
[automerger skipped] sepolicy: add rule for new debug file node am: c8651e514c
am: 948eeb2de5
-s ours
...
am skip reason: Merged-In I0ddf68d5e15fe8d77d8d61287f65621c14024f46 with SHA-1 17e518038e
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: Ibef4eab822f2fa8cff1af49400a9fde361157f5c
2021-09-27 16:15:09 +00:00
Jenny Ho
a592fb52c3
[automerger skipped] sepolicy: add rule for new debug file node am: c8651e514c
-s ours
...
am skip reason: Merged-In I0ddf68d5e15fe8d77d8d61287f65621c14024f46 with SHA-1 17e518038e
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15773285
Change-Id: Id8b68427c9c185ee0cfe76446f6d5bfaba4a0341
2021-09-27 15:58:25 +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
TreeHugger Robot
f89b55dcb0
Merge "organize wifi_sniffer"
2021-09-22 04:56:04 +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
sukiliu
2d2d6999d2
Update avc error on ROM 7733084
...
avc: denied { read } for comm="android.ui" name="extcon0" dev="sysfs" ino=72527 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0
Bug: 199987074
Test: PtsSELinuxTestCases
Change-Id: I1d160b06b4b0bba9402ae3de5f564d6f893505c1
2021-09-15 14:41:46 +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
Adam Shih
f97138a6bb
organize wifi_sniffer
...
Bug: 196916111
Test: boot with wifi_sniffer started
Change-Id: If12fb0499c749e4e8379a5c2095fbf9cd2ca624e
2021-09-14 13:35:31 +08:00
Jonglin Lee
af3a79ed68
Merge "Revert "Move twoshay definitions to hardware/google/pixel-sepoli...""
2021-09-10 21:31:23 +00:00
Jonglin Lee
7254de258a
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
...
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move twoshay definitions to hardware/google/pixel-sepoli..."
Revert "Move sepolicy for _touchflow targets."
Revert submission 15676823-reflector-sepolicy
Reason for revert: breaking several builds in git_master-without-vendor
Reverted Changes:
Ifecfc81f0:Move twoshay definitions to hardware/google/pixel-...
Idfd81131c:Move twoshay definitions to hardware/google/pixel-...
Id2b0e1db3:Move twoshay definitions to hardware/google/pixel-...
I43ac6337f:Move twoshay definitions to hardware/google/pixel-...
If95e6e788:Move twoshay definitions to hardware/google/pixel-...
I07ab95780:Move sepolicy for _touchflow targets.
I01f378b51:Move sepolicy for _touchflow targets.
Bug: 199548147
Change-Id: I84f106c24bd47fd171788301415c0eabafe9254f
2021-09-10 21:23:57 +00:00
Philip Quinn
5c58949ac6
Merge "Move twoshay definitions to hardware/google/pixel-sepolicy/input."
2021-09-10 17:15:05 +00:00
Michael Ayoubi
cb6a843980
Allow euiccpixel_app to get dck_prop
...
Bug: 189881206
Bug: 183606657
Test: Build and confirm EuiccSupportPixel can get
ro.gms.dck.eligible_wcc
Change-Id: I59873d33f21632347183d749c9bbf25c6e6ba2cd
2021-09-09 15:44:25 +00:00
Adam Shih
778f7da931
label Extcon files
...
Bug: 199218084
Test: Boot with target files labeled correctly
Change-Id: I7d8c4ecb23a5717e2265cfd66b161fb46717615f
2021-09-09 13:05:36 +08:00
Philip Quinn
d1dd6bac2a
Move twoshay definitions to hardware/google/pixel-sepolicy/input.
...
Bug: 187654303
Test: twoshay works on r4
Change-Id: Id2b0e1db3e1cb9ddf579ea7ed74493464d13fc84
2021-09-08 13:22:24 -07:00
Adam Shih
82db60c2d4
remove obsolete devices
...
Bug: 196916111
Test: No file on the path
Change-Id: If8e54bd161bc955424b40023d94f15bf6b82cc8f
2021-09-08 13:15:44 +08:00
Mark Chang
0782cab4f0
Merge "sepolicy: Add "dontaudit" for twoshay dac_override."
2021-09-08 01:28:34 +00:00
Jenny Ho
7d27682911
sepolicy: add rule for new debug file node am: 17e518038e
am: ee73f40872
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15756806
Change-Id: Ie03501a815a501184142af5f8dd0e4aa1df97729
2021-09-07 14:33:01 +00:00
Jenny Ho
ee73f40872
sepolicy: add rule for new debug file node am: 17e518038e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15756806
Change-Id: Ie913098b9b31e3c042abe13672fddc726cf4aef0
2021-09-07 14:21:17 +00:00
Mark Chang
8a5863ab6d
sepolicy: Add "dontaudit" for twoshay dac_override.
...
Bug: 198755236
Test: build pass and boot to home
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I5c330564cc026e113c5d33d5d093dbcdb3ede5e4
(cherry picked from commit a1aab562ca
)
2021-09-06 13:08:59 +00:00
Jenny Ho
17e518038e
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>
Change-Id: I0ddf68d5e15fe8d77d8d61287f65621c14024f46
2021-09-06 06:21:34 +00:00
Roshan Pius
a84423801e
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 9c96111094
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 a3f040d2ac
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15686198
Change-Id: I33396a2698acc529851ddb4207168790540bcd14
2021-08-26 21:52:28 +00:00
Roshan Pius
9c96111094
gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor
...
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.
Bug: 195308730
Test: Compiles
Change-Id: Ief48eacde68b062b2199b20c0c1bb3af23795240
Merged-In: Ief48eacde68b062b2199b20c0c1bb3af23795240
2021-08-26 20:02:20 +00:00
Roshan Pius
62f6dbd236
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: a3f040d2ac
-s ours am: 545771e074
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 04fbca104c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15678068
Change-Id: I5776eafb0a6ca87ba12432bfd8b24405b699311a
2021-08-26 04:25:54 +00:00
Roshan Pius
545771e074
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: a3f040d2ac
-s ours
...
am skip reason: Merged-In Ief48eacde68b062b2199b20c0c1bb3af23795240 with SHA-1 04fbca104c
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15678068
Change-Id: I1ff7de7eba82ec1d804aa4d2e481303a6ed63252
2021-08-26 04:07:26 +00:00
Roshan Pius
dd586eb7b4
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 04fbca104c
-s ours am: 4eeb587d95
-s ours am: 063cbb1b8f
-s ours
...
am skip reason: skipped by user rpius
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15675687
Change-Id: I1f9c3293fa679d604f521115f4308aea6072ef4b
2021-08-26 01:36:02 +00:00
Roshan Pius
063cbb1b8f
[automerger skipped] gs101-sepolicy: Rename hal_uwb -> hal_uwb_vendor am: 04fbca104c
-s ours am: 4eeb587d95
-s ours
...
am skip reason: skipped by user rpius
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15675687
Change-Id: Ib6dafd7313c358327c24aa15196cd53d0d3c9840
2021-08-26 01:17:34 +00:00