Commit graph

20368 commits

Author SHA1 Message Date
Christopher Ferris
fcbe1b780f Merge "Update to kernel headers v4.9.6." am: 6a9e0c8f15
am: 553293dd96

Change-Id: Id0c472fe933d57418539f5ac091bf2d9e88cc0cd
2017-01-27 21:17:10 +00:00
Christopher Ferris
553293dd96 Merge "Update to kernel headers v4.9.6."
am: 6a9e0c8f15

Change-Id: I58e144ccbd4c6174de09b686fdb8d66502024e71
2017-01-27 21:15:10 +00:00
Treehugger Robot
6a9e0c8f15 Merge "Update to kernel headers v4.9.6." 2017-01-27 21:11:51 +00:00
Christopher Ferris
351a796d2d Update to kernel headers v4.9.6.
Test: Built arm/arm64/x86/x86_64 targets.
Change-Id: Id4d2711aaa96fe537f3726a0a89f2959e9cca34a
2017-01-27 10:49:48 -08:00
Christopher Ferris
edcde622eb Merge "Update to kernel headers v4.9.3." am: 00e388df4e
am: 16875896ac

Change-Id: I154ea1d11d0235270bd4dec2f6eebe0307fdff40
2017-01-27 17:56:59 +00:00
Christopher Ferris
16875896ac Merge "Update to kernel headers v4.9.3."
am: 00e388df4e

Change-Id: I8dd0475aedb2139835d59a60d8360a9d01cf0848
2017-01-27 17:54:30 +00:00
Christopher Ferris
00e388df4e Merge "Update to kernel headers v4.9.3." 2017-01-27 17:50:46 +00:00
Pavel Labath
c87864aacd Merge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29
am: f0c213da63

Change-Id: I019f6c02b793dc656a47bbb459d7a20efcab536b
2017-01-27 14:05:41 +00:00
Pavel Labath
f0c213da63 Merge "Silence unused variable warning in sys_ptrace_test"
am: 15db5d0d29

Change-Id: I7f234cb977c1f3b49580d3081d4e5b464cb6e894
2017-01-27 14:03:11 +00:00
Pavel Labath
15db5d0d29 Merge "Silence unused variable warning in sys_ptrace_test" 2017-01-27 13:59:17 +00:00
Pavel Labath
bb9713dd91 Silence unused variable warning in sys_ptrace_test
This fixes the mips build broken by
I7d8a7d79585477d78da1f033c85f8d2cc3b34340.

Change-Id: Ib960bdb51ac81be068f1fdf702aa7c10b183f2a0
Test: lunch mips && cd bionic && mma
2017-01-27 13:06:22 +00:00
Pavel Labath
dc6645f4fd Merge "Add hardware breakpoint ptrace test" am: 3f62787cf9
am: f464d5b5b2

Change-Id: I95646953d12c53c80fdd7fa34b1bc5fb89030232
2017-01-27 12:45:08 +00:00
Pavel Labath
f464d5b5b2 Merge "Add hardware breakpoint ptrace test"
am: 3f62787cf9

Change-Id: I808820a80a3b7c2e02284236a85e04592fa092be
2017-01-27 12:42:39 +00:00
Pavel Labath
3f62787cf9 Merge "Add hardware breakpoint ptrace test" 2017-01-27 12:39:52 +00:00
Pavel Labath
fb082ee00c Add hardware breakpoint ptrace test
This adds a ptrace test which tests the hardware breakpoint
functionality of the ptrace api.

I've also renamed the test case to sys_ptrace to better match the naming
scheme in the other files. I've ran the tests on angler (32 and 64 bit)
and fugu.

Test: run the test
Change-Id: I7d8a7d79585477d78da1f033c85f8d2cc3b34340
2017-01-27 12:39:32 +00:00
Dimitry Ivanov
5e1dc58db9 Merge "Remove dependency on libc.a from the linker" am: 2ca556bb6e
am: 6fcea73028

Change-Id: I09fc09bfb149fd7b169bbc5cab1276b1aa7c8b76
2017-01-27 03:12:51 +00:00
Dimitry Ivanov
9bd7d27bd8 Merge "Remove bionic-unit-tests-gcc" am: 55aae03a60
am: a47e3a958b

Change-Id: I35c1389fd3c48a3884a5c0a44c200e8caae10c58
2017-01-27 03:12:41 +00:00
Dimitry Ivanov
6fcea73028 Merge "Remove dependency on libc.a from the linker"
am: 2ca556bb6e

Change-Id: I59069880a84609efe04033b62dc6ac64b0293757
2017-01-27 03:08:09 +00:00
Treehugger Robot
2ca556bb6e Merge "Remove dependency on libc.a from the linker" 2017-01-27 03:03:50 +00:00
Dimitry Ivanov
a47e3a958b Merge "Remove bionic-unit-tests-gcc"
am: 55aae03a60

Change-Id: I3c51948df527b0fe6aeec5fb750044e4862c3b9e
2017-01-27 01:31:33 +00:00
Dimitry Ivanov
55aae03a60 Merge "Remove bionic-unit-tests-gcc" 2017-01-27 01:28:03 +00:00
Dimitry Ivanov
451909da31 Remove dependency on libc.a from the linker
Provide stub for unused but needed symbol __find_icu_symbol
which is not included to libc_nomalloc.a.

Test: mm and boot
Change-Id: I57ca09c990556d1d401e2f4a75bc49b61b4cd85d
2017-01-26 17:08:01 -08:00
Dimitry Ivanov
3c81d5b361 Remove bionic-unit-tests-gcc
Test: mm
Bug: 34747525
Change-Id: Ib17ac3535b6f3358af7098df0602d19c6e318cb7
2017-01-26 15:47:55 -08:00
Max Spector
4624ed5039 Merge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200
am: 36c6ce26a2

Change-Id: I6af912a1f7e52574be15e64ec099459592dd1beb
2017-01-26 18:50:48 +00:00
Max Spector
36c6ce26a2 Merge "Adding kuser_helper on note to all arm32 binaries."
am: 577a944200

Change-Id: I20287f1d8d5909e39df9d64655948045eddeffe8
2017-01-26 18:47:43 +00:00
Max Spector
577a944200 Merge "Adding kuser_helper on note to all arm32 binaries." 2017-01-26 18:43:40 +00:00
Victor Khimenko
7d3fdfe4a6 Merge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd
am: cfe98d3195

Change-Id: I8c8346316694a0c5fcc7141c60e20151f69ef0dd
2017-01-26 10:20:41 +00:00
Victor Khimenko
cfe98d3195 Merge "Fix bionic-unit-tests in arch with binary translator"
am: 3c0363d7fd

Change-Id: I8d1e2b359e2048d553d7ee3e3605b317e37ecacc
2017-01-26 10:17:40 +00:00
Victor Khimenko
3c0363d7fd Merge "Fix bionic-unit-tests in arch with binary translator" 2017-01-26 10:11:14 +00:00
Stephen Hines
fbb7c0e765 Merge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e
am: 6776efa346

Change-Id: I6b83f36d0e344c9174f7fcdd210ceecbafdd3027
2017-01-26 07:24:57 +00:00
Stephen Hines
6776efa346 Merge "Don't mark __res_params or android_net_context as packed."
am: 0c45c7dc5e

Change-Id: I9009bbe594502e890c61c90deee0621662ac1476
2017-01-26 07:19:19 +00:00
Treehugger Robot
0c45c7dc5e Merge "Don't mark __res_params or android_net_context as packed." 2017-01-26 07:13:21 +00:00
mspector
2e3d6a1d67 Adding kuser_helper on note to all arm32 binaries.
A kernel change is going in for 64bit arm to disable kuser_helper vector
pages for 32bit processes.  This change adds a special elf note to
all arm32 binaries built with bionic.  This note tells the kernel to
load the kuser_helper vector page for the process.

Bug: 33689037
Test: Manual - Phone boots, 32bit binaries have the notes, 64bit
binaries do not.
Change-Id: Ib8366e2a0810092b71381d57dee4bdaa56369a24
2017-01-25 17:33:05 -08:00
Christopher Ferris
6a9755d20a Update to kernel headers v4.9.3.
Test: Built arm, arm64, x86, x86_64 targets.
Test: Booted on angler, and ran bionic unit tests (32 bit and 64 bit).

Change-Id: I14a8dcbea11b41f83431eabed6590cd25af07b1d
2017-01-25 16:23:56 -08:00
Paul Lawrence
fe55c3ac41 Merge "Use trap not kill in seccomp filter" am: 6418f95ca2
am: b5a151a12d

Change-Id: Icae95f9dfd6f7b4ab7e5422ee8e1b103e9c62b61
2017-01-25 22:52:56 +00:00
Paul Lawrence
b5a151a12d Merge "Use trap not kill in seccomp filter"
am: 6418f95ca2

Change-Id: If004fbd71c34916c8e445565416f6419097d3062
2017-01-25 22:49:56 +00:00
Paul Lawrence
6418f95ca2 Merge "Use trap not kill in seccomp filter" 2017-01-25 22:46:06 +00:00
Victor Khimenko
14b9d7199c Fix bionic-unit-tests in arch with binary translator
If binary translator is involved then libc is not place in /system/lib
or /system/lib64.  It's placed into /syste/lib/arm, /system/lib/arm64,
etc.  FUGU is an example of such an architecture.

Support both cases by picking right path at runtime.

Test: run bionic-unit-tests --gtest_filter=dlfcn.dladdr_libc
Change-Id: I8345c0f6c19376ebe5106f9670fd2addeb9b9080
2017-01-25 20:57:48 +01:00
Victor Khimenko
221eef03da Merge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96
am: dc7ec2bb8a

Change-Id: Iaee419cd20af017ecd6466f2f303e95afdb1071a
2017-01-25 10:11:35 +00:00
Victor Khimenko
dc7ec2bb8a Merge "Fix bionic-unit-tests in some non-standard builds"
am: 18c009ca96

Change-Id: Idd15fa0633e4f1449cd86d4405e849f4214e3bc8
2017-01-25 10:09:04 +00:00
Victor Khimenko
18c009ca96 Merge "Fix bionic-unit-tests in some non-standard builds" 2017-01-25 10:05:41 +00:00
Stephen Hines
9935e0fcee Don't mark __res_params or android_net_context as packed.
Bug: http://b/31532493

These internal API structures are never actually used anywhere that
would change behavior because it is "packed", so it is safe to remove.

Test: Builds correctly with the latest toolchain.
Change-Id: I5431992d840777605be75ab91dc21158d6d22c26
2017-01-25 00:42:45 -08:00
Dimitry Ivanov
30fdd5d82d Merge changes from topic 'property_service_protocol_v2' am: 3f6d599775
am: fc7be4575a

Change-Id: Idef9ac8ffbc458064121c43031de1a07a4300f90
2017-01-25 03:58:55 +00:00
Dimitry Ivanov
8dba8acd6e Do not send 0 byte string content. am: cafd355375
am: 6fd88344a5

Change-Id: If8fd7fac36d145cf6f611cc562ab5b5b345e33d9
2017-01-25 03:58:50 +00:00
Dimitry Ivanov
c809b7a43f Revert "Revert "Remove limit of system property name length"" am: 16b2a4de14
am: d91e7766ec

Change-Id: I19be17e5aec71182a9b83e3720e3fc3dd0cf5d0e
2017-01-25 03:58:46 +00:00
Dimitry Ivanov
fc7be4575a Merge changes from topic 'property_service_protocol_v2'
am: 3f6d599775

Change-Id: Ia0a7f1371743a345dbfbfe6d224caadd74dd6187
2017-01-25 03:56:59 +00:00
Dimitry Ivanov
6fd88344a5 Do not send 0 byte string content.
am: cafd355375

Change-Id: I8c2cc596f4f5d6e9ecc0de6130be8bdfcb19c1ec
2017-01-25 03:56:47 +00:00
Dimitry Ivanov
d91e7766ec Revert "Revert "Remove limit of system property name length""
am: 16b2a4de14

Change-Id: I585a55769cdca1d7f9edee479b5ec94d8821b673
2017-01-25 03:56:42 +00:00
Dimitry Ivanov
3f6d599775 Merge changes from topic 'property_service_protocol_v2'
* changes:
  Do not send 0 byte string content.
  Revert "Revert "Remove limit of system property name length""
2017-01-25 03:54:04 +00:00
Dimitry Ivanov
cafd355375 Do not send 0 byte string content.
Trying to send even 0 bytes to closed socket leads to
broken pipe error. Sometimes property service is just
quick enough and closes the socket between send(valuelen)
and send(value) in the case where valuelen is 0.

Bug: http://b/34670529
Test: adb reboot 20 times and make sure phone service did not fail
Test: run bionic-unit-tests --gtest_filter=prop*
Change-Id: I96f90ca6fe1790614e7efd3015bffed1ef1e9040
2017-01-24 14:19:03 -08:00