Commit Graph

7586 Commits

Author SHA1 Message Date
Elliott Hughes 033640c404 am 6beca66f: am 3f94aa5f: am 51c4d4c4: Merge "AArch64: Port debuggerd"
* commit '6beca66f9ceaf5733ff5a4a00f1d272e42e871a2':
  AArch64: Port debuggerd
2014-01-31 23:11:20 +00:00
Elliott Hughes 0a097c2a80 am 6bad401c: am 65bbc6c4: am e94985a2: Merge "Increase the scope of other reused definitions."
* commit '6bad401ce83028ea73d8356f82aa42520a3d8aad':
2014-01-31 23:11:19 +00:00
JP Abgrall 073e62e4ee am cdecfcbb: Merge "init: prevent waiting forever when a setprop is incomplete." into klp-volantis-dev
* commit 'cdecfcbb33fc3cc85ac7210ec53f6f1f90a6ffee':
  init: prevent waiting forever when a setprop is incomplete.
2014-01-31 23:07:20 +00:00
Elliott Hughes 6beca66f9c am 3f94aa5f: am 51c4d4c4: Merge "AArch64: Port debuggerd"
* commit '3f94aa5fbb627618c6b855f74e23465a4484546b':
  AArch64: Port debuggerd
2014-01-31 23:07:08 +00:00
Elliott Hughes 6bad401ce8 am 65bbc6c4: am e94985a2: Merge "Increase the scope of other reused definitions."
* commit '65bbc6c42d8e35b77f50d794e302da3d63a0b8ae':
2014-01-31 23:07:07 +00:00
JP Abgrall cdecfcbb33 Merge "init: prevent waiting forever when a setprop is incomplete." into klp-volantis-dev 2014-01-31 23:03:08 +00:00
Elliott Hughes 3f94aa5fbb am 51c4d4c4: Merge "AArch64: Port debuggerd"
* commit '51c4d4c431dbbabe6db1cea5bb21822c69b7546c':
  AArch64: Port debuggerd
2014-01-31 23:01:22 +00:00
Elliott Hughes 65bbc6c42d am e94985a2: Merge "Increase the scope of other reused definitions."
* commit 'e94985a2514312e7103fbb6a6a45e473031cb6c0':
2014-01-31 23:01:21 +00:00
JP Abgrall 4515d81e7e init: prevent waiting forever when a setprop is incomplete.
Any app can
  socket_local_client_connect(s, "property_service", ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_STREAM)
and just keep it open without sending anything.
From then on, the property_service.c::handle_property_set_fd() will
just recv() forever.
This prevents any other properties (i.e. property_set("sys.powerctl", "reboot"))
from being processed.

Now, we just poll() for 2 sec before recv(...,MSG_DONTWAIT).

Bug: 12061560
Change-Id: Iffea4ebb444c7100b59c43ed87aecc5c99f9d3e8
2014-01-31 14:53:21 -08:00
Elliott Hughes cbd0ae3775 am c337a961: am ba0cecf8: Increase the scope of other reused definitions.
* commit 'c337a961240baaa8529968d4e30e81621fba9ca5':
  Increase the scope of other reused definitions.
2014-01-31 22:38:30 +00:00
Elliott Hughes 9361b58330 am fe0d5d42: am 5434bf66: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."
* commit 'fe0d5d42e4ca8b77d6a0657be1b8b6343c21d689':
  LP64: Enable debuggerd/libbacktrace/libunwind.
2014-01-31 22:38:29 +00:00
Elliott Hughes 28d1d3bad0 am 287fed5d: am 469f1533: Merge "Fix build by defining LOCAL_PATH early enough."
* commit '287fed5d091bb772a1932ea369919811e6c371a6':
  Fix build by defining LOCAL_PATH early enough.
2014-01-31 22:38:28 +00:00
Elliott Hughes c2e5886cf2 am 1ca51cba: am 525155ac: Merge "Allow the host libcorkscrew to build."
* commit '1ca51cba06b962e4ddfff9c731b693d103ba8a5e':
  Allow the host libcorkscrew to build.
2014-01-31 22:38:27 +00:00
Elliott Hughes c337a96124 am ba0cecf8: Increase the scope of other reused definitions.
* commit 'ba0cecf8e3fd484494d3a586e1be97037c680bcf':
  Increase the scope of other reused definitions.
2014-01-31 22:09:30 +00:00
Elliott Hughes fe0d5d42e4 am 5434bf66: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."
* commit '5434bf6640af7145986d63968846ba7168dab406':
  LP64: Enable debuggerd/libbacktrace/libunwind.
2014-01-31 22:09:29 +00:00
Elliott Hughes 287fed5d09 am 469f1533: Merge "Fix build by defining LOCAL_PATH early enough."
* commit '469f15339dd2ea7458d12bcdff802d26dcffbcd7':
  Fix build by defining LOCAL_PATH early enough.
2014-01-31 22:09:28 +00:00
Elliott Hughes 1ca51cba06 am 525155ac: Merge "Allow the host libcorkscrew to build."
* commit '525155ac49bae98e9f50ce667609c32eeccc80be':
  Allow the host libcorkscrew to build.
2014-01-31 22:09:28 +00:00
Mark Salyzyn 83fc720785 libsysutil: frequent native crash /system/bin/vold
BUG: 12796279

regression from commit a6e965578e44f9ae5f98de822ba5decec381dffc

* wrap writev with sigaction SIG_IGN SIGPIPE to emulate the
  send(,,,MSG_NOSIGNAL) call it had replaced.

Change-Id: I14363630ada79c0a5b85bb6b2afd0a1c4d5c3109
2014-01-31 09:06:34 -08:00
Elliott Hughes df4b9e6890 am 480fdd52: am e97dad0d: Merge "debuggerd: a few generic improvements"
* commit '480fdd524da3aa24429e46b81f52651f95c1c59a':
  debuggerd: a few generic improvements
2014-01-31 16:41:15 +00:00
Elliott Hughes 70b35fd6b8 am 7dc91f8c: am 8623972d: Merge "Don\'t try to build libcorkscrew for LP64."
* commit '7dc91f8cfae2cc71343fa0b914f339e55dd428a1':
  Don't try to build libcorkscrew for LP64.
2014-01-31 16:41:14 +00:00
Elliott Hughes daea762e03 am e5734557: am caefe564: Merge "x86: Enable libunwind"
* commit 'e5734557d962c801375eeee600e89c98d65dd976':
  x86: Enable libunwind
2014-01-31 16:41:14 +00:00
Christopher Ferris 6334485f16 am cbe55724: am 7957529d: Merge "Clean up UnwindCurrent.cpp\'s use of ucontext.h."
* commit 'cbe55724c8211c9c06362cebff0a262197dbc351':
  Clean up UnwindCurrent.cpp's use of ucontext.h.
2014-01-31 16:41:13 +00:00
Colin Cross bd74ac6d38 am 1c75422c: am 1686784a: Merge changes I6bffe1cd,I0984ba01
* commit '1c75422c2144b845412b20c100e3a13cf2704212':
  fs_mgr: split fstab parsing into separate file
  fs_mgr: update ext4_parse_sb to match change in ext4_utils
2014-01-31 16:41:12 +00:00
Elliott Hughes c97d38a5fd am c1c1c827: am 710f6634: Merge "Switch mips libcorkscrew over to <sys/ucontext.h>."
* commit 'c1c1c8272860225a066d4365e9ebe87a753405b3':
  Switch mips libcorkscrew over to <sys/ucontext.h>.
2014-01-31 16:41:12 +00:00
Ian Rogers f312814060 am c9869057: am 1ca10eab: Merge "Avoid redefinition of __STDC_FORMAT_MACROS."
* commit 'c98690576ab6d7d13e5c0d3387db8149de71d9de':
  Avoid redefinition of  __STDC_FORMAT_MACROS.
2014-01-31 16:41:11 +00:00
Elliott Hughes 7d6aed2c77 am 84ba6b52: am 59b5294f: Merge "Switch arm libcorkscrew over to <sys/ucontext.h>."
* commit '84ba6b52b22e91cade601b28dd4c630a1f1d4b70':
  Switch arm libcorkscrew over to <sys/ucontext.h>.
2014-01-31 16:41:10 +00:00
Elliott Hughes 174d06f6e4 am 4d0520fb: am b99d5294: Merge "Switch x86 libcorkscrew over to <ucontext.h>."
* commit '4d0520fbc92f4bfead3b87890ae9af6dcf3be0ab':
  Switch x86 libcorkscrew over to <ucontext.h>.
2014-01-31 16:41:09 +00:00
Elliott Hughes 480fdd524d am e97dad0d: Merge "debuggerd: a few generic improvements"
* commit 'e97dad0d95ae1305686bf4294029da947fc2dcf2':
  debuggerd: a few generic improvements
2014-01-31 13:00:38 +00:00
Elliott Hughes 7dc91f8cfa am 8623972d: Merge "Don\'t try to build libcorkscrew for LP64."
* commit '8623972dc0055ae878df24cf93a663e60a6787f1':
  Don't try to build libcorkscrew for LP64.
2014-01-31 13:00:37 +00:00
Elliott Hughes e5734557d9 am caefe564: Merge "x86: Enable libunwind"
* commit 'caefe564a4b05e717a3baec155b8968ad36e58b6':
  x86: Enable libunwind
2014-01-31 12:17:16 +00:00
Christopher Ferris cbe55724c8 am 7957529d: Merge "Clean up UnwindCurrent.cpp\'s use of ucontext.h."
* commit '7957529d4419fa92928daebfdc5f5bb1ee50120a':
  Clean up UnwindCurrent.cpp's use of ucontext.h.
2014-01-31 12:17:15 +00:00
Colin Cross 1c75422c21 am 1686784a: Merge changes I6bffe1cd,I0984ba01
* commit '1686784a37848fa985258f3f87cf6835f1c8cf0e':
  fs_mgr: split fstab parsing into separate file
  fs_mgr: update ext4_parse_sb to match change in ext4_utils
2014-01-31 10:27:04 +00:00
Elliott Hughes c1c1c82728 am 710f6634: Merge "Switch mips libcorkscrew over to <sys/ucontext.h>."
* commit '710f66342591c889b0bf545ff3c578731f112a6b':
  Switch mips libcorkscrew over to <sys/ucontext.h>.
2014-01-31 10:27:02 +00:00
Ian Rogers c98690576a am 1ca10eab: Merge "Avoid redefinition of __STDC_FORMAT_MACROS."
* commit '1ca10eabd84e13e2c71d56ef48218bc981f79497':
  Avoid redefinition of  __STDC_FORMAT_MACROS.
2014-01-31 10:27:00 +00:00
Elliott Hughes 84ba6b52b2 am 59b5294f: Merge "Switch arm libcorkscrew over to <sys/ucontext.h>."
* commit '59b5294f0ead4f50dbd3b45b6602d145cf9d3afd':
  Switch arm libcorkscrew over to <sys/ucontext.h>.
2014-01-31 10:26:59 +00:00
Elliott Hughes 4d0520fbc9 am b99d5294: Merge "Switch x86 libcorkscrew over to <ucontext.h>."
* commit 'b99d52944f61aebdac427a490bfed2ae8cccbc10':
  Switch x86 libcorkscrew over to <ucontext.h>.
2014-01-31 10:26:58 +00:00
Elliott Hughes 51c4d4c431 Merge "AArch64: Port debuggerd" 2014-01-31 02:05:45 +00:00
Kévin PETIT abc60c26b7 AArch64: Port debuggerd
Change-Id: Ib18f76f375a1d70c84e0a09d221e17ac43144b96
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
2014-01-30 18:05:03 -08:00
Elliott Hughes e94985a251 Merge "Increase the scope of other reused definitions." 2014-01-31 01:52:17 +00:00
Elliott Hughes ba0cecf8e3 Increase the scope of other reused definitions.
(Testing this in a non-x86 tree, as I'd been doing, was no testing at all.)

Change-Id: I6c5d08e9d566554c212feb8499238aeadf877dad
2014-01-30 17:51:18 -08:00
Elliott Hughes 5434bf6640 Merge "LP64: Enable debuggerd/libbacktrace/libunwind." 2014-01-31 01:48:16 +00:00
Elliott Hughes 469f15339d Merge "Fix build by defining LOCAL_PATH early enough." 2014-01-31 01:39:50 +00:00
Elliott Hughes bf857aeae3 Fix build by defining LOCAL_PATH early enough.
Change-Id: I959b04e5539d6f24ce96cd6737434f932d717e1b
2014-01-30 17:39:22 -08:00
Pavel Chupin c6c194ced0 LP64: Enable debuggerd/libbacktrace/libunwind.
Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-01-30 17:15:24 -08:00
Elliott Hughes 525155ac49 Merge "Allow the host libcorkscrew to build." 2014-01-31 00:39:54 +00:00
Elliott Hughes fe4d68b6ed Allow the host libcorkscrew to build.
Change-Id: Iabe82720d3261a9bd35763c260d3c4b6d422e287
2014-01-30 16:39:22 -08:00
Elliott Hughes e97dad0d95 Merge "debuggerd: a few generic improvements" 2014-01-30 23:56:55 +00:00
Kévin PETIT 4bb477205a debuggerd: a few generic improvements
This one makes dump_memory reasonably architecture-agnostic so it is
possible to share the code between architectures.

It also includes a few small improvements in tombstone.cpp.

Change-Id: Ib8a9599bfa420b41e80207988e87aee1b9d79541
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
2014-01-30 15:55:33 -08:00
Elliott Hughes 8623972dc0 Merge "Don't try to build libcorkscrew for LP64." 2014-01-30 23:15:42 +00:00
Elliott Hughes d5aff0a6fa Don't try to build libcorkscrew for LP64.
Change-Id: I77e36b83048b40ba53b6790b7c31beac27feee56
2014-01-30 14:43:42 -08:00