OSDN Git Service

android-x86/bionic.git
7 years agoMerge "Stop checking the global thread list in several trivial cases." am: 4708f435f5
Elliott Hughes [Tue, 7 Feb 2017 00:38:58 +0000 (00:38 +0000)]
Merge "Stop checking the global thread list in several trivial cases." am: 4708f435f5
am: 56209f0dd4

Change-Id: If798296ea508f4f72d202948357e2816581e3977

7 years agoMerge "Stop checking the global thread list in several trivial cases."
Elliott Hughes [Tue, 7 Feb 2017 00:36:27 +0000 (00:36 +0000)]
Merge "Stop checking the global thread list in several trivial cases."
am: 4708f435f5

Change-Id: I1b3ba92036b68a94f342579ea34c385e3496a84b

7 years agoMerge "Stop checking the global thread list in several trivial cases."
Treehugger Robot [Tue, 7 Feb 2017 00:29:02 +0000 (00:29 +0000)]
Merge "Stop checking the global thread list in several trivial cases."

7 years agoStop checking the global thread list in several trivial cases.
Elliott Hughes [Mon, 6 Feb 2017 22:09:53 +0000 (14:09 -0800)]
Stop checking the global thread list in several trivial cases.

Since removing the global thread is hard, let's take the different
groups of functions individually.

The existing code was racy anyway, because the thread might still be
on the list but have exited (leaving tid == 0).

Bug: http://b/19636317
Test: ran tests
Change-Id: Icc0986ff124d5f9b8a653edf718c549d1563973b

7 years agoMerge "Create seccomp policy without TRAP for further processing" am: 4a47d2c436
Paul Lawrence [Fri, 3 Feb 2017 20:21:50 +0000 (20:21 +0000)]
Merge "Create seccomp policy without TRAP for further processing" am: 4a47d2c436
am: b62e0a316f

Change-Id: Ibcd4a63aa3175bd94eef7d0cd5197d1fa2b9807d

7 years agoMerge "Create seccomp policy without TRAP for further processing"
Paul Lawrence [Fri, 3 Feb 2017 20:18:06 +0000 (20:18 +0000)]
Merge "Create seccomp policy without TRAP for further processing"
am: 4a47d2c436

Change-Id: Ib16e18901aac6dbe91ffb326bb8bb31b9d9116e2

7 years agoMerge "Create seccomp policy without TRAP for further processing"
Paul Lawrence [Fri, 3 Feb 2017 20:14:14 +0000 (20:14 +0000)]
Merge "Create seccomp policy without TRAP for further processing"

7 years agoCreate seccomp policy without TRAP for further processing
Paul Lawrence [Wed, 25 Jan 2017 23:20:52 +0000 (15:20 -0800)]
Create seccomp policy without TRAP for further processing

Bug: 34946764
Test: Make sure boots, seccomp still blocks, and is faster
Change-Id: Ib4abf4307ae545ee69a3fb9328f62c760a1b40f7

7 years agoMerge "Fix CFI initialization crash on x86." am: 9886ea3e2d
Evgenii Stepanov [Fri, 3 Feb 2017 01:55:51 +0000 (01:55 +0000)]
Merge "Fix CFI initialization crash on x86." am: 9886ea3e2d
am: ba5e2634df

Change-Id: I525f5a1eeda1739031525de7fcf39a7048c78185

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Fri, 3 Feb 2017 01:53:22 +0000 (01:53 +0000)]
Merge "Fix CFI initialization crash on x86."
am: 9886ea3e2d

Change-Id: I115c36331b2e531d3e33848e5251847e47f1a8b1

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Fri, 3 Feb 2017 01:47:14 +0000 (01:47 +0000)]
Merge "Fix CFI initialization crash on x86."

7 years agoMerge "isnan and isinf aren't functions." am: 33ae5a97f2
Elliott Hughes [Fri, 3 Feb 2017 00:43:06 +0000 (00:43 +0000)]
Merge "isnan and isinf aren't functions." am: 33ae5a97f2
am: 9184128819

Change-Id: I2a80969ecfcbab1c5cb8ec03ba4cd8028d9160b6

7 years agoMerge "isnan and isinf aren't functions."
Elliott Hughes [Fri, 3 Feb 2017 00:40:37 +0000 (00:40 +0000)]
Merge "isnan and isinf aren't functions."
am: 33ae5a97f2

Change-Id: Ibdfdec89d9e7bd04f0b42b74b20d3a2b7521e63c

7 years agoMerge "isnan and isinf aren't functions."
Elliott Hughes [Fri, 3 Feb 2017 00:32:00 +0000 (00:32 +0000)]
Merge "isnan and isinf aren't functions."

7 years agoFix CFI initialization crash on x86.
Evgenii Stepanov [Tue, 31 Jan 2017 21:19:30 +0000 (13:19 -0800)]
Fix CFI initialization crash on x86.

Third try.

Bug: 34752378
Test: bionic tests
Change-Id: I247c127489a8ee38404e104f28d916a704e35f36

7 years agoisnan and isinf aren't functions.
Elliott Hughes [Thu, 2 Feb 2017 22:02:49 +0000 (14:02 -0800)]
isnan and isinf aren't functions.

isnan was a function in POSIX in 1997, but changed to a macro only in 2004
to align with the C standard. isinf wasn't in POSIX until 2004, where it
appeared as a macro only (but other C libraries already had it as a
function).

Now the C++ standard has added ::isnan and ::isinf functions with different
signatures from the historical ones, so we need to move our historical cruft
out of the way.

We'll keep the implementations for backwards compatibility.

Bug: http://b/34724220
Test: ran tests
Change-Id: Id665f0344af6fe6ed245106e60231f4ef2027f41

7 years agoMerge "Revert "Remove the global thread list."" am: a187a6f12e
David James [Thu, 2 Feb 2017 02:52:38 +0000 (02:52 +0000)]
Merge "Revert "Remove the global thread list."" am: a187a6f12e
am: 5124a0e635

Change-Id: Id8be9184e92bb7e6a06d9da9fc1efcf06ed927b9

7 years agoMerge "Revert "Remove the global thread list.""
David James [Thu, 2 Feb 2017 02:50:08 +0000 (02:50 +0000)]
Merge "Revert "Remove the global thread list.""
am: a187a6f12e

Change-Id: I3df28298769f7f83aadad09a80166ce9a150e540

7 years agoMerge "Revert "Remove the global thread list.""
David James [Thu, 2 Feb 2017 02:46:40 +0000 (02:46 +0000)]
Merge "Revert "Remove the global thread list.""

7 years agoRevert "Remove the global thread list."
Elliott Hughes [Thu, 2 Feb 2017 02:41:38 +0000 (02:41 +0000)]
Revert "Remove the global thread list."

This reverts commit b0e8c565a622b5519e03d4416b0b5b1a5f20d7f5.

Breaks swiftshader (http:/b/34883464).

Change-Id: I7b21193ba8a78f07d7ac65e41d0fe8516940a83b

7 years agoMerge "Exit failure if trying to load non-PIE." am: 1fedfedda8
Dan Albert [Wed, 1 Feb 2017 23:44:56 +0000 (23:44 +0000)]
Merge "Exit failure if trying to load non-PIE." am: 1fedfedda8
am: 2336959d89

Change-Id: I94783491c75183afb12c6761643d65d5b9c24f20

7 years agoMerge "Exit failure if trying to load non-PIE."
Dan Albert [Wed, 1 Feb 2017 23:42:28 +0000 (23:42 +0000)]
Merge "Exit failure if trying to load non-PIE."
am: 1fedfedda8

Change-Id: I55eaba81f182ff854e81d7de2b882b4dc26a7c23

7 years agoMerge "Exit failure if trying to load non-PIE."
Dan Albert [Wed, 1 Feb 2017 23:38:33 +0000 (23:38 +0000)]
Merge "Exit failure if trying to load non-PIE."

7 years agoMerge "Check overflows in c-tor instead of doing it in d-tor" am: 118b198af6
Dimitry Ivanov [Wed, 1 Feb 2017 23:07:23 +0000 (23:07 +0000)]
Merge "Check overflows in c-tor instead of doing it in d-tor" am: 118b198af6
am: 23c131b7b6

Change-Id: I30c12bce2d2b5fc1bf16fbde071f3f4fa96ba84d

7 years agoMerge "Check overflows in c-tor instead of doing it in d-tor"
Dimitry Ivanov [Wed, 1 Feb 2017 23:05:22 +0000 (23:05 +0000)]
Merge "Check overflows in c-tor instead of doing it in d-tor"
am: 118b198af6

Change-Id: Ia6d3e43724799103b287bab09d7e7bfd2ba7b5ab

7 years agoMerge "Check overflows in c-tor instead of doing it in d-tor"
Treehugger Robot [Wed, 1 Feb 2017 22:58:22 +0000 (22:58 +0000)]
Merge "Check overflows in c-tor instead of doing it in d-tor"

7 years agoCheck overflows in c-tor instead of doing it in d-tor
Dimitry Ivanov [Wed, 1 Feb 2017 20:55:11 +0000 (12:55 -0800)]
Check overflows in c-tor instead of doing it in d-tor

Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: Id3b17a79732155b4e469c43c764afef1dfc59057

7 years agoMerge "Do not load second copy of a library into same namespace" am: 3c838bbb4a
Dimitry Ivanov [Wed, 1 Feb 2017 19:30:52 +0000 (19:30 +0000)]
Merge "Do not load second copy of a library into same namespace" am: 3c838bbb4a
am: 1713736c8a

Change-Id: I98df7a11332e836210de5a3c9217c8563574777f

7 years agoDo not load second copy of a library into same namespace am: 3bd906146b
Dimitry Ivanov [Wed, 1 Feb 2017 19:30:39 +0000 (19:30 +0000)]
Do not load second copy of a library into same namespace am: 3bd906146b
am: dac77f6315

Change-Id: I57655867ee2f48c854ebd69492c4202b3c482e31

7 years agoMerge "Do not load second copy of a library into same namespace"
Dimitry Ivanov [Wed, 1 Feb 2017 19:28:09 +0000 (19:28 +0000)]
Merge "Do not load second copy of a library into same namespace"
am: 3c838bbb4a

Change-Id: If1effbf7f7591bc0759b55d8dc0fcaafbf651e17

7 years agoDo not load second copy of a library into same namespace
Dimitry Ivanov [Wed, 1 Feb 2017 19:28:08 +0000 (19:28 +0000)]
Do not load second copy of a library into same namespace
am: 3bd906146b

Change-Id: I11498855ff95af2af4b0edcc3a5712d957470b55

7 years agoMerge "Do not load second copy of a library into same namespace"
Treehugger Robot [Wed, 1 Feb 2017 19:23:55 +0000 (19:23 +0000)]
Merge "Do not load second copy of a library into same namespace"

7 years agoDo not load second copy of a library into same namespace
Dimitry Ivanov [Wed, 1 Feb 2017 16:54:43 +0000 (08:54 -0800)]
Do not load second copy of a library into same namespace

This workaround was introduced in M in order to make sure
that linker loads libraries provided in apk in case a library
with the same name was loaded by the system.

This is no longer a problem starting with Android N because
app is using different namespace and therefore does not see
libraries loaded by the system.

Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: I9995258c0f361e8df35420682b84e85a0cb924b4

7 years agoMerge "Remove the global thread list." am: 9b9d4ebc8b
Elliott Hughes [Wed, 1 Feb 2017 16:21:58 +0000 (16:21 +0000)]
Merge "Remove the global thread list." am: 9b9d4ebc8b
am: 959ef64b41

Change-Id: I84d9a72adaac8baee9e241062c2c974d7dacc61b

7 years agoMerge "Remove the global thread list."
Elliott Hughes [Wed, 1 Feb 2017 16:19:27 +0000 (16:19 +0000)]
Merge "Remove the global thread list."
am: 9b9d4ebc8b

Change-Id: I590ffebd5bfa287fdc4c7018e487c7c086f8ae7e

7 years agoMerge "Remove the global thread list."
Elliott Hughes [Wed, 1 Feb 2017 16:16:41 +0000 (16:16 +0000)]
Merge "Remove the global thread list."

7 years agoMerge "bionic: move ADF uapi header out of bionic" am: b88112dcfc
Greg Hackmann [Wed, 1 Feb 2017 04:45:27 +0000 (04:45 +0000)]
Merge "bionic: move ADF uapi header out of bionic" am: b88112dcfc
am: 04951b227c

Change-Id: Idd9987f6cf8c1454064d021d3699eaea73170038

7 years agoMerge "bionic: move ADF uapi header out of bionic"
Greg Hackmann [Wed, 1 Feb 2017 04:42:54 +0000 (04:42 +0000)]
Merge "bionic: move ADF uapi header out of bionic"
am: b88112dcfc

Change-Id: I9e8d80152b5b43fbf6a0544de5f4d957785be891

7 years agoMerge "bionic: move ADF uapi header out of bionic"
Treehugger Robot [Wed, 1 Feb 2017 04:38:12 +0000 (04:38 +0000)]
Merge "bionic: move ADF uapi header out of bionic"

7 years agoMerge "Revert "Fix CFI initialization crash on x86."" am: 9586fe2744
Evgenii Stepanov [Wed, 1 Feb 2017 01:21:36 +0000 (01:21 +0000)]
Merge "Revert "Fix CFI initialization crash on x86."" am: 9586fe2744
am: 567965435f

Change-Id: I6db0e14856137f28c9234b2ce8203b3432ad146b

7 years agoMerge "Revert "Fix CFI initialization crash on x86.""
Evgenii Stepanov [Wed, 1 Feb 2017 01:19:36 +0000 (01:19 +0000)]
Merge "Revert "Fix CFI initialization crash on x86.""
am: 9586fe2744

Change-Id: Iae5548dea289cd77b406d37ecb13e9123d9f490f

7 years agoMerge "Revert "Fix CFI initialization crash on x86.""
Evgenii Stepanov [Wed, 1 Feb 2017 01:14:48 +0000 (01:14 +0000)]
Merge "Revert "Fix CFI initialization crash on x86.""

7 years agoRevert "Fix CFI initialization crash on x86."
Evgenii Stepanov [Wed, 1 Feb 2017 01:10:03 +0000 (17:10 -0800)]
Revert "Fix CFI initialization crash on x86."

Breaks aosp-master/sdk.

This reverts commit 4ccd4317f9301ec9b32aa0d3317a0439b994d7bf.

7 years agoMerge "Fix CFI initialization crash on x86." am: dd76f744e7
Evgenii Stepanov [Wed, 1 Feb 2017 00:36:33 +0000 (00:36 +0000)]
Merge "Fix CFI initialization crash on x86." am: dd76f744e7
am: 291d11c8c8

Change-Id: I3b0b306caac31d16e9d5e2e4cfe8c94750ede95c

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Wed, 1 Feb 2017 00:34:04 +0000 (00:34 +0000)]
Merge "Fix CFI initialization crash on x86."
am: dd76f744e7

Change-Id: I66175dd9bc705a64a5ad59edf26d471b4f304ea3

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Wed, 1 Feb 2017 00:29:57 +0000 (00:29 +0000)]
Merge "Fix CFI initialization crash on x86."

7 years agoExit failure if trying to load non-PIE.
Dan Albert [Wed, 1 Feb 2017 00:02:43 +0000 (16:02 -0800)]
Exit failure if trying to load non-PIE.

Amazingly this was actually breaking the NDK's ability to build
libstdc++ for x86.

Test: mma
Bug: None
Change-Id: Iafa55c31fdeb35caca7d7d7a39a3e7afa0713557

7 years agoFix CFI initialization crash on x86.
Evgenii Stepanov [Tue, 31 Jan 2017 21:19:30 +0000 (13:19 -0800)]
Fix CFI initialization crash on x86.

Second try.

Bug: 34752378
Test: bionic tests
Change-Id: I0a7453154671918b2e6e72f0bb9074c29ceb0f34

7 years agoMerge "s/NULL/nullptr/ in system properties code." am: eb35144e58
Elliott Hughes [Tue, 31 Jan 2017 18:29:28 +0000 (18:29 +0000)]
Merge "s/NULL/nullptr/ in system properties code." am: eb35144e58
am: 5f7024d846

Change-Id: I78324168525b0bd4fb676fa794139abc4806624d

7 years agoMerge "s/NULL/nullptr/ in system properties code."
Elliott Hughes [Tue, 31 Jan 2017 18:25:30 +0000 (18:25 +0000)]
Merge "s/NULL/nullptr/ in system properties code."
am: eb35144e58

Change-Id: Ibfa128262eacf89b20f58c6de88b744978e6087d

7 years agoMerge "s/NULL/nullptr/ in system properties code."
Treehugger Robot [Tue, 31 Jan 2017 18:19:46 +0000 (18:19 +0000)]
Merge "s/NULL/nullptr/ in system properties code."

7 years agos/NULL/nullptr/ in system properties code.
Elliott Hughes [Tue, 31 Jan 2017 16:24:43 +0000 (08:24 -0800)]
s/NULL/nullptr/ in system properties code.

gerrit still hasn't sent out the mail asking for this in an earlier code
review...

Bug: http://b/33926793
Test: builds and boots.
Change-Id: I080de633e50e47f9a052211d47da96b971b16424

7 years agoMerge "clang-format system_properties.cpp." am: 44bea80d31
Elliott Hughes [Tue, 31 Jan 2017 15:24:54 +0000 (15:24 +0000)]
Merge "clang-format system_properties.cpp." am: 44bea80d31
am: 7048f79b2a

Change-Id: Ic7955005e1b60440338d24eef23f197fb4e19f01

7 years agoMerge "clang-format system_properties.cpp."
Elliott Hughes [Tue, 31 Jan 2017 15:22:23 +0000 (15:22 +0000)]
Merge "clang-format system_properties.cpp."
am: 44bea80d31

Change-Id: Ib3365fbb65588d6e7f65212a9e764714cc64616b

7 years agoMerge "clang-format system_properties.cpp."
Treehugger Robot [Tue, 31 Jan 2017 15:20:19 +0000 (15:20 +0000)]
Merge "clang-format system_properties.cpp."

7 years agoMerge "Revert "Fix CFI initialization crash on x86."" am: 9750d6b691
Alex Cheung [Tue, 31 Jan 2017 06:32:25 +0000 (06:32 +0000)]
Merge "Revert "Fix CFI initialization crash on x86."" am: 9750d6b691
am: 083f79000d

Change-Id: I5e9fbcec63ba9172255e74909ae6b739855a6331

7 years agoMerge "Revert "Fix CFI initialization crash on x86.""
Alex Cheung [Tue, 31 Jan 2017 06:29:55 +0000 (06:29 +0000)]
Merge "Revert "Fix CFI initialization crash on x86.""
am: 9750d6b691

Change-Id: I40dde15cb6a5a6748284a0aebce7caa8865c41f1

7 years agoMerge "Revert "Fix CFI initialization crash on x86.""
Alex Cheung [Tue, 31 Jan 2017 06:27:17 +0000 (06:27 +0000)]
Merge "Revert "Fix CFI initialization crash on x86.""

7 years agoRevert "Fix CFI initialization crash on x86."
Alex Cheung [Tue, 31 Jan 2017 04:05:00 +0000 (04:05 +0000)]
Revert "Fix CFI initialization crash on x86."

This reverts commit be46d3871c91902504e5ec4c7f575c86f647aafc.

Reverting due to broken build:

https://android-build.googleplex.com/builds/branch-dashboard/aosp-master?build_id=3687823

Change-Id: I30968398edd9a094fce878839ba0a002ed487a77

7 years agoclang-format system_properties.cpp.
Elliott Hughes [Tue, 31 Jan 2017 01:54:57 +0000 (17:54 -0800)]
clang-format system_properties.cpp.

Asked for on a previous code review.

Bug: http://b/33926793
Test: builds and boots.
Change-Id: Idf34804896149db5edbddf4ed88396a5df7f708a

7 years agoMerge "Fix CFI initialization crash on x86." am: a5066640cc
Evgenii Stepanov [Tue, 31 Jan 2017 01:06:03 +0000 (01:06 +0000)]
Merge "Fix CFI initialization crash on x86." am: a5066640cc
am: e3852f36b9

Change-Id: Ife1de6d8bff3f4df0da501945b37cd3d373b5e88

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Tue, 31 Jan 2017 01:04:03 +0000 (01:04 +0000)]
Merge "Fix CFI initialization crash on x86."
am: a5066640cc

Change-Id: Ie0ecb7225f7c392f5229cbfc49b6eb396789e969

7 years agoMerge "Fix CFI initialization crash on x86."
Evgenii Stepanov [Tue, 31 Jan 2017 00:58:09 +0000 (00:58 +0000)]
Merge "Fix CFI initialization crash on x86."

7 years agoMerge "glibc ipc64_perm __key compatibility." am: 5dc75c6c4d
Elliott Hughes [Mon, 30 Jan 2017 23:05:54 +0000 (23:05 +0000)]
Merge "glibc ipc64_perm __key compatibility." am: 5dc75c6c4d
am: d0e08b37b1

Change-Id: I4f0bb0d2e335664024f94b43955b588a3fd4230e

7 years agoMerge "glibc ipc64_perm __key compatibility."
Elliott Hughes [Mon, 30 Jan 2017 23:03:55 +0000 (23:03 +0000)]
Merge "glibc ipc64_perm __key compatibility."
am: 5dc75c6c4d

Change-Id: I781475ecad513babc647115f606e316ad4599863

7 years agoMerge "glibc ipc64_perm __key compatibility."
Treehugger Robot [Mon, 30 Jan 2017 23:01:00 +0000 (23:01 +0000)]
Merge "glibc ipc64_perm __key compatibility."

7 years agoFix CFI initialization crash on x86.
Evgenii Stepanov [Fri, 27 Jan 2017 21:42:03 +0000 (13:42 -0800)]
Fix CFI initialization crash on x86.

Bug: 34752378
Test: bionic tests
Change-Id: If8e33f76a1a2d83356d818fed506ea624f579860

7 years agoMerge "property_contexts: split into platform and non-platform components" am: 93e272d00a
Sandeep Patil [Mon, 30 Jan 2017 19:25:08 +0000 (19:25 +0000)]
Merge "property_contexts: split into platform and non-platform components" am: 93e272d00a
am: df39712df5

Change-Id: Ia4dca6d830b93c9fd37941907b7dcf869765fcdd

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 agoMerge "property_contexts: split into platform and non-platform components"
Sandeep Patil [Mon, 30 Jan 2017 19:21:56 +0000 (19:21 +0000)]
Merge "property_contexts: split into platform and non-platform components"
am: 93e272d00a

Change-Id: Iad3eada49f676597bc3210e1843d6bdd21c8aa8b

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 "property_contexts: split into platform and non-platform components"
Sandeep Patil [Mon, 30 Jan 2017 19:16:16 +0000 (19:16 +0000)]
Merge "property_contexts: split into platform and non-platform components"

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 agoglibc ipc64_perm __key compatibility.
Elliott Hughes [Sat, 28 Jan 2017 03:12:32 +0000 (19:12 -0800)]
glibc ipc64_perm __key compatibility.

glibc gives the `struct ipc64_perm` fields `key` and `seq` double-underscore
names. strace refers to the fields by those names, and there's no obvious
reason not to go along with this.

Bug: N/A
Test: built strace 4.15 with a hacked NDK
Change-Id: I8b2b0f75363349d99edaecda50fe897ee0fa0c65

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
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 agobionic: move ADF uapi header out of bionic
Greg Hackmann [Fri, 27 Jan 2017 18:07:36 +0000 (10:07 -0800)]
bionic: move ADF uapi header out of bionic

ADF isn't a candidate for upstreaming and isn't (directly) usable from
unprivileged NDK code, so it makes more sense to keep video/adf.h as a
private header inside libadf, where it'll still be usable by HWC
implementations without shipping in the NDK.

libadf exports its entire include/ directory, so this shouldn't have any
impact on HWC implementations that already link against libadf.

Test: mmm system/core/adf/libadf
Test: /data/nativetest64/adf-unit-tests/adf-unit-tests (on Nexus 9)
Change-Id: I6573f539cfd7fc65433237d0b115b8b7b2728133
Signed-off-by: Greg Hackmann <ghackmann@google.com>
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
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
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
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
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"