OSDN Git Service

android-x86/bionic.git
7 years agoMerge changes from topic 'debuggerd_fallback' am: cf96f35dd1 am: 778751ff6f
Josh Gao [Thu, 9 Mar 2017 22:15:00 +0000 (22:15 +0000)]
Merge changes from topic 'debuggerd_fallback' am: cf96f35dd1 am: 778751ff6f
am: d24a0298f8

Change-Id: I83e4d06e09733fcefbdcda1e00571825cdfccfae

7 years agoMerge changes from topic 'debuggerd_fallback' am: cf96f35dd1
Josh Gao [Thu, 9 Mar 2017 22:11:28 +0000 (22:11 +0000)]
Merge changes from topic 'debuggerd_fallback' am: cf96f35dd1
am: 778751ff6f

Change-Id: Ief8334f12f2372ee1728a3f10f8fd750f254507c

7 years agoMerge changes from topic 'debuggerd_fallback'
Josh Gao [Thu, 9 Mar 2017 22:08:30 +0000 (22:08 +0000)]
Merge changes from topic 'debuggerd_fallback'
am: cf96f35dd1

Change-Id: I875bbf95ca55919a5164752d2f49d5415ea6ded2

7 years agoMerge changes from topic 'debuggerd_fallback'
Josh Gao [Thu, 9 Mar 2017 22:03:30 +0000 (22:03 +0000)]
Merge changes from topic 'debuggerd_fallback'

* changes:
  linker_memory: allow fallback allocator to be turned on and off.
  Increase signal stack size on 32-bit to 16kB.

7 years agoMerge "Prefer property_contexts from /system & /vendor" am: b3b11edda1 am: 5dd51fa6bf
Alex Klyubin [Thu, 9 Mar 2017 19:34:17 +0000 (19:34 +0000)]
Merge "Prefer property_contexts from /system & /vendor" am: b3b11edda1 am: 5dd51fa6bf
am: 41c17bdb42

Change-Id: Idfb0b531c544efd7b62de9108c422d9a7cb3b84f

7 years agoMerge "Prefer property_contexts from /system & /vendor" am: b3b11edda1
Alex Klyubin [Thu, 9 Mar 2017 19:30:55 +0000 (19:30 +0000)]
Merge "Prefer property_contexts from /system & /vendor" am: b3b11edda1
am: 5dd51fa6bf

Change-Id: I2afc36ae954b172961f9646cadcd772b96918128

7 years agoMerge "Prefer property_contexts from /system & /vendor"
Alex Klyubin [Thu, 9 Mar 2017 19:25:30 +0000 (19:25 +0000)]
Merge "Prefer property_contexts from /system & /vendor"
am: b3b11edda1

Change-Id: Ibbc203c98f5456de744374636bbc06f6dda87d3c

7 years agoMerge "Prefer property_contexts from /system & /vendor"
Treehugger Robot [Thu, 9 Mar 2017 19:20:54 +0000 (19:20 +0000)]
Merge "Prefer property_contexts from /system & /vendor"

7 years agolinker_memory: allow fallback allocator to be turned on and off.
Josh Gao [Tue, 7 Mar 2017 01:46:47 +0000 (17:46 -0800)]
linker_memory: allow fallback allocator to be turned on and off.

Let the fallback allocator be used on multiple threads (as long as only
one thread is using it at once).

Bug: http://b/35858739
Change-Id: Id3e2fc6b7c093c6e56870524ffda28946de09e29

7 years agoIncrease signal stack size on 32-bit to 16kB.
Josh Gao [Tue, 7 Mar 2017 01:45:33 +0000 (17:45 -0800)]
Increase signal stack size on 32-bit to 16kB.

snprintf to a buffer of length PATH_MAX consumes about 7kB of stack.

Bug: http://b/35858739
Test: bionic-unit-tests --gtest_filter="*big_enough*"
Change-Id: I34a7f42c1fd2582ca0d0a9b7e7a5290bc1cc19b1

7 years agoPrefer property_contexts from /system & /vendor
Alex Klyubin [Wed, 8 Mar 2017 21:16:03 +0000 (13:16 -0800)]
Prefer property_contexts from /system & /vendor

This changes system_properties' initialize_properties to prefer
loading property_contexts from /system/etc/selinux &
/vendor/etc/selinux, while falling back to the pre-existing behavior
of loading from /.

Test: Device with *_property_contexts in / boots up fine, no denials
      to do with properties, getprop -Z lists correct labels.
Test: Device with *_property_contexts in /system & /vendor, but not
      in /, boots up fine, no denials to do with properties,
      getprop -Z lists correct labels.
Test: Device with *_property_contexts in /system & vendor and with
      empty *_property_contexts in / boots up fine, no denials to do
      with properties, getprop -Z lists correct labels.
Bug: 36002573

Change-Id: I15174acdf89ee8f5a96acf1e38a54d4214df51ef

7 years agoMerge "Fix leak of bionic TLS when threads are detached." am: 77258163a2 am: 88829ae17b
Josh Gao [Wed, 8 Mar 2017 23:23:28 +0000 (23:23 +0000)]
Merge "Fix leak of bionic TLS when threads are detached." am: 77258163a2 am: 88829ae17b
am: 8acb9c393a

Change-Id: I3ad335c1434f7f5637cd4a972dec1e106368f3d5

7 years agoMerge "Fix leak of bionic TLS when threads are detached." am: 77258163a2
Josh Gao [Wed, 8 Mar 2017 23:20:57 +0000 (23:20 +0000)]
Merge "Fix leak of bionic TLS when threads are detached." am: 77258163a2
am: 88829ae17b

Change-Id: I3e54becdf17321b5a1f5925a9eb63d325d5f05f8

7 years agoMerge "Fix leak of bionic TLS when threads are detached."
Josh Gao [Wed, 8 Mar 2017 23:18:27 +0000 (23:18 +0000)]
Merge "Fix leak of bionic TLS when threads are detached."
am: 77258163a2

Change-Id: If2dc487c82f5d0df0ab735e5a730d3cd31d87e87

7 years agoMerge "Fix leak of bionic TLS when threads are detached."
Treehugger Robot [Wed, 8 Mar 2017 23:13:13 +0000 (23:13 +0000)]
Merge "Fix leak of bionic TLS when threads are detached."

7 years agoMerge "Update timezone data to 2017a" am: e429bf2f69 am: d69f810350
Joachim Sauer [Wed, 8 Mar 2017 13:52:54 +0000 (13:52 +0000)]
Merge "Update timezone data to 2017a" am: e429bf2f69 am: d69f810350
am: f4d15a6392

Change-Id: I66863d7971713b1896bd04ead86b49da4464e8ff

7 years agoMerge "Update timezone data to 2017a" am: e429bf2f69
Joachim Sauer [Wed, 8 Mar 2017 13:50:23 +0000 (13:50 +0000)]
Merge "Update timezone data to 2017a" am: e429bf2f69
am: d69f810350

Change-Id: I9e2bbc75235ae8ffb8d21f8b20f9a3b9902bb393

7 years agoMerge "Update timezone data to 2017a"
Joachim Sauer [Wed, 8 Mar 2017 13:47:22 +0000 (13:47 +0000)]
Merge "Update timezone data to 2017a"
am: e429bf2f69

Change-Id: Ic0fff327a4065b40383274f71b968eae6b528212

7 years agoMerge "Update timezone data to 2017a"
Joachim Sauer [Wed, 8 Mar 2017 11:53:22 +0000 (11:53 +0000)]
Merge "Update timezone data to 2017a"

7 years agoFix leak of bionic TLS when threads are detached.
Josh Gao [Wed, 8 Mar 2017 07:05:08 +0000 (23:05 -0800)]
Fix leak of bionic TLS when threads are detached.

__pthread_internal_free doesn't happen on threads that are detached,
causing the bionic TLS allocation (and guard pages) to be leaked.

Fix the leak, and name the allocations to make things apparent if this
ever happens again.

Bug: http://b/36045112
Test: manually ran a program that detached empty threads
Change-Id: Id1c7852b7384474244f7bf5a0f7da54ff962e0a1

7 years agoMerge "Expand whitelist" am: b012601299 am: 5f359c02fd
Paul Lawrence [Wed, 8 Mar 2017 00:57:31 +0000 (00:57 +0000)]
Merge "Expand whitelist" am: b012601299 am: 5f359c02fd
am: 6aa461c74a

Change-Id: I912aed4a50aca613c114ee6f88f2d82a155ad5ac

7 years agoMerge "Expand whitelist" am: b012601299
Paul Lawrence [Wed, 8 Mar 2017 00:55:30 +0000 (00:55 +0000)]
Merge "Expand whitelist" am: b012601299
am: 5f359c02fd

Change-Id: I574148aff98417d966216b20cc912b4159ad9f37

7 years agoMerge "Expand whitelist"
Paul Lawrence [Wed, 8 Mar 2017 00:53:29 +0000 (00:53 +0000)]
Merge "Expand whitelist"
am: b012601299

Change-Id: Ibc1353e503019d505a3746ca3880affc7155eda8

7 years agoMerge "Expand whitelist"
Treehugger Robot [Wed, 8 Mar 2017 00:48:55 +0000 (00:48 +0000)]
Merge "Expand whitelist"

7 years agoExpand whitelist
Paul Lawrence [Tue, 7 Mar 2017 23:14:03 +0000 (15:14 -0800)]
Expand whitelist

Bug: 35879294
Test: Builds, boots. No easy test for reported issues.
Change-Id: Ib68a36f849a8dab14426600cdc6401fa8bb5b914

7 years agoMerge "loader: anonymous ns initialization is not required" am: f9f320ba73 am: 01ad423c36
Dimitry Ivanov [Tue, 7 Mar 2017 21:04:15 +0000 (21:04 +0000)]
Merge "loader: anonymous ns initialization is not required" am: f9f320ba73 am: 01ad423c36
am: 5daf11e458

Change-Id: I59d8d7c835fb7e3cd8af37dccb55b7bf2c9bf7d3

7 years agoMerge "loader: anonymous ns initialization is not required" am: f9f320ba73
Dimitry Ivanov [Tue, 7 Mar 2017 21:02:43 +0000 (21:02 +0000)]
Merge "loader: anonymous ns initialization is not required" am: f9f320ba73
am: 01ad423c36

Change-Id: I2860d2015b45fcffc2c7c38c916e74254506da30

7 years agoMerge "loader: anonymous ns initialization is not required"
Dimitry Ivanov [Tue, 7 Mar 2017 20:59:14 +0000 (20:59 +0000)]
Merge "loader: anonymous ns initialization is not required"
am: f9f320ba73

Change-Id: I0b1b0ba2738cc39f0714a0d185046adc34e0d98b

7 years agoMerge "loader: anonymous ns initialization is not required"
Treehugger Robot [Tue, 7 Mar 2017 20:52:38 +0000 (20:52 +0000)]
Merge "loader: anonymous ns initialization is not required"

7 years agoloader: anonymous ns initialization is not required
Dimitry Ivanov [Tue, 7 Mar 2017 19:02:10 +0000 (11:02 -0800)]
loader: anonymous ns initialization is not required

Anonymous namesapce is zygote-specific workaround and
is not really required for other binaries.

This change allows creating namespaces without initializing
anonymous namespace.

Test: bionic-unit-tests
Change-Id: I62adc39ad69ce56b3760d36f45e3c0487c438598

7 years agoUpdate timezone data to 2017a
Joachim Sauer [Thu, 2 Mar 2017 12:31:57 +0000 (12:31 +0000)]
Update timezone data to 2017a

IANA changes:

   Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia
   discontinues DST.

   Changes to future time stamps

     Mongolia no longer observes DST.  (Thanks to Ganbold Tsagaankhuu.)

     Chile's Region of Magallanes moves from -04/-03 to -03 year-round.
     Its clocks diverge from America/Santiago starting 2017-05-13 at
     23:00, hiving off a new zone America/Punta_Arenas.  Although the
     Chilean government says this change expires in May 2019, for now
     assume it's permanent.  (Thanks to Juan Correa and Deborah
     Goldsmith.)  This also affects Antarctica/Palmer.

   Changes to past time stamps

     Fix many entries for historical time stamps for Europe/Madrid
     before 1979, to agree with tables compiled by Pere Planesas of the
     National Astronomical Observatory of Spain.  As a side effect,
     this changes some time stamps for Africa/Ceuta before 1929, which
     are probably guesswork anyway.  (Thanks to Steve Allen and
     Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for
     correcting the 1901 transition.)

     Ecuador observed DST from 1992-11-28 to 1993-02-05.
     (Thanks to Alois Treindl.)

     Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21.
     (Thanks to Stepan Golosunov.)

   Changes to past and future time zone abbreviations

     Switch to numeric time zone abbreviations for South America, as
     part of the ongoing project of removing invented abbreviations.
     This avoids the need to invent an abbreviation for the new Chilean
     new zone.  Similarly, switch from invented to numeric time zone
     abbreviations for Afghanistan, American Samoa, the Azores,
     Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei,
     Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is,
     Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland,
     Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia,
     the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia,
     Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau,
     Papua New Guinea, the Philippines, Pitcairn, Qatar, RĂ©union, St
     Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore,
     Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and
     Xinjiang; for 20-minute daylight saving time in Ghana before 1943;
     for half-hour daylight saving time in Belize before 1944 and in
     the Dominican Republic before 1975; and for Canary Islands before
     1946, for Guinea-Bissau before 1975, for Iceland before 1969, for
     Indian Summer Time before 1942, for Indonesia before around 1964,
     for Kenya before 1960, for Liberia before 1973, for Madeira before
     1967, for Namibia before 1943, for the Netherlands in 1937-9, for
     Pakistan before 1971, for Western Sahara before 1977, and for
     Zaporozhye in 1880-1924.

     For Alaska time from 1900 through 1967, instead of "CAT" use the
     abbreviation "AST", the abbreviation commonly used at the time
     (Atlantic Standard Time had not been standardized yet).  Use "AWT"
     and "APT" instead of the invented abbreviations "CAWT" and "CAPT".

     Use "CST" and "CDT" instead of invented abbreviations for Macau
     before 1999 and Taiwan before 1938, and use "JST" instead of the
     invented abbreviation "JCST" for Japan and Korea before 1938.

Bug: 35861784
Test: CtsLibcoreTestCases / CtsBionicTestCases
Change-Id: I5e6bbdb93cb57f1b465913ba1b99572140400ef8

7 years agoMerge "Remove g_default_ld_paths global variable" am: 4dde93a73a am: 4c6a43cb1d
Dimitry Ivanov [Tue, 7 Mar 2017 03:43:47 +0000 (03:43 +0000)]
Merge "Remove g_default_ld_paths global variable" am: 4dde93a73a am: 4c6a43cb1d
am: 88e38a23a8

Change-Id: I7b103b3ba55d0f3c09a42b38587aa178a985591f

7 years agoMerge "Remove g_default_ld_paths global variable" am: 4dde93a73a
Dimitry Ivanov [Tue, 7 Mar 2017 03:41:45 +0000 (03:41 +0000)]
Merge "Remove g_default_ld_paths global variable" am: 4dde93a73a
am: 4c6a43cb1d

Change-Id: I4ddb03c6963f3b7b0a585197c8ede253180251b2

7 years agoMerge "Remove g_default_ld_paths global variable"
Dimitry Ivanov [Tue, 7 Mar 2017 03:39:16 +0000 (03:39 +0000)]
Merge "Remove g_default_ld_paths global variable"
am: 4dde93a73a

Change-Id: If37b5aa17de2229dc59555b824810798608ff6ac

7 years agoMerge "Remove g_default_ld_paths global variable"
Treehugger Robot [Tue, 7 Mar 2017 03:36:01 +0000 (03:36 +0000)]
Merge "Remove g_default_ld_paths global variable"

7 years agoRemove g_default_ld_paths global variable
Dimitry Ivanov [Mon, 6 Mar 2017 21:02:29 +0000 (13:02 -0800)]
Remove g_default_ld_paths global variable

Test: boot, run bionic-unit-tests
Change-Id: Id05d53475cbea6d62bd5fa1ab5e457ac82bab523

7 years agoMerge "Generate both static and shared libseccomp_policy." am: cdf19c84e8 am: df9f761a4d
Elliott Hughes [Sat, 4 Mar 2017 00:39:57 +0000 (00:39 +0000)]
Merge "Generate both static and shared libseccomp_policy." am: cdf19c84e8 am: df9f761a4d
am: 1b285d4814

Change-Id: I2c89875620deedb570281023514f193826f7d5d8

7 years agoMerge "Generate both static and shared libseccomp_policy." am: cdf19c84e8
Elliott Hughes [Sat, 4 Mar 2017 00:36:54 +0000 (00:36 +0000)]
Merge "Generate both static and shared libseccomp_policy." am: cdf19c84e8
am: df9f761a4d

Change-Id: I707f48ec1f6c871ca6fba2e612aa7eb336ba587d

7 years agoMerge "Generate both static and shared libseccomp_policy."
Elliott Hughes [Sat, 4 Mar 2017 00:33:31 +0000 (00:33 +0000)]
Merge "Generate both static and shared libseccomp_policy."
am: cdf19c84e8

Change-Id: Ie807df197332228fb86ba97dc909dcc61d478c8e

7 years agoMerge "Generate both static and shared libseccomp_policy."
Elliott Hughes [Sat, 4 Mar 2017 00:20:12 +0000 (00:20 +0000)]
Merge "Generate both static and shared libseccomp_policy."

7 years agoMerge "Refactor the kernel update scripts." am: b7e8fe5412 am: 11dc490722
Christopher Ferris [Fri, 3 Mar 2017 23:49:48 +0000 (23:49 +0000)]
Merge "Refactor the kernel update scripts." am: b7e8fe5412 am: 11dc490722
am: 227a4918a1

Change-Id: Ia98b9c9d5a988f97fb5fb48f174c16a9cb0f10eb

7 years agoMerge "Refactor the kernel update scripts." am: b7e8fe5412
Christopher Ferris [Fri, 3 Mar 2017 23:46:48 +0000 (23:46 +0000)]
Merge "Refactor the kernel update scripts." am: b7e8fe5412
am: 11dc490722

Change-Id: Ieaedabf4afab6eb9eb00f4c027328d6daf6f8f0c

7 years agoMerge "Refactor the kernel update scripts."
Christopher Ferris [Fri, 3 Mar 2017 23:43:49 +0000 (23:43 +0000)]
Merge "Refactor the kernel update scripts."
am: b7e8fe5412

Change-Id: I902d43a8903c9a11bc9b41b18c2e5f8418ea0297

7 years agoMerge "Refactor the kernel update scripts."
Christopher Ferris [Fri, 3 Mar 2017 23:40:11 +0000 (23:40 +0000)]
Merge "Refactor the kernel update scripts."

7 years agoMerge "Expand whitelist" am: c7dde49ab0 am: 7c6f83e79e
Paul Lawrence [Fri, 3 Mar 2017 21:14:09 +0000 (21:14 +0000)]
Merge "Expand whitelist" am: c7dde49ab0 am: 7c6f83e79e
am: ddb1360c10

Change-Id: I503a4736238b0fdb0546114794503e4283d70b88

7 years agoMerge "Expand whitelist" am: c7dde49ab0
Paul Lawrence [Fri, 3 Mar 2017 21:11:11 +0000 (21:11 +0000)]
Merge "Expand whitelist" am: c7dde49ab0
am: 7c6f83e79e

Change-Id: I62f0b56f84c1151c44a50edcca66c04d443e6105

7 years agoMerge "Expand whitelist"
Paul Lawrence [Fri, 3 Mar 2017 21:08:08 +0000 (21:08 +0000)]
Merge "Expand whitelist"
am: c7dde49ab0

Change-Id: I22c6b772900c0aac068ca857cc3aa17310407795

7 years agoMerge "Expand whitelist"
Treehugger Robot [Fri, 3 Mar 2017 21:02:42 +0000 (21:02 +0000)]
Merge "Expand whitelist"

7 years agoExpand whitelist
Paul Lawrence [Fri, 3 Mar 2017 19:14:45 +0000 (11:14 -0800)]
Expand whitelist

Bug: 35917228
Test: App now runs fine with setenforce 0
Change-Id: I039385e5d0e5105ec337c62dd098dd1662442a2e

7 years agoGenerate both static and shared libseccomp_policy.
Elliott Hughes [Fri, 3 Mar 2017 02:56:12 +0000 (18:56 -0800)]
Generate both static and shared libseccomp_policy.

Also switch to Android.bp

Bug: N/A
Test: builds
Change-Id: I33697a40b30d071f8d07aa33e1fb2b0c6e8a9f6d

7 years agoRefactor the kernel update scripts.
Christopher Ferris [Fri, 24 Feb 2017 20:26:48 +0000 (12:26 -0800)]
Refactor the kernel update scripts.

The previous versions of the scripts did a lot of redundant changes
and were hard to follow.

I rewrote most of update_all.py so that it's clear about what's going on.

I updated clean_header.py to change the cleanupFile function so that
there is no magic about where the destination file is going to wind up.
Now the caller specifies the final location.

I updated utils.py so that if you are trying to do an update in one
location, but your lunch target is from another location, it causes
an error.

Bug: 35726570

Change-Id: Ic5a44d90c2774a627eecde34c0c403bc925a497c
Test: Ran the updater and verified it works properly.
Test: Verified that doing an update in one tree to another tree
Test: fails.

7 years agoMerge "Expand whitelist" am: 5faa3166ce am: 892bbc7cbd
Paul Lawrence [Thu, 2 Mar 2017 18:59:01 +0000 (18:59 +0000)]
Merge "Expand whitelist" am: 5faa3166ce am: 892bbc7cbd
am: 213e6b00e0

Change-Id: I0d82b07a0fdd68da6106dff20355369abc02d387

7 years agoMerge "Expand whitelist" am: 5faa3166ce
Paul Lawrence [Thu, 2 Mar 2017 18:56:31 +0000 (18:56 +0000)]
Merge "Expand whitelist" am: 5faa3166ce
am: 892bbc7cbd

Change-Id: Ia660a27f9615180784c90bacbdac73f3f834c857

7 years agoMerge "Expand whitelist"
Paul Lawrence [Thu, 2 Mar 2017 18:54:31 +0000 (18:54 +0000)]
Merge "Expand whitelist"
am: 5faa3166ce

Change-Id: I1a7ea74631e8fb72550d44639d307d18ee041dd6

7 years agoMerge "Expand whitelist"
Paul Lawrence [Thu, 2 Mar 2017 18:48:46 +0000 (18:48 +0000)]
Merge "Expand whitelist"

7 years agoExpand whitelist
Paul Lawrence [Thu, 2 Mar 2017 16:50:59 +0000 (08:50 -0800)]
Expand whitelist

Bug: 35906875
Test: Device boots, app runs further and fails with different error
Change-Id: I8df40ff85f8248504bca9a048510153970b31716

7 years agoMerge "Stop using __system_property_area__" am: 9e10b7fa44 am: 869aed6b0f
Victor Khimenko [Wed, 1 Mar 2017 22:02:32 +0000 (22:02 +0000)]
Merge "Stop using __system_property_area__" am: 9e10b7fa44 am: 869aed6b0f
am: 69959025c5

Change-Id: I987c7e253f4e1ac9a994622f3b73613a12bef8c0

7 years agoMerge "Stop using __system_property_area__" am: 9e10b7fa44
Victor Khimenko [Wed, 1 Mar 2017 21:58:00 +0000 (21:58 +0000)]
Merge "Stop using __system_property_area__" am: 9e10b7fa44
am: 869aed6b0f

Change-Id: Ie7b84ddbe9c79134c90eb128c0703002396f2132

7 years agoMerge "Stop using __system_property_area__"
Victor Khimenko [Wed, 1 Mar 2017 21:51:00 +0000 (21:51 +0000)]
Merge "Stop using __system_property_area__"
am: 9e10b7fa44

Change-Id: I2b3add48f5d5e41e250a1024dab6fd8411447416

7 years agoMerge "Stop using __system_property_area__"
Victor Khimenko [Wed, 1 Mar 2017 21:31:03 +0000 (21:31 +0000)]
Merge "Stop using __system_property_area__"

7 years agoStop using __system_property_area__
Victor Khimenko [Wed, 1 Mar 2017 19:36:13 +0000 (20:36 +0100)]
Stop using __system_property_area__

Apparently that "backdoor" is no longer needed - the proper way is
to reinitialize properties:
    https://android-review.googlesource.com/#/c/181794/24/tests/system_properties_test.cpp

Also removes mentions of libnativehelper test (it no longer uses
__system_property_area__) and removes useless "extern" declaration
(actual use was removed long ago).

Test: refactoring CL, existsing tests still pass

BUG=21852512
BUG=34114501

Change-Id: I2223cab2fcb671ea180ad4470a7aba5c9cd20bd8

7 years agoMerge "Revert "Revert "Revert "Make libc.so global"""" am: ebceea8e85 am: 536d0341d7
Dimitry Ivanov [Wed, 1 Mar 2017 00:46:43 +0000 (00:46 +0000)]
Merge "Revert "Revert "Revert "Make libc.so global"""" am: ebceea8e85 am: 536d0341d7
am: 4cacb7bffe

Change-Id: I485da35c99da8e6dc99f9f3f26ec4f90ba646b59

7 years agoMerge "Revert "Revert "Revert "Make libc.so global"""" am: ebceea8e85
Dimitry Ivanov [Wed, 1 Mar 2017 00:44:12 +0000 (00:44 +0000)]
Merge "Revert "Revert "Revert "Make libc.so global"""" am: ebceea8e85
am: 536d0341d7

Change-Id: I17bd7c9aac7189a0ac49a8ea9953117533f729fe

7 years agoMerge "Revert "Revert "Revert "Make libc.so global""""
Dimitry Ivanov [Wed, 1 Mar 2017 00:41:42 +0000 (00:41 +0000)]
Merge "Revert "Revert "Revert "Make libc.so global""""
am: ebceea8e85

Change-Id: I12848c7afa25fbe7b42946a1586f7a78e8af2464

7 years agoMerge "Revert "Revert "Revert "Make libc.so global""""
Dimitry Ivanov [Wed, 1 Mar 2017 00:39:05 +0000 (00:39 +0000)]
Merge "Revert "Revert "Revert "Make libc.so global""""

7 years agoRevert "Revert "Revert "Make libc.so global"""
Dimitry Ivanov [Tue, 28 Feb 2017 21:04:30 +0000 (21:04 +0000)]
Revert "Revert "Revert "Make libc.so global"""

This reverts commit 2a4d892c7f14d849b5f349528ed2b921b19f5645.

Bug: http://b/35417197
Bug: http://b/35338922
Bug: http://b/35700074
Test: manual
Change-Id: Ib99d23d46664f3efa5be70213aa093b505e38775

7 years agoMerge "Move seccomp policy to bionic" am: d9e52fed2a am: 9e82ae1fb1
Paul Lawrence [Tue, 28 Feb 2017 15:50:51 +0000 (15:50 +0000)]
Merge "Move seccomp policy to bionic" am: d9e52fed2a am: 9e82ae1fb1
am: 86742cf7e6

Change-Id: I2579e0919fca424bb9bfacc9af52f2ebea26c055

7 years agoMerge "Move seccomp policy to bionic" am: d9e52fed2a
Paul Lawrence [Tue, 28 Feb 2017 15:46:48 +0000 (15:46 +0000)]
Merge "Move seccomp policy to bionic" am: d9e52fed2a
am: 9e82ae1fb1

Change-Id: I654079cbdc7ed553221a1904b4bd442df2580e95

7 years agoMerge "Move seccomp policy to bionic"
Paul Lawrence [Tue, 28 Feb 2017 15:41:01 +0000 (15:41 +0000)]
Merge "Move seccomp policy to bionic"
am: d9e52fed2a

Change-Id: I4bf75eaebe4adacabda2c2b4cd8047b1103e6016

7 years agoMerge "Move seccomp policy to bionic"
Treehugger Robot [Tue, 28 Feb 2017 15:36:07 +0000 (15:36 +0000)]
Merge "Move seccomp policy to bionic"

7 years agoMerge "Fix greylist exception to account for linked namespaces" am: 6e528631d1 am...
Dimitry Ivanov [Tue, 28 Feb 2017 00:52:49 +0000 (00:52 +0000)]
Merge "Fix greylist exception to account for linked namespaces" am: 6e528631d1 am: ea7961b604
am: c1e6ec0d78

Change-Id: I3fe6a247ce8265c7ab087361e08b8ea3849d3b0a

7 years agoMerge "Fix greylist exception to account for linked namespaces" am: 6e528631d1
Dimitry Ivanov [Tue, 28 Feb 2017 00:50:19 +0000 (00:50 +0000)]
Merge "Fix greylist exception to account for linked namespaces" am: 6e528631d1
am: ea7961b604

Change-Id: I0ec9fffd7d332129c9dfb66c45ed29117a3ed02b

7 years agoMerge "Fix greylist exception to account for linked namespaces"
Dimitry Ivanov [Tue, 28 Feb 2017 00:47:49 +0000 (00:47 +0000)]
Merge "Fix greylist exception to account for linked namespaces"
am: 6e528631d1

Change-Id: I639c4ac215359a5c3caa6b19a2cd59ace1ff1ca4

7 years agoMerge "Fix greylist exception to account for linked namespaces"
Treehugger Robot [Tue, 28 Feb 2017 00:42:54 +0000 (00:42 +0000)]
Merge "Fix greylist exception to account for linked namespaces"

7 years agoMerge "Fix pre-L MB_CUR_MAX." am: ca1fda834f am: ce9b4eb5da
Dan Albert [Mon, 27 Feb 2017 22:33:40 +0000 (22:33 +0000)]
Merge "Fix pre-L MB_CUR_MAX." am: ca1fda834f am: ce9b4eb5da
am: 5ecf1b0885

Change-Id: I6c03e881dbaa9f67fe17e25145cb659c3f82b5e4

7 years agoMerge "Fix pre-L MB_CUR_MAX." am: ca1fda834f
Dan Albert [Mon, 27 Feb 2017 22:32:09 +0000 (22:32 +0000)]
Merge "Fix pre-L MB_CUR_MAX." am: ca1fda834f
am: ce9b4eb5da

Change-Id: Ie59c0de992e198d1f73886a7522fc04514d67956

7 years agoMerge "Fix pre-L MB_CUR_MAX."
Dan Albert [Mon, 27 Feb 2017 22:30:09 +0000 (22:30 +0000)]
Merge "Fix pre-L MB_CUR_MAX."
am: ca1fda834f

Change-Id: Ib6f2b309be4ce297577174fd0de8e624d37d37e2

7 years agoMerge "Fix pre-L MB_CUR_MAX."
Treehugger Robot [Mon, 27 Feb 2017 22:22:26 +0000 (22:22 +0000)]
Merge "Fix pre-L MB_CUR_MAX."

7 years agoFix greylist exception to account for linked namespaces
Dimitry Ivanov [Mon, 27 Feb 2017 20:17:47 +0000 (12:17 -0800)]
Fix greylist exception to account for linked namespaces

Do not load second copy of libraries that are supposed to
be provided by linked namespaces. Also do not print
error in the log if caller tries to open shared library
using absolute path for apps targeting N+.

Bug: http://b/35454141
Bug: http://b/26833548
Bug: http://b/35338922
Test: run bionic-unit-tests --gtest_filter=dl*
Change-Id: Icf3aeedff18d287d2ba0b3df3808b100f3ef5f7a

7 years agoMove seccomp policy to bionic
Paul Lawrence [Thu, 16 Feb 2017 17:24:39 +0000 (09:24 -0800)]
Move seccomp policy to bionic

Test: Built and checked booted
Change-Id: Iaec1265fe5a55c4df90ab9e45b010ef36faf6bba

7 years agoMerge "Update to kernel headers v4.10." am: 5f41ce25c6 am: 8b2654c1ef
Christopher Ferris [Mon, 27 Feb 2017 20:27:40 +0000 (20:27 +0000)]
Merge "Update to kernel headers v4.10." am: 5f41ce25c6 am: 8b2654c1ef
am: d16d25742b

Change-Id: Ib353d4f389e4d105b62a068654b4095cc845b82c

7 years agoMerge "Update to kernel headers v4.10." am: 5f41ce25c6
Christopher Ferris [Mon, 27 Feb 2017 20:23:38 +0000 (20:23 +0000)]
Merge "Update to kernel headers v4.10." am: 5f41ce25c6
am: 8b2654c1ef

Change-Id: Iab74334b95fd44106351aad24b8044b11d11e9cb

7 years agoMerge "Update to kernel headers v4.10."
Christopher Ferris [Mon, 27 Feb 2017 20:16:53 +0000 (20:16 +0000)]
Merge "Update to kernel headers v4.10."
am: 5f41ce25c6

Change-Id: Ib466db6c56b442ac29b56878d19a4c926acf4911

7 years agoMerge "Update to kernel headers v4.10."
Christopher Ferris [Mon, 27 Feb 2017 20:09:54 +0000 (20:09 +0000)]
Merge "Update to kernel headers v4.10."

7 years agoMerge "Revert "Move seccomp policy to bionic"" am: c712aedb0c am: d2df74f5e0
Paul Lawrence [Mon, 27 Feb 2017 16:55:48 +0000 (16:55 +0000)]
Merge "Revert "Move seccomp policy to bionic"" am: c712aedb0c am: d2df74f5e0
am: 22aa2a8eed

Change-Id: Ifd3aac5982e5eafad763ba92fca97978912a881f

7 years agoMerge "Revert "Move seccomp policy to bionic"" am: c712aedb0c
Paul Lawrence [Mon, 27 Feb 2017 16:51:13 +0000 (16:51 +0000)]
Merge "Revert "Move seccomp policy to bionic"" am: c712aedb0c
am: d2df74f5e0

Change-Id: I0dbce39972aeea04f297bcd27cf7c14c263f4017

7 years agoMerge "Revert "Move seccomp policy to bionic""
Paul Lawrence [Mon, 27 Feb 2017 16:46:00 +0000 (16:46 +0000)]
Merge "Revert "Move seccomp policy to bionic""
am: c712aedb0c

Change-Id: I6e95b0579d749e898ef2933fe1fd92c81b28ad8c

7 years agoMerge "Revert "Move seccomp policy to bionic""
Paul Lawrence [Mon, 27 Feb 2017 16:39:11 +0000 (16:39 +0000)]
Merge "Revert "Move seccomp policy to bionic""

7 years agoRevert "Move seccomp policy to bionic"
Paul Lawrence [Mon, 27 Feb 2017 16:32:37 +0000 (16:32 +0000)]
Revert "Move seccomp policy to bionic"

This reverts commit 06a32206c5430321dd3fc02b70acbf99383786c1.

Reverting build-breaking change

Change-Id: Ib3698bca8f905033a9c7f22bc2fa9f7e7bf75873

7 years agoMerge "Move seccomp policy to bionic" am: d0ceac6441 am: b499944442
Paul Lawrence [Mon, 27 Feb 2017 16:27:01 +0000 (16:27 +0000)]
Merge "Move seccomp policy to bionic" am: d0ceac6441 am: b499944442
am: adee1cd46e

Change-Id: Ifc06fcda5e85b171cca52499c0e01394b1806707

7 years agoMerge "Move seccomp policy to bionic" am: d0ceac6441
Paul Lawrence [Mon, 27 Feb 2017 16:20:59 +0000 (16:20 +0000)]
Merge "Move seccomp policy to bionic" am: d0ceac6441
am: b499944442

Change-Id: I7650c6ff63e8a38da09d79dd724f22fc4307a251

7 years agoMerge "Move seccomp policy to bionic"
Paul Lawrence [Mon, 27 Feb 2017 16:14:30 +0000 (16:14 +0000)]
Merge "Move seccomp policy to bionic"
am: d0ceac6441

Change-Id: Ia0dfc453985313ae5a098bbe5512a1b1aad741a3

7 years agoMerge "Move seccomp policy to bionic"
Paul Lawrence [Mon, 27 Feb 2017 16:09:39 +0000 (16:09 +0000)]
Merge "Move seccomp policy to bionic"

7 years agoMerge "Add tests for <endian.h>." am: 78e6c4ec7c am: 383efd5f2e
Elliott Hughes [Sat, 25 Feb 2017 03:20:47 +0000 (03:20 +0000)]
Merge "Add tests for <endian.h>." am: 78e6c4ec7c am: 383efd5f2e
am: 801d127801

Change-Id: I3f6a248ac74aca214069bab6af7f850b40936663

7 years agoMerge "Add tests for <endian.h>." am: 78e6c4ec7c
Elliott Hughes [Sat, 25 Feb 2017 03:16:46 +0000 (03:16 +0000)]
Merge "Add tests for <endian.h>." am: 78e6c4ec7c
am: 383efd5f2e

Change-Id: Ic28697996933edfc2bd95f30a0d74765322e51fa

7 years agoMerge "Add tests for <endian.h>."
Elliott Hughes [Sat, 25 Feb 2017 03:14:15 +0000 (03:14 +0000)]
Merge "Add tests for <endian.h>."
am: 78e6c4ec7c

Change-Id: I3593c8f899707d5e45fad839733b0dcbcc945df0

7 years agoMerge "Add tests for <endian.h>."
Treehugger Robot [Sat, 25 Feb 2017 03:10:18 +0000 (03:10 +0000)]
Merge "Add tests for <endian.h>."

7 years agoMerge "loader: set PT_INTERP to itself" am: 0b87362f53 am: 566d200680
Dimitry Ivanov [Sat, 25 Feb 2017 02:36:43 +0000 (02:36 +0000)]
Merge "loader: set PT_INTERP to itself" am: 0b87362f53 am: 566d200680
am: 3635827a62

Change-Id: Ieea71a55072322111fbb9c0a4c7c66effc1995a9

7 years agoMerge "loader: set PT_INTERP to itself" am: 0b87362f53
Dimitry Ivanov [Sat, 25 Feb 2017 02:34:12 +0000 (02:34 +0000)]
Merge "loader: set PT_INTERP to itself" am: 0b87362f53
am: 566d200680

Change-Id: Iae4fd30f60d6b3124c36bd9398a79a0c56088f49

7 years agoMerge "loader: set PT_INTERP to itself"
Dimitry Ivanov [Sat, 25 Feb 2017 02:31:13 +0000 (02:31 +0000)]
Merge "loader: set PT_INTERP to itself"
am: 0b87362f53

Change-Id: I505616f5b4223dcd6cdad396db340c81b61a87b5