Commit graph

80847 commits

Author SHA1 Message Date
Steven Moreland
bc21816d5b Merge "init_kill_services_test: clearer logs" 2023-03-15 23:59:10 +00:00
Steven Moreland
d9d4034d0b init_kill_services_test: clearer logs
Don't continue with a specific run if a service
is already dead.

Bug: 272618190
Test: init_kill_services_test
Change-Id: I1b1c0b4e87fd7a5200bd6e6e6af2eb9686d7367d
2023-03-15 21:47:38 +00:00
Treehugger Robot
1d25c20ada Merge "libprocessgroup: Add argument checks in KillProcessGroup()" 2023-03-15 21:32:07 +00:00
Treehugger Robot
89d8fdf3ed Merge "init tests: libhidl-gen-utils static" 2023-03-15 21:16:50 +00:00
Steven Moreland
973aadeff5 init tests: libhidl-gen-utils static
No longer installed on device, so we need to include
it as a static lib. This library was actually specified
as a dependency on vts_ibase_test in two places, so this
is the second CL doing the same thing but in another
project.

Fixes: 270497432
Test: readelf -d $ANDROID_BUILD_TOP/out/target/product/vsoc_x86_64/data/nativetest/vts_ibase_test/vts_ibase_test
  no longer shows libhidl-gen-utils
Change-Id: Icf427085e3978906e82231c8faacb7bdbcbf4569
2023-03-15 19:40:56 +00:00
David Anderson
674b650c8d Merge "Remove the libsnapshot fuzzer." 2023-03-15 16:40:15 +00:00
Bart Van Assche
51e58aced4 libprocessgroup: Add argument checks in KillProcessGroup()
Apparently there is Java code that calls KillProcessGroup() with an
invalid initialPid argument. Hence this CL that makes KillProcessGroup()
fail early if one of its arguments is invalid.

Change-Id: I42f98eed139d9d0950428d04180e4613ba74b4e6
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-03-15 09:35:06 -07:00
Sam Dubey
55f9fa3911 Remove the libsnapshot fuzzer.
Follow u aosp/2480175

Test Breakage: http://shortn/_YhuHhWTtnw

(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a3faea8551c03d55924f013b479e869dda8fb166)
Change-Id: I82b0bc9be70fab249b17d6a5b96af09ee14b1586
2023-03-14 11:23:15 +00:00
Tri Vo
dc8a0b820e Merge "Remove RemoteProvisioner" am: 3aa6c71d43
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485616

Change-Id: I11527a0542ee6524947c674599ae877cf5aea9d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 04:29:01 +00:00
Tri Vo
3aa6c71d43 Merge "Remove RemoteProvisioner" 2023-03-14 03:54:17 +00:00
Christopher Ferris
eece71ae8a Merge "Fix unwind information for crash assembler." am: e6453c54d9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485457

Change-Id: Ib632c471cee8b10ac8f81830406d9d86033e116e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 02:33:31 +00:00
Christopher Ferris
e6453c54d9 Merge "Fix unwind information for crash assembler." 2023-03-14 02:01:34 +00:00
Treehugger Robot
270959a336 Merge "Stop respawning serial console if disabled" am: a6b295b95e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485621

Change-Id: I7cd7e1bd58b65e52dbfff4b3b2ba197f10cc8b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 01:17:55 +00:00
Treehugger Robot
a6b295b95e Merge "Stop respawning serial console if disabled" 2023-03-14 00:49:16 +00:00
Alistair Delva
f9bfe0d16d Stop respawning serial console if disabled
After introducing ro.boot.serialconsole=0, the console will no longer be
spawned, but a step was missed to disable the service to prevent
respawns.

Bug: 266982931
Bug: 223797063
Bug: 267428635
Change-Id: I12b159eaa1999781aec31c05ce431b55e2ba4017
2023-03-13 16:09:36 -07:00
Christopher Ferris
4761355a54 Fix unwind information for crash assembler.
Test: Crash on arm, arm64, x86, x86_64 and verified full stack is
Test: found in tombstone.
Change-Id: I809ec66d6ce9af378c8e8b04cc1c85b51a61779f
2023-03-13 14:44:22 -07:00
Tri Vo
ee45e23798 Remove RemoteProvisioner
RemoteProvisioner is deprecated in favor of RKPD

Bug: 273325840
Test: m
Change-Id: I71abe9e0173ef399f9bca65814995aa7e66f1ebe
2023-03-13 13:55:32 -07:00
David Anderson
09047e2366 Merge changes Ife319450,I2ecf838b am: 10c200db28
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2481033

Change-Id: I5a0cfc2355204203cc8d02f2d581a2da344139c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:40:28 +00:00
David Anderson
10c200db28 Merge changes Ife319450,I2ecf838b
* changes:
  snapshotctl: Display merge progress and phases.
  Remove the libsnapshot fuzzer.
2023-03-13 19:27:06 +00:00
Daniel Zheng
cfefe87d96 Merge "Added support for Wipe Task" am: bc1789b153
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2485335

Change-Id: I11211bd2f0e595dd41282448fca06c41ff8c9d9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:24:11 +00:00
David Anderson
20c34a1d1d Merge changes I262391dd,I18aad4a5,I0786e475 am: 8845b1d9c7
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2443802

Change-Id: Ia4de33f6df7f10e6439c40bdab8ace687c063265
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 19:24:00 +00:00
Daniel Zheng
bc1789b153 Merge "Added support for Wipe Task" 2023-03-13 18:58:10 +00:00
David Anderson
8845b1d9c7 Merge changes I262391dd,I18aad4a5,I0786e475
* changes:
  snapuserd: Move socket and io_uring status out of core and into the server.
  snapuserd: Rename UserSnapshotDmUserHandler to HandlerThread.
  snapuserd: Split out the implementation into a libsnapuserd component.
2023-03-13 18:53:28 +00:00
David Anderson
efcc9ae010 snapshotctl: Display merge progress and phases.
Bug: N/A
Test: snapshotctl dump during merge phase
Change-Id: Ife319450b28c8c58268a03127e9f58c47fc224d8
2023-03-13 10:53:54 -07:00
Daniel Zheng
15e7783263 Added support for Wipe Task
Test: tested wipe on Raven
Bug: 194686221
Change-Id: I582800a279cbe8a3e733a1e75447e5b5142d4120
2023-03-13 17:37:31 +00:00
Treehugger Robot
813557252a Merge "Add RKPD unit tests to trusty keymaster changes." am: f8b5e48eee
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2475212

Change-Id: I817079656f664304af1df708e4ea5d87282a8958
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 10:04:42 +00:00
Treehugger Robot
f8b5e48eee Merge "Add RKPD unit tests to trusty keymaster changes." 2023-03-13 09:35:18 +00:00
Daniel Zheng
fe7e896215 Merge changes Ieb949243,I04f07c81 am: 915ea84dca
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2475405

Change-Id: Iafcc53663e82623a3c3f35333719a065282c79dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 19:14:52 +00:00
Daniel Zheng
915ea84dca Merge changes Ieb949243,I04f07c81
* changes:
  Fixed parameter styling and minor error in tasks
  Added support for Delete Task
2023-03-09 18:34:00 +00:00
Daniel Zheng
4985bb717c Merge "Added support for Resize Task" am: 62ee449de1
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2473865

Change-Id: Ia33abbbeefcbbd896f98c5c7abda76e904bfa62d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:59 +00:00
Daniel Zheng
7256acc6c6 Merge "Added support for Update Super Task" am: db94b51c74
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2469300

Change-Id: Ic60e10ce663c72b7e052bab62ff089c27788c5f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:44 +00:00
Daniel Zheng
6d3b90c1fd Merge "Added support for FlashSuperLayoutTask" am: 769ea81c4c
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2448347

Change-Id: If1bdbcef4e831f08c19b921a7e9094bff1766a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 17:30:28 +00:00
Daniel Zheng
62ee449de1 Merge "Added support for Resize Task" 2023-03-09 16:59:07 +00:00
Daniel Zheng
db94b51c74 Merge "Added support for Update Super Task" 2023-03-09 16:58:55 +00:00
Daniel Zheng
769ea81c4c Merge "Added support for FlashSuperLayoutTask" 2023-03-09 16:58:39 +00:00
David Anderson
6aaae78047 Remove the libsnapshot fuzzer.
The only bugs in the corpus here were bugs in the fuzzer itself. Part
of the reason is its speed - it's limited by the dm layer so can't fuzz
optimally. That also makes it difficult to maintain, since it's
effectively a functional OTA fuzzer, and is very sensitive to the
implementation of libsnapshot.

After discussing this through with the team, we think the best course is
to sunset this and aim for improved unit and functional OTA testing.

Bug: 227656961
Test: builds
Change-Id: I2ecf838be336ee06459988ef282f0694cebfce51
2023-03-09 08:35:49 -08:00
David Drysdale
c0adf2626b Merge "Add more Gatekeeper OWNERS" am: 79faee9035
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2477515

Change-Id: I7f297b624136fa8dd8d7919983f1e40e7017cd68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 06:53:34 +00:00
David Drysdale
79faee9035 Merge "Add more Gatekeeper OWNERS" 2023-03-09 06:30:37 +00:00
Max Bires
fea7f85a4e Add RKPD unit tests to trusty keymaster changes.
This ensures that full integration testing is done when changes are made
to the KM/IRPC client HAL service for Trusty.

Test: The tests are run.
Change-Id: Id22bbac119f76653a5b2338e97f28032822741f0
2023-03-08 17:40:18 -08:00
Treehugger Robot
f58219c0f1 Merge "Accept SEGV_MTESERR in CrasherTest.mte_async test." am: b3bf57dbe9
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2476664

Change-Id: I550d6a570b3b72a7348595d72ae0408a3c97ea0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 01:04:34 +00:00
Treehugger Robot
b3bf57dbe9 Merge "Accept SEGV_MTESERR in CrasherTest.mte_async test." 2023-03-09 00:34:39 +00:00
Daniel Zheng
43987c948b Fixed parameter styling and minor error in tasks
Test: tested compilation
Change-Id: Ieb949243da1284dec3bad2caa895a59465858adc
2023-03-08 23:07:51 +00:00
Daniel Zheng
aa70f4c748 Added support for Delete Task
Test: tested delete-logical-partition {partition} and flashall on Raven

Change-Id: I04f07c8132159deda42434b9178e8c98d5ab768b
Bug: 194686221
2023-03-08 23:07:51 +00:00
Daniel Zheng
9f7bf7eff3 Added support for Resize Task
Test: tested flashall on raven
Bug: 194686221
Change-Id: I60586756b2d5f99848a664def8204c0bd47d7e67
2023-03-08 23:07:50 +00:00
Daniel Zheng
6bb8baa929 Added support for Update Super Task
Test: tested flashall on raven
Bug: 194686221
Change-Id: Ifc99af77f9235bf56a549f53e7d43575686fb42b
2023-03-08 23:07:50 +00:00
Daniel Zheng
47d70a5559 Added support for FlashSuperLayoutTask
Test: testing flashall code with this change
Bug: 194686221
Change-Id: Ibb96980402db51b48c9a296338f29195f68c65bf
2023-03-08 23:07:48 +00:00
Eric Biggers
cc4ebd8442 Merge "Avoid odd behavior when clearing nonexistent SID" am: 9089ec6b0b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2470860

Change-Id: I760afb05eb7a0b802d4dc053371ebdfe18e3c723
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 20:56:22 +00:00
Eric Biggers
9089ec6b0b Merge "Avoid odd behavior when clearing nonexistent SID" 2023-03-08 20:16:10 +00:00
David Drysdale
645a0d8e3d Add more Gatekeeper OWNERS
Test: none
Change-Id: Id27ab0fec14e9290820eabff5a5f0ccb3d8eada4
2023-03-08 16:47:13 +00:00
Zijun Zhao
0e161700aa Merge "Suppress the error warning" am: e851f2d617
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2468620

Change-Id: I5c3921ff63cec915ffb81e4b66ed24cc1a8b6117
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 05:44:59 +00:00