Commit graph

20368 commits

Author SHA1 Message Date
Dimitry Ivanov
488eac109b Merge "Add test for elf-hash and packed relocations"
am: 59dd61573f

Change-Id: I8d5071cbf4de4add626aeecf8b9a08643de63c39
2016-12-15 18:34:11 +00:00
Dimitry Ivanov
c0c74cb7dd Merge "Add test for empty symbol lookup"
am: 22ef13ff9d

Change-Id: I5c58192b8a06968360f3e54461064e4aa73cc18f
2016-12-15 18:33:46 +00:00
Dimitry Ivanov
59dd61573f Merge "Add test for elf-hash and packed relocations" 2016-12-15 18:27:22 +00:00
Dimitry Ivanov
22ef13ff9d Merge "Add test for empty symbol lookup" 2016-12-15 18:26:52 +00:00
Elliott Hughes
e0bbb4882c Merge "Make the __stack_chk_fail message more searchable on the internets." am: a1d32f95c3
am: 153ebb4557

Change-Id: Ic74ce9166627c15df7792db5c3468844b2c2148f
2016-12-15 06:31:02 +00:00
Elliott Hughes
153ebb4557 Merge "Make the __stack_chk_fail message more searchable on the internets."
am: a1d32f95c3

Change-Id: I46d1bb6c1d8424882d1d89550c3b9d081f4c5ddc
2016-12-15 06:23:30 +00:00
Treehugger Robot
a1d32f95c3 Merge "Make the __stack_chk_fail message more searchable on the internets." 2016-12-15 06:15:41 +00:00
Elliott Hughes
0ff61f6d19 Make the __stack_chk_fail message more searchable on the internets.
Noticed while writing documentation:

  https://source.android.com/devices/tech/debug/

Bug: http://b/28746168
Test: crasher
Change-Id: Ied1c1b1c75a85a899f07e6927134b9bf91316fe4
2016-12-14 17:30:07 -08:00
Dimitry Ivanov
e1a4f26a0e Merge "Document bionic loader logging properties" am: a7aac1bf9a
am: 9d0e1eca71

Change-Id: Iaf344992ceeab852642b32abc3d336f0237ed958
2016-12-15 00:17:09 +00:00
Dimitry Ivanov
9d0e1eca71 Merge "Document bionic loader logging properties"
am: a7aac1bf9a

Change-Id: I6492960b81c7317819bad0f09e94912ab2ba3fb5
2016-12-15 00:10:07 +00:00
Treehugger Robot
a7aac1bf9a Merge "Document bionic loader logging properties" 2016-12-15 00:05:27 +00:00
Dimitry Ivanov
98b5115e46 Merge "Add a way to track all dlsym calls (contd.)" am: 70e3f0c3bf
am: 0f5e653e92

Change-Id: Ib9b88bc1aadc7a56e0b7a8f868c77b03b9acfc66
2016-12-14 23:48:06 +00:00
Dimitry Ivanov
0f5e653e92 Merge "Add a way to track all dlsym calls (contd.)"
am: 70e3f0c3bf

Change-Id: Ia577eb8880b14ff1d85a551da2f4bf3f06f92264
2016-12-14 23:40:35 +00:00
Treehugger Robot
70e3f0c3bf Merge "Add a way to track all dlsym calls (contd.)" 2016-12-14 23:30:07 +00:00
Dimitry Ivanov
d5b578ac15 Add test for empty symbol lookup
Check that dlsym(handle, "") fails.

Bug: http://b/33530622
Test: bionic-unit-tests --gtest_filter=dlfcn*
Test: bionic-unit-tests-glibc --gtest_filter=dlfcn*
Change-Id: Iae572bd1d9b798be619c5018de2a5450bf37977e
2016-12-14 15:16:56 -08:00
Dimitry Ivanov
5d1753f7f5 Document bionic loader logging properties
Bug: http://b/29458203
Test: spellchecker in vim
Change-Id: I81e60a09fa256110d7ab9b530e7821ae66e8f020
2016-12-14 15:00:33 -08:00
Dimitry Ivanov
cf00d86935 Add a way to track all dlsym calls (contd.)
The followup for 4742abdcb5

Changes in this file got lost in the process of cherry-picking
the change across repositories.

Bug: http://b/29458203
Test: flash, set debug.ld.all to dlsym and check
      if there are messages in logcat

Change-Id: I4613908e46e75c5d9ec66396767f10fc6d3e9777
2016-12-14 14:30:37 -08:00
Elliott Hughes
1c07ca873a Merge "Fix an obsolete comment." am: 1adb683447
am: 58646b53b7

Change-Id: Ia7254ff57a4f318bb0bed542ed09ba661e153f45
2016-12-14 22:07:30 +00:00
Elliott Hughes
58646b53b7 Merge "Fix an obsolete comment."
am: 1adb683447

Change-Id: I6c69db6efc68e49ab6936fcd2f1d32e76287ac1a
2016-12-14 22:00:28 +00:00
Elliott Hughes
1adb683447 Merge "Fix an obsolete comment." 2016-12-14 21:50:32 +00:00
Elliott Hughes
bc94bb362d Fix an obsolete comment.
280236537e factored the pthread types out
so that they could be in both <sys/types.h> and <pthread.h>.

Bug: N/A
Test: builds
Change-Id: Ie649c938ec8be1c59a0e4ef777f425550f8d4539
2016-12-14 12:43:30 -08:00
Dimitry Ivanov
ac4bd2f793 Add test for elf-hash and packed relocations
This adds CTS test for system libraries to support
workaround for http://b/24465209: some apps require
a subset of system libs to have elf-hash and not to
use packed relocations.

Bug: http://b/32917341
Bug: http://b/24465209
Test: bionic-unit-tests --gtest_filter=Dl*:dl*
Change-Id: Ia0bc28506b1f1f97d4cf902d73b0769e2815fed3
2016-12-14 11:16:21 -08:00
Elliott Hughes
17217b8eec Merge "Update socket constants." am: cb0134d96e
am: 72f259ac6f

Change-Id: Ie45ea13d264f876939f95ac76a2bdba1b2331e53
2016-12-14 16:44:39 +00:00
Elliott Hughes
72f259ac6f Merge "Update socket constants."
am: cb0134d96e

Change-Id: Ic98fbc1d9e6ad39492d413d15689cbc9f1dbb77c
2016-12-14 16:37:38 +00:00
Elliott Hughes
cb0134d96e Merge "Update socket constants." 2016-12-14 16:28:24 +00:00
Christopher Ferris
5fbb15f71c Merge "Update to kernel headers v4.8.14." am: f27e97956d
am: 3ec2701f0c

Change-Id: I91e4e095bae01675698e5514c00e19896055c51d
2016-12-13 23:53:47 +00:00
Christopher Ferris
3ec2701f0c Merge "Update to kernel headers v4.8.14."
am: f27e97956d

Change-Id: Ia857d26c0ed664157d1d1728764ea3c9d68cc64b
2016-12-13 23:47:46 +00:00
Elliott Hughes
3f6eee9793 Revert "Revert "move android_ids into bionic""
This reverts commit 77cb68d9f2.

Change-Id: Ibc9f775c4cd418be90fd8a6f192dd72ca5dff09a
2016-12-13 23:47:25 +00:00
Christopher Ferris
f27e97956d Merge "Update to kernel headers v4.8.14." 2016-12-13 23:40:01 +00:00
Elliott Hughes
8d76871438 Update socket constants.
This corresponds to Linux 4.10.

Bug: N/A
Test: builds
Change-Id: Ia7135c9fec181613b79726d1b16867133cdefd04
2016-12-13 15:29:58 -08:00
Christopher Ferris
19dfe0b4ba Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings" am: 8b3e812684
am: 24dae7f57c

Change-Id: I556841ceac287f0a02746f23e6a30c436d0143b9
2016-12-13 23:27:41 +00:00
Christopher Ferris
24dae7f57c Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
am: 8b3e812684

Change-Id: Ib2f1102f7bce8584fcd478d0d3ef1c285ba011ba
2016-12-13 23:21:10 +00:00
Christopher Ferris
8b3e812684 Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings" 2016-12-13 23:11:27 +00:00
Elliott Hughes
211a4e9496 Merge "Remove BSD cruft from <pwd.h>." am: 9438a648eb
am: 6890799937

Change-Id: Icf01428e52890b3e08694c600242ef4be9097742
2016-12-13 23:07:51 +00:00
Elliott Hughes
e05059d457 Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern." am: 9f9c73bb2e
am: 0d5910b1f2

Change-Id: I3591a0a325e425cf9d0331047ac9d294638e6def
2016-12-13 23:07:39 +00:00
Elliott Hughes
6890799937 Merge "Remove BSD cruft from <pwd.h>."
am: 9438a648eb

Change-Id: I6c4ebf91ff7a00c19e929ea8041e7e7275d31647
2016-12-13 23:01:51 +00:00
Elliott Hughes
0d5910b1f2 Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern."
am: 9f9c73bb2e

Change-Id: I2b79e278fc50938d8f6f0403c74a6fb00de460b1
2016-12-13 23:01:39 +00:00
Elliott Hughes
9438a648eb Merge "Remove BSD cruft from <pwd.h>." 2016-12-13 22:55:06 +00:00
Elliott Hughes
9f9c73bb2e Merge "Rename <grp.h>/<pwd.h> tests to fit the usual pattern." 2016-12-13 22:53:25 +00:00
Jeff Sharkey
934bc86df3 Define range of GIDs for cached app data.
To support upcoming disk usage calculation optimizations, this change
creates a new GID for each app that will be used to mark its cached
data.  We're allocating these unique GIDs so that we can use
quotactl() to track cached data on a per-app basis.

Test: builds, boots, tests pass
Bug: 27948817
Change-Id: Ic00c39ccedc23d5d43988029e9921679126f8f2d
2016-12-13 14:22:55 -07:00
Kevin Brodsky
3c1e9fa73d Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs" am: 755ecdead5
am: 6e56470f77

Change-Id: I18a66f0cf7d2b87dddf711ccb20d16f6a1002253
2016-12-13 19:44:26 +00:00
Kevin Brodsky
6e56470f77 Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs"
am: 755ecdead5

Change-Id: I1f593fcd31742260ee0b6adf8076c55310502531
2016-12-13 19:38:26 +00:00
Treehugger Robot
755ecdead5 Merge "bionic-unit-tests: Build host testlibs in bionic-loader-test-libs" 2016-12-13 19:32:10 +00:00
Christopher Ferris
49f525c47b Update to kernel headers v4.8.14.
Test: Built mips/arm/arm64/x86/x86_64. Built and booted angler.
Change-Id: Icedb035769d8a41a170a6f1ecd707113e332d8dd
2016-12-12 19:08:01 -08:00
Dimitry Ivanov
6fd603c0a9 Merge "Add a way to track all dlsym calls" am: f4af73f131
am: 2ac2d40745

Change-Id: I67560dfb318f687b9ab107c0bd52a54febf2d2b5
2016-12-13 02:39:59 +00:00
Dimitry Ivanov
2ac2d40745 Merge "Add a way to track all dlsym calls"
am: f4af73f131

Change-Id: I030d18ae86e8bcc542ec8fc283810eff8491917d
2016-12-13 02:33:59 +00:00
Treehugger Robot
f4af73f131 Merge "Add a way to track all dlsym calls" 2016-12-13 02:25:49 +00:00
Dimitry Ivanov
3603b33e5a Merge "Repair dlwarning toast" am: 63741d523c
am: 02855d7be1

Change-Id: I12c2eaab051612bb051d98284021e617b88b44ca
2016-12-13 02:22:29 +00:00
Dimitry Ivanov
02855d7be1 Merge "Repair dlwarning toast"
am: 63741d523c

Change-Id: Ibddf4f733035d9a7f388dc90efa71025f1539119
2016-12-13 02:16:28 +00:00
Treehugger Robot
63741d523c Merge "Repair dlwarning toast" 2016-12-13 02:10:51 +00:00