Commit graph

242 commits

Author SHA1 Message Date
Pawan Wagh
34885a15a2 Merge "Add Suspend service fuzzers to bindings" am: c3fd0b60d8 am: cb01a56d01 am: 19cc928a78 am: c17d4cdbe5 am: 88c59499c0 am: 3a55a53d29
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2587575

Change-Id: I6d81c875eab11ffdb55b95f1453175c84dbbacf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-18 03:48:41 +00:00
Weilin Xu
378f325a1d Merge "Add broadcast radio AIDL HAL fuzzer binding" 2023-05-18 00:43:46 +00:00
Pawan Wagh
c17d4cdbe5 Merge "Add Suspend service fuzzers to bindings" am: c3fd0b60d8 am: cb01a56d01 am: 19cc928a78
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2587575

Change-Id: Ic2bfff2aea2c9dfcc0bec93346d6a0c4af2f9c1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 23:16:41 +00:00
Pawan Wagh
c3fd0b60d8 Merge "Add Suspend service fuzzers to bindings" 2023-05-17 21:17:48 +00:00
Weilin Xu
8411ca54f5 Add broadcast radio AIDL HAL fuzzer binding
Ignore-AOSP-First: service not landed in AOSP yet
Bug: 246857025
Test: m
Change-Id: I0e8e3ae0cdef1c4a6bca5ff6de7d02cf901b9a95
2023-05-17 17:31:00 +00:00
Pawan Wagh
5fdf17c01a Merge "Add incidentd_service_fuzzer to bindings" am: 8169c8fdd5 am: 2070ddc86e am: e602d8d9b2 am: 02929fc8f9 am: 1e76c3ff11 am: 58ec424a6b
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2589492

Change-Id: Ifd2ed04498a96235f594b15f5529d0014aeaff09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 01:25:36 +00:00
Pawan Wagh
02929fc8f9 Merge "Add incidentd_service_fuzzer to bindings" am: 8169c8fdd5 am: 2070ddc86e am: e602d8d9b2
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2589492

Change-Id: I803e0c0fa9c5f5c01774f2d4e0753c75793f7952
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 23:38:20 +00:00
Pawan Wagh
8169c8fdd5 Merge "Add incidentd_service_fuzzer to bindings" 2023-05-16 21:43:42 +00:00
Pawan Wagh
6d8487370b Add incidentd_service_fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: I9d91a50af04a18d61c05f88a05e22bbb0920058a
2023-05-16 00:53:11 +00:00
Pawan Wagh
251da94ec2 Merge "Add gpu_service_fuzzer to bindings" am: c9d2b575fc am: a10aea7bc8 am: a7270f7524 am: f28f614343 am: 5d34f64f86 am: 1539d8d199
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2587312

Change-Id: Id20bc2442bf19ab011ba00a08f8e69bd8843028a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 00:23:05 +00:00
Pawan Wagh
f28f614343 Merge "Add gpu_service_fuzzer to bindings" am: c9d2b575fc am: a10aea7bc8 am: a7270f7524
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2587312

Change-Id: I5f1b7ae705875be36f9210c666f0da332d7e981f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-15 22:33:27 +00:00
Pawan Wagh
a9d3164472 Add Suspend service fuzzers to bindings
Test: m
Bug: 232439428
Change-Id: I43b2926c4db076a89f17d8856f4fdec9c4594c05
2023-05-12 23:41:17 +00:00
Pawan Wagh
68efd7ab8c Add gpu_service_fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: If6da70d7eeeb686eebf69afcca2fa1213a1d8bf6
2023-05-12 21:50:14 +00:00
Inseob Kim
0fbb5cc09c Use target specific intermediate paths am: 6c6f53b1a8 am: 01cf7fedc3 am: da9ba4e30c am: 4e554b8023 am: d4fef92541
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2563992

Change-Id: If7a4256e521a34ec4f6bd97e8895cf0c543f3322
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 01:07:40 +00:00
Thiébaud Weksteen
9e873385ff Merge "Remove comments in service_contexts" am: 97a5408aca am: 7d9b05e014 am: ebe909c195 am: f5d8bbb320 am: 667316c930
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564530

Change-Id: I3be01d0897e4a230db12dd5397ed1c3175fb64a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 00:44:23 +00:00
Inseob Kim
4e554b8023 Use target specific intermediate paths am: 6c6f53b1a8 am: 01cf7fedc3 am: da9ba4e30c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2563992

Change-Id: I9ad490bf13aafb24c00185dbd995e6e57c0679bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 18:12:53 +00:00
Thiébaud Weksteen
f5d8bbb320 Merge "Remove comments in service_contexts" am: 97a5408aca am: 7d9b05e014 am: ebe909c195
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564530

Change-Id: Iee037919d9ca5ee962aef517ff628a5e9e6e4452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 18:01:13 +00:00
Pawan Wagh
b28419ea18 Merge "Add gatekeeperd_service_fuzzer to bindings" am: 94b3f498cd am: 541170435e am: ecc8b0e33b am: cde5152f6e am: e8f2a72e03
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2553744

Change-Id: Ief55f5659e1993ef9a3b28fd1f4ebdfe683c1f8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 09:22:04 +00:00
Pawan Wagh
cde5152f6e Merge "Add gatekeeperd_service_fuzzer to bindings" am: 94b3f498cd am: 541170435e am: ecc8b0e33b
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2553744

Change-Id: I0debe5e07a4e5ae5ccc7b4dec480692c8d8a24f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-27 08:03:36 +00:00
Inseob Kim
6c6f53b1a8 Use target specific intermediate paths
This won't be harmful and this can help reduce rebuilding sepolicy
artifacts upon lunch target change.

Bug: 279524023
Test: m selinux_policy
Change-Id: I859de6dc0ac1958b44d847159904960bd7f9a0c2
2023-04-27 11:11:48 +09:00
Thiébaud Weksteen
97a5408aca Merge "Remove comments in service_contexts" 2023-04-26 23:42:00 +00:00
Steven Moreland
bcf3c206b6 Merge "aidl_lazy_test: additional service context" am: d8b05e70bf am: b5a4c528f7 am: 7537e74b96 am: dc10d40add am: f9cba81ea1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564270

Change-Id: Idf7edc880c5b56ad76d168d41355210d3315f243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 23:09:26 +00:00
Steven Moreland
dc10d40add Merge "aidl_lazy_test: additional service context" am: d8b05e70bf am: b5a4c528f7 am: 7537e74b96
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2564270

Change-Id: I049e98038884725e7c31150f12ebe4520be1080e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 21:46:23 +00:00
Pawan Wagh
94b3f498cd Merge "Add gatekeeperd_service_fuzzer to bindings" 2023-04-26 19:37:15 +00:00
Steven Moreland
d8b05e70bf Merge "aidl_lazy_test: additional service context" 2023-04-26 18:45:50 +00:00
Thiébaud Weksteen
74482f5328 Remove comments in service_contexts
Commit b554e59 converted the build rules of contexts to Soong.
Previously, both services_contexts and hwservice_contexts were stripped
of comments. This is useful as a CTS test (testAospServiceContexts)
ensures that the device service_contexts matches AOSP. Restore the
previous behaviour.

Bug: 279384270
Test: m selinux_policy; diff plat_service_contexts; no more comments
Change-Id: Id0245efacf4e4b123f805869d95bacf804ccb915
2023-04-26 13:46:59 +10:00
Pawan Wagh
1448dfafdc Merge "Adding storaged fuzzers" am: ef3bc95afc am: 562a20b95f am: 2517fd240d am: 7550c6b385 am: 29a2b93896
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2559890

Change-Id: If346805aca62f85afb9ec802eb799b7d2ea21904
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 02:25:45 +00:00
Steven Moreland
295e68f238 aidl_lazy_test: additional service context
A lazy service shouldn't quit when it has clients, but
sometimes it needs to, such as when the device is
shutting down, so we test that it works.

In Android U, I broke this behavior, and it was caught
by other tests. However, now we have test support
for this directly in aidl_lazy_test.

No fuzzer, because this is a test service only, so it's
low-value.

Bug: 279301793
Bug: 278337172
Bug: 277886514
Bug: 276536663
Bug: 278117892
Test: aidl_lazy_test
Change-Id: I36b2602bb87b56ba1eb72420c7fdd60ff1fa14e2
2023-04-26 00:41:05 +00:00
Pawan Wagh
7550c6b385 Merge "Adding storaged fuzzers" am: ef3bc95afc am: 562a20b95f am: 2517fd240d
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2559890

Change-Id: I2d1709fa73ad0755477059901099793beb0e2e43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-26 00:37:44 +00:00
Pawan Wagh
2d184d2885 Adding storaged fuzzers
Test: m
Bug: 232439428
Change-Id: I0be9260ecdbdf8e48905869cc4da2efade651ba8
2023-04-24 23:18:34 +00:00
Pawan Wagh
ac031bff46 Add gatekeeperd_service_fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: Icc93e0fa7df8c74b2330b97055b3f159b8e1a9a9
2023-04-21 23:11:04 +00:00
Yu Shan
a664e29f3f Merge "Define sepolicy for ivn HAL." am: 9861e84085 am: 506e69012d am: 78ca38f285 am: 36370a80be am: f45aa9f7b1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2530161

Change-Id: I35c83ef50ed99ff3210fdfae1bf5be28aaecac94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 04:00:49 +00:00
Yu Shan
36370a80be Merge "Define sepolicy for ivn HAL." am: 9861e84085 am: 506e69012d am: 78ca38f285
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2530161

Change-Id: I5802fb2e124cfab86869d0c123f5b6d670e5c8d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 02:44:59 +00:00
Yu Shan
9eb72464b5 Define sepolicy for ivn HAL.
Test: manually verify ivn HAL on gcar_emu.
Bug: 274139217
Change-Id: Ie12dccb723078d83b561c152cc4458e52c0f8090
2023-04-10 17:42:51 -07:00
Pawan Wagh
afff53fe00 Merge "Adding ResourceManagerService fuzzers" 2023-04-09 01:53:59 +00:00
Pawan Wagh
80cd20677d Adding ResourceManagerService fuzzers
Test: m
Bug: 232439428
Ignore-AOSP-First: resourcemanager_service_fuzzer is being added
in internal due to differences in source directory. This rule needs
fuzzer to present in current source tree to avoid build failure.

Change-Id: I44a5a9a980b142841b79354d103adab1aaa7afc3
2023-04-06 20:26:01 +00:00
Treehugger Robot
1b51c1f8e1 Merge "Add sepolicy rules for CpuMonitorService." am: 1ab1f7cd01 am: dac8bace6d am: c202f26753
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2497975

Change-Id: I5dbbd3d496afc934e1f3c4fb3253f857b3df1aac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 22:13:51 +00:00
Lakshman Annadorai
124be07e24 Add sepolicy rules for CpuMonitorService.
Change-Id: Icda952c148150e4d7824e303d163996679a0f36b
Test: m
Bug: 242722241
2023-03-27 16:29:09 +00:00
Tri Vo
26c4ed9d40 Merge "Remove RemoteProvisioner and remoteprovisioning services" am: 0099ba37f3 am: 45734ff4a7 am: ddc3df3035
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2488295

Change-Id: I46b1309c166d253a0c132c4c70fea547f2fe2619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 19:05:42 +00:00
Tri Vo
4bb2d30701 Remove RemoteProvisioner and remoteprovisioning services
Bug: 273325840
Test: keystore2_test
Change-Id: I295ccdda5a3d87b568098fdf97b0ca5923e378bf
2023-03-14 15:45:35 -07:00
Pawan Wagh
d5e720b7f0 Merge "Adding netd and authorization fuzzers to bindings" am: 6ad15b7c74 am: 194ea6e259 am: 48d7cb584e
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2478135

Change-Id: Ib680e81344d6e89c73c4986f87056aac3e2863ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:31:01 +00:00
Pawan Wagh
6ad15b7c74 Merge "Adding netd and authorization fuzzers to bindings" 2023-03-10 20:11:33 +00:00
Pawan Wagh
9f5825c863 Adding netd and authorization fuzzers to bindings
Test: m
Bug: 232439428
Change-Id: Ic0d94e7e6a89992619fe87f58737efddffc91408
2023-03-08 18:37:58 +00:00
Cole Faust
e906aaec21 Replace SortedStringKeys with SortedKeys am: 22f253cdfc am: de73e80b8e am: 22b9246143
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2463524

Change-Id: I747491ba1293adfae5df6f358ee991cd7480ce3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 01:06:37 +00:00
Cole Faust
22f253cdfc Replace SortedStringKeys with SortedKeys
SortedStringKeys is deprecated.

Bug: 193460475
Test: presubmits
Change-Id: I8b0f62964c078ab1d29c27df8ccddf05bd171c23
2023-03-01 11:00:15 -08:00
Pawan Wagh
7928aa63ff Adding resolv_service_fuzzer to bindings am: 3e019dd623 am: 5f14440b76 am: 9d745aa5aa
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2444083

Change-Id: I7fb753983a53919be3252822e4926f499cf7c351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 00:00:53 +00:00
Pawan Wagh
3e019dd623 Adding resolv_service_fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: Idcef29b9a42ff701f38fc3bcc83fd92f6bd1a1c1
2023-02-17 23:20:42 +00:00
Pawan Wagh
3935f50a8d Merge "Adding fuzzer entries for drmmanager and vold" am: 9bc9a63b68 am: 20f7c87041 am: c2fbe131f6
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2438893

Change-Id: Ibc9387f9216ac61c47592b997caff08f1b3b3b26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 03:05:21 +00:00
Pawan Wagh
61e77a8759 Adding fuzzer entries for drmmanager and vold
Test: m
Bug: 232439428
Change-Id: I99879c0cfa71bfce44be3b080ca97934bdfa3100
2023-02-15 21:40:27 +00:00
Pedro Loureiro
efd12cc5bf Merge "Add SEPolicy for device config service" am: 43b0b8a65c am: 14060332c7 am: fe0ce26f53
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2430374

Change-Id: Ic9b09bf6e69fcec9e8f35de48be914f332bd45b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 14:03:59 +00:00