Christopher Ferris
6425327c32
Use the mmap/munmap for allocation routines.
...
To avoid any issues calling malloc related routines, use mmap/munmap.
Specifically, this avoids any problems when this is compiled into a
malloc debug shared library.
Change-Id: Iae2d197145da43dc103ad6024357d8cc2374378f
2014-07-18 14:16:51 -07:00
Elliott Hughes
d18b87f38d
Merge "Remove SIOCKILLADDR from <sys/socket.h>."
2014-07-17 22:33:42 +00:00
Elliott Hughes
8a3d1ca183
Remove SIOCKILLADDR from <sys/socket.h>.
...
Change-Id: I6b64a9abe01c786a9ec26aee1517cb981a4860fb
2014-07-17 17:10:02 -07:00
Elliott Hughes
76282482db
Merge "Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>."
2014-07-17 22:33:42 +00:00
Elliott Hughes
9f165d24f0
Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.
...
Change-Id: Ie70f23c80e8473ac9617b74967d7c84709f5b00d
2014-07-17 17:12:35 -07:00
Elliott Hughes
6bf42ddc79
Merge "Fix private/bionic_name_mem.h build breakage."
2014-07-17 21:58:34 +00:00
Elliott Hughes
2f9c6e38b8
Fix private/bionic_name_mem.h build breakage.
...
Change-Id: I8fe9c63dbbb5911721ca56791c0bff4bdf403314
2014-07-17 15:09:17 -07:00
Elliott Hughes
169e2bf6bd
Merge "Remove non-standard prctl constants from <sys/prctl.h>."
2014-07-17 17:59:29 +00:00
Elliott Hughes
d7453860a6
Remove non-standard prctl constants from <sys/prctl.h>.
...
Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.
Change-Id: I833744f91e887639f5b2d1269f966ee9032af207
2014-07-17 14:26:33 -07:00
Hans Boehm
43363ab720
Merge "Define atomic_charN_t only if charN_t is supported."
2014-07-16 23:31:38 +00:00
Hans Boehm
8b002362d9
Define atomic_charN_t only if charN_t is supported.
...
Some platform code is apparently compiled with switches that do
not support char16_t and char32_t. This caused stdatomic.h to fail
to compile. This CL makes stdatomic.h usable in those environments.
Change-Id: Ie5a17f20b8b545c97128d00605b4eabd2a6bfe3e
2014-07-16 17:31:05 -07:00
Elliott Hughes
94f84d36a9
Merge "ptrace(3) should be varargs."
2014-07-16 21:56:17 +00:00
Elliott Hughes
98b088dce7
ptrace(3) should be varargs.
...
Bug: 16352070
Change-Id: Ied72e6e79eaf912fc93fc49ae7637af321a31a59
2014-07-16 16:07:10 -07:00
Elliott Hughes
f13aa6fc5b
Merge "Use VDSO for clock_gettime(2) and gettimeofday(2)."
2014-07-16 19:02:19 +00:00
Elliott Hughes
625993dfbb
Use VDSO for clock_gettime(2) and gettimeofday(2).
...
Bug: 15387103
Change-Id: Ifc3608ea65060c1dc38120b10b6e79874f182a36
2014-07-16 14:27:43 -07:00
Christopher Ferris
770d0f6177
Merge "Make sure not to construct illegal property names."
2014-07-15 20:47:30 +00:00
Christopher Ferris
53531ccebb
Make sure not to construct illegal property names.
...
Change-Id: I37624e69aec51efd4291f076fb87af3f35d33025
2014-07-15 19:26:28 -07:00
Christopher Ferris
64035c4a4b
Merge "Add gen syscalls step to instructions."
2014-07-15 20:47:30 +00:00
Christopher Ferris
ea271fdf26
Add gen syscalls step to instructions.
...
Also, fix incorrect path to some tools.
Change-Id: I409fc02d7077f0d2811d90be19550e70f5d73c0e
2014-07-15 19:02:33 -07:00
Elliott Hughes
52023cb725
Merge "Regenerate the syscalls list after the uapi update."
2014-07-15 20:36:09 +00:00
Elliott Hughes
3fa60e10bc
Regenerate the syscalls list after the uapi update.
...
Change-Id: I117c5b18f735376dd3ab5061018dc7db9c046202
2014-07-15 18:39:27 -07:00
Christopher Ferris
51c914b7fd
Merge "Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit."
2014-07-15 00:42:07 +00:00
Christopher Ferris
27047faf28
Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.
...
There were two bugs here:
- For 64 bit values, this did not properly round up.
- The macro rounded to the power of 2 less than value, not to the power
of 2 greater than value.
Change-Id: If8cb41536a9d2f5c1bc213676f1e67a7903a36b0
2014-07-15 12:33:48 -07:00
Dan Albert
5656a0c494
Merge "Remove isascii_l(3)."
2014-07-14 23:04:02 +00:00
Dan Albert
e612add051
Remove isascii_l(3).
...
Had intended to remove this one before submitting the locale changes,
but forgot. It isn't a standard ctype function, so we don't need it.
Change-Id: Ie9c09fa6c61b1101b5992fa06da30e373a0c6bf7
2014-07-14 15:48:02 -07:00
Elliott Hughes
ee3608f9d3
Merge "Fix visibility for a bunch more symbols."
2014-07-14 17:01:21 +00:00
Elliott Hughes
a167eef548
Fix visibility for a bunch more symbols.
...
Bug: 11156955
Bug: 15291317
Change-Id: I664f25cce7c17085a101d6593d8e01525a1f6a90
2014-07-14 15:13:30 -07:00
Elliott Hughes
673bff01ae
Merge "Implement rand/srand in terms of random/srandom."
2014-07-14 17:20:33 +00:00
Elliott Hughes
76c241b091
Implement rand/srand in terms of random/srandom.
...
Code developed for glibc or older versions of bionic might expect more
randomness than the BSD implementation provides.
Bug: 15829381
Change-Id: Ia5a908a816e0a5f0639f514107a6384a51ec157e
2014-07-14 12:02:22 -07:00
Elliott Hughes
4ae938698c
Merge "Sync upstream-openbsd."
2014-07-14 17:15:23 +00:00
Elliott Hughes
4f0b67a8db
Sync upstream-openbsd.
...
Change-Id: I5b9961a57e2ff05f63bd218c130bf8347850b9be
2014-07-14 11:22:59 -07:00
Dmitriy Ivanov
91f2074e5f
Merge "Upstream atexit"
2014-07-14 17:20:33 +00:00
Dmitriy Ivanov
53c3c271dc
Upstream atexit
...
Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
2014-07-14 12:05:16 -07:00
Elliott Hughes
83ce99d8b7
Merge "Define SIOCKILLADDR which isn't in the common kernel uapi headers."
2014-07-11 16:35:27 +00:00
Elliott Hughes
2ba2888cac
Define SIOCKILLADDR which isn't in the common kernel uapi headers.
...
Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e
2014-07-11 21:11:21 -07:00
Elliott Hughes
57a5b3380a
Merge "Define three prctl constants that went missing from uapi."
2014-07-10 21:09:57 +00:00
Elliott Hughes
263325d4b0
Define three prctl constants that went missing from uapi.
...
Change-Id: Ib81846ddefe9a75e02151c6592ed99b1f8ec5858
2014-07-11 19:54:55 -07:00
Christopher Ferris
385bb1eded
Merge "Add optimized memchr implementation from newlib"
2014-07-10 20:49:23 +00:00
Bernhard Rosenkränzer
8c20c13100
Add optimized memchr implementation from newlib
...
Add NEON optimized memchr adapted from newlib
Change-Id: I91b2fafa243e4ab35fa56bb6171d48433c947cfd
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-07-11 00:17:07 +02:00
Elliott Hughes
b8e82b5e72
Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
2014-07-10 20:49:23 +00:00
Elliott Hughes
10cf0d8c1f
EM_ARM and EM_AARCH64 are now in the uapi header.
...
Change-Id: Ice73403daff75ea45b24e02351269f6c012df6c1
2014-07-11 11:01:42 -07:00
Christopher Ferris
c6bc001776
Merge "Update kernel headers to v3.14."
2014-07-10 21:32:00 +00:00
Elliott Hughes
040e11877d
Merge "Enable building libc with clang."
2014-07-11 16:35:27 +00:00
Elliott Hughes
c999f76977
Enable building libc with clang.
...
Bug: 16218205
Change-Id: I024de2044fe016412c7bead22c264e96be4cb39c
2014-07-11 09:28:53 -07:00
Dan Albert
37f09d6d2e
Merge "Revert "Revert "Add locale aware APIs."""
2014-07-10 21:02:22 +00:00
Dan Albert
dfb5ce42bc
Revert "Revert "Add locale aware APIs.""
...
This reverts commit 063e20c269
.
Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21
2014-07-11 16:21:31 +00:00
Elliott Hughes
76df69d1f5
Merge "The err family allow null format strings."
2014-07-10 21:32:00 +00:00
Elliott Hughes
2f61fba72b
The err family allow null format strings.
...
Also remove declarations for the _* variants that were never implemented in bionic (or glibc).
Change-Id: I4ea1f17bbb377e70632c10dd218f47110cabc27b
2014-07-11 02:53:27 +00:00
Christopher Ferris
96502e273e
Merge "Make jemalloc the default choice."
2014-07-10 20:49:23 +00:00
Christopher Ferris
8e32b7b354
Make jemalloc the default choice.
...
Change-Id: I5ff0cf0c396b7ae6278e6fcd5a0d50f8b966fb54
2014-07-11 11:01:30 -07:00