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
Vaibhav Devmurari
ac878d3f62
Add SePolicy for system_server accessing sysfs for USB devices
...
Add SePolicy to allow Android input manager accessing sysfs nodes
for external USB devices
To support input device lights manager feature in frameworks, provide
sysfs node access to system server process.
DD: go/pk_backlight_control (For keyboard backlight control for external
keyboards)
Kernel provides a standardized LED interface to expose LED controls
over sysfs: https://docs.kernel.org/leds/leds-class.html
The feature will be provided for devices with kernel sysfs class led
support and vendor kernel driver for input controllers that do have
lights. The kernel sysfs class led support is a kernel config option
(LEDS_CLASS), and an input device driver will create the sysfs class
node interface.
By giving system_server the access to these sysfs nodes, the feature
will work on devices with the kernel option and kernel input/hid driver
support. We do use CTS tests to enforce the kernel options and the
input device drivers.
What's already supported?
- We already support access to UHID sysfs node which used for all
bluetooth based external peripherals
What's included in this CL?
- Adding support to access sysfs nodes for USB based external devices
Test: manual
Bug: 245506418
Change-Id: Ieb55614ed651b85f0e6752a17d02f4d370fd1e6f
2022-10-03 14:52:52 +00:00
TreeHugger Robot
78a524a801
Merge "move ramdump relate dumpstate to gs-common"
2022-10-03 06:02:38 +00:00
Adam Shih
d0af280f50
move ramdump relate dumpstate to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: I16898410318dd8f396c68cd9096a4eb49358b784
2022-09-30 15:10:45 +08:00
Rajesh Nyamagoud
2acd1c0e73
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-09-29 20:09:13 +00:00
Xusong Wang
cd518be161
Merge "Configure Edge TPU DBA HAL sepolicy."
2022-09-29 17:02:38 +00:00
Adam Shih
a190e33522
move UFS dump to gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I3446ab420a0e8a0104dcc63c1cfd4c1a04060cdd
2022-09-28 13:20:33 +08:00
Xusong Wang
d19e0dded9
Configure Edge TPU DBA HAL sepolicy.
...
Bug: 245792277
Test: edgetpu_dba_hal_test
Change-Id: I567961327e00b728b1d188e07b6ae3f10f42d847
2022-09-27 15:36:37 -07:00
Adam Shih
3cd9384799
dump f2fs in gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I902030f7960b2247e9b8e913e78d447741423efb
2022-09-27 17:03:38 +08:00
Jinting Lin
03f471518a
Merge "Allows modem_svc to read the logging related properties" into tm-qpr-dev am: d255ed1576
am: 230b907ae1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/19967636
Change-Id: I2e6a0cf2f7558c40e68030649d1c663db5bcd3db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 16:12:50 +00:00