Commit Graph

33955 Commits

Author SHA1 Message Date
Christopher Ferris 8a35b33389 Merge "Add .gnu_debugdata support." am: 9302daeb1d
am: 8af6071173

Change-Id: Ifdd8fc69b05e35c9300466407a10a4d641086d92
2017-06-29 01:29:39 +00:00
Christopher Ferris 8af6071173 Merge "Add .gnu_debugdata support."
am: 9302daeb1d

Change-Id: Idfa6a275050fdf638229e8417f6bb0008fe13dc8
2017-06-29 01:25:03 +00:00
Christopher Ferris 9302daeb1d Merge "Add .gnu_debugdata support." 2017-06-29 01:15:21 +00:00
Christopher Ferris bae69f1892 Add .gnu_debugdata support.
Update the unwind_info tool to dump all of the sections.

Bug: 23762183

Test: Passes new unit tests.
Change-Id: I8b223bc208a1a2ef06ed333e6d96943c8f273681
2017-06-28 15:23:10 -07:00
Renaud Paquay 73bf5a910f Merge "Add (partial) support for Windows long paths" am: 9ed76f0acc
am: d82ff9fb87

Change-Id: Idc8bb805b3ff77b67ac140316c1201e5055f77b4
2017-06-28 19:26:23 +00:00
Renaud Paquay d82ff9fb87 Merge "Add (partial) support for Windows long paths"
am: 9ed76f0acc

Change-Id: Iaa5ea4cb9bc8c045ac33c014f1283f2ef1936e56
2017-06-28 19:22:22 +00:00
Treehugger Robot 9ed76f0acc Merge "Add (partial) support for Windows long paths" 2017-06-28 19:15:38 +00:00
Renaud Paquay e3e7813e5f Add (partial) support for Windows long paths
* Update android::base::utf8::open/unlink to support Windows long
  paths

* Add android::base::utf8::fopen, also with support for Windows long
  paths

* Upcoming CLs will add additional APIs to support additional use cases

Test: Added tests to utf8_test
Bug: 38268753
Change-Id: If72af327f3487766f5370a2f43ee9cabd4a8a810
2017-06-28 17:12:37 +00:00
Elliott Hughes 164f9c9e16 Merge "Remove documentation for obsolete board configuration." am: 3f4cea940d
am: a96d1aebdb

Change-Id: Icaf550946be2fa7a4bf35c5b183e2562b7f2a92b
2017-06-28 16:44:57 +00:00
Elliott Hughes a96d1aebdb Merge "Remove documentation for obsolete board configuration."
am: 3f4cea940d

Change-Id: I61c8310bbca3690e2b7f9764429c118db780c551
2017-06-28 16:40:41 +00:00
Treehugger Robot 3f4cea940d Merge "Remove documentation for obsolete board configuration." 2017-06-28 16:36:52 +00:00
Elliott Hughes 76a934a459 Remove documentation for obsolete board configuration.
Bug: N/A
Test: builds
Change-Id: I5afbf2da35a7defb12b98bb5387ab7d3eee6f15a
2017-06-28 07:50:00 -07:00
Jiyong Park 645026c742 resolve merge conflicts of 20d9cf2ee to stage-aosp-master
am: 22ca4f76c2

Change-Id: Ida22f5317a7b4422a69d92b3548c21166d61e5a0
2017-06-28 13:30:01 +00:00
TreeHugger Robot eb274d47e7 Merge "Load default prop from /system/etc/prop.default" into oc-dev-plus-aosp 2017-06-28 06:29:32 +00:00
Jiyong Park 22ca4f76c2 resolve merge conflicts of 20d9cf2ee to stage-aosp-master
Test: I solemnly swear I tested this conflict resolution.
Merged-In: If8fc73e4ae4c2f8281c41a12f1c18079aab8baa2
Change-Id: Ie7feb839c9da2a11579ed850680c044c9fc3432a
2017-06-28 05:55:43 +00:00
Treehugger Robot 20d9cf2ee7 Merge "fs_mgr: add libfstab for vendor" 2017-06-28 04:57:48 +00:00
Guang Zhu 3734cd3442 Merge "Revert "init: Terminate gracefully when CAP_SYS_BOOT is absent"" am: b5b4136ac4
am: aa447d7aa5

Change-Id: I0f8723f216d8674a5670ae3ac4fcc1111043ad71
2017-06-28 02:25:49 +00:00
Jiyong Park e7df1f7623 fs_mgr: add libfstab for vendor
libfstab is a subset of libfs_mgr, intended for vendors to use. It
exposes APIs for reading fstab. Note this 'visible to vendor' does not
mean that the API should be stable forever. The API can be changed in
later releases of Android, ,but the newer Android must not cause
run-time error when there is an older version of this static library
being used somewhere.

Bug: 62990533
Test: BOARD_VNDK_VERSION=current m -j libfstab.vendor
Change-Id: I371174fa1f6b4de6d6dd437b84ce4ed1e8740672
Merged-In: If8fc73e4ae4c2f8281c41a12f1c18079aab8baa2
2017-06-28 11:24:25 +09:00
Guang Zhu aa447d7aa5 Merge "Revert "init: Terminate gracefully when CAP_SYS_BOOT is absent""
am: b5b4136ac4

Change-Id: Icd0a76aeb770cec04c029d30114bb3cf645a850c
2017-06-28 02:22:49 +00:00
Guang Zhu b5b4136ac4 Merge "Revert "init: Terminate gracefully when CAP_SYS_BOOT is absent"" 2017-06-28 02:15:43 +00:00
Guang Zhu c22f93856f Revert "init: Terminate gracefully when CAP_SYS_BOOT is absent"
Bug: 63080844

This reverts commit 683ebc8059.

Change-Id: I6074ff09300fd30bfc66881ded1c4f868a845a91
2017-06-28 02:10:33 +00:00
Josh Gao 877708fcf1 Merge changes I5c6bf2a5,I20a337bb am: 7f81b2af61
am: 14e36421db

Change-Id: Ib558090fb96f700e307ef73b818f8a1c3af7e70e
2017-06-28 00:02:50 +00:00
Josh Gao 14e36421db Merge changes I5c6bf2a5,I20a337bb
am: 7f81b2af61

Change-Id: I5388b048cdcc41d374b1d58476def364409b72b2
2017-06-27 23:59:36 +00:00
Treehugger Robot 7f81b2af61 Merge changes I5c6bf2a5,I20a337bb
* changes:
  debuggerd: diagnostics for dumps that are guaranteed to fail.
  libprocinfo: add support for parsing process state.
2017-06-27 23:54:36 +00:00
Luis Hector Chavez 6d815a554d Merge "init: Terminate gracefully when CAP_SYS_BOOT is absent" am: fbb482f499
am: ec8a5f2aa6

Change-Id: Ic96f9a77198ffb385cea9f2069d93d2c98b7bfc7
2017-06-27 23:04:13 +00:00
Dan Albert c83ec67ec3 Merge "Indicate that a packet was truncated." am: 046160959c
am: e76c8020ba

Change-Id: I24adc5cda36ba74afa2bda3e86e13af834b15a2c
2017-06-27 23:03:57 +00:00
Luis Hector Chavez ec8a5f2aa6 Merge "init: Terminate gracefully when CAP_SYS_BOOT is absent"
am: fbb482f499

Change-Id: I7cff66250e7f5d0b9d55feb2ddb6d74608aa4dd9
2017-06-27 23:01:19 +00:00
Dan Albert e76c8020ba Merge "Indicate that a packet was truncated."
am: 046160959c

Change-Id: Id672c3c987c2ba2b12c8296b659038d95bfd48f8
2017-06-27 23:00:57 +00:00
Treehugger Robot fbb482f499 Merge "init: Terminate gracefully when CAP_SYS_BOOT is absent" 2017-06-27 22:55:48 +00:00
Treehugger Robot 046160959c Merge "Indicate that a packet was truncated." 2017-06-27 22:50:48 +00:00
Josh Gao 0915f23d5f debuggerd: diagnostics for dumps that are guaranteed to fail.
Print diagnostics when the user requests a dump that is guaranteed to
fail, such as trying to dump a process you can't send a signal to.

Bug: http://b/63008395
Change-Id: I5c6bf2a5751f858e0534990b8d2ab6932eb9f11d
Test: manually tested
2017-06-27 15:06:57 -07:00
Josh Gao 9cb2e2eb8c libprocinfo: add support for parsing process state.
Bug: http://b/63008395
Test: libprocinfo_test32
Change-Id: I20a337bb5075bcdb325d2b48e174b0b5ef896261
2017-06-27 15:06:27 -07:00
Mark Salyzyn ca0c0bb96e Merge changes Ibe1feb39,I05be83e4,If1422e4d am: a4f086ab20
am: 3a156e6c2b

Change-Id: I8c75910845dbf6dfbb50ad38eb234dcd68dce70f
2017-06-27 21:55:26 +00:00
Todd Poynor a1f4cddfea healthd: notify listeners using local copy of list, drop lock
am: fd68370074

Change-Id: I8b8c8bb2b2eede878bb44afcaa08f73142a10d64
2017-06-27 21:52:29 +00:00
Mark Salyzyn 3a156e6c2b Merge changes Ibe1feb39,I05be83e4,If1422e4d
am: a4f086ab20

Change-Id: I7e5d431c992f9860ca7b42ca81edfbfd1d8e0a1c
2017-06-27 21:52:06 +00:00
Treehugger Robot a4f086ab20 Merge changes Ibe1feb39,I05be83e4,If1422e4d
* changes:
  init.rc: setup console-ramoops-0
  healthd: check console-ramoops-0
  fs_mgr: check console-ramoops-0
2017-06-27 21:46:30 +00:00
Elliott Hughes 03cec0a7db Merge "Allow configuration of the number of tombstones." am: 3e8d923276
am: 216ac36534

Change-Id: I2a7b3950d841b7d458c0a66f402f49780caae6a0
2017-06-27 21:03:58 +00:00
Elliott Hughes 216ac36534 Merge "Allow configuration of the number of tombstones."
am: 3e8d923276

Change-Id: I6c523c75801518b8cee7aa375b9b58f0914d150f
2017-06-27 21:01:16 +00:00
Elliott Hughes 3e8d923276 Merge "Allow configuration of the number of tombstones." 2017-06-27 20:57:08 +00:00
Luis Hector Chavez 683ebc8059 init: Terminate gracefully when CAP_SYS_BOOT is absent
This change makes it possible for Android running in a container to
terminate cleanly instead of calling abort() when requested to shut
down.

Bug: 62388055
Test: setprop sys.powerctl reboot makes init terminate nicely

Change-Id: I31c7b475d89d7cbd665e135d9b8951dfd4bca80d
2017-06-27 13:51:46 -07:00
Dan Albert 9893f93950 Indicate that a packet was truncated.
Test: make checkbuild, check adb log
Bug: None
Change-Id: I0006ed284697f01966fdd79ca0b05dbc6d2eecf0
2017-06-27 13:26:14 -07:00
Todd Poynor fd68370074 healthd: notify listeners using local copy of list, drop lock
Binder currently may service an incoming oneway transaction whenever
an outbound oneway call is made (if there is already a pending
incoming oneway call waiting).  The unexpected nested method call
blocks forever on a recursive mutex acquire because healthd is single-
threaded.  The binder behavior is considered a bug and may change in
the future.  For now, work around this in healthd.

Make a local copy of the listeners list, then drop the lock and
perform the outbound calls on the local copy of the list.

Bug: 38201220
Test: Marlin with modified client calling scheduleUpdate() repeatedly
Change-Id: If35c2847556245921e2aff808ff747bb60356811
2017-06-27 11:58:17 -07:00
Mark Salyzyn 4eb0ba058c init.rc: setup console-ramoops-0
On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0

Test: none
Bug: 63058217
Change-Id: Ibe1feb39ef9081b1ab2316510674bf181bdc7b0c
2017-06-27 09:32:38 -07:00
Mark Salyzyn 26f1dd764c healthd: check console-ramoops-0
On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0

Test: none
Bug: 63058217
Change-Id: I05be83e40dfc1730ed62b74a146123cdb8573ca6
2017-06-27 09:28:57 -07:00
Mark Salyzyn cab56c0ba5 fs_mgr: check console-ramoops-0
On later kernels /sys/fs/pstore/console-ramoops becomes
/sys/fs/pstore/console-ramoops-0

Test: none
Bug: 63058217
Change-Id: If1422e4df09b68c44f16608b1d191aeb6378c66b
2017-06-27 09:10:16 -07:00
Ben Fennema 609b4cf6a5 Merge "libcutils: fs_config: fix "system/<partition>/" aliasing" am: 449bfd7a93
am: cd3584e90b

Change-Id: I8127f1b5f6b6b7667e65c53d0ae5ee91ba28d92e
2017-06-26 22:52:09 +00:00
Ben Fennema cd3584e90b Merge "libcutils: fs_config: fix "system/<partition>/" aliasing"
am: 449bfd7a93

Change-Id: I9f3d0f0e4dc147d9d2a5a1e41486805ada29d62a
2017-06-26 22:49:41 +00:00
Treehugger Robot 449bfd7a93 Merge "libcutils: fs_config: fix "system/<partition>/" aliasing" 2017-06-26 22:43:37 +00:00
Josh Gao 947a301852 Merge "Revert "adb: turn on libusb by default."" am: b22067677e
am: de931dab2d

Change-Id: I19b7d82bcc60c6942e4faa1db2ee2999a1d698a0
2017-06-26 22:13:41 +00:00
Josh Gao de931dab2d Merge "Revert "adb: turn on libusb by default.""
am: b22067677e

Change-Id: I0fae08024b03bea8d03e9d5611575ebdba9b7e54
2017-06-26 22:01:36 +00:00