Commit graph

72671 commits

Author SHA1 Message Date
Rex Lin
dc14d16f80 Revert "Add libdexfile runtime dependency of libdexfile_support."
Revert "Allow visibility on libdexfile for all libdexfile_suppor..."

Revert "Add libdexfile runtime dependency of libdexfile_support."

Revert "Add libdexfile runtime dependency of libdexfile_support."

Revert submission 1810760-libdexfile-runtime-2

Reason for revert: DroidMonitor: Potential culprit for Bug 198352910 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted Changes:
If4da968e4:Add libdexfile runtime dependency of libdexfile_su...
I80162942a:Allow visibility on libdexfile for all libdexfile_...
Iab18abc8e:Add libdexfile runtime dependency of libdexfile_su...
I473d146d8:Add libdexfile runtime dependency of libdexfile_su...

Change-Id: Iacab8e0a5c74e0c3185a155e35c28903aa9acb4a
2021-09-01 01:57:17 +00:00
Treehugger Robot
b3212d41bb Merge changes I3968ff53,I0029838d am: d95a49f555
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1811862

Change-Id: I89de5c87bab9e7739d61d9668d0f140b7a5d42b7
2021-09-01 00:50:42 +00:00
Treehugger Robot
d95a49f555 Merge changes I3968ff53,I0029838d
* changes:
  inspect_cow: Add -l option to show all ops
  inspect_cow: Add -o to view Sequence Data
2021-09-01 00:35:01 +00:00
Martin Stjernholm
58171f1f57 Merge "Add libdexfile runtime dependency of libdexfile_support." am: fe657ea950
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1810838

Change-Id: Ie623eae1e29891da78e2c47e991ef8fba637d1bf
2021-08-31 19:37:39 +00:00
Martin Stjernholm
fe657ea950 Merge "Add libdexfile runtime dependency of libdexfile_support." 2021-08-31 19:10:40 +00:00
Martin Stjernholm
832f1ebeec Add libdexfile runtime dependency of libdexfile_support.
Necessary since static_libs doesn't propagate transitive dependencies
in Soong.

Test: m droid
Bug: 197856821
Bug: 169779783
Change-Id: If4da968e4e2f7ab0aaedd097c914242d0e9eb73e
2021-08-31 17:20:22 +01:00
Tianjie
10bec65ca8 Dump the root digest of hashtree for dm-verity partitions
It's requested by the partner engineering team to uniquely
identify a partition.

Bug: 197973981
Test: boot the device and check props
Change-Id: I0f7aa34dd0087f0698fe90b9df6c0eae06fc4f5d
2021-08-30 17:11:02 -07:00
Treehugger Robot
33bde47880 Merge "[fs_mgr] Use shared libutils for remount" am: f98bcdbac0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1809693

Change-Id: Iddc8a5d44a7f16d1647c7b29ac900a55a291f864
2021-08-30 22:31:40 +00:00
Treehugger Robot
f98bcdbac0 Merge "[fs_mgr] Use shared libutils for remount" 2021-08-30 22:20:27 +00:00
Pirama Arumuga Nainar
cdf919d1f0 [fs_mgr] Use shared libutils for remount
Bug: http://b/197965342

remount depends on libbinder.so which already depends on libutils.so.
When linking remount with libutils.a, the linker tries to fetch objects
from libutils.a to redefine undefined symbols in libbinder.so.  This
causes linker failure with upstream LLD.  Switching to shared
libutils.so instead doesn't increase the dependency closure for remount.

Test: build with aosp/1809741 which has lld with the above behavior.
Change-Id: I858042a08babe2c2db1fc8c7eeb5de62dda5f328
2021-08-30 12:18:08 -07:00
Daniel Rosenberg
b7885099b4 inspect_cow: Add -l option to show all ops
This makes inspect_cow not list all ops by default. Instead you must
pass -l to do this. This allows for viewing other data without being
overwhelmed bt the cow listings.

Test: inspect_cow with no flags, -l, and -lo
Change-Id: I3968ff53acb4e645a16ac5b09c5dee8374946f55
2021-08-27 15:40:53 -07:00
Daniel Rosenberg
f34f18e0a1 inspect_cow: Add -o to view Sequence Data
This allows inspecting sequence op data while viewing cow ops. Data will
be displayed per op.

Test: inspect_cow -o [CowFile]
Change-Id: I0029838ddc265c1aaeba2bbfa70241dea0b8ff20
2021-08-27 15:40:53 -07:00
Joel Galenson
54e849a675 Merge "Add bindgen bindings test" am: c3f73cbd15
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1806537

Change-Id: I358c368be1d49e67cdc086c9d470db3a0d582add
2021-08-27 15:49:05 +00:00
Joel Galenson
c3f73cbd15 Merge "Add bindgen bindings test" 2021-08-27 15:37:11 +00:00
David Anderson
56c898e39d Merge "fastboot: Support casefolding in ext4 partitions." am: b72fa73ace
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1764800

Change-Id: Iec1a3a089c534529c810f20d39d2913ac28de544
2021-08-27 01:38:37 +00:00
David Anderson
b72fa73ace Merge "fastboot: Support casefolding in ext4 partitions." 2021-08-27 01:18:06 +00:00
David Anderson
55b5360a6b Merge "first_stage_init: Add SIGCHLD handler in first_stage_console" am: ce8aa990d5
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1807489

Change-Id: Ie7a6e0d1c341e7cf67c12f8fdef693ce49f743af
2021-08-25 02:46:35 +00:00
David Anderson
ce8aa990d5 Merge "first_stage_init: Add SIGCHLD handler in first_stage_console" 2021-08-25 02:33:59 +00:00
Elliot Berman
6eb234017a first_stage_init: Add SIGCHLD handler in first_stage_console
Add a simple SIGCHLD handler to reap zombie processes given to init.

Bug: 197662257
Change-Id: I6e7930cfd7c311c454b361b9a541369ece2eb744
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2021-08-24 17:20:02 -07:00
Steven Moreland
e5eede1551 Merge "RefBase: Unknown mFlag meaning" am: 53e977339b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1805816

Change-Id: I3594e5658cc4759c0552aedb394f397be94d81d5
2021-08-24 20:27:09 +00:00
Steven Moreland
53e977339b Merge "RefBase: Unknown mFlag meaning" 2021-08-24 20:22:24 +00:00
David Anderson
5ca108dc6e Merge "libsnapshot: Fix missing source partitions when adding a new partition." am: 3936000b3e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1806550

Change-Id: I99c63b4eb37e862ce5de5aad8292ca3eb4fb6e29
2021-08-24 20:22:07 +00:00
David Anderson
3936000b3e Merge "libsnapshot: Fix missing source partitions when adding a new partition." 2021-08-24 20:09:30 +00:00
David Anderson
dc3afaf54a libsnapshot: Fix missing source partitions when adding a new partition.
When adding a new partition, don't attempt to map a source partition
during boot, because none exists. Instead use the base device.

Bug: 196922070
Test: vts_libsnapshot_test
Change-Id: Ice6015237b0a76a0210819994433e52159376393
2021-08-24 00:28:11 -07:00
Christopher Ferris
0d4badef5f Merge "Add fault address marker in proto to tombstone." am: a90757251d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1806543

Change-Id: I272ff8b533b4a2a3d6cfbdf9fc152a1233c6accd
2021-08-24 01:09:26 +00:00
Christopher Ferris
a90757251d Merge "Add fault address marker in proto to tombstone." 2021-08-24 01:00:09 +00:00
Christopher Ferris
7e4c2a8ccc Add fault address marker in proto to tombstone.
When the switch was made to dump the tombstone from the protobuf,
the fault address marker in the maps section went missing. Re-add
that logic and add new unit tests to verify all of the different
behaviors.

Bug: 193935960

Test: All unit tests pass.
Test: All unit tests pass when setprop debug.debuggerd.translate_proto_to_text 0
Test: The above on cuttlefish, 32 bit and 64 bit.
Test: The above on a flame, 32 bit and 64 bit.
Change-Id: I098bb6ab4bacacae2ca0fc5ec9a73549ed0b9489
2021-08-23 16:25:13 -07:00
Joel Galenson
30d4ab6167 Add bindgen bindings test
Note that this is currently a no-op test that does nothing.  But this
makes it future proof in case we add more later.

Test: atest
Change-Id: I23817febd2122f54c40958541fc66363d38b60ca
2021-08-23 13:46:03 -07:00
陈冠有
0cbef728f9 RefBase: Unknown mFlag meaning
Change-Id: I3ddd1895c48c682bdb0868e890c62029710bf1c8
2021-08-22 16:36:36 +00:00
Christopher Ferris
5567d47495 Merge "Modify missing output fd message." am: c1c2b4f816
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1795347

Change-Id: I63ddbd9c0fa924e20e5bd922734ca503eacee734
2021-08-20 20:02:55 +00:00
Christopher Ferris
c1c2b4f816 Merge "Modify missing output fd message." 2021-08-20 19:45:36 +00:00
Treehugger Robot
740824dfb3 Merge "Add MicrodroidHostTestCases to TEST_MAPPING" am: a896241e9b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1795367

Change-Id: I15ae1fd75576439e5bc7deab9b00e7596e15d11c
2021-08-20 00:28:15 +00:00
Treehugger Robot
a896241e9b Merge "Add MicrodroidHostTestCases to TEST_MAPPING" 2021-08-20 00:14:01 +00:00
Inseob Kim
32c0ad4d33 Add MicrodroidHostTestCases to TEST_MAPPING
Microdroid shares init with its host, defined under system/core/init.
This change adds MicrodroidHostTestCases to TEST_MAPPING to ensure that
Microdroid tests can verify patches to init.

Test: presubmit
Change-Id: I55f7e3ffbaf3401d145afac5f7c53d83f69e6ba7
2021-08-19 02:50:49 +00:00
Akilesh Kailash
3e69e17166 Merge "snapuserd: pass arguments by reference" am: b504369754
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1801248

Change-Id: Icfb72b665a9e83131e8fbcb90b077a4440c3e9e7
2021-08-19 01:24:29 +00:00
Akilesh Kailash
b504369754 Merge "snapuserd: pass arguments by reference" 2021-08-19 01:12:22 +00:00
Christopher Ferris
64a92413b6 Modify missing output fd message.
The "missing output fd" message can seem like an error, so modify
the message to indicate what is really happening. This message
will occur normally when running the debuggerd command, or when
a bugreport is generated, or when an ANR occurs. In all of those
cases, this is not an error, but an expected action.

Bug: 196189981

Test: Ran debuggerd -b and debuggerd and verified this message is seen.
Test: Ran unit tests.
Change-Id: I6e3d5a76d92b972c77fca301ea7147745bc67c37
2021-08-18 17:01:13 -07:00
Christopher Ferris
144019caa0 Merge "Remove trailing newlines from abort message." am: 80fccb3c9a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1801009

Change-Id: I60050f9e9c972c3576a77311c10d8a2ce4147757
2021-08-18 23:24:32 +00:00
Christopher Ferris
80fccb3c9a Merge "Remove trailing newlines from abort message." 2021-08-18 23:10:35 +00:00
Akilesh Kailash
9cc14503e0 snapuserd: pass arguments by reference
Bug: 193863442
Test: Build
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I5c3ad108b0ae08c411936962fc859415febac2b6
2021-08-18 22:47:04 +00:00
Christopher Ferris
e8891458e5 Remove trailing newlines from abort message.
The tombstone will add a newline after the abort message, so remove
any trailing newlines before saving/printing.

Bug: 196414062

Test: Unit tests pass.
Test: Set system property debug.debuggerd.translate_proto_to_text to 0
test: and unit tests still pass.
Change-Id: I0d3dc215eb5d8be93d99e5b9d4f0a14b1d61396d
2021-08-18 14:13:02 -07:00
David Anderson
5392f87b72 Merge "Fix shutdown animation cannot be shown" am: 95983cbbb6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1795394

Change-Id: I5bf7c171fb96642943f9b550d87302e4147e7813
2021-08-18 17:45:58 +00:00
David Anderson
95983cbbb6 Merge "Fix shutdown animation cannot be shown" 2021-08-18 17:26:50 +00:00
Elliott Hughes
5153cdee39 Merge "Split up the system/core/ TEST_MAPPING." am: 0589b7eb94
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1797132

Change-Id: I49316e97d5997bf5a0e5f7932aa3f1016b4566e6
2021-08-18 16:41:35 +00:00
Elliott Hughes
0589b7eb94 Merge "Split up the system/core/ TEST_MAPPING." 2021-08-18 16:25:15 +00:00
Treehugger Robot
0df7808cb2 Merge "fs_mgr: Separate the required modules of core and recovery variants" am: 0e13b0ebb4
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1782809

Change-Id: I965ec3b00c2867e96d65ac9983c4397c1b14218c
2021-08-18 05:47:40 +00:00
Treehugger Robot
0e13b0ebb4 Merge "fs_mgr: Separate the required modules of core and recovery variants" 2021-08-18 05:33:13 +00:00
Treehugger Robot
7d9fd87577 Merge "libsparse: python3." am: 2201ccfebe
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1798338

Change-Id: I0364ab45d78355054fc0c4d7f935c3a21ba6ed14
2021-08-18 00:15:32 +00:00
Treehugger Robot
e7b9de02f6 Merge "init: python3." am: ba62af23b4
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1798336

Change-Id: Ie9a09fae7183abb57f09a1b4467bc5d4bb2001d7
2021-08-18 00:15:21 +00:00
Treehugger Robot
2201ccfebe Merge "libsparse: python3." 2021-08-18 00:06:36 +00:00