OSDN Git Service

android-x86/bionic.git
7 years agoproperty_contexts: split into platform and non-platform components am: 34f0cfa3a8...
Sandeep Patil [Mon, 30 Jan 2017 19:32:27 +0000 (19:32 +0000)]
property_contexts: split into platform and non-platform components am: 34f0cfa3a8 am: dbac5f634c am: 336caa97c6
am: 55281a8e6b

Change-Id: I805434e92bcc7caadfc5640d83eefe4c13613ae4

7 years agoproperty_contexts: split into platform and non-platform components am: 34f0cfa3a8...
Sandeep Patil [Mon, 30 Jan 2017 19:28:39 +0000 (19:28 +0000)]
property_contexts: split into platform and non-platform components am: 34f0cfa3a8 am: dbac5f634c
am: 336caa97c6

Change-Id: I311de52ed2285e6092bebe0ed4586478e091992c

7 years agoproperty_contexts: split into platform and non-platform components am: 34f0cfa3a8
Sandeep Patil [Mon, 30 Jan 2017 19:25:03 +0000 (19:25 +0000)]
property_contexts: split into platform and non-platform components am: 34f0cfa3a8
am: dbac5f634c

Change-Id: I493473a003a55b439b2350aec16489841c3dba6c

7 years agoproperty_contexts: split into platform and non-platform components
Sandeep Patil [Mon, 30 Jan 2017 19:21:22 +0000 (19:21 +0000)]
property_contexts: split into platform and non-platform components
am: 34f0cfa3a8

Change-Id: Ia1bcc896d3901217323a3d1299aada8223eceff5

7 years agoMerge "Remove backwards compatibility for old system properties." am: 0c6f806b1d...
Elliott Hughes [Sat, 28 Jan 2017 16:55:30 +0000 (16:55 +0000)]
Merge "Remove backwards compatibility for old system properties." am: 0c6f806b1d am: 0f265255a6 am: 7827cf6cf2
am: 84829abea0

Change-Id: I31fcc3a478aeb6808b31c3e267980a5b631f8892

7 years agoMerge "Remove backwards compatibility for old system properties." am: 0c6f806b1d...
Elliott Hughes [Sat, 28 Jan 2017 16:53:01 +0000 (16:53 +0000)]
Merge "Remove backwards compatibility for old system properties." am: 0c6f806b1d am: 0f265255a6
am: 7827cf6cf2

Change-Id: I1890f0ecf1ff36d09b3751bddb79655426baf36b

7 years agoMerge "Remove backwards compatibility for old system properties." am: 0c6f806b1d
Elliott Hughes [Sat, 28 Jan 2017 16:51:00 +0000 (16:51 +0000)]
Merge "Remove backwards compatibility for old system properties." am: 0c6f806b1d
am: 0f265255a6

Change-Id: Ia66376e579c4eaa92e177394fb5d442abb465e7f

7 years agoMerge "Remove backwards compatibility for old system properties."
Elliott Hughes [Sat, 28 Jan 2017 16:48:29 +0000 (16:48 +0000)]
Merge "Remove backwards compatibility for old system properties."
am: 0c6f806b1d

Change-Id: I5da3b1f0de50f2fc78e8fa54facd435837a9ec28

7 years agoMerge "Remove backwards compatibility for old system properties."
Treehugger Robot [Sat, 28 Jan 2017 16:44:09 +0000 (16:44 +0000)]
Merge "Remove backwards compatibility for old system properties."

7 years agoRemove backwards compatibility for old system properties.
Elliott Hughes [Fri, 27 Jan 2017 00:48:57 +0000 (16:48 -0800)]
Remove backwards compatibility for old system properties.

No-one is directly upgrading from pre-K to O...

Also move more implementation details out of the header file.

Bug: http://b/33926793
Test: boots
Change-Id: I7a0936acbb1cea8a3b2cd6797ec53ba7e4a050f3

7 years agoMerge "Update to kernel headers v4.9.6." am: 6a9e0c8f15 am: 553293dd96 am: fcbe1b780f
Christopher Ferris [Fri, 27 Jan 2017 21:21:11 +0000 (21:21 +0000)]
Merge "Update to kernel headers v4.9.6." am: 6a9e0c8f15 am: 553293dd96 am: fcbe1b780f
am: b521072417

Change-Id: Id1c4383e947a9e392410509ff27fef8cfc2357b5

7 years agoMerge "Update to kernel headers v4.9.6." am: 6a9e0c8f15 am: 553293dd96
Christopher Ferris [Fri, 27 Jan 2017 21:19:08 +0000 (21:19 +0000)]
Merge "Update to kernel headers v4.9.6." am: 6a9e0c8f15 am: 553293dd96
am: fcbe1b780f

Change-Id: I432e4d8ea0b7d7b33d6f44b25fea78fb0b012305

7 years agoMerge "Update to kernel headers v4.9.6." am: 6a9e0c8f15
Christopher Ferris [Fri, 27 Jan 2017 21:17:10 +0000 (21:17 +0000)]
Merge "Update to kernel headers v4.9.6." am: 6a9e0c8f15
am: 553293dd96

Change-Id: Id0c472fe933d57418539f5ac091bf2d9e88cc0cd

7 years agoMerge "Update to kernel headers v4.9.6."
Christopher Ferris [Fri, 27 Jan 2017 21:15:10 +0000 (21:15 +0000)]
Merge "Update to kernel headers v4.9.6."
am: 6a9e0c8f15

Change-Id: I58e144ccbd4c6174de09b686fdb8d66502024e71

7 years agoproperty_contexts: split into platform and non-platform components
Sandeep Patil [Wed, 28 Dec 2016 01:37:44 +0000 (17:37 -0800)]
property_contexts: split into platform and non-platform components

Bug: 33746484
Bug: 34370523
Test: Successfully boot with original service and property contexts.
Test: Successfully boot with split serivce and property contexts.
Test: Incremental build works on sailfish (reported in b/34370523)
Test: adb sideload works with aosp updater (reported in b/34370523)

Change-Id: Idf24856193032a8bc89ec384a72451e578a9d5ac
Signed-off-by: Sandeep Patil <sspatil@google.com>
7 years agoMerge "Update to kernel headers v4.9.6."
Treehugger Robot [Fri, 27 Jan 2017 21:11:50 +0000 (21:11 +0000)]
Merge "Update to kernel headers v4.9.6."

7 years agoUpdate to kernel headers v4.9.6.
Christopher Ferris [Fri, 27 Jan 2017 18:49:48 +0000 (10:49 -0800)]
Update to kernel headers v4.9.6.

Test: Built arm/arm64/x86/x86_64 targets.
Change-Id: Id4d2711aaa96fe537f3726a0a89f2959e9cca34a

7 years agoMerge "Update to kernel headers v4.9.3." am: 00e388df4e am: 16875896ac am: edcde622eb
Christopher Ferris [Fri, 27 Jan 2017 18:01:28 +0000 (18:01 +0000)]
Merge "Update to kernel headers v4.9.3." am: 00e388df4e am: 16875896ac am: edcde622eb
am: 4ddca11f1c

Change-Id: I1bb8200d44c40b3efdbd0aa12be00d6d36b3ab06

7 years agoMerge "Update to kernel headers v4.9.3." am: 00e388df4e am: 16875896ac
Christopher Ferris [Fri, 27 Jan 2017 17:59:30 +0000 (17:59 +0000)]
Merge "Update to kernel headers v4.9.3." am: 00e388df4e am: 16875896ac
am: edcde622eb

Change-Id: Ib3ae105a36abd8d58af19d30b42df3339ceb63a0

7 years agoMerge "Update to kernel headers v4.9.3." am: 00e388df4e
Christopher Ferris [Fri, 27 Jan 2017 17:56:59 +0000 (17:56 +0000)]
Merge "Update to kernel headers v4.9.3." am: 00e388df4e
am: 16875896ac

Change-Id: I154ea1d11d0235270bd4dec2f6eebe0307fdff40

7 years agoMerge "Update to kernel headers v4.9.3."
Christopher Ferris [Fri, 27 Jan 2017 17:54:30 +0000 (17:54 +0000)]
Merge "Update to kernel headers v4.9.3."
am: 00e388df4e

Change-Id: I8dd0475aedb2139835d59a60d8360a9d01cf0848

7 years agoMerge "Update to kernel headers v4.9.3."
Christopher Ferris [Fri, 27 Jan 2017 17:50:45 +0000 (17:50 +0000)]
Merge "Update to kernel headers v4.9.3."

7 years agoMerge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29 am: f0c213d...
Pavel Labath [Fri, 27 Jan 2017 14:09:42 +0000 (14:09 +0000)]
Merge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29 am: f0c213da63 am: c87864aacd
am: bc5d2983f3

Change-Id: If3e67dd0f1d3ca65b372db22eceb382927a3de28

7 years agoMerge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29 am: f0c213da63
Pavel Labath [Fri, 27 Jan 2017 14:07:42 +0000 (14:07 +0000)]
Merge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29 am: f0c213da63
am: c87864aacd

Change-Id: Id853e264e46244c7c21261066d010fba676c1249

7 years agoMerge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29
Pavel Labath [Fri, 27 Jan 2017 14:05:41 +0000 (14:05 +0000)]
Merge "Silence unused variable warning in sys_ptrace_test" am: 15db5d0d29
am: f0c213da63

Change-Id: I019f6c02b793dc656a47bbb459d7a20efcab536b

7 years agoMerge "Silence unused variable warning in sys_ptrace_test"
Pavel Labath [Fri, 27 Jan 2017 14:03:11 +0000 (14:03 +0000)]
Merge "Silence unused variable warning in sys_ptrace_test"
am: 15db5d0d29

Change-Id: I7f234cb977c1f3b49580d3081d4e5b464cb6e894

7 years agoMerge "Silence unused variable warning in sys_ptrace_test"
Pavel Labath [Fri, 27 Jan 2017 13:59:15 +0000 (13:59 +0000)]
Merge "Silence unused variable warning in sys_ptrace_test"

7 years agoSilence unused variable warning in sys_ptrace_test
Pavel Labath [Fri, 27 Jan 2017 13:04:26 +0000 (13:04 +0000)]
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

7 years agoMerge "Add hardware breakpoint ptrace test" am: 3f62787cf9 am: f464d5b5b2 am: dc6645f4fd
Pavel Labath [Fri, 27 Jan 2017 12:49:39 +0000 (12:49 +0000)]
Merge "Add hardware breakpoint ptrace test" am: 3f62787cf9 am: f464d5b5b2 am: dc6645f4fd
am: 113a2f2bbe

Change-Id: I0be9bf9e6f16676a4079a5dfe33ce93795aa6034

7 years agoMerge "Add hardware breakpoint ptrace test" am: 3f62787cf9 am: f464d5b5b2
Pavel Labath [Fri, 27 Jan 2017 12:47:38 +0000 (12:47 +0000)]
Merge "Add hardware breakpoint ptrace test" am: 3f62787cf9 am: f464d5b5b2
am: dc6645f4fd

Change-Id: Id61e1da17fcbfd1fb1fd86754479f0c018e10bdf

7 years agoMerge "Add hardware breakpoint ptrace test" am: 3f62787cf9
Pavel Labath [Fri, 27 Jan 2017 12:45:08 +0000 (12:45 +0000)]
Merge "Add hardware breakpoint ptrace test" am: 3f62787cf9
am: f464d5b5b2

Change-Id: I95646953d12c53c80fdd7fa34b1bc5fb89030232

7 years agoMerge "Add hardware breakpoint ptrace test"
Pavel Labath [Fri, 27 Jan 2017 12:42:39 +0000 (12:42 +0000)]
Merge "Add hardware breakpoint ptrace test"
am: 3f62787cf9

Change-Id: I808820a80a3b7c2e02284236a85e04592fa092be

7 years agoMerge "Add hardware breakpoint ptrace test"
Pavel Labath [Fri, 27 Jan 2017 12:39:51 +0000 (12:39 +0000)]
Merge "Add hardware breakpoint ptrace test"

7 years agoAdd hardware breakpoint ptrace test
Pavel Labath [Mon, 23 Jan 2017 15:41:35 +0000 (15:41 +0000)]
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

7 years agoMerge "Remove dependency on libc.a from the linker" am: 2ca556bb6e am: 6fcea73028...
Dimitry Ivanov [Fri, 27 Jan 2017 03:16:52 +0000 (03:16 +0000)]
Merge "Remove dependency on libc.a from the linker" am: 2ca556bb6e am: 6fcea73028 am: 5e1dc58db9
am: 298bb6e0aa

Change-Id: I85714cc47ef0fe7b61eccd4fedd4146287be79b3

7 years agoMerge "Remove bionic-unit-tests-gcc" am: 55aae03a60 am: a47e3a958b am: 9bd7d27bd8
Dimitry Ivanov [Fri, 27 Jan 2017 03:16:41 +0000 (03:16 +0000)]
Merge "Remove bionic-unit-tests-gcc" am: 55aae03a60 am: a47e3a958b am: 9bd7d27bd8
am: 8eceb1074e

Change-Id: I04f8b6bec3c289c9292d55d2df577e4585513a34

7 years agoMerge "Remove dependency on libc.a from the linker" am: 2ca556bb6e am: 6fcea73028
Dimitry Ivanov [Fri, 27 Jan 2017 03:14:49 +0000 (03:14 +0000)]
Merge "Remove dependency on libc.a from the linker" am: 2ca556bb6e am: 6fcea73028
am: 5e1dc58db9

Change-Id: If34f4c8a8308b59de91d59cefff82702d3ffeeb4

7 years agoMerge "Remove bionic-unit-tests-gcc" am: 55aae03a60 am: a47e3a958b
Dimitry Ivanov [Fri, 27 Jan 2017 03:14:40 +0000 (03:14 +0000)]
Merge "Remove bionic-unit-tests-gcc" am: 55aae03a60 am: a47e3a958b
am: 9bd7d27bd8

Change-Id: I59de41967025f310146ac99220f5edce5783ebf3

7 years agoMerge "Remove dependency on libc.a from the linker" am: 2ca556bb6e
Dimitry Ivanov [Fri, 27 Jan 2017 03:12:51 +0000 (03:12 +0000)]
Merge "Remove dependency on libc.a from the linker" am: 2ca556bb6e
am: 6fcea73028

Change-Id: I09fc09bfb149fd7b169bbc5cab1276b1aa7c8b76

7 years agoMerge "Remove bionic-unit-tests-gcc" am: 55aae03a60
Dimitry Ivanov [Fri, 27 Jan 2017 03:12:41 +0000 (03:12 +0000)]
Merge "Remove bionic-unit-tests-gcc" am: 55aae03a60
am: a47e3a958b

Change-Id: I35c1389fd3c48a3884a5c0a44c200e8caae10c58

7 years agoMerge "Remove dependency on libc.a from the linker"
Dimitry Ivanov [Fri, 27 Jan 2017 03:08:09 +0000 (03:08 +0000)]
Merge "Remove dependency on libc.a from the linker"
am: 2ca556bb6e

Change-Id: I59069880a84609efe04033b62dc6ac64b0293757

7 years agoMerge "Remove dependency on libc.a from the linker"
Treehugger Robot [Fri, 27 Jan 2017 03:03:50 +0000 (03:03 +0000)]
Merge "Remove dependency on libc.a from the linker"

7 years agoMerge "Remove bionic-unit-tests-gcc"
Dimitry Ivanov [Fri, 27 Jan 2017 01:31:33 +0000 (01:31 +0000)]
Merge "Remove bionic-unit-tests-gcc"
am: 55aae03a60

Change-Id: I3c51948df527b0fe6aeec5fb750044e4862c3b9e

7 years agoMerge "Remove bionic-unit-tests-gcc"
Dimitry Ivanov [Fri, 27 Jan 2017 01:28:03 +0000 (01:28 +0000)]
Merge "Remove bionic-unit-tests-gcc"

7 years agoRemove dependency on libc.a from the linker
Dimitry Ivanov [Fri, 27 Jan 2017 00:52:59 +0000 (16:52 -0800)]
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

7 years agoRemove bionic-unit-tests-gcc
Dimitry Ivanov [Thu, 17 Nov 2016 21:01:47 +0000 (13:01 -0800)]
Remove bionic-unit-tests-gcc

Test: mm
Bug: 34747525
Change-Id: Ib17ac3535b6f3358af7098df0602d19c6e318cb7

7 years agoMerge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200 am: 36c6ce2...
Max Spector [Thu, 26 Jan 2017 18:56:44 +0000 (18:56 +0000)]
Merge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200 am: 36c6ce26a2 am: 4624ed5039
am: 3a8dbaf737

Change-Id: I85fe5c3a34ae7f25c245b0f5d0b5c39ed76435cd

7 years agoMerge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200 am: 36c6ce26a2
Max Spector [Thu, 26 Jan 2017 18:53:43 +0000 (18:53 +0000)]
Merge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200 am: 36c6ce26a2
am: 4624ed5039

Change-Id: I91faad35d0ca994a1d4dbe91cd20431833e09294

7 years agoMerge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200
Max Spector [Thu, 26 Jan 2017 18:50:48 +0000 (18:50 +0000)]
Merge "Adding kuser_helper on note to all arm32 binaries." am: 577a944200
am: 36c6ce26a2

Change-Id: I6af912a1f7e52574be15e64ec099459592dd1beb

7 years agoMerge "Adding kuser_helper on note to all arm32 binaries."
Max Spector [Thu, 26 Jan 2017 18:47:43 +0000 (18:47 +0000)]
Merge "Adding kuser_helper on note to all arm32 binaries."
am: 577a944200

Change-Id: I20287f1d8d5909e39df9d64655948045eddeffe8

7 years agoMerge "Adding kuser_helper on note to all arm32 binaries."
Max Spector [Thu, 26 Jan 2017 18:43:39 +0000 (18:43 +0000)]
Merge "Adding kuser_helper on note to all arm32 binaries."

7 years agoMerge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd am: cfe98...
Victor Khimenko [Thu, 26 Jan 2017 10:26:11 +0000 (10:26 +0000)]
Merge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd am: cfe98d3195 am: 7d3fdfe4a6
am: 1d7b359d50

Change-Id: Ib77f5110a6ce863430c6a36316de37a4bd701e94

7 years agoMerge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd am: cfe98...
Victor Khimenko [Thu, 26 Jan 2017 10:23:40 +0000 (10:23 +0000)]
Merge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd am: cfe98d3195
am: 7d3fdfe4a6

Change-Id: If11ccbf9f02d6dfe51aac0c176e1402684622e52

7 years agoMerge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd
Victor Khimenko [Thu, 26 Jan 2017 10:20:41 +0000 (10:20 +0000)]
Merge "Fix bionic-unit-tests in arch with binary translator" am: 3c0363d7fd
am: cfe98d3195

Change-Id: I8c8346316694a0c5fcc7141c60e20151f69ef0dd

7 years agoMerge "Fix bionic-unit-tests in arch with binary translator"
Victor Khimenko [Thu, 26 Jan 2017 10:17:40 +0000 (10:17 +0000)]
Merge "Fix bionic-unit-tests in arch with binary translator"
am: 3c0363d7fd

Change-Id: I8d1e2b359e2048d553d7ee3e3605b317e37ecacc

7 years agoMerge "Fix bionic-unit-tests in arch with binary translator"
Victor Khimenko [Thu, 26 Jan 2017 10:11:13 +0000 (10:11 +0000)]
Merge "Fix bionic-unit-tests in arch with binary translator"

7 years agoMerge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e...
Stephen Hines [Thu, 26 Jan 2017 07:35:20 +0000 (07:35 +0000)]
Merge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e am: 6776efa346 am: fbb7c0e765
am: 5c870df5ed

Change-Id: Ib2412b38dc2c0b88f06508da1138213bd1a3bad6

7 years agoMerge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e...
Stephen Hines [Thu, 26 Jan 2017 07:29:59 +0000 (07:29 +0000)]
Merge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e am: 6776efa346
am: fbb7c0e765

Change-Id: I91e731fdaf7edd363556d8f37fa76f5eb7387ea3

7 years agoMerge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e
Stephen Hines [Thu, 26 Jan 2017 07:24:57 +0000 (07:24 +0000)]
Merge "Don't mark __res_params or android_net_context as packed." am: 0c45c7dc5e
am: 6776efa346

Change-Id: I6b83f36d0e344c9174f7fcdd210ceecbafdd3027

7 years agoMerge "Don't mark __res_params or android_net_context as packed."
Stephen Hines [Thu, 26 Jan 2017 07:19:19 +0000 (07:19 +0000)]
Merge "Don't mark __res_params or android_net_context as packed."
am: 0c45c7dc5e

Change-Id: I9009bbe594502e890c61c90deee0621662ac1476

7 years agoMerge "Don't mark __res_params or android_net_context as packed."
Treehugger Robot [Thu, 26 Jan 2017 07:13:16 +0000 (07:13 +0000)]
Merge "Don't mark __res_params or android_net_context as packed."

7 years agoAdding kuser_helper on note to all arm32 binaries.
mspector [Wed, 25 Jan 2017 05:51:51 +0000 (21:51 -0800)]
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

7 years agoUpdate to kernel headers v4.9.3.
Christopher Ferris [Fri, 13 Jan 2017 22:09:31 +0000 (14:09 -0800)]
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

7 years agoMerge "Use trap not kill in seccomp filter" am: 6418f95ca2 am: b5a151a12d am: fe55c3ac41
Paul Lawrence [Wed, 25 Jan 2017 22:57:57 +0000 (22:57 +0000)]
Merge "Use trap not kill in seccomp filter" am: 6418f95ca2 am: b5a151a12d am: fe55c3ac41
am: f5c8442600

Change-Id: I94efc9efbd9e0596a3c17b1e6d1f0cd81ff6668c

7 years agoMerge "Use trap not kill in seccomp filter" am: 6418f95ca2 am: b5a151a12d
Paul Lawrence [Wed, 25 Jan 2017 22:55:27 +0000 (22:55 +0000)]
Merge "Use trap not kill in seccomp filter" am: 6418f95ca2 am: b5a151a12d
am: fe55c3ac41

Change-Id: I24237753396dc2c62d964a42b4ef9916dc97855d

7 years agoMerge "Use trap not kill in seccomp filter" am: 6418f95ca2
Paul Lawrence [Wed, 25 Jan 2017 22:52:56 +0000 (22:52 +0000)]
Merge "Use trap not kill in seccomp filter" am: 6418f95ca2
am: b5a151a12d

Change-Id: Icae95f9dfd6f7b4ab7e5422ee8e1b103e9c62b61

7 years agoMerge "Use trap not kill in seccomp filter"
Paul Lawrence [Wed, 25 Jan 2017 22:49:56 +0000 (22:49 +0000)]
Merge "Use trap not kill in seccomp filter"
am: 6418f95ca2

Change-Id: If004fbd71c34916c8e445565416f6419097d3062

7 years agoMerge "Use trap not kill in seccomp filter"
Paul Lawrence [Wed, 25 Jan 2017 22:46:05 +0000 (22:46 +0000)]
Merge "Use trap not kill in seccomp filter"

7 years agoFix bionic-unit-tests in arch with binary translator
Victor Khimenko [Wed, 25 Jan 2017 18:59:16 +0000 (19:59 +0100)]
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

7 years agoMerge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96 am: dc7ec2bb...
Victor Khimenko [Wed, 25 Jan 2017 10:16:05 +0000 (10:16 +0000)]
Merge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96 am: dc7ec2bb8a am: 221eef03da
am: 8fbdf994b0

Change-Id: I5fd6ae72a7d883b440ec6aca938a1d3a7644d2d9

7 years agoMerge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96 am: dc7ec2bb8a
Victor Khimenko [Wed, 25 Jan 2017 10:13:34 +0000 (10:13 +0000)]
Merge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96 am: dc7ec2bb8a
am: 221eef03da

Change-Id: I102cc36b84f00038e3c0d65bf777be6e76bf01ee

7 years agoMerge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96
Victor Khimenko [Wed, 25 Jan 2017 10:11:35 +0000 (10:11 +0000)]
Merge "Fix bionic-unit-tests in some non-standard builds" am: 18c009ca96
am: dc7ec2bb8a

Change-Id: Iaee419cd20af017ecd6466f2f303e95afdb1071a

7 years agoMerge "Fix bionic-unit-tests in some non-standard builds"
Victor Khimenko [Wed, 25 Jan 2017 10:09:04 +0000 (10:09 +0000)]
Merge "Fix bionic-unit-tests in some non-standard builds"
am: 18c009ca96

Change-Id: Idd15fa0633e4f1449cd86d4405e849f4214e3bc8

7 years agoMerge "Fix bionic-unit-tests in some non-standard builds"
Victor Khimenko [Wed, 25 Jan 2017 10:05:40 +0000 (10:05 +0000)]
Merge "Fix bionic-unit-tests in some non-standard builds"

7 years agoDon't mark __res_params or android_net_context as packed.
Stephen Hines [Wed, 25 Jan 2017 08:39:47 +0000 (00:39 -0800)]
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

7 years agoMerge changes from topic 'property_service_protocol_v2' am: 3f6d599775 am: fc7be4575a...
Dimitry Ivanov [Wed, 25 Jan 2017 04:07:54 +0000 (04:07 +0000)]
Merge changes from topic 'property_service_protocol_v2' am: 3f6d599775 am: fc7be4575a am: 30fdd5d82d
am: fd3e1769f0

Change-Id: Ia6f543ba4c434244888489bf7d4969ef218fd747

7 years agoDo not send 0 byte string content. am: cafd355375 am: 6fd88344a5 am: 8dba8acd6e
Dimitry Ivanov [Wed, 25 Jan 2017 04:07:48 +0000 (04:07 +0000)]
Do not send 0 byte string content. am: cafd355375 am: 6fd88344a5 am: 8dba8acd6e
am: 9ba0428a55

Change-Id: I515587ec8f44105f02cbefc46faa01bb7cd9ed64

7 years agoRevert "Revert "Remove limit of system property name length"" am: 16b2a4de14 am:...
Dimitry Ivanov [Wed, 25 Jan 2017 04:07:42 +0000 (04:07 +0000)]
Revert "Revert "Remove limit of system property name length"" am: 16b2a4de14 am: d91e7766ec am: c809b7a43f
am: ac7fdd2121

Change-Id: I8103adf8cf788ca6f60014aa1a436ee5ad6b0b49

7 years agoMerge changes from topic 'property_service_protocol_v2' am: 3f6d599775 am: fc7be4575a
Dimitry Ivanov [Wed, 25 Jan 2017 04:04:06 +0000 (04:04 +0000)]
Merge changes from topic 'property_service_protocol_v2' am: 3f6d599775 am: fc7be4575a
am: 30fdd5d82d

Change-Id: Ica3ecb5bfd390a915e5193fb67cfd198cfb50736

7 years agoDo not send 0 byte string content. am: cafd355375 am: 6fd88344a5
Dimitry Ivanov [Wed, 25 Jan 2017 04:04:01 +0000 (04:04 +0000)]
Do not send 0 byte string content. am: cafd355375 am: 6fd88344a5
am: 8dba8acd6e

Change-Id: Ida48c2f6dd8a9c65a87c13bff0f67f6b597ba7fa

7 years agoRevert "Revert "Remove limit of system property name length"" am: 16b2a4de14 am:...
Dimitry Ivanov [Wed, 25 Jan 2017 04:03:51 +0000 (04:03 +0000)]
Revert "Revert "Remove limit of system property name length"" am: 16b2a4de14 am: d91e7766ec
am: c809b7a43f

Change-Id: Ic91631717fae0dea66ae970a99e67e178ffedd4f

7 years agoMerge changes from topic 'property_service_protocol_v2' am: 3f6d599775
Dimitry Ivanov [Wed, 25 Jan 2017 03:58:55 +0000 (03:58 +0000)]
Merge changes from topic 'property_service_protocol_v2' am: 3f6d599775
am: fc7be4575a

Change-Id: Idef9ac8ffbc458064121c43031de1a07a4300f90

7 years agoDo not send 0 byte string content. am: cafd355375
Dimitry Ivanov [Wed, 25 Jan 2017 03:58:50 +0000 (03:58 +0000)]
Do not send 0 byte string content. am: cafd355375
am: 6fd88344a5

Change-Id: If8fd7fac36d145cf6f611cc562ab5b5b345e33d9

7 years agoRevert "Revert "Remove limit of system property name length"" am: 16b2a4de14
Dimitry Ivanov [Wed, 25 Jan 2017 03:58:46 +0000 (03:58 +0000)]
Revert "Revert "Remove limit of system property name length"" am: 16b2a4de14
am: d91e7766ec

Change-Id: I19be17e5aec71182a9b83e3720e3fc3dd0cf5d0e

7 years agoMerge changes from topic 'property_service_protocol_v2'
Dimitry Ivanov [Wed, 25 Jan 2017 03:56:59 +0000 (03:56 +0000)]
Merge changes from topic 'property_service_protocol_v2'
am: 3f6d599775

Change-Id: Ia0a7f1371743a345dbfbfe6d224caadd74dd6187

7 years agoDo not send 0 byte string content.
Dimitry Ivanov [Wed, 25 Jan 2017 03:56:47 +0000 (03:56 +0000)]
Do not send 0 byte string content.
am: cafd355375

Change-Id: I8c2cc596f4f5d6e9ecc0de6130be8bdfcb19c1ec

7 years agoRevert "Revert "Remove limit of system property name length""
Dimitry Ivanov [Wed, 25 Jan 2017 03:56:42 +0000 (03:56 +0000)]
Revert "Revert "Remove limit of system property name length""
am: 16b2a4de14

Change-Id: I585a55769cdca1d7f9edee479b5ec94d8821b673

7 years agoMerge changes from topic 'property_service_protocol_v2'
Dimitry Ivanov [Wed, 25 Jan 2017 03:53:56 +0000 (03:53 +0000)]
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""

7 years agoDo not send 0 byte string content.
Dimitry Ivanov [Tue, 24 Jan 2017 20:39:33 +0000 (12:39 -0800)]
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

7 years agoFix bionic-unit-tests in some non-standard builds
Victor Khimenko [Tue, 24 Jan 2017 21:12:07 +0000 (22:12 +0100)]
Fix bionic-unit-tests in some non-standard builds

The binary bionic-unit-tests is linked with some shared libraries
and these libraries are found in ${ORIGIN}/../bionic-loader-test-libs
directory specified by runpath.  This makes it higly unlikely that
anyone would be run these files when ${ORIGIN}/../bionic-loader-test-libs
does not include proper files.

Bug: http://b/34681268
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*

Change-Id: I52fc31339fdfa232c0fdafa218eadaeaf5551a8d

7 years agoMerge "[cfi] Handle large libraries correctly." am: d8388cd303 am: 7eb9bb3099 am...
Evgenii Stepanov [Tue, 24 Jan 2017 21:08:11 +0000 (21:08 +0000)]
Merge "[cfi] Handle large libraries correctly." am: d8388cd303 am: 7eb9bb3099 am: 099f2364df
am: bcf61cf57d

Change-Id: If54bfdf29fe6ae052dba19c7f670680ed74e8b33

7 years agoMerge "[cfi] Handle large libraries correctly." am: d8388cd303 am: 7eb9bb3099
Evgenii Stepanov [Tue, 24 Jan 2017 21:06:11 +0000 (21:06 +0000)]
Merge "[cfi] Handle large libraries correctly." am: d8388cd303 am: 7eb9bb3099
am: 099f2364df

Change-Id: Id7266f54ec997b9c65b207f0b91aab21c8f5c384

7 years agoMerge "[cfi] Handle large libraries correctly." am: d8388cd303
Evgenii Stepanov [Tue, 24 Jan 2017 21:04:11 +0000 (21:04 +0000)]
Merge "[cfi] Handle large libraries correctly." am: d8388cd303
am: 7eb9bb3099

Change-Id: I4d5fe54ae8f26fdfc2a0baf6b391575a8be82c5a

7 years agoMerge "[cfi] Handle large libraries correctly."
Evgenii Stepanov [Tue, 24 Jan 2017 21:02:40 +0000 (21:02 +0000)]
Merge "[cfi] Handle large libraries correctly."
am: d8388cd303

Change-Id: I3032727f90e26837b69b558551ccd420ae7bc680

7 years agoRevert "Revert "Remove limit of system property name length""
Dimitry Ivanov [Tue, 24 Jan 2017 20:43:29 +0000 (20:43 +0000)]
Revert "Revert "Remove limit of system property name length""

This reverts commit 489f58b5eaedd5a80635bb3a7b39e97037c585f6.
Bug: http://b/33926793
Bug: http://b/34670529
Test: Run bionic-unit-tests --gtest_filter=prop*

Change-Id: Id4e94652dc2310a21f5b7bd3af098bf79df3f380

7 years agoMerge "[cfi] Handle large libraries correctly."
Evgenii Stepanov [Tue, 24 Jan 2017 20:56:28 +0000 (20:56 +0000)]
Merge "[cfi] Handle large libraries correctly."

7 years agoMerge "Revert "Remove limit of system property name length"" am: 40250bb683 am: e3a68...
Dimitry Ivanov [Tue, 24 Jan 2017 20:11:08 +0000 (20:11 +0000)]
Merge "Revert "Remove limit of system property name length"" am: 40250bb683 am: e3a684f858 am: 205bb70df8
am: 5313299f01

Change-Id: I463b69f2c59198760c565f134ddf6cb6c96989bd

7 years agoMerge "Revert "Remove limit of system property name length"" am: 40250bb683 am: e3a68...
Dimitry Ivanov [Tue, 24 Jan 2017 20:09:08 +0000 (20:09 +0000)]
Merge "Revert "Remove limit of system property name length"" am: 40250bb683 am: e3a684f858
am: 205bb70df8

Change-Id: Ic33f6f20210fb37dde324b79a92bcd06caad9514

7 years agoMerge "Revert "Remove limit of system property name length"" am: 40250bb683
Dimitry Ivanov [Tue, 24 Jan 2017 20:07:38 +0000 (20:07 +0000)]
Merge "Revert "Remove limit of system property name length"" am: 40250bb683
am: e3a684f858

Change-Id: Idbd449ff4c4990695a09badc53faab34470f3737

7 years agoMerge "Revert "Remove limit of system property name length""
Dimitry Ivanov [Tue, 24 Jan 2017 20:05:38 +0000 (20:05 +0000)]
Merge "Revert "Remove limit of system property name length""
am: 40250bb683

Change-Id: Ic2565a4ad5d42146378364c06250260ca466cc98