Commit graph

34674 commits

Author SHA1 Message Date
NIEJuhu
4eaface969 Merge "libsysutils: Fix vold vulnerability in FrameworkListener" am: 45b4fe454a am: bac524b0cd
am: 56f021f0a4

Change-Id: I9ed0e9e8cab7d26573464651932995b257e18904
2017-06-23 20:53:12 +00:00
NIEJuhu
56f021f0a4 Merge "libsysutils: Fix vold vulnerability in FrameworkListener" am: 45b4fe454a
am: bac524b0cd

Change-Id: I95154db2cad94aa4c9560b9abeec3c1967891d9f
2017-06-23 20:46:55 +00:00
Christopher Ferris
8f937188e2 Merge "Add section parsing and function name handling." am: 62a17c6c4a am: ee5c756d25
am: c37b983738

Change-Id: I256da8e2c77c74f9e9add0aa7670a0a3b09f7f8c
2017-06-23 20:43:42 +00:00
Christopher Ferris
c37b983738 Merge "Add section parsing and function name handling." am: 62a17c6c4a
am: ee5c756d25

Change-Id: Iaf9dd25a0982916c6c2b06bf7ba618e1b2b452e1
2017-06-23 20:38:53 +00:00
NIEJuhu
bac524b0cd Merge "libsysutils: Fix vold vulnerability in FrameworkListener"
am: 45b4fe454a

Change-Id: I19d92353e5c425b4e8b1fd07e68da29975e2d991
2017-06-23 20:38:40 +00:00
Andreas Gampe
5b77682b0d Merge "Debuggerd: Fix debuggerd_test" into oc-dr1-dev
am: 394c1ad959  -s ours

Change-Id: I89a8416c2be1c26d23fff3d80939b48131b3f17d
2017-06-23 20:33:17 +00:00
Treehugger Robot
45b4fe454a Merge "libsysutils: Fix vold vulnerability in FrameworkListener" 2017-06-23 20:31:49 +00:00
TreeHugger Robot
394c1ad959 Merge "Debuggerd: Fix debuggerd_test" into oc-dr1-dev 2017-06-23 20:28:30 +00:00
Christopher Ferris
ee5c756d25 Merge "Add section parsing and function name handling."
am: 62a17c6c4a

Change-Id: I010d9e6efa6d472242704be7a53e7bfeed24c4d5
2017-06-23 20:24:34 +00:00
Christopher Ferris
62a17c6c4a Merge "Add section parsing and function name handling." 2017-06-23 20:18:35 +00:00
Tom Cherry
1a23b2aef5 Merge "init: cleanup some string usage" am: 84c2eebbdd am: 77382acf42
am: 288fb7c2cc

Change-Id: I61e6ee578e55ebe343112c8114816ac4e18b9c7e
2017-06-23 20:01:41 +00:00
Tom Cherry
288fb7c2cc Merge "init: cleanup some string usage" am: 84c2eebbdd
am: 77382acf42

Change-Id: I068291aeb16249a1b82e047dc894c283114a2bef
2017-06-23 19:55:39 +00:00
Tom Cherry
77382acf42 Merge "init: cleanup some string usage"
am: 84c2eebbdd

Change-Id: Ic42cb28916c0e8d03db302985f66cb02a801af97
2017-06-23 19:47:07 +00:00
Tom Cherry
84c2eebbdd Merge "init: cleanup some string usage" 2017-06-23 19:40:24 +00:00
Christopher Ferris
8098b1c378 Add section parsing and function name handling.
Add the code to parse the Elf section headers.

Add the plumbing through of all the symbol handling code.

Add tests for all of this new functionality.

Bug: 23762183

Test: Pass new unit tests.
Change-Id: Ie2d90cbb3d7653c53251dbcf34d9e5d241278377
2017-06-23 10:51:28 -07:00
Andreas Gampe
0ecc88bb28 Debuggerd: Fix debuggerd_test
Follow-up to commit 695713e931f0436aca56be9c0dacf2a5dd4e56e7 in
bionic. Change expectations of the abort callstack.

(cherry picked from commit 26cbafb892)

Bug: 62810360
Merged-In: I350a29ee1713a7ebdd50f2b9bdc2078c671e22c7
Test: mmma system/core/debuggerd
Test: adb shell /data/nativetest/debuggerd_test/debuggerd_test32
Test: adb shell /data/nativetest64/debuggerd_test/debuggerd_test64
Change-Id: I350a29ee1713a7ebdd50f2b9bdc2078c671e22c7
2017-06-23 10:49:19 -07:00
Daichi Hirono
a91e4f205f Add volatile to temporary variable.
am: d9cda90ad4

Change-Id: I1ce0acfc808998a9cef29b896877504883273cc9
2017-06-23 15:39:15 +00:00
Narayan Kamath
f4682b2b52 Merge "tombstoned: Improve message on java trace completion." am: 111f351762 am: 91492a56ca
am: a153c7dd2a

Change-Id: Iac3bc0429f85bd986816cad14516da593585a06c
2017-06-23 08:40:21 +00:00
Narayan Kamath
a153c7dd2a Merge "tombstoned: Improve message on java trace completion." am: 111f351762
am: 91492a56ca

Change-Id: I8eef67d2cca8370836bdfa1a246da19769edabf3
2017-06-23 08:26:19 +00:00
Narayan Kamath
91492a56ca Merge "tombstoned: Improve message on java trace completion."
am: 111f351762

Change-Id: I892987708bfee1106a09f10252ac5eee9bbf1a87
2017-06-23 08:20:53 +00:00
Narayan Kamath
111f351762 Merge "tombstoned: Improve message on java trace completion." 2017-06-23 08:12:51 +00:00
Daichi Hirono
d9cda90ad4 Add volatile to temporary variable.
FuseBuffer::HandleNotImpl save the value of |request.header.unique| to the
temporary variable, clear the buffer which is a union of |request| and
|response|, then write back the unique value to response.header.unique.

Before the CL, the temporary variable was wrongly removed by the compiler
optimization, and response.header.unique was always 0. The CL adds
volatile modifier as workaround to prevent the compiler optimization
from removing the temporary value.

Bug: 62429763
Test: libappfuse_tests
Change-Id: Ia853f805633f646f316f585a35c7b018000b6eb3
(cherry picked from commit a6dee5e279)
2017-06-23 07:15:27 +00:00
Android Build Merger (Role)
11d67c5a55 Merge "Debuggerd: Extend crash_dump timeout to 5 seconds am: 4f5f558d38 -s ours am: 293c0485b1 -s ours" into oc-dr1-dev-plus-aosp 2017-06-23 06:26:05 +00:00
Andreas Gampe
d50c71af26 Debuggerd: Extend crash_dump timeout to 5 seconds am: 4f5f558d38 -s ours
am: 293c0485b1  -s ours

Change-Id: I2922bc1f7fe13e74ed575f68b586651bf4ee95ed
2017-06-23 06:25:53 +00:00
Andreas Gampe
309dfe0634 Debuggerd: Extend crash_dump timeout to 5 seconds am: 4f5f558d38
am: 1d873b3512  -s ours

Change-Id: I5d3a6190772f41c98f05ec688503c2edc7318a45
2017-06-23 06:25:38 +00:00
Andreas Gampe
1d873b3512 Debuggerd: Extend crash_dump timeout to 5 seconds
am: 4f5f558d38

Change-Id: I25274053b0b45b00cefbc8d65d5ef271050269b2
2017-06-23 06:22:08 +00:00
Andreas Gampe
293c0485b1 Debuggerd: Extend crash_dump timeout to 5 seconds
am: 4f5f558d38  -s ours

Change-Id: I7e91bb93fec66caef73744c7c7e62c927d7ba241
2017-06-23 06:11:36 +00:00
Andreas Gampe
4f5f558d38 Debuggerd: Extend crash_dump timeout to 5 seconds
Some processes have lots of threads and minidebug-info. Unwinding
these can take more than the original two seconds.

Bug: 62828735
Test: m
Test: debuggerd_test
Test: adb shell kill -s 6 `pid system_server`
Merged-In: I0041bd01753135ef9d86783a3c6a5cbca1c5bbad
Change-Id: I0041bd01753135ef9d86783a3c6a5cbca1c5bbad
(cherry picked from commit b02851a984)
2017-06-22 23:02:52 -07:00
Andreas Gampe
11c8647ecd Merge "Debuggerd: Extend crash_dump timeout to 5 seconds" am: b2bf7a5330 am: 21ca4e5d4a
am: 7dfcc376f7

Change-Id: I22cd4f72ec630f0981b9106291639c3f5b9b5bc7
2017-06-23 05:56:48 +00:00
Andreas Gampe
7dfcc376f7 Merge "Debuggerd: Extend crash_dump timeout to 5 seconds" am: b2bf7a5330
am: 21ca4e5d4a

Change-Id: I2b178cfb2d44bafa0759c1aa2fd510e93b39959a
2017-06-23 05:43:31 +00:00
Andreas Gampe
f8511fd05a Merge "Debuggerd: Fix debuggerd_test" am: 0c65c5c856 am: fb3a6e2391
am: 067e0f0d85

Change-Id: I2df08c8ec5ed244304f3c89d0fde86eda8fb5520
2017-06-23 05:38:34 +00:00
Andreas Gampe
21ca4e5d4a Merge "Debuggerd: Extend crash_dump timeout to 5 seconds"
am: b2bf7a5330

Change-Id: I9c34419ddfcaf80b3f535c8c9a9aeace601f6af5
2017-06-23 05:38:31 +00:00
Treehugger Robot
b2bf7a5330 Merge "Debuggerd: Extend crash_dump timeout to 5 seconds" 2017-06-23 05:31:14 +00:00
Andreas Gampe
067e0f0d85 Merge "Debuggerd: Fix debuggerd_test" am: 0c65c5c856
am: fb3a6e2391

Change-Id: I0cab14b4167fc612eea9f7b85ad120d5b9d2f8a8
2017-06-23 05:25:57 +00:00
Hung-ying Tyan
09857b7baf Merge "ld-config: Export android.hidl.memory@1.0-impl" into oc-dev-plus-aosp
am: 66f4b9bf14  -s ours

Change-Id: Id2906df3abd4add0ed2d052d61ab00e3c254727b
2017-06-23 05:22:03 +00:00
Andreas Gampe
fb3a6e2391 Merge "Debuggerd: Fix debuggerd_test"
am: 0c65c5c856

Change-Id: Iea265f9ef85f03ce28262203ff71aa3794eeee71
2017-06-23 05:21:32 +00:00
Logan Chien
2fe70b1ae8 ld-config: Export android.hidl.memory@1.0-impl am: fb2a4f0874
am: 735a32e30e  -s ours

Change-Id: Ia5583539a04bd063f5054818352856c2c25bd2cb
2017-06-23 05:21:22 +00:00
Logan Chien
d2daa539a1 ld-config: Export android.hidl.memory@1.0-impl am: fb2a4f0874 -s ours
am: 7c61689d5a

Change-Id: Iccd5861435ac5e9227c665fcf81f9c5553f3c41d
2017-06-23 05:17:21 +00:00
Logan Chien
6db67ddca3 ld-config: Export android.hidl.memory@1.0-impl
am: bd7503dae7

Change-Id: I9ca8427fea1d89fcc5484c59a9b3dfdc9659960d
2017-06-23 05:16:36 +00:00
Treehugger Robot
0c65c5c856 Merge "Debuggerd: Fix debuggerd_test" 2017-06-23 05:14:38 +00:00
Logan Chien
7c61689d5a ld-config: Export android.hidl.memory@1.0-impl
am: fb2a4f0874  -s ours

Change-Id: Ife655ab99a716adce10243e903ccd20192679614
2017-06-23 05:12:14 +00:00
Hung-ying Tyan
66f4b9bf14 Merge "ld-config: Export android.hidl.memory@1.0-impl" into oc-dev-plus-aosp 2017-06-23 05:11:52 +00:00
Logan Chien
735a32e30e ld-config: Export android.hidl.memory@1.0-impl
am: fb2a4f0874

Change-Id: Ib23a91581514f275642cb05afddbfc5324bca3bb
2017-06-23 05:07:34 +00:00
Andreas Gampe
b02851a984 Debuggerd: Extend crash_dump timeout to 5 seconds
Some processes have lots of threads and minidebug-info. Unwinding
these can take more than the original two seconds.

Bug: 62828735
Test: m
Test: debuggerd_test
Test: adb shell kill -s 6 `pid system_server`
Change-Id: I0041bd01753135ef9d86783a3c6a5cbca1c5bbad
2017-06-22 20:19:11 -07:00
Andreas Gampe
26cbafb892 Debuggerd: Fix debuggerd_test
Follow-up to commit 695713e931f0436aca56be9c0dacf2a5dd4e56e7 in
bionic. Change expectations of the abort callstack.

Test: mmma system/core/debuggerd
Test: adb shell /data/nativetest/debuggerd_test/debuggerd_test32
Test: adb shell /data/nativetest64/debuggerd_test/debuggerd_test64
Change-Id: I350a29ee1713a7ebdd50f2b9bdc2078c671e22c7
2017-06-22 20:19:11 -07:00
Jaesung Chung
5f01b3084b Merge "crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices" am: 1dcee84294 am: 2dae23b0a7
am: 87c76bea38

Change-Id: Ib7364262a4c8dfc13ebcc5ac1506701136e362fc
2017-06-23 02:18:50 +00:00
Jaesung Chung
87c76bea38 Merge "crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices" am: 1dcee84294
am: 2dae23b0a7

Change-Id: I718e11efa5bf29b760647298dcca468248c4d7cb
2017-06-23 02:11:12 +00:00
Jaesung Chung
2dae23b0a7 Merge "crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices"
am: 1dcee84294

Change-Id: Icde42e01e30e405902853df2996d23383fc8343e
2017-06-23 02:06:45 +00:00
Jaesung Chung
1dcee84294 Merge "crash_dump: lower THREAD_COUNT in debuggerd_client.race for low-speed devices" 2017-06-23 01:59:28 +00:00
Colin Cross
617ed8e75a Merge "Fix stack test on arm32" am: 7ff1eb698c am: 53e56177b5
am: ad0711b520

Change-Id: I0d6c15ed91f33cee1f3cc22f6fd7dad70241a35f
2017-06-23 00:52:38 +00:00