Yabin Cui
a74eb4dbf5
Merge "Add fileno_unlocked to support thread sanitizer."
...
am: 0e6542b75b
* commit '0e6542b75b2f3ca155b452782d2122f34f807485':
Add fileno_unlocked to support thread sanitizer.
2015-11-07 00:30:09 +00:00
Yabin Cui
fb994f4c04
Add fileno_unlocked to support thread sanitizer.
...
Bug: 25392375
Change-Id: If3f92a0e08a53f4b59e01397e8efa307d8572349
2015-11-06 16:13:47 -08:00
Elliott Hughes
4eba804ca0
Merge "fix the mremap signature"
...
am: 8b5b2c4672
* commit '8b5b2c467281de502ba1c8ffbe447ef95fbf5219':
fix the mremap signature
2015-11-06 21:24:59 +00:00
Daniel Micay
4200e260d2
fix the mremap signature
...
The mremap definition was incorrect (unsigned long instead of int) and
it was missing the optional new_address parameter.
Change-Id: Ib9d0675aaa098c21617cedc9b2b8cf267be3aec4
2015-11-06 13:14:43 -08:00
Colin Cross
10c6a7c7b9
Merge "Use cc_defaults"
...
am: ef5e647891
* commit 'ef5e647891f1a0aefeab4a87e9225e47087c6301':
Use cc_defaults
2015-11-05 02:00:22 +00:00
Colin Cross
ef5e647891
Merge "Use cc_defaults"
2015-11-05 01:56:58 +00:00
Josh Gao
824084ce76
Merge "Fix GNU/POSIX basename headers."
...
am: dd7dcfcfdb
* commit 'dd7dcfcfdbab3b38fc40551defdf81c3b734e336':
Fix GNU/POSIX basename headers.
2015-11-04 22:28:19 +00:00
Josh Gao
dd7dcfcfdb
Merge "Fix GNU/POSIX basename headers."
2015-11-04 22:26:13 +00:00
Josh Gao
eb9b925012
Fix GNU/POSIX basename headers.
...
Including glibc's <libgen.h> will result in the user getting the POSIX
version of basename always, regardless of when it is included relative
to <string.h>. Prior to this patch, our implementation would result in
the one that's included first winning.
Bug: http://b/25459151
Change-Id: Id4aaf1670dad317d6bbc05763a84ee87596e8e59
2015-11-04 14:19:55 -08:00
Colin Cross
50c21ab47d
Use cc_defaults
...
Use a cc_defaults module to reduce duplication.
Change-Id: Iaee6bf20b84123babcdc68d4feb06308f5f61a59
2015-11-03 17:25:36 -08:00
Dan Willemsen
021d959eba
Merge "Update Android.bp with arch-specific version scripts"
...
am: 4b920f042a
* commit '4b920f042ac4b35c4dd3ff51f7b8f164a22e3500':
Update Android.bp with arch-specific version scripts
2015-11-03 23:26:08 +00:00
Josh Gao
a59479434c
Merge "fix PTRDIFF_MAX check in the 32-bit mmap wrapper"
...
am: af909869d8
* commit 'af909869d868585a47914ab51536192da50935cb':
fix PTRDIFF_MAX check in the 32-bit mmap wrapper
2015-11-03 23:25:55 +00:00
Dan Willemsen
9e6f98fe9d
Update Android.bp with arch-specific version scripts
...
Change-Id: I59b34f21b54e8a2084bb318a08c4092064f48083
2015-11-03 14:30:57 -08:00
Bill Yi
a4bff2106b
Merge commit '6ebfb7b4ea158005a725f43564267e0aed764d80' into HEAD
2015-11-03 14:28:57 -08:00
Daniel Micay
706186d266
fix PTRDIFF_MAX check in the 32-bit mmap wrapper
...
It wasn't making use of the page-rounded size.
Change-Id: I911345fcfd6419a4dbc18a4622b42e1b76729abb
2015-11-03 05:30:29 -05:00
Christopher Ferris
384ffe3463
Fix comment to reflect the actual reality.
...
The original comment implied that Android 32 bit was the only one
using a bad time_t, but it turns out 32 bit glibc has the same time_t
as Android. Update the comment to reflect this reality.
Change-Id: I72cdd2c677a6521f7b43d4695a52fd8fdc3305bd
2015-11-02 12:56:37 -08:00
Dimitry Ivanov
75dd3710e7
Merge "Generate libdl.so per-architecture version script"
2015-10-31 18:17:17 +00:00
Dmitriy Ivanov
bc75047a1b
Generate libdl.so per-architecture version script
...
Bug: http://b/24767418
Change-Id: I3d5775ba44d4c8e7fc5f2fbebae10e022100f1e2
2015-10-30 17:43:27 -07:00
Christopher Ferris
1721cd6a74
Make _signal hidden in all cases.
...
_signal was static in 64 bit, and hidden on 32 bit. There is no
reason to have this distinction, so make it hidden in all cases.
Change-Id: I09d5d93ac8cab4fe14dc7bdfeb25aa46a3b7413d
2015-10-30 17:10:47 -07:00
Elliott Hughes
c36be975ce
Merge "Add prlimit to LP32."
2015-10-30 23:35:40 +00:00
Elliott Hughes
bdac9ec142
Merge "Remove <sys/shm.h>."
2015-10-30 22:06:26 +00:00
Elliott Hughes
38eca07826
Remove <sys/shm.h>.
...
Android doesn't allow SysV IPC, so this only serves two purposes. It's
good in that it helps random code (especially code that doesn't actually
need this header) to compile anyway. But it's bad for the same reason:
it's misleading for configure scripts that test for the header but not
for the corresponding functions.
Bug: http://b/19340456
Change-Id: I4a5f319d9aecf46fc512fc94bb4f9e3f6ea64e71
2015-10-29 19:52:44 -07:00
Christopher Ferris
9978a9a82e
Move __set_errno to ndk_cruft.cpp.
...
Change-Id: I5caa1cc161961d2e4629429c0d406875b93cdbd0
2015-10-29 18:11:32 -07:00
Elliott Hughes
4151db5f99
Add prlimit to LP32.
...
Bug: http://b/24918750
Change-Id: I0151cd66ccf79a6169610de35bb9c288c0fa4917
2015-10-28 20:04:59 -07:00
Dimitry Ivanov
316938a676
Merge "Fix LDFLAGS for arm and x86" am: 5ccad497d4
...
am: bd5bf272a0
* commit 'bd5bf272a0fbb65ad1658106cde4c2ec5f5ce520':
Fix LDFLAGS for arm and x86
2015-10-29 00:50:51 +00:00
Dmitriy Ivanov
e85fb580c8
Fix LDFLAGS for arm and x86
...
Change-Id: I5366f4499cb4da3a51b8484ab3e4ff785f0888ab
2015-10-28 17:25:34 -07:00
Dimitry Ivanov
c5f943eb2e
Merge "Generate per-architecture version scripts." am: 578d949e8d
...
am: b420ddd27e
* commit 'b420ddd27e1ce0becf0e57c0fc0efe9ec726ab21':
Generate per-architecture version scripts.
2015-10-28 23:55:10 +00:00
Elliott Hughes
7f337bd1e3
Merge "Remove the legacy endusershell/getusershell/setusershell stubs." am: d9146c2404
...
am: 601183efaf
* commit '601183efafffb2a145736b4a3f73be1034d761b0':
Remove the legacy endusershell/getusershell/setusershell stubs.
2015-10-28 23:48:12 +00:00
Dmitriy Ivanov
284b468524
Generate per-architecture version scripts.
...
Bug: http://b/24767418
Change-Id: I23e49d8d30c0def3215ffbd99d09f207d9483624
2015-10-28 16:40:53 -07:00
Elliott Hughes
d7c7daada2
Remove the legacy endusershell/getusershell/setusershell stubs.
...
These don't work, aren't thread-safe, aren't in POSIX (or our header
files), and are only used by one app (whose developers I've contacted).
But the presence of these symbols causes configure to be confused, which
is a pain for Brillo.
Bug: http://b/24812426
Change-Id: I7fa6ef82864d5563929d9b8a7f8fcacb30b26d45
2015-10-28 14:20:16 -07:00
Elliott Hughes
2c11b07ee0
Merge "Implement scandirat and scandirat64." am: 1721be2229
...
am: a1be410fd7
* commit 'a1be410fd7f916063164fd9daf28ca992af828d7':
Implement scandirat and scandirat64.
2015-10-27 22:02:54 +00:00
Elliott Hughes
1721be2229
Merge "Implement scandirat and scandirat64."
2015-10-27 21:40:31 +00:00
Elliott Hughes
6331e806de
Implement scandirat and scandirat64.
...
Bug: http://b/12612339
Change-Id: Id3b249a884fe08964b26a017ae9574961f0cb441
2015-10-27 13:47:36 -07:00
Dimitry Ivanov
75347e52b0
Merge "Implement load at fixed address feature" am: 5238eb0984
...
am: 9e599956b2
* commit '9e599956b2ece835b480182eee27209b4a831a19':
Implement load at fixed address feature
2015-10-27 19:17:38 +00:00
Dimitry Ivanov
5238eb0984
Merge "Implement load at fixed address feature"
2015-10-27 19:03:53 +00:00
Dmitriy Ivanov
126af757c6
Implement load at fixed address feature
...
Bug: http://b/24683631
Change-Id: I3a39ab526c8f9e213339b60e135e5459d0f41381
2015-10-27 11:27:34 -07:00
Elliott Hughes
3b9b14830b
Merge "Fix <utmp.h> declarations." am: 60752a2eea
...
am: 6e780f2f47
* commit '6e780f2f47655ce264cfe90c4a721eb609fdbfec':
Fix <utmp.h> declarations.
2015-10-27 15:15:10 +00:00
Elliott Hughes
9216a64c90
Fix <utmp.h> declarations.
...
If we're going to keep this useless header -- and I think it's too late to
remove it -- it may as well be correct.
Bug: http://b/17700469
Change-Id: Ifec4f8f1a984483d7fa7d81d47786f75b70ff4ba
2015-10-26 19:29:12 -07:00
Elliott Hughes
164bd7349b
Merge "Remove swap16/swap32/swap64 header pollution." am: a2cf3783d4
...
am: 00e9bfe523
* commit '00e9bfe523a045131142b13a766774f1ee43555e':
Remove swap16/swap32/swap64 header pollution.
2015-10-27 02:14:39 +00:00
Elliott Hughes
bf4c32df6b
Remove swap16/swap32/swap64 header pollution.
...
This seems to be obsolete BSD stuff, and the only references to it in the
tree are people #undef'ing it.
Bug: http://b/2735009
Change-Id: Icde523ae2d15cf1025357d861f97b415e89e4f9a
2015-10-26 17:51:42 -07:00
Christopher Ferris
c9ad2274b2
Merge "Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC." am: ca430d9787
...
am: c5b9c4d72f
* commit 'c5b9c4d72f141fea8b03561c0c8f5f7068ea93ea':
Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC.
2015-10-23 21:08:31 +00:00
Christopher Ferris
a818445622
Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC.
...
Change-Id: If4da9e46398ca5524f6f0680d70588e3dc7e80b4
2015-10-23 12:32:52 -07:00
Andreas Gampe
bdff4ce8ed
resolve merge conflicts of 216bff9ff3 to mnc-dr-dev.
...
am: 807032d0e1
* commit '807032d0e12877a4c92ac7f6072d5dd9e1f76f3c':
Sync with upstream NetBSD lib/libc/regex.
2015-10-23 05:39:52 +00:00
Andreas Gampe
807032d0e1
resolve merge conflicts of 216bff9ff3 to mnc-dr-dev.
...
Change-Id: I63c4f3a4e56f30d6f476ad2c623c23ee7e1a3778
2015-10-22 22:15:26 -07:00
Yabin Cui
d26e780df6
Use bionic lock in pthread_internal_t.
...
It removes calling to pthread_mutex_lock() at the beginning of new
thread, which helps to support thread sanitizer.
Change-Id: Ia3601c476de7976a9177b792bd74bb200cee0e13
2015-10-22 20:14:33 -07:00
Christopher Ferris
216bff9ff3
resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.
...
am: afff4442ae
* commit 'afff4442ae092469f298a71862d61c65ceb67b03':
Sync with upstream NetBSD lib/libc/regex.
2015-10-22 22:27:54 +00:00
Christopher Ferris
afff4442ae
resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev.
...
Change-Id: I56c1bb2adb4b6a48733c928415e788e689b4944e
2015-10-21 14:56:52 -07:00
Elliott Hughes
d676080a37
Sync with upstream NetBSD lib/libc/regex.
...
am: 055a66c9b1
* commit '055a66c9b1017c01b82c12b65a571bf9efad8b19':
Sync with upstream NetBSD lib/libc/regex.
2015-10-21 21:45:01 +00:00
Dan Willemsen
5edf077c5b
Merge "Switch to LOCAL_SRC_FILES_EXCLUDE"
2015-10-20 20:44:29 +00:00
Dan Willemsen
268a673bd1
Switch to LOCAL_SRC_FILES_EXCLUDE
...
This moves the generic arm/arm64/x86 settings into the main makefiles
and makes the rest of them derivatives. This better aligns with how
soong handles arch/cpu variants.
Also updates the Android.bp to make it consistent with the make
versions.
Change-Id: I5a0275d992bc657459eb6fe1697ad2336731d122
2015-10-20 11:58:28 -07:00