Commit Graph

38139 Commits

Author SHA1 Message Date
Bowgo Tsai 9714474d65 Merge "sepolicy: renames nonplat_* to vendor_*"
am: 8abe4e2638

Change-Id: I8c568c92912348f1c90ac4477e043926ba2b384d
2018-01-28 02:43:08 +00:00
Treehugger Robot 8abe4e2638 Merge "sepolicy: renames nonplat_* to vendor_*" 2018-01-28 02:39:28 +00:00
Christopher Ferris 7cbaae26ed Merge "Fix frame numbering regression."
am: 91837d7efe

Change-Id: I406f8fc76b8097cd05aa44946c56774c3745e68f
2018-01-27 00:39:02 +00:00
James Hawkins f609df2475 Merge "bootstat: Add more boot reasons."
am: 4b69be3013

Change-Id: I794f18767a8f5fe759f1c5e659f30cc365b34172
2018-01-27 00:38:34 +00:00
Christopher Ferris 91837d7efe Merge "Fix frame numbering regression." 2018-01-27 00:30:43 +00:00
Treehugger Robot 4b69be3013 Merge "bootstat: Add more boot reasons." 2018-01-27 00:27:26 +00:00
Elliott Hughes 3d9706ea36 Merge "Doxygen format <android/log.h>."
am: 969539c5c8

Change-Id: I4a8f17d666da7084790b99d79fcd289896416f45
2018-01-27 00:01:24 +00:00
James Hawkins 79a4ee260b bootstat: Add more boot reasons.
Bug: none
Test: none
Change-Id: I483e4e2c6ea4219ac21b64a24bfac58c2919a40b
2018-01-26 14:31:04 -08:00
Christopher Ferris 8fe5836c02 Fix frame numbering regression.
Test: All unit tests now pass.
Change-Id: I280dfbbed3f835c826788b80ff4abb22bea7dc59
2018-01-26 14:26:13 -08:00
Elliott Hughes 969539c5c8 Merge "Doxygen format <android/log.h>." 2018-01-26 21:23:09 +00:00
Ruchi Kandoi 66c3eb0e45 Merge "Add AID for Secure Element Application"
am: d3e7e31d28

Change-Id: I7b5fc105e82956751faa29a39dccd85a633adef8
2018-01-26 19:38:25 +00:00
Ruchi Kandoi d3e7e31d28 Merge "Add AID for Secure Element Application" 2018-01-26 19:17:09 +00:00
Elliott Hughes 65725ac464 Doxygen format <android/log.h>.
Bug: N/A
Test: ran doxygen manually.
Change-Id: I164de255dbbc6c0312e656ddd886dcac231c893a
2018-01-26 10:57:57 -08:00
Christopher Ferris 93a3aa1e57 Merge "Add a global elf cache."
am: bb4d172f70

Change-Id: I9991ebc9a2527e1b1b53b3e0b24c620415784f14
2018-01-26 14:59:42 +00:00
Christopher Ferris bb4d172f70 Merge "Add a global elf cache." 2018-01-26 14:55:15 +00:00
Logan Chien 161efac4f0 Merge "ld.config.txt: Link vendor vndk ns to default ns"
am: 1e11f5f709

Change-Id: I29feaf1e0dd723fb271f1a641f39fbc9188a6d1f
2018-01-26 04:54:24 +00:00
Logan Chien 1e11f5f709 Merge "ld.config.txt: Link vendor vndk ns to default ns" 2018-01-26 04:45:26 +00:00
Jiyong Park 77a41b2562 Merge "Don't shared oem-defined libs to vendor apks"
am: b6e957a6e7

Change-Id: Ib8f178769b411be2c4764348ccbc5a14a8d3443a
2018-01-26 03:34:06 +00:00
Christopher Ferris 228de8a7b0 Merge "Remove DwarfError.h that moved."
am: d42e093793

Change-Id: I8c7d736c47a9e04824eb62c558b1ffbaf07bc1ac
2018-01-26 03:33:38 +00:00
Treehugger Robot b6e957a6e7 Merge "Don't shared oem-defined libs to vendor apks" 2018-01-26 03:23:40 +00:00
Christopher Ferris d42e093793 Merge "Remove DwarfError.h that moved." 2018-01-26 01:55:08 +00:00
Christopher Ferris 0b79ae155f Add a global elf cache.
Bug: 65682279

Test: Ran new unit tests.
Change-Id: I19c64614b2b11a27f58204d4cc34913c02e04c36
2018-01-25 17:11:33 -08:00
Christopher Ferris c85935de54 Remove DwarfError.h that moved.
I think a rebase recreated this file, so deleting this now.

Bug: 65682279

Test: Compiles.
Change-Id: I1f885ed6254089ef50f293b4c407b110f8c878da
2018-01-25 16:02:20 -08:00
Chih-Hung Hsieh 8caf7a10d0 Merge "Fix wrong mov instruction size."
am: dc0edb586d

Change-Id: Ie644f999d96a853bbacfa499fc261bb9ff790b49
2018-01-25 23:47:47 +00:00
Treehugger Robot dc0edb586d Merge "Fix wrong mov instruction size." 2018-01-25 23:34:56 +00:00
David Srbecky 9ba37712e5 Merge "Emit the frame for DEX PC before the frame for native PC."
am: 4a2178836e

Change-Id: I651a1be0ea4fbe66d4b88288cc08876b6946355f
2018-01-25 22:47:14 +00:00
David Srbecky 4a2178836e Merge "Emit the frame for DEX PC before the frame for native PC." 2018-01-25 22:27:37 +00:00
Chih-Hung Hsieh 09f88076c8 Fix wrong mov instruction size.
* New clang 7.0 assembler rejects mov with wrong length.

Bug: 72412103
Test: build and boot in emulator
Change-Id: If1a1affaa4a149265f8cc2b8bf463e58e71cc47a
2018-01-25 11:44:19 -08:00
Ruchi Kandoi d506c068d4 Add AID for Secure Element Application
Test: Test if the correct uid is assigned to the application
Change-Id: Ib0302a2e90ae89499ecbcebffa393bdd037adfbe
2018-01-25 18:21:53 +00:00
Christopher Ferris 83720310f0 Merge "Add error propagation into Unwinder/Elf objects."
am: 19ab4580be

Change-Id: I05d8efab28d7098755d9eba21a0849e582ff8107
2018-01-25 15:29:20 +00:00
Jiyong Park 24b2baa310 Merge "libutilscallstack is private VNDK-SP"
am: 4d182ff205

Change-Id: If74362f1920191f011606207e12e0a05a6c144c6
2018-01-25 15:28:50 +00:00
Christopher Ferris 19ab4580be Merge "Add error propagation into Unwinder/Elf objects." 2018-01-25 15:00:32 +00:00
David Srbecky 645f8bbc6f Emit the frame for DEX PC before the frame for native PC.
This results in more natural backtrace.

Test: ART's 137-cfi test

Change-Id: Ic472db2733a330f8dbc722887809273b77d9dfb5
2018-01-25 14:09:43 +00:00
Treehugger Robot 4d182ff205 Merge "libutilscallstack is private VNDK-SP" 2018-01-25 07:27:49 +00:00
Jiyong Park a32678df55 libutilscallstack is private VNDK-SP
The library isn't intented to be exposed to vendors. It is a platform
private library.

Bug: 72471487
Test: Pixel 2016/2017 boots to the UI. Photo editing works.
Change-Id: Ib0479a43d66d988c2f882688240746bed3213dad
2018-01-25 14:02:08 +09:00
Jaekyun Seok 10e1ec7de3 Merge "Support /product partition"
am: 8f324542a2

Change-Id: I0fa35c223fbdc64158b8c8460ace2b631f342183
2018-01-25 04:04:34 +00:00
Jaekyun Seok 8f324542a2 Merge "Support /product partition" 2018-01-25 03:53:37 +00:00
Christopher Ferris 2fcf4cf13e Add error propagation into Unwinder/Elf objects.
The backtrace offline code uses these error codes to diagnose errors.
In addtion, I've had cases where seeing these errors would help diagnose
failures.

This also allows us to add a few features to indicate why an unwind
terminated (such as max frames exceeded).

Bug: 65682279

Test: Updated unit tests pass.
Change-Id: If82b5092698e8a194016d670efff1320f9b44d50
2018-01-24 17:50:46 -08:00
Elliott Hughes ca8ffc893b Merge "Add a graphics owner for graphics.h."
am: 3303c5d520

Change-Id: Ic66ab4150744a498ddff1d738e32b2c36343874d
2018-01-25 01:22:38 +00:00
Jaekyun Seok dff165d3a2 Support /product partition
This CL will enable reading /product/build.prop and add product paths
into ld.config.txt.in.

Bug: 64195575
Test: tested with 'PRODUCT_PRODUCT_PROPERTIES := ro.product.abc=abc' on
sailfish

Change-Id: Ie996def20e25dc1afe0c74af2096af844934b2dc
2018-01-25 09:37:20 +09:00
Treehugger Robot 3303c5d520 Merge "Add a graphics owner for graphics.h." 2018-01-25 00:25:35 +00:00
Christopher Ferris 504863e063 Merge "Small behavioral changes to the unwinder."
am: 335675c2fd

Change-Id: I17b0eafc1d3204f697ad31877116819fc138d9c8
2018-01-25 00:10:28 +00:00
Christopher Ferris 335675c2fd Merge "Small behavioral changes to the unwinder." 2018-01-25 00:03:12 +00:00
Christopher Ferris 1a141a0925 Small behavioral changes to the unwinder.
- Be a little more lenient when reading the cies/fdes. If next entry data
  winds up incorrect, don't fail, simply stop processing the entries. This
  only applies when reading all of the cies/fdes at once.
- Fail to init an eh_frame with no entries and fallback to assuming the
  eh_frame has no header instead.
- Change the step to always try debug_frame first which has the most
  accurate information.
- Add small unit tests and a couple of offline unit tests to verify
  this behavior.

These changes are needed to support offline unwinding since it depends
on this new behavior.

Bug: 65682279

Test: Ran new unit tests.
Change-Id: I3529f1b0c8e14cd7409494e5de2f3c9e78d0855e
2018-01-24 13:20:03 -08:00
Elliott Hughes f2f049f27a Add a graphics owner for graphics.h.
Bug: N/A
Test: N/A
Change-Id: I91c07531ba8a2da0187b7411b9c11dc3191dcede
2018-01-24 11:08:54 -08:00
Daniel Colascione 179c81f733 Merge "Add MCL_ONFAULT to mlockall"
am: ccb9960beb

Change-Id: Icef5d96370340e2d69b58327b26acb1562841518
2018-01-24 07:57:09 +00:00
Daniel Colascione ccb9960beb Merge "Add MCL_ONFAULT to mlockall" 2018-01-24 06:10:17 +00:00
Christopher Ferris ce7a773232 Merge "Add extra frame when dex_pc is non-zero."
am: 0ad424358c

Change-Id: I829267e02fa1342d09923c9087e3a4f3f9d63b1d
2018-01-24 02:54:41 +00:00
Christopher Ferris 0ad424358c Merge "Add extra frame when dex_pc is non-zero." 2018-01-24 02:44:21 +00:00
Badhri Jagan Sridharan 461316dd0e Merge "Fix selinux denials for usbd"
am: 23e60de4ff

Change-Id: Ia081a6206bc30c98c7cce2eb8c34ea750894871c
2018-01-24 02:21:47 +00:00