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
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
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
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
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
Christopher Ferris
ab2de41574
am 773c9ab7: am c96c2954: am a152ed73: Merge "Fix global pointing to local variable."
...
* commit '773c9ab74cc2e42f25fe16756e0b7a693b1d2cf5':
Fix global pointing to local variable.
2014-01-29 08:15:40 +00:00
Christopher Ferris
773c9ab74c
am c96c2954: am a152ed73: Merge "Fix global pointing to local variable."
...
* commit 'c96c29548fa0c933e5aa78116f90ff6be5c4fc39':
Fix global pointing to local variable.
2014-01-29 08:11:02 +00:00
Christopher Ferris
c96c29548f
am a152ed73: Merge "Fix global pointing to local variable."
...
* commit 'a152ed734f179ee2748d306f2eb57acbb4df1ace':
Fix global pointing to local variable.
2014-01-29 08:07:27 +00:00
Christopher Ferris
a152ed734f
Merge "Fix global pointing to local variable."
2014-01-29 06:29:58 +00:00
Christopher Ferris
2b4ae52a56
Fix global pointing to local variable.
...
Change-Id: I933cbb680ca6310c13634f09a9827077c8dbd568
2014-01-28 22:21:14 -08:00
Kristian Monsen
da0d5bd147
am a40636f3: am 5abe06bf: am 6e34793b: Merge "Fix code style, put unused in the end"
...
* commit 'a40636f33fe4f2dbd99e58c98609445ecf5870b8':
Fix code style, put unused in the end
2014-01-28 22:33:22 +00:00
Kristian Monsen
a40636f33f
am 5abe06bf: am 6e34793b: Merge "Fix code style, put unused in the end"
...
* commit '5abe06bf8bfed0c15dc56b6d2cd30cc10c898153':
Fix code style, put unused in the end
2014-01-28 22:28:08 +00:00
Kristian Monsen
5abe06bf8b
am 6e34793b: Merge "Fix code style, put unused in the end"
...
* commit '6e34793b9cf11237670a5daa320cd784f7442532':
Fix code style, put unused in the end
2014-01-28 22:25:15 +00:00
Kristian Monsen
6e34793b9c
Merge "Fix code style, put unused in the end"
2014-01-28 22:18:00 +00:00
Christopher Ferris
36a4e4085e
am aaf89887: am 6fe31b2f: am d391c9b4: Merge "Re-enable libunwind for arm."
...
* commit 'aaf898877c4225f939b27ca48bb5f474fc9b46ae':
Re-enable libunwind for arm.
2014-01-28 21:37:20 +00:00
Christopher Ferris
aaf898877c
am 6fe31b2f: am d391c9b4: Merge "Re-enable libunwind for arm."
...
* commit '6fe31b2f830309c2a8e0035c07b6b2bb44e081c9':
Re-enable libunwind for arm.
2014-01-28 21:35:25 +00:00