Peter Collingbourne
3d89a46db3
Merge "Read fault address on arm64 using proposed kernel API." am: cd63cae6b2
...
Change-Id: I87988443ee8e910345038880ede59937bd87ada0
2020-03-30 21:55:47 +00:00
Peter Collingbourne
cba2467937
Merge "Create a debugger_process_info data structure with the process info pointers." am: 5677803cb7
...
Change-Id: I4442107d1c6cc10a0765548e92af9fe89c2d575a
2020-03-30 21:55:26 +00:00
Peter Collingbourne
cd63cae6b2
Merge "Read fault address on arm64 using proposed kernel API."
2020-03-30 21:40:58 +00:00
Peter Collingbourne
5677803cb7
Merge "Create a debugger_process_info data structure with the process info pointers."
2020-03-30 21:36:41 +00:00
Tianjie Xu
97647f2751
Merge "Fix integrity check when parsing zip64 eocd" am: b480dc4f3f
...
Change-Id: I4d42e3ca1d15b7ab07fdda4285ef6422cda7d047
2020-03-30 20:46:57 +00:00
Tianjie Xu
b480dc4f3f
Merge "Fix integrity check when parsing zip64 eocd"
2020-03-30 20:33:45 +00:00
Peter Collingbourne
f64ee2db1c
Merge "Move crash_dump into the runtime APEX." am: e2b76c5b00
...
Change-Id: Ie235a852fff89beaca3f09c3ec58a7ad4c453e3b
2020-03-30 19:18:00 +00:00
Peter Collingbourne
e2b76c5b00
Merge "Move crash_dump into the runtime APEX."
2020-03-30 19:03:41 +00:00
Tom Cherry
f1e8da1bf5
Merge changes I3b20be28,I7118025c am: 3de710f84f
...
Change-Id: Iba41f236bdfd7b37c60c61b658f2d3122c504217
2020-03-30 18:06:51 +00:00
Treehugger Robot
96546c0d17
Merge "Move PC-only unwind frame generation to libunwindstack." am: 6f6beb3cc0
...
Change-Id: I57db8cc62e0c480e7948e9624c1e68521f1fed57
2020-03-30 18:06:41 +00:00
Tom Cherry
3de710f84f
Merge changes I3b20be28,I7118025c
...
* changes:
Revert "init: disable oneshot_on test"
init: require root for oneshot_on test
2020-03-30 18:03:00 +00:00
Treehugger Robot
6f6beb3cc0
Merge "Move PC-only unwind frame generation to libunwindstack."
2020-03-30 17:49:35 +00:00
Tom Cherry
91537d30de
Revert "init: disable oneshot_on test"
...
This reverts commit d30c51157e .
This test wasn't flaky, it was failing when not run as root, but that
has been fixed.
Bug: 152630580
Bug: 152637928
Test: this test is okay now
Change-Id: I3b20be2839dae90ffc6a8eeea68f36e532060af1
2020-03-30 09:37:05 -07:00
Tom Cherry
14f4afd2f2
init: require root for oneshot_on test
...
Bug: 152630580
Bug: 152637928
Bug: 152662041
Bug: 152662652
Test: this test is skipped when run as non-root
Change-Id: I7118025cc20081a200000bf484a08c9ed0b0d3ec
2020-03-30 09:12:31 -07:00
Treehugger Robot
e573490d35
Merge "libdm: Link libraries statically for VTS." am: 4e18727421
...
Change-Id: I9ea806b869d6b704cfe1d97826d36b6edaa20883
2020-03-30 02:05:26 +00:00
Treehugger Robot
4e18727421
Merge "libdm: Link libraries statically for VTS."
2020-03-30 01:46:54 +00:00
Tianjie
173aba03f7
Fix integrity check when parsing zip64 eocd
...
The old check has some missing cases and may lead to read OOB.
Bug: 152433916
Test: unit tests pass
Change-Id: I3e8705b9c2db081228c5f9bd191c133668376ff2
2020-03-28 21:31:56 -07:00
Treehugger Robot
b5c953337a
Merge "init: disable oneshot_on test" am: 56188cc1c2
...
Change-Id: I40c518da7bfea5f026acdce7c83c85476f3a3452
2020-03-28 20:13:07 +00:00
Treehugger Robot
56188cc1c2
Merge "init: disable oneshot_on test"
2020-03-28 19:49:26 +00:00
Songchun Fan
d9ec4fc3f3
Merge "[adb] use zip iteration with functor" am: 26a8ed983c
...
Change-Id: I90aa462916891634b5406f0408aff02b0a3e97a5
2020-03-28 03:13:21 +00:00
Songchun Fan
26a8ed983c
Merge "[adb] use zip iteration with functor"
2020-03-28 03:03:07 +00:00
Peter Collingbourne
f03af8844a
Read fault address on arm64 using proposed kernel API.
...
On aarch64, the top 8 bits of the address (i.e. the tag bits) of
the fault address in si_addr are always clear. This isn't ideal for
MTE which will require these bits in order to correctly diagnose
tag mismatches.
A proposed kernel patch [1] exposes the full fault address including
the tag bits as part of the ucontext. Change debuggerd to read this
fault address if available.
[1] https://patchwork.kernel.org/patch/11435077/
Bug: 135772972
Change-Id: Ia05be574113860f4e9ecc36a310c4b740e0c4afb
2020-03-27 20:00:06 -07:00
Treehugger Robot
6ebfda18e9
Merge "Revert "Revert "Delay initial accept() until server initialized""" am: 551130fc2b
...
Change-Id: I8451b3e2fcdf4261d004befd4c9ba457cd237e8b
2020-03-28 01:41:10 +00:00
Songchun Fan
0f11895157
[adb] use zip iteration with functor
...
Test: manual
BUG: 151676293
Change-Id: I738811bb5ff3ecc86ae49aa64df29427fb4ec69a
2020-03-27 18:38:50 -07:00
Treehugger Robot
551130fc2b
Merge "Revert "Revert "Delay initial accept() until server initialized"""
2020-03-28 01:27:38 +00:00
Treehugger Robot
ba6f4f78a1
Merge "[adb] Use incremental installation by default" am: 02875acf84
...
Change-Id: I0c30a4c01110faad617221c4b7bbd19a1f2b04c2
2020-03-28 01:01:36 +00:00
Treehugger Robot
02875acf84
Merge "[adb] Use incremental installation by default"
2020-03-28 00:47:26 +00:00
David Anderson
fdeaaba67f
Merge "fastbootd: Unmount /cache before flashing." am: 9d7eaf48bc
...
Change-Id: I842c69106f0cefe690bdb11ecf4859c7132f9cfd
2020-03-27 23:49:50 +00:00
David Anderson
9d7eaf48bc
Merge "fastbootd: Unmount /cache before flashing."
2020-03-27 23:48:13 +00:00
Treehugger Robot
c8ab2ee7e4
Merge "init: even better logging around subsequent sys.powerctl messages" am: e578fd579e
...
Change-Id: I86ba70529998bf5f05b08faeffdce526e345a4a7
2020-03-27 23:46:12 +00:00
Treehugger Robot
e578fd579e
Merge "init: even better logging around subsequent sys.powerctl messages"
2020-03-27 23:30:25 +00:00
Yifan Hong
26ae7dd00a
Merge changes from topic "fdr_merge" am: 4e78aa8f12
...
Change-Id: I5d6435cbb48be36f8751ae0bfb3d3d512e07e01e
2020-03-27 23:16:20 +00:00
Treehugger Robot
11a0142cc1
Merge "init: do not handle control messages after shutdown" am: e10591fc62
...
Change-Id: Ie979879492f986031a67c425b34c7667746d191a
2020-03-27 23:16:10 +00:00
Yifan Hong
4e78aa8f12
Merge changes from topic "fdr_merge"
...
* changes:
libsnapshot: Allow forward merge on FDR
libsnapshot: Place forward merge indicator for wipe
libsnapshot: Add allow-forward-merge indicator.
libsnapshot: Fix DataWipeAfterRollback test
2020-03-27 23:05:15 +00:00
Treehugger Robot
e10591fc62
Merge "init: do not handle control messages after shutdown"
2020-03-27 22:55:30 +00:00
Treehugger Robot
6441f950dd
Merge "init: fix StopSendingMessages()" am: cf14ea2c7f
...
Change-Id: I6618980ab5bec308a488a76bde6de7e297464014
2020-03-27 22:50:43 +00:00
Treehugger Robot
cf14ea2c7f
Merge "init: fix StopSendingMessages()"
2020-03-27 22:36:51 +00:00
Tom Cherry
080fa98815
init: even better logging around subsequent sys.powerctl messages
...
Bug: 150863651
Test: add delays during critical parts of shutdown and see the
expected debug information
Change-Id: Ida586903fd3eefc32ca9ee34ea2db037896ed9f4
2020-03-27 14:39:16 -07:00
Tom Cherry
22d6348845
init: do not handle control messages after shutdown
...
We already stop queue'ing new control messages, but we forgot to stop
handling those control messages that are already queued. This CL
fixes that.
Bug: 150863651
Test: CF reboots appropriately
Change-Id: Ifea07a30b868de23eb735db10d8bae410e1b98bb
2020-03-27 14:08:20 -07:00
Tom Cherry
68855276a1
init: fix StopSendingMessages()
...
A typo made this function a no-op.
Bug: 150863651
Test: CF responds to messages appropriately
Change-Id: Iaae0264fae3f2b899ceb5ba0364a4773df1f7ca3
2020-03-27 13:57:53 -07:00
Daniel Colascione
c2612cd775
Revert "Revert "Delay initial accept() until server initialized""
...
This reverts commit b71b5af783 .
Test: actually build device and host adb this time
Change-Id: I9f9375aa83c9d023a1e26d2f95676b734e12f926
2020-03-27 20:51:19 +00:00
Tom Cherry
d30c51157e
init: disable oneshot_on test
...
Apparently relying on bootanim to restart or not is too flaky.
Bug: 152630580
Bug: 152637928
Test: this test no longer runs
Change-Id: If61b31bad276560a9f0db9811724bbc9efc51d28
2020-03-27 13:37:50 -07:00
Yurii Zubrytskyi
4532ea881a
[adb] Use incremental installation by default
...
This CL turns on the incremental installation for all
"adb install ..." commands where no explicit mode has been set.
To disable this, set the ADB_INSTALL_DEFAULT_INCREMENTAL
environment variable to 0/n/no/false. Unset to enable back
+ improve the install command argument parsing a bit: allow
--wait for all installation modes, --incr is enough for
an incremental install (and --no-incr to disable it)
Bug: 150183149
Test: adb install with different apks and command line switches
Change-Id: I1a237f34b70d920146746ab16104e28ef555a5fd
2020-03-27 12:30:29 -07:00
Tom Cherry
6f2516b29c
Merge "init: use an eventfd instead of socketpair to wake the main loop" am: 44a6d9a527
...
Change-Id: I01d88132d2b2947202356b5b5dd65f0a4d41faea
2020-03-27 17:21:05 +00:00
Tom Cherry
44a6d9a527
Merge "init: use an eventfd instead of socketpair to wake the main loop"
2020-03-27 17:10:55 +00:00
Treehugger Robot
b8a9b8f367
Merge "adb: Avoid extra string construction" am: 6b42d6d859
...
Change-Id: I50743f9e3713d11c56d16bde9f6091f465f4db97
2020-03-27 15:16:28 +00:00
Tom Cherry
40463336a8
init: use an eventfd instead of socketpair to wake the main loop
...
eventfd is a more suitable mechanism.
Bug: 150863651
Test: boot CF, ctl.start services, reboot CF
Change-Id: Ie5c3b0c048afdd7afa4bfc4cba26bec3225925e5
2020-03-27 08:08:52 -07:00
Treehugger Robot
6b42d6d859
Merge "adb: Avoid extra string construction"
2020-03-27 15:00:05 +00:00
Greg Kaiser
030f1effdf
adb: Avoid extra string construction
...
Test: TreeHugger
Change-Id: Ie03062a17b98866f1bc419a7e509461cf4e6bb80
2020-03-27 06:10:11 -07:00
Yurii Zubrytskyi
5ce68b0941
Merge "[adb] generic "cast_handle_to_int" function" am: a1f41fc6f1
...
Change-Id: I1e22f9626dfbb806c603140e1bb97afadb1697d9
2020-03-27 07:24:19 +00:00