Commit Graph

7765 Commits

Author SHA1 Message Date
Christopher Ferris 2765ec1434 am f355750d: am c47aa3bd: Merge "Fix mips build."
* commit 'f355750defa34d2e28d51a220947fea59c4f4429':
  Fix mips build.
2014-02-03 00:47:36 +00:00
Elliott Hughes f51bee45b0 am 784b6181: am cf53e5db: Merge "Fix debuggerd\'s symbol offset output."
* commit '784b6181cfd2a0362f35d32ee62a98ab60437397':
  Fix debuggerd's symbol offset output.
2014-02-03 00:47:36 +00:00
Christopher Ferris 77b2302331 am 3faf86c0: Merge "Call a specialized local map set."
* commit '3faf86c0d4b98e7d26edbe8d1c8a8a231c86a234':
  Call a specialized local map set.
2014-02-03 00:45:02 +00:00
Christopher Ferris f355750def am c47aa3bd: Merge "Fix mips build."
* commit 'c47aa3bd2acde49f858b21bcafd750b2981df7c0':
  Fix mips build.
2014-02-03 00:45:02 +00:00
Elliott Hughes 784b6181cf am cf53e5db: Merge "Fix debuggerd\'s symbol offset output."
* commit 'cf53e5dbdfa06a16104f4ffa03aeeb538fbd1509':
  Fix debuggerd's symbol offset output.
2014-02-03 00:45:01 +00:00
Christopher Ferris 3faf86c0d4 Merge "Call a specialized local map set." 2014-02-01 22:18:02 +00:00
Christopher Ferris c47aa3bd2a Merge "Fix mips build." 2014-02-01 22:13:17 +00:00
Christopher Ferris c53c47364f Fix mips build.
Change-Id: I5401ae6ca6553ebbec231166820c1c904355ec63
2014-02-01 12:23:03 -08:00
Christopher Ferris 73dc1cc3fb Call a specialized local map set.
Bug: 12852152
Change-Id: I8a0c558bc218805b0e06371af0af055e4aa6e0bb
2014-02-01 11:53:33 -08:00
Elliott Hughes cf53e5dbdf Merge "Fix debuggerd's symbol offset output." 2014-02-01 07:48:24 +00:00
Elliott Hughes f7b4b519e4 Fix debuggerd's symbol offset output.
Before:
  00007fff33e489d8  00007ff286e4ad94  /system/lib64/libc.so (__libc_init+54u)

After:
  00007fff45c6c158  00007f61bc36fd94  /system/lib64/libc.so (__libc_init+84)

Change-Id: I36796c99843a41583824a96793a5a4c81ddb666e
2014-01-31 23:13:55 -08:00
Elliott Hughes 6cfb31d652 am 5cbb68cf: am da9b5dab: am 434edbe6: Merge "LP64 should have debuggerd and debuggerd64."
* commit '5cbb68cf891fa040563c70784363496cf3e05174':
  LP64 should have debuggerd and debuggerd64.
2014-02-01 01:39:18 +00:00
Elliott Hughes 5cbb68cf89 am da9b5dab: am 434edbe6: Merge "LP64 should have debuggerd and debuggerd64."
* commit 'da9b5dab2d565f9682fe1fb3555702bf82334ab4':
  LP64 should have debuggerd and debuggerd64.
2014-02-01 01:36:59 +00:00
Elliott Hughes da9b5dab2d am 434edbe6: Merge "LP64 should have debuggerd and debuggerd64."
* commit '434edbe6fffb9445316567ac6de3f407c005b37b':
  LP64 should have debuggerd and debuggerd64.
2014-02-01 01:33:51 +00:00
Elliott Hughes 434edbe6ff Merge "LP64 should have debuggerd and debuggerd64." 2014-02-01 01:28:03 +00:00
Elliott Hughes e9edf7a0ef LP64 should have debuggerd and debuggerd64.
Change-Id: I4e39c200e6867bb9a5bbcfec1c449b8864028feb
2014-01-31 17:15:10 -08:00
Elliott Hughes 19750a2c30 am f1935b6d: am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit 'f1935b6d933861d6194bf056a844ec0f11765c38':
  Remove dead code that looked like part of debuggerd.
2014-02-01 00:52:06 +00:00
Elliott Hughes f1935b6d93 am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit '2e9dcd21d3be51297eff22a15c42f55904da0f4b':
  Remove dead code that looked like part of debuggerd.
2014-02-01 00:46:09 +00:00
Mark Salyzyn 4389588e8d libsysutil: frequent native crash /system/bin/vold
regression from commit a6e965578e44f9ae5f98de822ba5decec381dffc

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

(cherry pick from commit 83fc720785)

BUG: 12796279
Change-Id: I14363630ada79c0a5b85bb6b2afd0a1c4d5c3109
2014-01-31 15:27:14 -08:00
Elliott Hughes 2e9dcd21d3 am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit '1bc6169f80fb02957695351ce8b4f49d0c019382':
  Remove dead code that looked like part of debuggerd.
2014-01-31 23:21:36 +00:00
Elliott Hughes 1bc6169f80 Merge "Remove dead code that looked like part of debuggerd." 2014-01-31 23:11:44 +00:00
Christopher Ferris 936fa72620 am 5127626b: am 3133a4a2: am 0fdf0dc7: Merge "Refactor makefile."
* commit '5127626b4a7d998a75d366bf1128be91c6047dc0':
  Refactor makefile.
2014-01-31 23:11:20 +00:00
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
Christopher Ferris 5127626b4a am 3133a4a2: am 0fdf0dc7: Merge "Refactor makefile."
* commit '3133a4a20395032c7d5270516bbdacf58c6bbc78':
  Refactor makefile.
2014-01-31 23:07:09 +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
Christopher Ferris 3133a4a203 am 0fdf0dc7: Merge "Refactor makefile."
* commit '0fdf0dc725a130b39a4232262b77c17ff053ef23':
  Refactor makefile.
2014-01-31 23:01:23 +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
Christopher Ferris 0fdf0dc725 Merge "Refactor makefile." 2014-01-31 22:55:50 +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
Elliott Hughes 6694d3e3d5 Remove dead code that looked like part of debuggerd.
Note that these were two different functions. The definition was unused,
and the declaration was undefined.

Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531
2014-01-31 10:37:18 -08:00
Christopher Ferris 04b1e8c812 Refactor makefile.
With this change allow the creation of host backtrace libraries using
libunwind.

Change-Id: Ie48bb36cf0d2eccf94cb8ff516d829d8032f11f2
2014-01-31 10:16:52 -08: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