Commit Graph

8619 Commits

Author SHA1 Message Date
Calin Juravle
60e1132460 am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit '4d695bf5606f2cf4029a7ff4e6dd61073407d3b0':
  Align struct passwd definition with other variations of libc
2014-05-12 09:58:20 +00:00
Calin Juravle
7bec1212c7 Reserve space for the future in statvfs(64)
The kernel struct has some spare space at the end too, and some extra
fields, so having a bit of flexibility in statvfs might be worthwhile.

Bug: 14681331
Bug: 12875898
Change-Id: I5b502c5dd9d2e3bb8f34804f83c02669cefce01e
2014-05-12 10:56:39 +01:00
Calin Juravle
4d695bf560 Merge "Align struct passwd definition with other variations of libc" 2014-05-12 09:53:41 +00:00
Elliott Hughes
d35f1b508e am 5ce362b4: am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit '5ce362b4c5a942beea8dc90542f00d19b3b49845':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:46:15 +00:00
Elliott Hughes
5ce362b4c5 am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit 'cf113ab91d30d7c984889b1ee26131aeac71c6d4':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:41:53 +00:00
Elliott Hughes
cf113ab91d am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit '4b57305afe2b54a6afb733361f6fd93cb92ccfa8':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:37:14 +00:00
Elliott Hughes
4b57305afe Merge "Bring in google3-style DISALLOW_* macros." 2014-05-10 03:32:28 +00:00
Elliott Hughes
8eac9af24e Bring in google3-style DISALLOW_* macros.
I've been meaning to do this for a very long time...

Change-Id: Ia8c16eee7c026c3c9505399948485fb778fb0152
2014-05-09 19:12:08 -07:00
Elliott Hughes
4e499eb7bf am f05495fd: am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'f05495fdab6a73575560190ae88cc0f2ba0a5a74':
  Align the child stack in clone(2).
2014-05-10 00:51:17 +00:00
Elliott Hughes
f05495fdab am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'c66df5e92d5ccb7ee6dce58107f042b367f074dc':
  Align the child stack in clone(2).
2014-05-10 00:47:04 +00:00
Elliott Hughes
c66df5e92d am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'b2c3c803f0f4a50acfdc31eb28bd83b48a0026fe':
  Align the child stack in clone(2).
2014-05-10 00:42:01 +00:00
Elliott Hughes
b2c3c803f0 Merge "Align the child stack in clone(2)." 2014-05-10 00:38:51 +00:00
Elliott Hughes
0d236aa3f1 Align the child stack in clone(2).
Also let clone(2) set the TLS for x86.

Also ensure we initialize the TLS before we clone(2) for all architectures.

Change-Id: Ie5fa4466e1c9ee116a281dfedef574c5ba60c0b5
2014-05-09 17:06:51 -07:00
Elliott Hughes
656e405f8b am 1bca28eb: am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '1bca28eb0d75763ba1813bed65b68f913dc6d79e':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:54:56 +00:00
Christopher Ferris
e58f9950ae am 262700ac: am aabcf287: am b222097d: Merge "Use larger neon instructions for moving data."
* commit '262700ac96e4cdb299f542e7e7723b980dd2244f':
  Use larger neon instructions for moving data.
2014-05-09 21:54:55 +00:00
Elliott Hughes
1bca28eb0d am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '0db4c69087fab71cfe3f4874721af36330ea3d8d':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:36:11 +00:00
Elliott Hughes
0db4c69087 am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '8fa5c2528c04df00f9f9a3dc4047ae88d3f13524':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:31:44 +00:00
Calin Juravle
c768874c66 Align struct passwd definition with other variations of libc
Add pg_gecos ("real name") field to struct passwd.

Bug: 14679430
Bug: 12875898
Change-Id: I833ec2c46f6a6259b7232a8e3f7942968ef0b50d
2014-05-09 22:29:23 +01:00
Elliott Hughes
8fa5c2528c Merge "Align arm64 stacks to 16 bytes in __bionic_clone." 2014-05-09 21:28:05 +00:00
Christopher Ferris
262700ac96 am aabcf287: am b222097d: Merge "Use larger neon instructions for moving data."
* commit 'aabcf2871d6ca096b3a0ba5c2ba5ef5691e1ca71':
  Use larger neon instructions for moving data.
2014-05-09 21:20:11 +00:00
Christopher Ferris
aabcf2871d am b222097d: Merge "Use larger neon instructions for moving data."
* commit 'b222097dae05dfbca8000a18e0629c6bca7584c4':
  Use larger neon instructions for moving data.
2014-05-09 21:15:24 +00:00
Christopher Ferris
b222097dae Merge "Use larger neon instructions for moving data." 2014-05-09 21:09:55 +00:00
Elliott Hughes
fff3c0fdcf Align arm64 stacks to 16 bytes in __bionic_clone.
Also ensure that arm64/x86-64/x86 assembler uses local labels.
(There are are so many non-local labels in arm that fixing them
seems out of scope.)

Also synchronize the __bionic_clone.S comments.

Change-Id: I03b4f84780d996b54d6637a074638196bbb01cd4
2014-05-09 12:16:20 -07:00
Christopher Ferris
2146d142b2 Use larger neon instructions for moving data.
Included is a new target generic-neon that will use neon instructions
on 64 bit platforms where appropriate.

Change-Id: Iaf71b768780aa9240a24539cd87666ca9298e4c6
2014-05-09 11:29:37 -07:00
Elliott Hughes
137945c0d5 am 5f98c5a5: am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit '5f98c5a54a63be80c59bcdf0d278c3e37cf9b325':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:26:26 +00:00
Elliott Hughes
5f98c5a54a am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit 'df3aa079cc676bbbc5f9d31044925c7d99fed53d':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:21:29 +00:00
Elliott Hughes
df3aa079cc am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit '55b4c8a4a15723f7c5f68b9ab167fbdea0c4e610':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:18:37 +00:00
Elliott Hughes
55b4c8a4a1 Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details." 2014-05-09 16:13:52 +00:00
Elliott Hughes
68c937b929 am 529cb6c4: am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '529cb6c44d43c060d5bc4173599235e56fbf1d68':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 09:36:06 +00:00
Elliott Hughes
529cb6c44d am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '5a61272b09c577e9c09eda667078d771100bc823':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 08:22:51 +00:00
Elliott Hughes
5a61272b09 am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit 'adfc007dbf936bd021d79ba2d2c360a3cfc77be9':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 04:36:03 +00:00
Elliott Hughes
adfc007dbf Merge "Declare sincos/sincosf/sincosl in <math.h>." 2014-05-09 04:33:31 +00:00
Elliott Hughes
b4f2f28054 Declare sincos/sincosf/sincosl in <math.h>.
Change-Id: If7b98f98c7ab4d3d77d310be082bff64512d51a8
2014-05-08 21:19:12 -07:00
Dmitriy Ivanov
61df017831 am 0d223900: am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '0d2239003a06bb53a5191eb8689ce0afc03fb23f':
  Test dlopen with symlinked .so files
2014-05-09 02:17:04 +00:00
Dmitriy Ivanov
0d2239003a am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '3f357c72cdb26abc1fdbbf04796e50553752d8a6':
  Test dlopen with symlinked .so files
2014-05-09 02:11:06 +00:00
Elliott Hughes
954cf0d4e2 Hide the __bionic_clone and __bionic_clone_entry implementation details.
clone(2) is the public symbol.

Also switch a test from __bionic_clone to clone; testing public API
means the test now works on glibc too.

Change-Id: If59def26a00c3afadb8a6cf9442094c35a59ffde
2014-05-08 19:00:23 -07:00
Dmitriy Ivanov
3f357c72cd am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '29d10e3de8f5258fec25174eb5f55eb19577859e':
  Test dlopen with symlinked .so files
2014-05-09 00:56:07 +00:00
Dmitriy Ivanov
29d10e3de8 Merge "Test dlopen with symlinked .so files" 2014-05-09 00:52:08 +00:00
Elliott Hughes
a8baee874f am 0769a6d7: am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit '0769a6d70ea4751de0b92ee3daecf73cbebd4a0f':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:04:27 +00:00
Elliott Hughes
0769a6d70e am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit 'c6854d5a34c956b00c6e5557adf42686e65f69e1':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:01:03 +00:00
Elliott Hughes
c6854d5a34 am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit '170daa042cb0ef3e5d7839f79d052a683b3c670f':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-08 23:56:46 +00:00
Elliott Hughes
170daa042c Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer" 2014-05-08 23:52:59 +00:00
Dmitriy Ivanov
ffdaf4d416 am 4a9e8a9a: am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '4a9e8a9ab725f932c66d24d7c7c4f53fe3e79b41':
  Remove support for non-PIE executables
2014-05-08 21:43:09 +00:00
Dmitriy Ivanov
7db180919c Test dlopen with symlinked .so files
Bug: 9741592
Change-Id: I68c59d6f4e690136395c3dc3de13f99ce38de528
2014-05-08 14:28:34 -07:00
Dmitriy Ivanov
4a9e8a9ab7 am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '125a10b8e25c5cf37b744f2181d30a64b500624a':
  Remove support for non-PIE executables
2014-05-08 20:58:40 +00:00
Dmitriy Ivanov
125a10b8e2 am b6964524: Merge "Remove support for non-PIE executables"
* commit 'b69645248887ddb88517b07c1617d390fdce9c9f':
  Remove support for non-PIE executables
2014-05-08 20:55:57 +00:00
Dmitriy Ivanov
b696452488 Merge "Remove support for non-PIE executables" 2014-05-08 20:52:10 +00:00
Nick Kralevich
2aebf5429b Remove support for non-PIE executables
Don't support the dynamic linker loading ET_EXEC executables. Only
support ET_DYN executables.

Bug: 14566672
Change-Id: Ia1f2bfffe7ea867c1cd62e67d7fd637c60c0728d
2014-05-08 13:17:17 -07:00
Elliott Hughes
b91610c95a am 8eed5d8b: am fae100f9: am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit '8eed5d8bca6a3a2810bce17c2316ad44a3daa191':
  Fix LOG_ID_CRASH build failure.
2014-05-08 18:31:14 +00:00
Elliott Hughes
19d97abe9b am 64b53953: am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '64b539533dc3a6ca21c680003d60fe1fcdd6fbdb':
  Send bionic's fatal logging to the crash log.
2014-05-08 18:31:12 +00:00