Commit graph

3468 commits

Author SHA1 Message Date
Quinn Yan
631206bfa2 Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I4e88739fa33b60546468e2856b495ebffe301bab
2021-05-14 20:44:46 +00:00
Quinn Yan
73b67b2d9f Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev am: d2558a05b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14506028

Change-Id: I45981dd19e54cae6d96b6cde5ab33a81d81d222f
2021-05-14 20:44:45 +00:00
Quinn Yan
d2558a05b3 Merge "Add the TPU AIDL NNAPI HAL to the sepolicy." into sc-dev 2021-05-14 20:15:37 +00:00
Kevin DuBois
82408c931b sepolicy: update gpu nnhal file
GPU nnhal needed a file update when update upgrading to 1.3 revision,
modify this so the device uses all the 1.2 rules.

Fixes: 187981206
Test: make sure hal starts
Change-Id: Ie1054fc092f1aa459cd36b6eb0f0a1a5cc032dbc
2021-05-14 10:55:25 -07:00
SHUCHI LILU
218a434cd8 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be am: 64a1e16887
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: Ia00baf774f5ff6022c01bb15a9b22cfc84eba0ea
2021-05-14 10:10:45 +00:00
SHUCHI LILU
64a1e16887 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: Icfc220bc3fd65730dd5acba470b504a0ae3114ab
2021-05-14 09:38:29 +00:00
SHUCHI LILU
53f59f5d9b Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: I7f581a8b4372a04bdcb49dea62d2e4c2d4980360
2021-05-14 09:37:01 +00:00
SHUCHI LILU
d081badaa2 Merge "Update avc error on ROM 7358093" into sc-dev am: 60bf6343be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14542522

Change-Id: I6d37300c7842d194db5ed736eac8137aec105b0e
2021-05-14 09:35:54 +00:00
SHUCHI LILU
60bf6343be Merge "Update avc error on ROM 7358093" into sc-dev 2021-05-14 08:31:59 +00:00
Midas Chien
c5d3b92fe5 Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e am: d2e21ded9a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: I8c1e6dd9ad073cc5c9d9e647215c87b0000d5395
2021-05-14 06:25:06 +00:00
sukiliu
53c9a79002 Update avc error on ROM 7358093
Bug: 188114822
Bug: 188114896
Test: PtsSELinuxTestCases
Change-Id: Ic5e865a921d0db981acfd936e1599a0ab220b975
2021-05-14 14:23:22 +08:00
Midas Chien
d2e21ded9a Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: I44603831dfd836d4c7641ec26dd8081fe64e5316
2021-05-14 06:05:04 +00:00
Midas Chien
489478f82e Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: If5dcf3b82fa17accf25704e913f47e450fdb6a94
2021-05-14 06:03:08 +00:00
Midas Chien
3c7b2a49d5 Merge "Allowed PowerHAL service access Display node" into sc-dev am: b610fd307e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14308761

Change-Id: Ic93bf422660a5423f29807f2b3858d6c5dc75c81
2021-05-14 06:03:07 +00:00
Midas Chien
b610fd307e Merge "Allowed PowerHAL service access Display node" into sc-dev 2021-05-14 05:47:32 +00:00
qinyiyan
989855def7 Add the TPU AIDL NNAPI HAL to the sepolicy.
Test: Created Forrest build and flashed to phone.
Bug: 187846367
Change-Id: I3ada9ecf3f94a594185049ddb95f13a6853841ba
2021-05-13 22:23:48 -07:00
SalmaxChang
4c134fec1b rfsd: fix permission error am: 30b9f8f277 am: 272b4e5590
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: I7f37ffa05f100f10d3a3b63838aa72131e097e6f
2021-05-14 05:01:10 +00:00
SalmaxChang
272b4e5590 rfsd: fix permission error am: 30b9f8f277
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: Ib166093bda7818f7be45468efbefe3df30fb0443
2021-05-14 04:47:35 +00:00
SalmaxChang
febf2cd145 rfsd: fix permission error am: 30b9f8f277
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: I142c8c1c85c8ffb50abf5b5479ea598735255adc
2021-05-14 04:45:43 +00:00
SalmaxChang
1b6d7e0442 rfsd: fix permission error am: 30b9f8f277
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14467419

Change-Id: Ie2c37b65f1d83e86eb9da49b8585e67bb4a83f59
2021-05-14 04:45:39 +00:00
SalmaxChang
30b9f8f277 rfsd: fix permission error
[RfsService::File] Failed to open file (4) (reason:Permission denied)

Bug: 187148595
Change-Id: Ia553bbc1e1c86b7740b3925679a2da65d3314714
2021-05-14 04:19:50 +00:00
Manish Varma
a5a368cdfc genfs_contexts: fix path for st21nfc i2c devices am: 705ecbe0ab am: 4aa4640559
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538367

Change-Id: I16d24056befe5c7af7d1cc3c650755736ccda9b0
2021-05-14 03:24:29 +00:00
Manish Varma
03657f8e3a genfs_contexts: fix path for s2mpg1X i2c devices am: fd2a6b9a74 am: a592b23a80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538366

Change-Id: Id4aea52b7d4e327f9a7d44ef52c7b548ffc4bcd3
2021-05-14 03:24:28 +00:00
Manish Varma
459bdb2a40 genfs_contexts: fix path for cs40l25a i2c devices am: 194fef8b5a am: 67d28bdf03
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538365

Change-Id: Id4e533c9c71b23a65cd7af0d3cd602263503bc45
2021-05-14 03:24:28 +00:00
Manish Varma
db3f825375 genfs_contexts: fix path for max77759tcpc i2c devices am: 3868f8aa88 am: aaee225e77
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538364

Change-Id: I021fbcd94e6085cfb1928fd116852933ff347d89
2021-05-14 03:24:27 +00:00
Manish Varma
529d215c31 genfs_contexts: fix path for p9412 i2c devices am: b08c98c2b4 am: 9ba9e2a783
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14535947

Change-Id: Ib96389e2291833fbf89892992a39a5d642585398
2021-05-14 03:24:26 +00:00
Manish Varma
4aa4640559 genfs_contexts: fix path for st21nfc i2c devices am: 705ecbe0ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538367

Change-Id: I189d9d114c580d0cbb00611c0ad2239439ddf1c5
2021-05-14 03:02:53 +00:00
Manish Varma
a592b23a80 genfs_contexts: fix path for s2mpg1X i2c devices am: fd2a6b9a74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538366

Change-Id: I872b4ba0c56e5ec30b5e43f3ac0ba029c265d08a
2021-05-14 03:02:52 +00:00
Manish Varma
67d28bdf03 genfs_contexts: fix path for cs40l25a i2c devices am: 194fef8b5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538365

Change-Id: I99768e7485ed5b6c9e5d79dcebbf75c8ded2c5c2
2021-05-14 03:02:51 +00:00
Manish Varma
aaee225e77 genfs_contexts: fix path for max77759tcpc i2c devices am: 3868f8aa88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538364

Change-Id: I144505ad7a6ff6a4b481c0a0aa5de75439195edf
2021-05-14 03:02:50 +00:00
Manish Varma
9ba9e2a783 genfs_contexts: fix path for p9412 i2c devices am: b08c98c2b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14535947

Change-Id: Iae81f3b32532152f8c8ff4d004887252ad3de889
2021-05-14 03:02:49 +00:00
Manish Varma
ef7f771b9c genfs_contexts: fix path for st21nfc i2c devices am: 705ecbe0ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538367

Change-Id: Ib894e30bf0033777ac939e6c8eb0c6ff68c5f5ad
2021-05-14 03:00:54 +00:00
Manish Varma
7baa13c32c genfs_contexts: fix path for s2mpg1X i2c devices am: fd2a6b9a74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538366

Change-Id: If2fe324271da57e0e3eb9623d26f493d7282929a
2021-05-14 03:00:53 +00:00
Manish Varma
1045fd2031 genfs_contexts: fix path for cs40l25a i2c devices am: 194fef8b5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538365

Change-Id: I845f1ce03511dba85383f82b8eb2bb7f06b78d8d
2021-05-14 03:00:52 +00:00
Manish Varma
a273bf01b2 genfs_contexts: fix path for max77759tcpc i2c devices am: 3868f8aa88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538364

Change-Id: If29cb659f6a76a5915d909b7a66453e61336ac36
2021-05-14 03:00:51 +00:00
Manish Varma
5244598a27 genfs_contexts: fix path for p9412 i2c devices am: b08c98c2b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14535947

Change-Id: Ie2629aa0108804906fefdfd60864b5ee49acc1b6
2021-05-14 03:00:50 +00:00
Manish Varma
6dce8344b1 genfs_contexts: fix path for st21nfc i2c devices am: 705ecbe0ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538367

Change-Id: I5a7c64dc777368bed360839d9906bc60db0b3a9f
2021-05-14 03:00:39 +00:00
Manish Varma
babe6566a2 genfs_contexts: fix path for s2mpg1X i2c devices am: fd2a6b9a74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538366

Change-Id: I625538f50d3498a38552e8b43ea69898d1f02d6c
2021-05-14 03:00:38 +00:00
Manish Varma
b6aae5a059 genfs_contexts: fix path for cs40l25a i2c devices am: 194fef8b5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538365

Change-Id: Ic58f5ad1a500a1f00caa16e1368a7392968f13d9
2021-05-14 03:00:38 +00:00
Manish Varma
81a8741a5d genfs_contexts: fix path for max77759tcpc i2c devices am: 3868f8aa88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14538364

Change-Id: Id7a7f9879b4f37978dcd61ba8a97fb275ef3b3f4
2021-05-14 03:00:36 +00:00
Manish Varma
bf803a2bef genfs_contexts: fix path for p9412 i2c devices am: b08c98c2b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14535947

Change-Id: If85a1882e5716cc31b8d1a46f3e60a95895c8352
2021-05-14 03:00:35 +00:00
Manish Varma
705ecbe0ab genfs_contexts: fix path for st21nfc i2c devices
Due to recent changes which modifies the device name for i2c devices,
st21nfc device names are now changed from ?-0008 to "i2c-st21nfc"

Bug: 188078957
Test: Verified haptic works and no avc denials when running following command:
$ dmesg | grep avc | grep sysfs
Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: I17464d2d01fb64447dd8828eb8f91e38717fac4c
2021-05-13 17:43:26 -07:00
Manish Varma
fd2a6b9a74 genfs_contexts: fix path for s2mpg1X i2c devices
Due to recent changes which modifies the device name for i2c devices,
s2mpg1xmfd device names are now changed from ?-00?f to "i2c-s2mpg10mfd" or
"i2c-s2mpg11mfd"

Bug: 188078957
Test: Verified no avc denials when running following command:
$ dmesg | grep avc | grep sysfs

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: I2c58773613071147336b4f338e4c4034ce90e9bd
2021-05-13 17:42:08 -07:00
Manish Varma
194fef8b5a genfs_contexts: fix path for cs40l25a i2c devices
Due to recent changes which modifies the device name for i2c devices,
cs40l25a device names are now changed from ?-0043 to "i2c-cs40l25a"

Bug: 188078957
Test: Verified haptic works and no avc denials when running following command:
$ dmesg | grep avc | grep sysfs

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: I47c423661d788c467d4cd1602fbc145bd715c67a
2021-05-13 17:37:32 -07:00
Manish Varma
3868f8aa88 genfs_contexts: fix path for max77759tcpc i2c devices
Due to recent changes which modifies the device name for i2c devices,
max77759tcpc device names are now changed from ?-0025 to "i2c-max77759tcpc"

Bug: 188078957
Test: Verified charging works and no avc denials when running
$ dmesg | grep avc | grep sysfs

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: Ic1f6d018ce74348b4faa937720b50c7924bf9b7a
2021-05-13 17:36:59 -07:00
Manish Varma
b08c98c2b4 genfs_contexts: fix path for p9412 i2c devices
Due to recent changes which modifies the device name for i2c devices,
p9412 device names are now changed from ?-003c to "i2c-p9412"

Bug: 188078957
Test: Verified wlc works and no avc denials when running following command:
$ dmesg | grep avc | grep sysfs

Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: Id0af1122f7182a866ab28c5317db139d8083a45d
2021-05-13 17:36:24 -07:00
Maurice Lam
a1bf959f13 DO NOT MERGE. Revert Exo selinux policies for S
Bug: 188074060
Test: Forrest
Change-Id: I3465d10c3731ae49fec6e6fb7f2873cf2e5b9c23
2021-05-13 19:32:57 +00:00
TreeHugger Robot
c833549d8c Merge changes from topic "186500818-set1" into sc-dev am: 775771b811 am: a019f35a3b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14490413

Change-Id: I808af635b42fe65f761f845c4fdc02650e498cb5
2021-05-13 08:02:38 +00:00
TreeHugger Robot
a019f35a3b Merge changes from topic "186500818-set1" into sc-dev am: 775771b811
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14490413

Change-Id: I51cc2dd5c356ea0dd1653a8fc3769e360683e002
2021-05-13 07:41:56 +00:00
TreeHugger Robot
768fb9a152 Merge changes from topic "186500818-set1" into sc-dev am: 775771b811
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14490413

Change-Id: I9a9735eb2ad617b1b564f6b7eb376e9f5b312ce7
2021-05-13 07:39:51 +00:00