OSDN Git Service

android-x86/bionic.git
9 years agoam 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
Yabin Cui [Sat, 4 Apr 2015 19:47:57 +0000 (19:47 +0000)]
am 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."

* commit '4bd8f9637daaada333ff35945b00cfe6cb822376':
  Fix bug for recursive/errorcheck mutex on 32-bit devices.

9 years agoMerge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
Yabin Cui [Sat, 4 Apr 2015 19:31:54 +0000 (19:31 +0000)]
Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."

9 years agoFix bug for recursive/errorcheck mutex on 32-bit devices.
Yabin Cui [Fri, 3 Apr 2015 00:47:48 +0000 (17:47 -0700)]
Fix bug for recursive/errorcheck mutex on 32-bit devices.

Bug: 19216648
Change-Id: I3b43b2d18d25b9bde352da1e35f9568133dec7cf

9 years agoam e686df8d: Merge "Add libdl dependency for target libraries"
Dmitriy Ivanov [Fri, 3 Apr 2015 23:14:29 +0000 (23:14 +0000)]
am e686df8d: Merge "Add libdl dependency for target libraries"

* commit 'e686df8d839216460f02cf7db6c4e26a13e49afd':
  Add libdl dependency for target libraries

9 years agoMerge "Add libdl dependency for target libraries"
Dmitriy Ivanov [Fri, 3 Apr 2015 22:54:06 +0000 (22:54 +0000)]
Merge "Add libdl dependency for target libraries"

9 years agoAdd libdl dependency for target libraries
Dmitriy Ivanov [Fri, 3 Apr 2015 22:17:52 +0000 (15:17 -0700)]
Add libdl dependency for target libraries

 Fixed x86_64 target build with gcc 4.9

Change-Id: Id3b1e9286c2bcbb8e3ac117bcef957304db7cfd3

9 years agoam cec2ab20: Merge "Try again to fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:58:48 +0000 (20:58 +0000)]
am cec2ab20: Merge "Try again to fix clang build."

* commit 'cec2ab20a0d2b24c15aa289cbac5d4291c856092':
  Try again to fix clang build.

9 years agoMerge "Try again to fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:38:15 +0000 (20:38 +0000)]
Merge "Try again to fix clang build."

9 years agoTry again to fix clang build.
Elliott Hughes [Fri, 3 Apr 2015 20:37:18 +0000 (13:37 -0700)]
Try again to fix clang build.

I got the condition the wrong way round in the previous change.

Bug: http://b/20065774
Change-Id: I218b224b37f5fb2f7c7ec2f9af27472b340c4b15

9 years agoam ec8b3a7d: Merge "Fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:36:55 +0000 (20:36 +0000)]
am ec8b3a7d: Merge "Fix clang build."

* commit 'ec8b3a7dde3c282c4f9ca5c8bf5a7e1b7469def0':
  Fix clang build.

9 years agoMerge "Fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:12:02 +0000 (20:12 +0000)]
Merge "Fix clang build."

9 years agoFix clang build.
Elliott Hughes [Fri, 3 Apr 2015 20:09:10 +0000 (13:09 -0700)]
Fix clang build.

Apparently clang really doesn't want you to take the address of a builtin.
Since this is only a temporary hack, let's just shrug and accept that
clang-built volantis images won't work until we have new NVIDIA blobs.

Bug: http://b/20065774
Change-Id: I4c8e893b15a1af8f9c54d3f89bfef112b63d09b4

9 years agoam aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"
Dmitriy Ivanov [Fri, 3 Apr 2015 19:59:03 +0000 (19:59 +0000)]
am aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"

* commit 'aea165cb03abceb85062e94f22f72e1c9d9800a4':
  Add ANDROID_DLEXT_FORCE_LOAD flag

9 years agoam b1f1de4d: Merge "Fix volantis boot."
Elliott Hughes [Fri, 3 Apr 2015 19:59:01 +0000 (19:59 +0000)]
am b1f1de4d: Merge "Fix volantis boot."

* commit 'b1f1de4dd4b1a3802abd5284de9ebfe6a98057f1':
  Fix volantis boot.

9 years agoMerge "Add ANDROID_DLEXT_FORCE_LOAD flag"
Dmitriy Ivanov [Fri, 3 Apr 2015 19:45:24 +0000 (19:45 +0000)]
Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"

9 years agoMerge "Fix volantis boot."
Elliott Hughes [Fri, 3 Apr 2015 19:38:30 +0000 (19:38 +0000)]
Merge "Fix volantis boot."

9 years agoFix volantis boot.
Elliott Hughes [Fri, 3 Apr 2015 18:27:53 +0000 (11:27 -0700)]
Fix volantis boot.

NVIDIA binary blobs are assuming that __cache_clear, _Unwind_Backtrace,
and _Unwind_GetIP are all in some library that they link, but now we've
cleaned up this leakage, they're no longer getting it. Deliberately leak
the symbols from libc.so until we get new blobs.

Bug: http://b/20065774
Change-Id: I92ef07b2bce8d1ad719bf40dab41d745cd6904d4

9 years agoAdd ANDROID_DLEXT_FORCE_LOAD flag
Dmitriy Ivanov [Thu, 2 Apr 2015 23:03:56 +0000 (16:03 -0700)]
Add ANDROID_DLEXT_FORCE_LOAD flag

  This flag allows to force loading of the library
  in the case when for some reason multiple ELF files
  share the same filename (because the already-loaded
  library has been removed and overwritten, for example).

Change-Id: I798d44409ee13d63eaa75d685e99c4d028d2b0c1

9 years agoam 06b6e3c5: Merge "Look into local group on dlsym with RTLD_DEFAULT"
Dmitriy Ivanov [Thu, 2 Apr 2015 22:14:58 +0000 (22:14 +0000)]
am 06b6e3c5: Merge "Look into local group on dlsym with RTLD_DEFAULT"

* commit '06b6e3c51d38d70c5ca99f3a3f795697031ac27f':
  Look into local group on dlsym with RTLD_DEFAULT

9 years agoMerge "Look into local group on dlsym with RTLD_DEFAULT"
Dmitriy Ivanov [Thu, 2 Apr 2015 21:55:01 +0000 (21:55 +0000)]
Merge "Look into local group on dlsym with RTLD_DEFAULT"

9 years agoLook into local group on dlsym with RTLD_DEFAULT
Dmitriy Ivanov [Wed, 1 Apr 2015 21:45:10 +0000 (14:45 -0700)]
Look into local group on dlsym with RTLD_DEFAULT

  Fix dlsym to look into local group when called with
  RTLD_DEFAULT and RTLD_NEXT.

Bug: 17512583
Change-Id: I541354e89539c712af2ea4ec751e546913027084

9 years agoam d619d6ff: Merge "Remove _memset16 and _memset32 from mips/mips64 bionic."
Elliott Hughes [Thu, 2 Apr 2015 20:47:54 +0000 (20:47 +0000)]
am d619d6ff: Merge "Remove _memset16 and _memset32 from mips/mips64 bionic."

* commit 'd619d6ffb876de6a8f051c850762a6f7a7e55c76':
  Remove _memset16 and _memset32 from mips/mips64 bionic.

9 years agoam 00d1101c: Merge "Refactor pthread_mutex to support 32-bit owner_tid on 64-bit...
Yabin Cui [Thu, 2 Apr 2015 20:47:53 +0000 (20:47 +0000)]
am 00d1101c: Merge "Refactor pthread_mutex to support 32-bit owner_tid on 64-bit devices."

* commit '00d1101cc170ce786f26143a897b4a3e3363b55f':
  Refactor pthread_mutex to support 32-bit owner_tid on 64-bit devices.

9 years agoMerge "Remove _memset16 and _memset32 from mips/mips64 bionic."
Elliott Hughes [Thu, 2 Apr 2015 20:35:20 +0000 (20:35 +0000)]
Merge "Remove _memset16 and _memset32 from mips/mips64 bionic."

9 years agoMerge "Refactor pthread_mutex to support 32-bit owner_tid on 64-bit devices."
Yabin Cui [Thu, 2 Apr 2015 20:27:40 +0000 (20:27 +0000)]
Merge "Refactor pthread_mutex to support 32-bit owner_tid on 64-bit devices."

9 years agoam 618935d2: Merge "gtest_repeat should allow negative values."
Christopher Ferris [Thu, 2 Apr 2015 19:42:49 +0000 (19:42 +0000)]
am 618935d2: Merge "gtest_repeat should allow negative values."

* commit '618935d2679e84cc839316c042ee3dde5f7d7097':
  gtest_repeat should allow negative values.

9 years agoMerge "gtest_repeat should allow negative values."
Christopher Ferris [Thu, 2 Apr 2015 19:19:38 +0000 (19:19 +0000)]
Merge "gtest_repeat should allow negative values."

9 years agogtest_repeat should allow negative values.
Christopher Ferris [Thu, 2 Apr 2015 19:02:55 +0000 (12:02 -0700)]
gtest_repeat should allow negative values.

If you pass in a negative value to gtest_repeat, it should run forever.
The new runner didn't allow this, now it does.

Change-Id: Ie0002c12e2fdad22b264adca37c165cfcfe05c7a

9 years agoRemove _memset16 and _memset32 from mips/mips64 bionic.
Elliott Hughes [Thu, 2 Apr 2015 17:34:58 +0000 (10:34 -0700)]
Remove _memset16 and _memset32 from mips/mips64 bionic.

These should be in libcutils instead.

Change-Id: Ibbc94755e6da61bf9ce2c8f9a047a082bb9bce24

9 years agoam 3cc3f17a: Merge "linker: never mark pages simultaneously writable / executable"
Nick Kralevich [Thu, 2 Apr 2015 13:59:26 +0000 (13:59 +0000)]
am 3cc3f17a: Merge "linker: never mark pages simultaneously writable / executable"

* commit '3cc3f17aa4b241da7303299032e4269fcf92a4e6':
  linker: never mark pages simultaneously writable / executable

9 years agoMerge "linker: never mark pages simultaneously writable / executable"
Nick Kralevich [Thu, 2 Apr 2015 13:29:48 +0000 (13:29 +0000)]
Merge "linker: never mark pages simultaneously writable / executable"

9 years agoRefactor pthread_mutex to support 32-bit owner_tid on 64-bit devices.
Yabin Cui [Sat, 14 Feb 2015 00:21:25 +0000 (16:21 -0800)]
Refactor pthread_mutex to support 32-bit owner_tid on 64-bit devices.

Bug: 19216648
Change-Id: I765ecacc9036659c766f5d1f6600e1a65364199b

9 years agoam ab7c79e2: Merge "Don\'t export new/delete from libc shared libraries."
Dan Albert [Thu, 2 Apr 2015 01:13:18 +0000 (01:13 +0000)]
am ab7c79e2: Merge "Don\'t export new/delete from libc shared libraries."

* commit 'ab7c79e22e5495a2aa171047a044ce1037e461a9':
  Don't export new/delete from libc shared libraries.

9 years agolinker: never mark pages simultaneously writable / executable
Nick Kralevich [Wed, 1 Apr 2015 23:57:50 +0000 (16:57 -0700)]
linker: never mark pages simultaneously writable / executable

When the Android dynamic linker handles a text relocation,
it first relaxes the permissions on the segment being modified,
performs the modifications, and then restores the page permissions.
The relaxation worked by adding PROT_WRITE to whatever protection
bits were set in the section. In effect, the pages were getting set
to PROT_READ|PROT_WRITE|PROT_EXEC, modified, then restored to
PROT_READ|PROT_EXEC

The SELinux kernel code differentiates between 4 different kinds
of executable memory:
* Executable stack (execstack)
* Executable heap (execheap)
* File-based executable code which has been modified (execmod)
* All other executable memory (execmem)

The execmod capability is only triggered by the kernel when a
dirty but non-executable mmap()ed page becomes executable. When that
occurs, an SELinux policy check is done to see if the execmod capability
is provided by policy.

However, if the page is already executable, and PROT_WRITE is added
to the page, it's considered an execmem permission check, not an execmod
permission check.

There are certain circumstances where we may want to distinguish between
execmod and execmem. This change adjusts the dynamic linker to avoid
using RWX pages, so that an RX -> RW -> RX transition will properly
be detected as an execmod permission check instead of an execmem permission
check.

Bug: 20013628
Change-Id: I14d7be29170b156942f9809023f3b2fc1f37846c

9 years agoMerge "Don't export new/delete from libc shared libraries."
Dan Albert [Wed, 1 Apr 2015 23:33:53 +0000 (23:33 +0000)]
Merge "Don't export new/delete from libc shared libraries."

9 years agoDon't export new/delete from libc shared libraries.
Dan Albert [Wed, 1 Apr 2015 23:26:54 +0000 (16:26 -0700)]
Don't export new/delete from libc shared libraries.

This used to be handled by -fvisibility=hidden on libc_cxa, but that
was broken by the resolution of https://llvm.org/PR22419 (introduced
to Android in today's clang update).

Now we just use a version script that prevents these from being
re-exported from our shared libraries.

Change-Id: Ib290e1d0d7426e09ad17a91178162fff6dbdcfa9

9 years agoam 202af3a2: Merge "Revert "Remove text-relocation support for lp32""
Dimitry Ivanov [Wed, 1 Apr 2015 21:44:47 +0000 (21:44 +0000)]
am 202af3a2: Merge "Revert "Remove text-relocation support for lp32""

* commit '202af3a23cb23e2571011ea76367ff3e88dfd48e':
  Revert "Remove text-relocation support for lp32"

9 years agoMerge "Revert "Remove text-relocation support for lp32""
Dimitry Ivanov [Wed, 1 Apr 2015 21:28:28 +0000 (21:28 +0000)]
Merge "Revert "Remove text-relocation support for lp32""

9 years agoRevert "Remove text-relocation support for lp32"
Dimitry Ivanov [Wed, 1 Apr 2015 21:18:48 +0000 (21:18 +0000)]
Revert "Remove text-relocation support for lp32"

This reverts commit cb00add1b382d1e3045876d7e1ccbee2fdce976b.

Bug: 20020312
Bug: 20013628
Change-Id: I8baa3d4b6c7fef50c9e2531257d5b96762099eb3

9 years agoam b023799a: Merge "Fix ftw tests when run as non-root."
Elliott Hughes [Wed, 1 Apr 2015 19:48:51 +0000 (19:48 +0000)]
am b023799a: Merge "Fix ftw tests when run as non-root."

* commit 'b023799a6027924aad13b0f91c0b5b7f1b9cfe2d':
  Fix ftw tests when run as non-root.

9 years agoam d227d57d: Merge "Update README.md for running tests on the host."
Elliott Hughes [Wed, 1 Apr 2015 19:37:45 +0000 (19:37 +0000)]
am d227d57d: Merge "Update README.md for running tests on the host."

* commit 'd227d57d50f7a5251dbbfa3f2b41d3fe882851fa':
  Update README.md for running tests on the host.

9 years agoMerge "Fix ftw tests when run as non-root."
Elliott Hughes [Wed, 1 Apr 2015 19:32:15 +0000 (19:32 +0000)]
Merge "Fix ftw tests when run as non-root."

9 years agoFix ftw tests when run as non-root.
Elliott Hughes [Wed, 1 Apr 2015 19:22:40 +0000 (12:22 -0700)]
Fix ftw tests when run as non-root.

Root can create subdirectories inside non-writable directories, but
other users can't.

Change-Id: I102fe610d1bd2733aebf184b544e58612465287d

9 years agoMerge "Update README.md for running tests on the host."
Elliott Hughes [Wed, 1 Apr 2015 19:20:08 +0000 (19:20 +0000)]
Merge "Update README.md for running tests on the host."

9 years agoUpdate README.md for running tests on the host.
Elliott Hughes [Wed, 1 Apr 2015 19:16:56 +0000 (12:16 -0700)]
Update README.md for running tests on the host.

Change-Id: Ib360d91bffd269e7acdb20ad33a7bd85345a1475

9 years agoam 61a35fa4: Merge "Remove text-relocation support for lp32"
Dmitriy Ivanov [Wed, 1 Apr 2015 01:51:51 +0000 (01:51 +0000)]
am 61a35fa4: Merge "Remove text-relocation support for lp32"

* commit '61a35fa40c898dc08c28c9da8b174ba5d5614579':
  Remove text-relocation support for lp32

9 years agoam 8f41142c: Merge "stubs missing include for string.h"
Mark Salyzyn [Wed, 1 Apr 2015 01:40:57 +0000 (01:40 +0000)]
am 8f41142c: Merge "stubs missing include for string.h"

* commit '8f41142cd631bdd8bf02dcfbb599e5edbfcbd67e':
  stubs missing include for string.h

9 years agoam 72035734: Merge "Make ThreadLocalBuffer a class rather than a macro."
Elliott Hughes [Wed, 1 Apr 2015 01:40:56 +0000 (01:40 +0000)]
am 72035734: Merge "Make ThreadLocalBuffer a class rather than a macro."

* commit '72035734af2d8558a3ccd7e29626216e20aed6f2':
  Make ThreadLocalBuffer a class rather than a macro.

9 years agoMerge "Remove text-relocation support for lp32"
Dmitriy Ivanov [Wed, 1 Apr 2015 01:37:46 +0000 (01:37 +0000)]
Merge "Remove text-relocation support for lp32"

9 years agoam 89a4a541: Merge "Upgrade kernel headers to 3.18.10."
Christopher Ferris [Wed, 1 Apr 2015 01:32:54 +0000 (01:32 +0000)]
am 89a4a541: Merge "Upgrade kernel headers to 3.18.10."

* commit '89a4a54104d566bbfd226ed1e3abcf047b871690':
  Upgrade kernel headers to 3.18.10.

9 years agoMerge "stubs missing include for string.h"
Mark Salyzyn [Wed, 1 Apr 2015 00:55:18 +0000 (00:55 +0000)]
Merge "stubs missing include for string.h"

9 years agoMerge "Make ThreadLocalBuffer a class rather than a macro."
Elliott Hughes [Wed, 1 Apr 2015 00:51:56 +0000 (00:51 +0000)]
Merge "Make ThreadLocalBuffer a class rather than a macro."

9 years agoRemove text-relocation support for lp32
Dmitriy Ivanov [Wed, 1 Apr 2015 00:28:24 +0000 (17:28 -0700)]
Remove text-relocation support for lp32

Bug: 20013628
Change-Id: Idaf8012f00ee1304d429c3b42f9ebc6b648c55b8

9 years agostubs missing include for string.h
Mark Salyzyn [Tue, 31 Mar 2015 23:55:42 +0000 (16:55 -0700)]
stubs missing include for string.h

stubs.cpp gets string.h inherited from private/android_filesystem_config.h
it should not rely on this in the future. The intent is to move fs_config
function into libcutils and thus deprecate any need for string.h in this
include file.

Change-Id: I946ec1979ef5bbb34fbcb4a99bf2cd79280bb2a3

9 years agoMerge "Upgrade kernel headers to 3.18.10."
Christopher Ferris [Tue, 31 Mar 2015 22:37:04 +0000 (22:37 +0000)]
Merge "Upgrade kernel headers to 3.18.10."

9 years agoUpgrade kernel headers to 3.18.10.
Christopher Ferris [Tue, 31 Mar 2015 21:57:48 +0000 (14:57 -0700)]
Upgrade kernel headers to 3.18.10.

Change-Id: Iff1f1c830780585990856a5114b559c61282dcd6

9 years agoam 52a0f014: Merge "Fix long lines and replace macros with functions."
Dmitriy Ivanov [Tue, 31 Mar 2015 20:28:51 +0000 (20:28 +0000)]
am 52a0f014: Merge "Fix long lines and replace macros with functions."

* commit '52a0f01421fde3cd4f879b491a9f491d792fa2d5':
  Fix long lines and replace macros with functions.

9 years agoMerge "Fix long lines and replace macros with functions."
Dmitriy Ivanov [Tue, 31 Mar 2015 20:19:52 +0000 (20:19 +0000)]
Merge "Fix long lines and replace macros with functions."

9 years agoFix long lines and replace macros with functions.
Dmitriy Ivanov [Tue, 31 Mar 2015 01:43:38 +0000 (18:43 -0700)]
Fix long lines and replace macros with functions.

Change-Id: I4e1cab488d5b2c8e4289da617350a86e72a4ba12

9 years agoMake ThreadLocalBuffer a class rather than a macro.
Elliott Hughes [Tue, 31 Mar 2015 17:56:58 +0000 (10:56 -0700)]
Make ThreadLocalBuffer a class rather than a macro.

Bug: 19995392
Change-Id: I497c512648fbe66257da3fb3bcd5c9911f983705

9 years agoam 611fd2cc: Merge "Revert "Revert "add guard pages to the internal signal stacks"""
Yabin Cui [Tue, 31 Mar 2015 04:36:45 +0000 (04:36 +0000)]
am 611fd2cc: Merge "Revert "Revert "add guard pages to the internal signal stacks"""

* commit '611fd2cc91f79be6759f6e630e1e81998326dfe8':
  Revert "Revert "add guard pages to the internal signal stacks""

9 years agoMerge "Revert "Revert "add guard pages to the internal signal stacks"""
Yabin Cui [Tue, 31 Mar 2015 04:24:07 +0000 (04:24 +0000)]
Merge "Revert "Revert "add guard pages to the internal signal stacks"""

9 years agoRevert "Revert "add guard pages to the internal signal stacks""
Yabin Cui [Tue, 31 Mar 2015 03:03:57 +0000 (20:03 -0700)]
Revert "Revert "add guard pages to the internal signal stacks""

This reverts commit a3125fd1396a09a7fc4872dc4653f342150a3deb.
And Fix the prctl() problem that cause system crash.

Change-Id: Icc8d12d848cfba881a7984ca2827fd81be41f9fd

9 years agoam 8225ad63: Merge "Revert "add guard pages to the internal signal stacks""
Elliott Hughes [Tue, 31 Mar 2015 02:54:14 +0000 (02:54 +0000)]
am 8225ad63: Merge "Revert "add guard pages to the internal signal stacks""

* commit '8225ad63fac7c5cc298884c101a344959b87dc39':
  Revert "add guard pages to the internal signal stacks"

9 years agoam 2746b928: Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to...
Elliott Hughes [Tue, 31 Mar 2015 02:54:11 +0000 (02:54 +0000)]
am 2746b928: Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""

* commit '2746b9289abc0fd5e38b94fc96d101e5e242d9f2':
  Revert "Fix clang build breakage ("arithmetic on a pointer to void")."

9 years agoMerge "Revert "add guard pages to the internal signal stacks""
Elliott Hughes [Tue, 31 Mar 2015 02:42:50 +0000 (02:42 +0000)]
Merge "Revert "add guard pages to the internal signal stacks""

9 years agoRevert "add guard pages to the internal signal stacks"
Elliott Hughes [Tue, 31 Mar 2015 02:42:39 +0000 (02:42 +0000)]
Revert "add guard pages to the internal signal stacks"

This reverts commit 595752f623ae88f7e4193a6e531a0805f1c6c4dc.

Change-Id: Iefa66e9049ca0424e53cd5fc320d161b93556dcb

9 years agoMerge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""
Elliott Hughes [Tue, 31 Mar 2015 02:41:32 +0000 (02:41 +0000)]
Merge "Revert "Fix clang build breakage ("arithmetic on a pointer to void").""

9 years agoRevert "Fix clang build breakage ("arithmetic on a pointer to void")."
Elliott Hughes [Tue, 31 Mar 2015 02:41:20 +0000 (02:41 +0000)]
Revert "Fix clang build breakage ("arithmetic on a pointer to void")."

This reverts commit 16c77212792808b9e4d8229e64c5b42f4327b6dc.

Change-Id: I568dee5400599693b1585ce6d4be7a0b5f37dc74

9 years agoam 2d84d870: Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
Elliott Hughes [Mon, 30 Mar 2015 21:45:37 +0000 (21:45 +0000)]
am 2d84d870: Merge "Fix clang build breakage ("arithmetic on a pointer to void")."

* commit '2d84d870db0e6db54cf09441434bf2f5b28c6492':
  Fix clang build breakage ("arithmetic on a pointer to void").

9 years agoam 373748f4: Merge "add guard pages to the internal signal stacks"
Elliott Hughes [Mon, 30 Mar 2015 21:35:56 +0000 (21:35 +0000)]
am 373748f4: Merge "add guard pages to the internal signal stacks"

* commit '373748f4c66bb37e564716590e7b4fc8a64e0884':
  add guard pages to the internal signal stacks

9 years agoMerge "Fix clang build breakage ("arithmetic on a pointer to void")."
Elliott Hughes [Mon, 30 Mar 2015 21:34:07 +0000 (21:34 +0000)]
Merge "Fix clang build breakage ("arithmetic on a pointer to void")."

9 years agoFix clang build breakage ("arithmetic on a pointer to void").
Elliott Hughes [Mon, 30 Mar 2015 21:33:02 +0000 (14:33 -0700)]
Fix clang build breakage ("arithmetic on a pointer to void").

Change-Id: Ia0953fc1cd0f8ea2d4423b3c6e34f6dc7a9f31e9

9 years agoMerge "add guard pages to the internal signal stacks"
Elliott Hughes [Mon, 30 Mar 2015 21:24:35 +0000 (21:24 +0000)]
Merge "add guard pages to the internal signal stacks"

9 years agoadd guard pages to the internal signal stacks
Daniel Micay [Sun, 29 Mar 2015 04:03:55 +0000 (00:03 -0400)]
add guard pages to the internal signal stacks

Signal handlers tend to be lean, but can still overflow the (tiny)
stack.

Change-Id: Ia21c6453d92a9f8d1536ad01ff26a1a84c05f8fb

9 years agoam 203082b8: Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
Nick Kralevich [Fri, 27 Mar 2015 23:22:04 +0000 (23:22 +0000)]
am 203082b8: Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"

* commit '203082b8217cd853eee510ad371b382701960610':
  linker_environ: clear MALLOC_CONF when AT_SECURE=1

9 years agoam 5c136382: Merge "Fix libstdc++.so hash-style."
Dmitriy Ivanov [Fri, 27 Mar 2015 23:22:02 +0000 (23:22 +0000)]
am 5c136382: Merge "Fix libstdc++.so hash-style."

* commit '5c136382a6f1ad796a60463898d4c08fadead669':
  Fix libstdc++.so hash-style.

9 years agoMerge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"
Nick Kralevich [Fri, 27 Mar 2015 22:55:20 +0000 (22:55 +0000)]
Merge "linker_environ: clear MALLOC_CONF when AT_SECURE=1"

9 years agolinker_environ: clear MALLOC_CONF when AT_SECURE=1
Nick Kralevich [Fri, 27 Mar 2015 21:01:00 +0000 (14:01 -0700)]
linker_environ: clear MALLOC_CONF when AT_SECURE=1

Clear JE_MALLOC_CONF and MALLOC_CONF

Change-Id: Ia76e263783194ecaa362e8ccafbe13a28a4a1ba6

9 years agoMerge "Fix libstdc++.so hash-style."
Dmitriy Ivanov [Fri, 27 Mar 2015 22:46:52 +0000 (22:46 +0000)]
Merge "Fix libstdc++.so hash-style."

9 years agoFix libstdc++.so hash-style.
Dmitriy Ivanov [Fri, 27 Mar 2015 22:27:07 +0000 (15:27 -0700)]
Fix libstdc++.so hash-style.

Bug: 19059885
Bug: 19958712
Change-Id: I167457a54cc688d64912a50f5fb75e4e2f3e3937

9 years agoam cd79a59b: Merge "Add test for thread_local keyword."
Dmitriy Ivanov [Fri, 27 Mar 2015 21:41:56 +0000 (21:41 +0000)]
am cd79a59b: Merge "Add test for thread_local keyword."

* commit 'cd79a59b18f8e81b5f37258f376a726dc8acb81a':
  Add test for thread_local keyword.

9 years agoMerge "Add test for thread_local keyword."
Dmitriy Ivanov [Fri, 27 Mar 2015 20:07:33 +0000 (20:07 +0000)]
Merge "Add test for thread_local keyword."

9 years agoAdd test for thread_local keyword.
Dmitriy Ivanov [Thu, 26 Mar 2015 18:07:04 +0000 (11:07 -0700)]
Add test for thread_local keyword.

  For gcc only for the time being.

Bug: 19800080
Bug: 16696563
Change-Id: Ifaa59a131ca2d9030554cee7ce631dcb1d081938

9 years agoam cfd794a9: Merge "Explain why we need objcopy for the linker"
Dmitriy Ivanov [Fri, 27 Mar 2015 00:01:30 +0000 (00:01 +0000)]
am cfd794a9: Merge "Explain why we need objcopy for the linker"

* commit 'cfd794a96d0c4f1d97e54b701b408dafdb514d17':
  Explain why we need objcopy for the linker

9 years agoMerge "Explain why we need objcopy for the linker"
Dmitriy Ivanov [Thu, 26 Mar 2015 23:49:23 +0000 (23:49 +0000)]
Merge "Explain why we need objcopy for the linker"

9 years agoExplain why we need objcopy for the linker
Dmitriy Ivanov [Thu, 26 Mar 2015 23:47:18 +0000 (16:47 -0700)]
Explain why we need objcopy for the linker

Change-Id: I646673abc6095b56f72add493b60925375b75b78

9 years agoam 8f3eb5a4: Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""
Yabin Cui [Thu, 26 Mar 2015 18:27:10 +0000 (18:27 +0000)]
am 8f3eb5a4: Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""

* commit '8f3eb5a4e5dbbac1fb431e40e25eec07ecc24ee8':
  Revert "Cause Fatal error when invalid pthread_id is detected."

9 years agoam 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."
Simon Baldwin [Thu, 26 Mar 2015 18:16:10 +0000 (18:16 +0000)]
am 7c01e3a9: Merge "Fix comment drift in assorted relocation packer modules."

* commit '7c01e3a9ba80c85c7e7998d2347885e9a6e3bbf2':
  Fix comment drift in assorted relocation packer modules.

9 years agoMerge "Revert "Cause Fatal error when invalid pthread_id is detected.""
Yabin Cui [Thu, 26 Mar 2015 18:14:22 +0000 (18:14 +0000)]
Merge "Revert "Cause Fatal error when invalid pthread_id is detected.""

9 years agoRevert "Cause Fatal error when invalid pthread_id is detected."
Yabin Cui [Thu, 26 Mar 2015 18:13:07 +0000 (18:13 +0000)]
Revert "Cause Fatal error when invalid pthread_id is detected."

Some code like in https://buganizer.corp.google.com/u/0/issues/19942911 need to change first.

This reverts commit 03324780aae9ff28c8acf52debf0ea39120e5ab8.

Change-Id: I13ff1e5b3d0672bae9cde234ffba32fbbf33d338

9 years agoam f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"
Dmitriy Ivanov [Thu, 26 Mar 2015 18:08:37 +0000 (18:08 +0000)]
am f2d153f8: Merge "Initial implementation of __cxa_thread_atexit_impl"

* commit 'f2d153f836e529892854b91452fabd2c2fa79c05':
  Initial implementation of __cxa_thread_atexit_impl

9 years agoMerge "Fix comment drift in assorted relocation packer modules."
Simon Baldwin [Thu, 26 Mar 2015 18:01:13 +0000 (18:01 +0000)]
Merge "Fix comment drift in assorted relocation packer modules."

9 years agoMerge "Initial implementation of __cxa_thread_atexit_impl"
Dmitriy Ivanov [Thu, 26 Mar 2015 17:50:23 +0000 (17:50 +0000)]
Merge "Initial implementation of __cxa_thread_atexit_impl"

9 years agoFix comment drift in assorted relocation packer modules.
Simon Baldwin [Thu, 26 Mar 2015 17:13:19 +0000 (17:13 +0000)]
Fix comment drift in assorted relocation packer modules.

Some of the commentary in relocation packer code is relevant
only to the packing strategy employed by chromium, and no
longer applies here.  This change fixes or deletes it.

Code comment change only; no functional effect.

Change-Id: Id229ee1d802bba608be15b79bc75bf90df557dab
Signed-off-by: Simon Baldwin <simonb@google.com>
9 years agoam 7f8d91ea: Merge "Remove unused/unusable relocation packer files."
Simon Baldwin [Thu, 26 Mar 2015 16:55:09 +0000 (16:55 +0000)]
am 7f8d91ea: Merge "Remove unused/unusable relocation packer files."

* commit '7f8d91ea8e24e89db39ae868085913e763e04557':
  Remove unused/unusable relocation packer files.

9 years agoMerge "Remove unused/unusable relocation packer files."
Simon Baldwin [Thu, 26 Mar 2015 16:41:00 +0000 (16:41 +0000)]
Merge "Remove unused/unusable relocation packer files."

9 years agoam b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK...
Yabin Cui [Thu, 26 Mar 2015 04:36:16 +0000 (04:36 +0000)]
am b9232c94: Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."

* commit 'b9232c94da831d485b3896580a3d1ac9abc46a4f':
  Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER.

9 years agoMerge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIA...
Yabin Cui [Thu, 26 Mar 2015 04:21:15 +0000 (04:21 +0000)]
Merge "Remove PTHREAD_RECURSIVE_MUTEX_INITIALIZER and PTHREAD_ERRORCHECK_MUTEX_INITIALIZER."

9 years agoam 69847bc2: Merge "Hide internal of pthread_mutex_t."
Yabin Cui [Thu, 26 Mar 2015 04:19:40 +0000 (04:19 +0000)]
am 69847bc2: Merge "Hide internal of pthread_mutex_t."

* commit '69847bc298de62917663d22b6733ef75b57124fa':
  Hide internal of pthread_mutex_t.