Elliott Hughes
68835ee88b
Merge "system/core LP64 cleanup."
2014-02-06 02:12:05 +00:00
Elliott Hughes
5d9fe779c8
system/core LP64 cleanup.
...
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.
Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
2014-02-05 18:02:11 -08:00
Elliott Hughes
eaba2bedf5
Merge "Revert "Move to the canonical UniquePtr.h.""
2014-02-04 23:41:58 +00:00
Elliott Hughes
5c4020005b
Revert "Move to the canonical UniquePtr.h."
...
This reverts commit 2a72c575d2
.
Change-Id: Idb485f1be2906e8c1c8f0da3df186a7aade027f6
2014-02-04 23:41:22 +00:00
Elliott Hughes
345fc6252a
Merge "Move to the canonical UniquePtr.h."
2014-02-04 23:15:52 +00:00
Elliott Hughes
2a72c575d2
Move to the canonical UniquePtr.h.
...
Change-Id: I5330c36d2b571acb6d3debd30b8020e33aa8a4a7
2014-02-04 11:58:51 -08:00
Mark Salyzyn
5931ea8645
Merge "libsysutil: frequent native crash /system/bin/vold"
2014-02-04 19:16:28 +00:00
Nick Kralevich
ba023b063d
Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."
2014-02-04 18:31:51 +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
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
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
1bc6169f80
Merge "Remove dead code that looked like part of debuggerd."
2014-01-31 23:11:44 +00:00
Christopher Ferris
0fdf0dc725
Merge "Refactor makefile."
2014-01-31 22:55:50 +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
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
Elliott Hughes
caefe564a4
Merge "x86: Enable libunwind"
2014-01-30 19:01:30 +00:00
Pavel Chupin
c124402f39
x86: Enable libunwind
...
Change-Id: I098787f57801f68d0419732d5fd475c7e916c92c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-01-30 11:00:38 -08:00
Christopher Ferris
7957529d44
Merge "Clean up UnwindCurrent.cpp's use of ucontext.h."
2014-01-30 18:47:24 +00:00
Christopher Ferris
5c40019a92
Clean up UnwindCurrent.cpp's use of ucontext.h.
...
Change-Id: I9eff7486b9fe89eac57b5555649b871bc6f1cc77
2014-01-30 10:37:39 -08:00
Colin Cross
1686784a37
Merge changes I6bffe1cd,I0984ba01
...
* changes:
fs_mgr: split fstab parsing into separate file
fs_mgr: update ext4_parse_sb to match change in ext4_utils
2014-01-30 04:00:11 +00:00
Elliott Hughes
710f663425
Merge "Switch mips libcorkscrew over to <sys/ucontext.h>."
2014-01-30 02:47:16 +00:00
Elliott Hughes
ade9afac20
Switch mips libcorkscrew over to <sys/ucontext.h>.
...
Change-Id: I4db233fb85c8f0b0c210771a8c75ae8e67dff96f
2014-01-29 18:38:49 -08:00
Ian Rogers
1ca10eabd8
Merge "Avoid redefinition of __STDC_FORMAT_MACROS."
2014-01-30 02:06:12 +00:00
Elliott Hughes
59b5294f0e
Merge "Switch arm libcorkscrew over to <sys/ucontext.h>."
2014-01-30 02:04:28 +00:00
Ian Rogers
ddeb7cc164
Avoid redefinition of __STDC_FORMAT_MACROS.
...
Change-Id: I5c65ea196bb9a197a74899ceb53543f289f6d494
2014-01-29 17:53:50 -08:00
Elliott Hughes
03a2597c31
Switch arm libcorkscrew over to <sys/ucontext.h>.
...
Change-Id: I90cf89453f2718fd4bec2bf17ea616ee8165d36a
2014-01-29 17:52:56 -08:00
Elliott Hughes
b99d52944f
Merge "Switch x86 libcorkscrew over to <ucontext.h>."
2014-01-30 01:39:34 +00:00
Elliott Hughes
3aa8675aa1
Switch x86 libcorkscrew over to <ucontext.h>.
...
Change-Id: I9fa536ea25f7e2d953488b0d317d8a5237b43d03
2014-01-29 17:29:46 -08:00
Stephen Smalley
82e87ed479
Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
...
mkdir /data/misc/wifi subdirectories and /data/misc/dhcp is performed
in the various device-specific init*.rc files but seems generic.
Move it to the main init.rc file.
Drop the separate chown for /data/misc/dhcp as this is handled by mkdir
built-in if the directory already exists.
Add a restorecon_recursive /data/misc/wifi/sockets.
Change-Id: I51b09c5e40946673a38732ea9f601b2d047d3b62
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-01-29 14:09:28 -05:00
Christopher Ferris
a152ed734f
Merge "Fix global pointing to local variable."
2014-01-29 06:29:58 +00:00