Commit graph

26952 commits

Author SHA1 Message Date
Josh Gao
d78eb9cd9e Merge "debuggerd_handler: improve nonfatal signal message."
am: 698035b8fe

Change-Id: Ia7f8c7629c8a2390fb7b4e048e2d46216678c811
2017-01-31 04:02:17 +00:00
Josh Gao
698035b8fe Merge "debuggerd_handler: improve nonfatal signal message." 2017-01-31 03:57:20 +00:00
Josh Gao
4ed00c8d73 debuggerd_handler: improve nonfatal signal message.
"Fatal signal 35 (???)" -> "Requested dump for"

Bug: http://b/34809044
Test: debuggerd -b $$
Change-Id: I9ece0ee1117203d30142b843973ed7e5435e21da
2017-01-30 17:58:04 -08:00
mtezych
32b3c649f5 Merge "libsync: Replace inserting tuple into unordered_map in favour of pair."
am: 0617179c8c

Change-Id: I6a4059685b8fd18ecc2b54d8ee3b0e4630e7f3a7
2017-01-31 01:18:42 +00:00
mtezych
3500cee3e1 libsync: Replace inserting tuple into unordered_map in favour of pair.
am: 380b2f4fea

Change-Id: I7d51073a79862b2f7f03acb5b175d3956b407b0d
2017-01-31 01:17:12 +00:00
Treehugger Robot
0617179c8c Merge "libsync: Replace inserting tuple into unordered_map in favour of pair." 2017-01-31 01:14:15 +00:00
Mark Salyzyn
cb29e6e94f Merge "Revert "Continue using the legacy NDK android/log.h.""
am: 33aa9fc0e1

Change-Id: I3503c798091849462ac68fae662bbf61eed2a799
2017-01-31 00:17:29 +00:00
Treehugger Robot
33aa9fc0e1 Merge "Revert "Continue using the legacy NDK android/log.h."" 2017-01-31 00:13:28 +00:00
mtezych
380b2f4fea libsync: Replace inserting tuple into unordered_map in favour of pair.
Inserting tuple into unordered_map relies on non standard libc++ extension:
http://stackoverflow.com/a/21313229
This change removes this dependency.

Test: sync-unit-tests (on hikey with SW_SYNC_USER built into kernel)
2017-01-30 23:39:03 +00:00
Christopher Ferris
f2950bd60f Merge "Do not build any host targets on mac."
am: a6c62f6832

Change-Id: Ib4252fceaf07be8f2bd55ec2bc7da42e4b1993a1
2017-01-30 23:38:26 +00:00
Treehugger Robot
a6c62f6832 Merge "Do not build any host targets on mac." 2017-01-30 23:34:03 +00:00
Mark Salyzyn
bdac221cc3 Revert "Continue using the legacy NDK android/log.h."
Use refreshed android/log.h for NDK

This effectively a modern revert of the commit
b7c3996f7c

Test: build
Bug: 30465923
Bug: 34250038
Change-Id: I7d4a5134bb711051283c36a2d5bc803436dca12e
2017-01-30 22:14:59 +00:00
Christopher Ferris
01d50374ad Do not build any host targets on mac.
Bug: 23762183

Test: Compiled.
Change-Id: I42afabeb7d3576ea4afd4af05bb1cabd79ac76e5
2017-01-30 13:45:16 -08:00
Christopher Ferris
7ac7dd82dc Merge "Remote reference to log/logger.h"
am: a5cfc8b1e6

Change-Id: I575b0fd3c82b548be50519c68be254a34d344f67
2017-01-30 21:36:49 +00:00
Christopher Ferris
a5cfc8b1e6 Merge "Remote reference to log/logger.h" 2017-01-30 21:32:17 +00:00
Christopher Ferris
71a2dcfc64 Remote reference to log/logger.h
It was made an error to include this file after I went through the
presubmit checks.

Test: Compiles.
Change-Id: If00b0b644ecef95325636cec094cfcb399e307f9
2017-01-30 13:24:51 -08:00
Christopher Ferris
46895b8af7 Merge "New version of unwinder."
am: e69b1b9831

Change-Id: Ifaf9faa0d6e1cbdbbd55638ceb0f55b79a82922c
2017-01-30 21:06:16 +00:00
Christopher Ferris
e69b1b9831 Merge "New version of unwinder." 2017-01-30 21:01:56 +00:00
Sandeep Patil
b6aa686c71 Merge "init: split property context into platform & non-platform components"
am: d04b1ac006

Change-Id: I2ba052e3823606d8171aa39391b7d0259033c5cf
2017-01-30 19:25:19 +00:00
Sandeep Patil
a0f91e8efc init: split property context into platform & non-platform components
am: 7a5db4ec7f

Change-Id: Ic0e4926d9142b56256cce3ba7e27d4dc231fe856
2017-01-30 19:21:52 +00:00
Sandeep Patil
d04b1ac006 Merge "init: split property context into platform & non-platform components" 2017-01-30 19:16:17 +00:00
Elliott Hughes
1890bd1b2e Merge "bionic and init don't need to share knowledge of property file locations."
am: 9cd890e9b7

Change-Id: I5dea4b63c71322d1e5502c3f1a4f449a91b15b71
2017-01-28 16:48:37 +00:00
Treehugger Robot
9cd890e9b7 Merge "bionic and init don't need to share knowledge of property file locations." 2017-01-28 16:44:11 +00:00
bowgotsai
c837e8ce1b Merge "fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h>"
am: 183ca56ce2

Change-Id: I79539d8219d6f1e2129c8609fa04f8a0e6183fd6
2017-01-28 01:40:35 +00:00
Treehugger Robot
183ca56ce2 Merge "fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h>" 2017-01-28 01:37:22 +00:00
Elliott Hughes
795798d62c bionic and init don't need to share knowledge of property file locations.
So move them into init.

Bug: http://b/33926793
Test: boots
Change-Id: I5a9601180df589b8c87ac8195a02ee24b531d4da
2017-01-27 16:21:55 -08:00
Paul Lawrence
50e88dc5b3 Merge "Allow failing app through seccomp policy"
am: d0ff90afef

Change-Id: Ifb105a4b349978bd4adf7e97798a6d5a06d768f9
2017-01-27 20:05:04 +00:00
Treehugger Robot
d0ff90afef Merge "Allow failing app through seccomp policy" 2017-01-27 20:02:56 +00:00
James Hawkins
1512241b68 Merge "boottime/init: Report ro.boottime.init* properties in milliseconds."
am: 7dde4fa4e2

Change-Id: I085194f0af3dc42ea90ca31865c42bc41036cdc6
2017-01-27 18:42:58 +00:00
James Hawkins
7dde4fa4e2 Merge "boottime/init: Report ro.boottime.init* properties in milliseconds." 2017-01-27 18:37:22 +00:00
Paul Lawrence
e4ddaa4f2f Allow failing app through seccomp policy
Bug: 34651972
Test: Made sure failing app went to login screen
Change-Id: I111a379f3e8283aa829d9ceb97f95b34bbee4055
2017-01-27 18:32:11 +00:00
Paul Lawrence
a1ad789fbb Merge "Allow __NR_perf_event_open"
am: 3711469ec6

Change-Id: I7ca95a8b7f4fd8fb87fc463c3f43c8bb2f80f7ac
2017-01-27 18:13:58 +00:00
Treehugger Robot
3711469ec6 Merge "Allow __NR_perf_event_open" 2017-01-27 18:07:06 +00:00
James Hawkins
27c052263c boottime/init: Report ro.boottime.init* properties in milliseconds.
* Nanosecond precision ended up being harder to grok.
* This change modifies the Timer class to have duration_ms instead of
duration_ns.

Bug: 34466121
Test: adb logcat | grep bootstat
Change-Id: Ibd1c27dc3cb29d838a956e342281b2fb98d752a6
2017-01-27 08:26:14 -08:00
Paul Lawrence
73f6e44c8b Allow __NR_perf_event_open
Bug: 34732712
Test: strace simpleperf32 record -g runs
Change-Id: Id2ffd1e808587bf809a7ff0303163816a0e8fbce
2017-01-27 08:25:56 -08:00
Mark Salyzyn
9627217f4c Merge "logd: multiple identical do not report expired"
am: f0cccf4565

Change-Id: I0d0d10773a16d4aa54408bdabc6c526784ddb42b
2017-01-27 15:22:46 +00:00
Treehugger Robot
f0cccf4565 Merge "logd: multiple identical do not report expired" 2017-01-27 15:17:04 +00:00
Elliott Hughes
92aab6dbd1 Merge "Support arbitrary-length properties in property_list."
am: c8121ba029

Change-Id: I2a621725268bea0eb255dcca7b0d1ea842bee329
2017-01-27 03:20:10 +00:00
Treehugger Robot
c8121ba029 Merge "Support arbitrary-length properties in property_list." 2017-01-27 03:18:04 +00:00
Mark Salyzyn
5e170bf5d4 Merge "liblog: export log/log_read.h to vndk"
am: ff21dba167

Change-Id: I8e6c8aae6452d0a34eca1c40172123121cc0e060
2017-01-27 02:18:36 +00:00
Treehugger Robot
ff21dba167 Merge "liblog: export log/log_read.h to vndk" 2017-01-27 02:14:34 +00:00
Elliott Hughes
4eacd70f85 Support arbitrary-length properties in property_list.
Bug: http://b/33926793
Test: visual inspection
Change-Id: Ida84c3aaafa5411a9886f8d3d45679fd60ddc00d
2017-01-26 17:33:12 -08:00
Dan Albert
d187f3c5ee Merge "Don't use private libc++ macros."
am: 296f7dad19

Change-Id: If4b64581a39e2cd3e51fda1ac34dcf2b99cb4197
2017-01-27 01:23:02 +00:00
Treehugger Robot
296f7dad19 Merge "Don't use private libc++ macros." 2017-01-27 00:42:21 +00:00
Mark Salyzyn
9b844bc6e1 liblog: export log/log_read.h to vndk
Test: gTest liblog-unit-tests
Bug: 34250038
Change-Id: I2904b950eb399a4f34c5da31b51703e8f2d5ea93
2017-01-26 16:10:59 -08:00
Sandeep Patil
7a5db4ec7f init: split property context into platform & non-platform components
Bug: 33746484
Test: Successfully boot with original service and property contexts.
Test: Successfully boot with split serivce and property contexts.
Test: 'getprop -Z'
Change-Id: Ib9c087115040c1609aa64a3ed66d4e67e937e33d
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-26 15:31:10 -08:00
Josh Gao
41e6488441 Merge "debuggerd_handler: remove PR_SET_DUMPABLE check."
am: 6fe7045e0e

Change-Id: I2dc4b3ee36a5bed956ffe6c28f8e2b1aeba358aa
2017-01-26 23:17:32 +00:00
Josh Gao
6fe7045e0e Merge "debuggerd_handler: remove PR_SET_DUMPABLE check." 2017-01-26 23:11:21 +00:00
Josh Gao
e5288f292a debuggerd_handler: remove PR_SET_DUMPABLE check.
crash_dump has CAP_SYS_PTRACE and this was never obeyed by debuggerd.

Change-Id: Ifee5e94b97b1f6440ad0be79758f0db2d2aaba2e
2017-01-26 15:08:18 -08:00
Dan Albert
9ccdd5fb17 Don't use private libc++ macros.
The visibility macros just expand to the defaults, so this isn't
needed anyway.

Test: mm
Bug: http://b/34740564
Change-Id: If0ba6b412554300823219405c1e801ceec747dd0
2017-01-26 14:58:26 -08:00