Elliott Hughes
2199ac3113
am 7dd126a3: Merge "Clean up some misinformation around prctl."
...
* commit '7dd126a38ca501818b07927f310dcc0f531c0f1f':
Clean up some misinformation around prctl.
2014-07-18 23:35:08 +00:00
Christopher Ferris
3a23030ded
am 3c2b71ad: Merge "Use the mmap/munmap for allocation routines."
...
* commit '3c2b71ad5612721c7073a4396cdad2c00e86ba54':
Use the mmap/munmap for allocation routines.
2014-07-18 22:13:21 +00:00
Elliott Hughes
6e47ddab72
am d18b87f3: Merge "Remove SIOCKILLADDR from <sys/socket.h>."
...
* commit 'd18b87f38de8644acdcd1a112bd06d3a70d2ea1d':
Remove SIOCKILLADDR from <sys/socket.h>.
2014-07-18 00:24:35 +00:00
Elliott Hughes
1a04da8750
am 76282482: Merge "Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>."
...
* commit '76282482dbb05bf97a834d20b3ccf98de3f5a31d':
Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.
2014-07-18 00:24:34 +00:00
Elliott Hughes
9c07aee83b
Clean up some misinformation around prctl.
...
prctl shouldn't be in <unistd.h>.
Change-Id: I29609fc91c033e1ad143b75d9b4eb17aefbd63d6
2014-07-18 16:15:32 -07:00
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
9f165d24f0
Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.
...
Change-Id: Ie70f23c80e8473ac9617b74967d7c84709f5b00d
2014-07-17 17:12:35 -07:00
Elliott Hughes
d377833de6
am 6bf42ddc: Merge "Fix private/bionic_name_mem.h build breakage."
...
* commit '6bf42ddc7962dec56840eb370bfe7b0469a4efb1':
Fix private/bionic_name_mem.h build breakage.
2014-07-17 22:16:45 +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
fdd6414093
am 169e2bf6: Merge "Remove non-standard prctl constants from <sys/prctl.h>."
...
* commit '169e2bf6bd092ea3599cfe3426766988ec66658a':
Remove non-standard prctl constants from <sys/prctl.h>.
2014-07-17 21:54:26 +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
ec76a21f27
am 43363ab7: Merge "Define atomic_charN_t only if charN_t is supported."
...
* commit '43363ab7202a935e12cf6a38d32a48433bdc3705':
Define atomic_charN_t only if charN_t is supported.
2014-07-17 12:59:40 +00:00
Elliott Hughes
51b9d5bad9
am 94f84d36: Merge "ptrace(3) should be varargs."
...
* commit '94f84d36a9f16030546a667bab6c66a59e41e4bd':
ptrace(3) should be varargs.
2014-07-16 23:49:52 +00: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
98b088dce7
ptrace(3) should be varargs.
...
Bug: 16352070
Change-Id: Ied72e6e79eaf912fc93fc49ae7637af321a31a59
2014-07-16 16:07:10 -07:00
Elliott Hughes
379b1580dc
am f13aa6fc: Merge "Use VDSO for clock_gettime(2) and gettimeofday(2)."
...
* commit 'f13aa6fc5b66d1c98b7fd4b43e20515033707e56':
Use VDSO for clock_gettime(2) and gettimeofday(2).
2014-07-16 21:44:46 +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
f64411e7a8
am 64035c4a: Merge "Add gen syscalls step to instructions."
...
* commit '64035c4a4b52ce87398e3a5945ad6b755c8f35b1':
Add gen syscalls step to instructions.
2014-07-16 02:56:22 +00:00
Elliott Hughes
99c8508a6e
am 52023cb7: Merge "Regenerate the syscalls list after the uapi update."
...
* commit '52023cb725ade3a4ace8631af8d6df5b47dc4def':
Regenerate the syscalls list after the uapi update.
2014-07-16 02:56:22 +00:00
Christopher Ferris
cdf48775d4
am 73c963e4: Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.
...
* commit '73c963e4c5bf111df3abe9ad7eac98a918b88bb3':
Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.
2014-07-15 21:46:28 +00: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
3fa60e10bc
Regenerate the syscalls list after the uapi update.
...
Change-Id: I117c5b18f735376dd3ab5061018dc7db9c046202
2014-07-15 18:39:27 -07:00
Christopher Ferris
73c963e4c5
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.
(cherry picked from commit 27047faf283cb9d3d025a984cd9934fd2c404407)
Change-Id: Idf1ec67854e1eb423704e599ae1c6b674d36618d
2014-07-15 13:23:06 -07:00
Elliott Hughes
ca276c40df
Fix visibility for a bunch more symbols.
...
Bug: 11156955
Bug: 15291317
(cherry picked from commit a167eef5482d4a89d4277ec74f57adbe38052813)
Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159
2014-07-14 18:59:51 -07: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
84491f5b06
am 5656a0c4: Merge "Remove isascii_l(3)."
...
* commit '5656a0c4943a9b14baa4fc135980f91591723156':
Remove isascii_l(3).
2014-07-15 00:31:07 +00:00
Elliott Hughes
1d31b55443
am ee3608f9: Merge "Fix visibility for a bunch more symbols."
...
* commit 'ee3608f9d3259a0ef22a27932a3f5149fb2763c8':
Fix visibility for a bunch more symbols.
2014-07-14 23:15:15 +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
99ae0983c0
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
(cherry picked from commit 76c241b091b4d9d9a9237d40e814e52ce2917f47)
Change-Id: If721b3f16efdb21cb67df5ec5034c0ba905bd029
2014-07-14 14:06:11 -07:00
Elliott Hughes
caaf71ebb3
Sync upstream-openbsd.
...
(cherry picked from commit 4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4)
Change-Id: I8753959853312ab978bc4eb1bbbcdc7d1b007b95
2014-07-14 13:59:03 -07:00
Dmitriy Ivanov
38778e3b6c
Upstream atexit
...
Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
(cherry picked from commit 53c3c271dc9927dd280981fc23409af60f460007)
2014-07-14 13:29:34 -07:00
Elliott Hughes
ac56fc8663
am 673bff01: Merge "Implement rand/srand in terms of random/srandom."
...
* commit '673bff01aed0c08991b98841ed0bfad78a589672':
Implement rand/srand in terms of random/srandom.
2014-07-14 19:28:49 +00:00
Elliott Hughes
6d3032891a
am 4ae93869: Merge "Sync upstream-openbsd."
...
* commit '4ae938698c89e9e3c79008d9a833db726779accd':
Sync upstream-openbsd.
2014-07-14 19:21:32 +00:00
Dmitriy Ivanov
7ba7686b46
am 91f2074e: Merge "Upstream atexit"
...
* commit '91f2074e5f4e475d7c88d9cdaeb7dcdc9d9ff882':
Upstream atexit
2014-07-14 19:21:31 +00: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
Dmitriy Ivanov
53c3c271dc
Upstream atexit
...
Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
2014-07-14 12:05:16 -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
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
e2b177a5d1
am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."
...
* commit '83ce99d8b7e2b15b2169e6e6e18e871ad35abb6c':
Define SIOCKILLADDR which isn't in the common kernel uapi headers.
2014-07-12 12:59:27 +00:00
Elliott Hughes
f6968e3c08
Define SIOCKILLADDR which isn't in the common kernel uapi headers.
...
(cherry picked from commit 2ba2888cac2f04daff7bbaf032d0df7a095b00c3)
Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660
2014-07-11 22:37:13 -07:00
Elliott Hughes
b962ab81fc
am 57a5b338: Merge "Define three prctl constants that went missing from uapi."
...
* commit '57a5b3380a8834ecb4a32d01433a3127454443d7':
Define three prctl constants that went missing from uapi.
2014-07-12 03:10:36 +00:00
Elliott Hughes
0594b9ddde
am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
...
* commit 'b8e82b5e729a1f6e30ee9593b2dbcbb3ad623874':
EM_ARM and EM_AARCH64 are now in the uapi header.
2014-07-12 01:41:51 +00:00
Christopher Ferris
efdf7862be
am 385bb1ed: Merge "Add optimized memchr implementation from newlib"
...
* commit '385bb1ededa734e88bafb8aaf817e9a984bf0d18':
Add optimized memchr implementation from newlib
2014-07-12 01:41:51 +00:00
Christopher Ferris
55230dd048
am 96502e27: Merge "Make jemalloc the default choice."
...
* commit '96502e273eea49c95899af57fa578c8055b9618c':
Make jemalloc the default choice.
2014-07-12 01:41:51 +00:00