Commit graph

3870 commits

Author SHA1 Message Date
Lucas Wei
8433aeebb7 [automerger skipped] Merge "sepolicy: fix odpm avc denials" into tm-qpr-dev am: 4a487ac890 am: 121d50927c -s ours
am skip reason: Merged-In Id7f70d02475a03e53a206dde3b8efa584cacef85 with SHA-1 768196f828 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20067818

Change-Id: If4fab87115b0adf80aa6ee72f58ce0c26efbee85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 10:24:04 +00:00
Lucas Wei
c14d875df7 [automerger skipped] Merge "votable: update SEpolicy error" into tm-qpr-dev am: 0278f60839 -s ours
am skip reason: Merged-In Ia6dfb7796ab46b0ac339b98465ccd91624b655ed with SHA-1 5851e17605 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20106620

Change-Id: I56f8382c101f3f8a176671d447aea71299784e05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 09:54:01 +00:00
Lucas Wei
48123156ed [automerger skipped] votable: update SEpolicy error am: 91960cb2d7 -s ours
am skip reason: Merged-In Ia6dfb7796ab46b0ac339b98465ccd91624b655ed with SHA-1 5851e17605 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20106620

Change-Id: If985d0a33037835b808928c6528162be210a1aa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 09:53:55 +00:00
Lucas Wei
121d50927c Merge "sepolicy: fix odpm avc denials" into tm-qpr-dev am: 4a487ac890
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20067818

Change-Id: Ifc7951728bc578a8c472a217a74e72c82ed846cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 09:53:50 +00:00
Lucas Wei
0278f60839 Merge "votable: update SEpolicy error" into tm-qpr-dev 2022-10-24 09:07:24 +00:00
Lucas Wei
4a487ac890 Merge "sepolicy: fix odpm avc denials" into tm-qpr-dev 2022-10-24 09:07:24 +00:00
Sam Ou
0127869bfd sepolicy: fix odpm avc denials
add wakeup permissions for odpm driver
since we update acc_data based on alarmtimer

Bug: 250813284
Change-Id: Id7f70d02475a03e53a206dde3b8efa584cacef85
Merged-In: Id7f70d02475a03e53a206dde3b8efa584cacef85
Signed-off-by: Sam Ou <samou@google.com>
Signed-off-by: Lucas Wei <lucaswei@google.com>
2022-10-24 05:03:01 +00:00
Lucas Wei
d9d6ec0b0b Merge "sepolicy: fix odpm avc denials" 2022-10-24 04:34:13 +00:00
Lucas Wei
8a9fd1b4aa votable: update SEpolicy error am: 5851e17605
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20265110

Change-Id: I3d444fed3a236050d00988b59a4237df3815f2e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 03:28:26 +00:00
Sam Ou
768196f828 sepolicy: fix odpm avc denials
add wakeup permissions for odpm driver
since we update acc_data based on alarmtimer

Bug: 250813284
Change-Id: Id7f70d02475a03e53a206dde3b8efa584cacef85
Signed-off-by: Sam Ou <samou@google.com>
2022-10-24 10:45:55 +08:00
Lucas Wei
91960cb2d7 votable: update SEpolicy error
Bug: 247905787
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: Ia6dfb7796ab46b0ac339b98465ccd91624b655ed
Merged-In: Ia6dfb7796ab46b0ac339b98465ccd91624b655ed
2022-10-23 15:25:20 +00:00
Lucas Wei
5851e17605 votable: update SEpolicy error
Bug: 247905787
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: Ia6dfb7796ab46b0ac339b98465ccd91624b655ed
2022-10-23 23:23:41 +08:00
Adam Shih
43bf71c88d Merge "move aoc settings to gs-common" 2022-10-21 00:08:01 +00:00
Tri Vo
218eab8bb8 Merge "Updated confirmationui HAL binary name." am: 5b81f62700 am: 61fac0d61a am: c15a4ae32b
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2251759

Change-Id: I59ee2d4c4a8f440b7972b8f038cf37daa9e03778
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 18:36:56 +00:00
Tri Vo
c15a4ae32b Merge "Updated confirmationui HAL binary name." am: 5b81f62700 am: 61fac0d61a
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2251759

Change-Id: Ibdc4235e0eddf452922dd0304117bb04b5b2ff56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 17:53:16 +00:00
Tri Vo
61fac0d61a Merge "Updated confirmationui HAL binary name." am: 5b81f62700
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2251759

Change-Id: I39f8ef135703c75ae7487fb5ea32e3deee9baf79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 17:07:32 +00:00
Gabriel Biren
24160a4bcb Update gs101 sepolicy to allow the wifi_ext AIDL service.
Bug: 205044134
Test: Start wifi on an Oriole device using both the
      HIDL and AIDL versions of wifi_ext.
Change-Id: I45cbc86e4d4feb2aa99641175108dd9745c1715e
2022-10-20 16:54:19 +00:00
Tri Vo
5b81f62700 Merge "Updated confirmationui HAL binary name." 2022-10-20 16:51:56 +00:00
Adam Shih
72aa5a98fc move aoc settings to gs-common
Bug: 248426917
Test: boot with aoc launched
Change-Id: I891767f10dfac7528b76e27fd2756b77ed46e45c
2022-10-20 11:41:19 +08:00
Android Build Coastguard Worker
e3fed2e815 Snap for 9195661 from 8d802db37a to tm-qpr2-release
Change-Id: I92d7ebe1c0a322573e4cfd4eef962558904bd7a8
2022-10-19 23:03:13 +00:00
Michael Butler
536b9a4ee6 Remove same_process_hal_file attribute from libedgetpu_dba_hal
libedgetpu_dba_hal.so is changed from /vendor to /system_ext in this
topic, so this CL removes the now-unnecessary same_process_hal_file
attribute from libedgetpu_dba_hal and its AIDL interface.

Bug: 245792277
Test: mma
Test: atest edgetpu_dba_hal_test
Change-Id: Ibbe58fa8c0992f28b54b69308345b3729d77ef90
2022-10-19 10:31:53 -07:00
Chungjui Fan
26158c7a57 sepolicy: gs101: allow fastbootd to access gsc device node am: 8d802db37a am: 8753d9d07c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20210023

Change-Id: Ieb81c7c41cac31967c49da87cd7ab33b814e7ecd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 13:18:21 +00:00
Chungjui Fan
8753d9d07c sepolicy: gs101: allow fastbootd to access gsc device node am: 8d802db37a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20210023

Change-Id: Ic59f5c3967ba09506234161c7a0058b40642851e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 12:31:55 +00:00
Chungjui Fan
8d802db37a sepolicy: gs101: allow fastbootd to access gsc device node
avc:  denied  { getattr } for  pid=469 comm="fastbootd"
path="/dev/gsc0" dev="tmpfs" ino=470 scontext=u:r:fastbootd:s0
tcontext=u:object_r:citadel_device:s0
tclass=chr_file permissive=0

Bug: 248301125

Change-Id: Ic1aec8874636437b9b8d795b46fae72fa8533302
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-10-17 12:26:10 +00:00
TreeHugger Robot
688b2b08f3 Merge "sepolicy: ignore and fix avc denial" 2022-10-17 04:51:55 +00:00
Chungkai Mei
4dc474a7b3 sepolicy: ignore and fix avc denial
ignore and fix avc denial

Bug: 228181404
Test: boot without avc denial
Signed-off-by: Chungkai Mei <chungkai@google.com>
Change-Id: I83640aae46bd1823c4e4dcf15f00e64fa7a87aef
2022-10-17 02:15:45 +00:00
Timmy Li
fe1c8108c5 Merge "Add aoc_device access to P21 devices. Camera hal" 2022-10-14 17:22:48 +00:00
Krzysztof Kosiński
20e9a691cf Use generic wildcard for vendor libprotobuf. am: 2118dfb684 am: f9f745da33 am: a110b52215
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2255496

Change-Id: I5e1311cd4ca7ed0cc1f436a9ccb3a5b6c7d9da0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 16:54:29 +00:00
Krzysztof Kosiński
a110b52215 Use generic wildcard for vendor libprotobuf. am: 2118dfb684 am: f9f745da33
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2255496

Change-Id: I642062447d3e11a152fcead3689cbd1017c97e09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 16:22:16 +00:00
Krzysztof Kosiński
f9f745da33 Use generic wildcard for vendor libprotobuf. am: 2118dfb684
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2255496

Change-Id: I3788ebba42c38f754c183eb518e2d3a9ad31bba7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 15:51:58 +00:00
Krzysztof Kosiński
2118dfb684 Use generic wildcard for vendor libprotobuf.
The suffix changes on each upgrade and the newest release uses
a two-part version number instead of a three-part one. Use a regex
that will match any suffix.

Bug: 203713560
Test: presubmit, log check
Change-Id: I27d7bd10e469b794226fe0c77b02c57d876729b1
2022-10-14 14:06:56 +00:00
TreeHugger Robot
9a3acebe63 Merge "upgrade dumpstate from hidl to aidl" 2022-10-14 07:37:43 +00:00
timmyli
ecd597b98a Add aoc_device access to P21 devices. Camera hal
Since we plan to apply rls refactor to P21 devices
as well. Add access to camera_hal to aoc_device for
these devices.

Bug: 253493159
Test: Compiles
Change-Id: I43728c723e0cfc7cdde5377260af6075d4672e7b
2022-10-14 01:55:04 +00:00
Rajesh Nyamagoud
c285c2c32c [automerger skipped] Updated confirmationui HAL binary name. am: 5de95a5dd9 -s ours
am skip reason: Merged-In I690f6eb49f47bdf2d2790b0a6c9b0c45ca819a31 with SHA-1 2acd1c0e73 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20177682

Change-Id: Icd0b38026028ed2bfac26981a36ccc452507a9c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-12 21:45:36 +00:00
Rajesh Nyamagoud
ff0d3717a6 Updated confirmationui HAL binary name.
Ignore-AOSP-First: Dependent on internal change.
Bug: b/205760172
Test: Run confirmation UI test using CTS Verifier
Change-Id: I690f6eb49f47bdf2d2790b0a6c9b0c45ca819a31
2022-10-12 20:59:26 +00:00
Rajesh Nyamagoud
5de95a5dd9 Updated confirmationui HAL binary name.
Ignore-AOSP-First: Dependent on internal change.
Bug: b/205760172
Test: Run confirmation UI test using CTS Verifier
Change-Id: I690f6eb49f47bdf2d2790b0a6c9b0c45ca819a31
(cherry picked from commit 2acd1c0e73)
Merged-In: I690f6eb49f47bdf2d2790b0a6c9b0c45ca819a31
2022-10-12 17:46:46 +00:00
Adam Shih
2933a7f105 upgrade dumpstate from hidl to aidl
Bug: 240530709
Test: adb bugreport
Change-Id: If5f81174f7881100bff21462ff4aef9ff62357d4
2022-10-12 15:25:17 +08:00
Adam Shih
f15d1599ef remove redundant permission that has moved to gs-common
Bug: 248426917
Test: adb bugreport
Change-Id: I2b1f26164e9590dadd6eae4c14cb65a1c34197fa
2022-10-12 11:31:57 +08:00
Xin Li
b02b486a42 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: b36d9e6b41 -s ours am: d78be3af77 -s ours
am skip reason: Merged-In Icc3762cef7f9766d845f1e1a56af1315fc97163b with SHA-1 908a8fcf14 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20136207

Change-Id: I59aae8960b149e58ef36be5d94577b42804d5219
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 20:09:56 +00:00
Xin Li
d78be3af77 [automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 am: b36d9e6b41 -s ours
am skip reason: Merged-In Icc3762cef7f9766d845f1e1a56af1315fc97163b with SHA-1 908a8fcf14 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20136207

Change-Id: Iccc5debc1ad0b345d107b06e55f12b7156959515
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 17:55:58 +00:00
TreeHugger Robot
a65d9c6e58 Merge "move trusty dump from gs101 to gs-common" 2022-10-11 01:41:33 +00:00
Adam Shih
c14d73beb0 Merge "move modem dump to gs-common" 2022-10-07 01:04:50 +00:00
Xin Li
b36d9e6b41 Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379
Merged-In: Icc3762cef7f9766d845f1e1a56af1315fc97163b
Change-Id: Ic16e04d8670d4e1607d8c64c39cd6376aceed1ba
2022-10-06 12:00:25 -07:00
Tri Vo
c4291e4959 Merge "Updated confirmationui HAL binary name." 2022-10-06 17:56:36 +00:00
Adam Shih
cba306cc3b move modem dump to gs-common
Bug: 250475732
Test: adb bugreport
Change-Id: I07bc213a6136d5803316062c3fddd55fc557c4b2
2022-10-05 10:45:33 +08:00
Adam Shih
7c74638f0c Merge "move soc dump to gs-common" 2022-10-05 02:14:15 +00:00
Vaibhav Devmurari
a254fcef0c Merge "Add SePolicy for system_server accessing sysfs for USB devices" 2022-10-04 09:22:34 +00:00
Adam Shih
0508a69dbd move soc dump to gs-common
Bug: 248428203
Test: adb bugreport
Change-Id: I09c8279685626125ab1c5a6b73d1143de7ae2f1d
2022-10-04 12:56:28 +08:00
Adam Shih
6d2d8a9914 move trusty dump from gs101 to gs-common
Bug: 244504232
Test: adb bugreport
Change-Id: I7a93c9ef7d07e92f0fd508c016a264c26a4e0b1e
2022-10-04 09:06:15 +08:00
Android Build Coastguard Worker
3d325089b7 Snap for 9133013 from d255ed1576 to tm-qpr2-release
Change-Id: Ic3e7f650e45257b78a15a45708683c3b9af54366
2022-10-03 23:06:40 +00:00