Nick Kralevich
606058933c
fix strerror_r test
...
e6e60065ff
modified strerror_r to
treat errno as signed. However, the change to the test code
modified the "strerror" test, not the "strerror_r" test.
Make the same change for the strerror_r code.
Change-Id: Ia236a53df5745935e229a4446a74da8bed0cfd7b
2013-01-15 10:35:09 -08:00
Ben Cheng
6405103a32
am 4130af46
: am b09d7d86
: Merge "Add __aeabi_idiv to the dummy reference list."
...
* commit '4130af46bf120ac82ed61453215c7a692d84c1dd':
Add __aeabi_idiv to the dummy reference list.
2013-01-14 18:01:35 -08:00
Ben Cheng
4130af46bf
am b09d7d86
: Merge "Add __aeabi_idiv to the dummy reference list."
...
* commit 'b09d7d86004ab75b774358454d8ee261987af96b':
Add __aeabi_idiv to the dummy reference list.
2013-01-14 15:44:01 -08:00
Ben Cheng
b09d7d8600
Merge "Add __aeabi_idiv to the dummy reference list."
2013-01-14 15:35:04 -08:00
Ben Cheng
35f5385aa5
Add __aeabi_idiv to the dummy reference list.
...
If the platform code is compiled with -mcpu=cortex-a15, then without this
change prebuilt libraries built against -march=armv7 cannot resolve the
dependency on __aeabi_idiv (provided by libgcc.a).
Bug: 7961327
cherry-picked from internal master.
Change-Id: I8fe59a98eb53d641518b882523c1d6a724fb7e55
2013-01-14 15:33:40 -08:00
Nick Kralevich
9e22af2363
am 1519690c
: am 29fe857e
: Merge "headers: update auxvec.h from Linux kernel"
...
* commit '1519690cfb27af79627a8d39bf158a1feca953e3':
headers: update auxvec.h from Linux kernel
2013-01-14 14:38:36 -08:00
Nick Kralevich
1519690cfb
am 29fe857e
: Merge "headers: update auxvec.h from Linux kernel"
...
* commit '29fe857ec80e59347e28458a5396eb68d1cba0e4':
headers: update auxvec.h from Linux kernel
2013-01-14 14:31:28 -08:00
Nick Kralevich
29fe857ec8
Merge "headers: update auxvec.h from Linux kernel"
2013-01-14 14:14:49 -08:00
Ben Cheng
86050b9e92
Merge "Add __aeabi_idiv to the dummy reference list."
2013-01-14 13:36:33 -08:00
Nick Kralevich
a67e4de662
headers: update auxvec.h from Linux kernel
...
Pull a new version of auxvec.h from the upstream Linux
kernel at commit b719f43059903820c31edb30f4663a2818836e7f
These files were generated using the following commands:
cd bionic/libc/kernel
./tools/clean_header.py -u ../../../external/kernel-headers/original/uapi/linux/auxvec.h
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/auxvec.h
./tools/clean_header.py -u ../../../external/kernel-headers/original/asm-x86/auxvec.h
This change is needed to get AT_RANDOM defined.
Change-Id: Ib064649684b17af6ff4b1a31d501a05f78bb81d0
2013-01-14 11:49:59 -08:00
Ben Cheng
a4e964d200
Add __aeabi_idiv to the dummy reference list.
...
If the platform code is compiled with -mcpu=cortex-a15, then without this
change prebuilt libraries built against -march=armv7 cannot resolve the
dependency on __aeabi_idiv (provided by libgcc.a).
Bug: 7961327
Change-Id: I0a05ce9c44e44d39b8ce1f0e319e2d37a010f3c7
2013-01-14 11:27:29 -08:00
Ian Rogers
7f7f232f4a
am 763d4bb3
: am 68fa57f0
: Merge "Name anonymous mmap mallocs."
...
* commit '763d4bb345b2e8882dd39d0656ee9f23ca1d0512':
Name anonymous mmap mallocs.
2013-01-14 11:22:56 -08:00
Ian Rogers
763d4bb345
am 68fa57f0
: Merge "Name anonymous mmap mallocs."
...
* commit '68fa57f000285af20100c00db3d2bc143ad32294':
Name anonymous mmap mallocs.
2013-01-14 11:19:00 -08:00
Ian Rogers
68fa57f000
Merge "Name anonymous mmap mallocs."
2013-01-14 10:54:44 -08:00
Nick Kralevich
1165da8390
am 13bd3716
: am bb897fa9
: Merge "libc_init_static: apply relro earlier."
...
* commit '13bd37160ee340ddcf7e1fb57251b124e0ec69c1':
libc_init_static: apply relro earlier.
2013-01-14 10:34:45 -08:00
Elliott Hughes
32cefdbc7a
am 375db86a
: am 09d13c39
: Merge "Fix my git mistake."
...
* commit '375db86aeaedfe716b69a62f81a2484ee446d5e5':
Fix my git mistake.
2013-01-14 10:34:44 -08:00
Nick Kralevich
13bd37160e
am bb897fa9
: Merge "libc_init_static: apply relro earlier."
...
* commit 'bb897fa9f79d25e4445fe3ab46b86657d6660c10':
libc_init_static: apply relro earlier.
2013-01-14 10:25:16 -08:00
Nick Kralevich
bb897fa9f7
Merge "libc_init_static: apply relro earlier."
2013-01-14 10:21:23 -08:00
Elliott Hughes
375db86aea
am 09d13c39
: Merge "Fix my git mistake."
...
* commit '09d13c393e7b6a77cc33e5ef87e5c92ccd13fe63':
Fix my git mistake.
2013-01-14 10:08:56 -08:00
Elliott Hughes
09d13c393e
Merge "Fix my git mistake."
2013-01-14 09:57:45 -08:00
Elliott Hughes
99c32055cb
Fix my git mistake.
...
This was the formatting change that was supposed to be in
cf23905a4b
.
Change-Id: Ib79fa031b68f6f541f532507eb589afeaedb831f
2013-01-14 09:56:21 -08:00
Elliott Hughes
14ab1a63d6
am bc3c7183
: am 48c632a3
: Merge "[MIPS] Set DT_DEBUG dyntab entry if it is writable"
...
* commit 'bc3c718346d81c04451c35c2d8fb00c68b0a815d':
[MIPS] Set DT_DEBUG dyntab entry if it is writable
2013-01-14 09:50:50 -08:00
Elliott Hughes
bc3c718346
am 48c632a3
: Merge "[MIPS] Set DT_DEBUG dyntab entry if it is writable"
...
* commit '48c632a381b10996ec72a53cc95b009b06785d09':
[MIPS] Set DT_DEBUG dyntab entry if it is writable
2013-01-14 09:46:19 -08:00
Elliott Hughes
48c632a381
Merge "[MIPS] Set DT_DEBUG dyntab entry if it is writable"
2013-01-14 09:31:04 -08:00
Chris Dearman
cf23905a4b
[MIPS] Set DT_DEBUG dyntab entry if it is writable
...
This is primarily for MIPS exutables that do not have a
DT_MIPS_RLD_MAP entry.
Change-Id: I4c221d92debcfed961eeee2515123f3fb21ec8e6
Signed-off-by: Chris Dearman <chris@mips.com>
2013-01-14 09:30:25 -08:00
The Android Automerger
76c8c61517
merge in master-release history after reset to master
2013-01-14 07:49:05 -08:00
Nick Kralevich
9fb48ac257
libc_init_static: apply relro earlier.
...
The dynamic linker applies relro before the preinit and init
arrays are executed, so we should be consistent for statically
linked executables.
Change-Id: Ia0a49d0e981a6e8791f74eed00280edf576ba139
2013-01-11 18:38:26 -08:00
Ian Rogers
8921060253
Name anonymous mmap mallocs.
...
Change-Id: Icc53ba1eecb8445210623826d8e99a611d686f7f
2013-01-11 17:42:17 -08:00
Nick Kralevich
8ffe08c86b
am fdd6dfa8
: am 2c5153b0
: libc: add getauxval()
...
* commit 'fdd6dfa863ea73251b5d59990e239854c31ecee3':
libc: add getauxval()
2013-01-11 17:04:04 -08:00
Nick Kralevich
fdd6dfa863
am 2c5153b0
: libc: add getauxval()
...
* commit '2c5153b043b44e9935a334ae9b2d5a4bc5258b40':
libc: add getauxval()
2013-01-11 16:59:57 -08:00
Nick Kralevich
2c5153b043
libc: add getauxval()
...
Add support for getauxval(). This method allows a program an easy way
to retrieve information from the kernel auxiliary vector, and will
hopefully replace other clumsy ways of accessing this same information.
This particular function was also added to glibc in glibc 2.16.
See the following URLs for more details.
* http://lwn.net/Articles/519085/
* http://www.gnu.org/software/libc/manual/html_node/Auxiliary-Vector.html
This change is a prerequisite for bug 7959813.
Bug: http://code.google.com/p/android/issues/detail?id=38441
Change-Id: Iba19d899df334bddc6f4899077ece2fc87564ea8
2013-01-11 16:44:15 -08:00
Mattias Falk
f1464ff956
dns cache per interface iteration 2
...
name server addresses are read from the dns
cache associated wih the interface on which
the request shall be done.
processes which has requested to issue dns request
using specific interface are now proxied to netd.
added methods to attach/detach a process to a specific
dns cache/interface.
added getaddrinfoforinface method which takes an
interface as an argument.
Change-Id: I851ec8ab8ce3112626ad2a729078b91d013f32fd
bug:4815099
bug:5465296
2013-01-11 15:47:27 -08:00
Nick Kralevich
0529a52c60
am d0f81466
: am 69c89942
: Merge "Add stack canaries / strcpy tests."
...
* commit 'd0f81466e4e8e4179054a484cf6145efedfd7cb5':
Add stack canaries / strcpy tests.
2013-01-11 11:31:07 -08:00
Nick Kralevich
d0f81466e4
am 69c89942
: Merge "Add stack canaries / strcpy tests."
...
* commit '69c89942db2ed472c71aa84903d0259cc84aa074':
Add stack canaries / strcpy tests.
2013-01-11 11:26:54 -08:00
Nick Kralevich
69c89942db
Merge "Add stack canaries / strcpy tests."
2013-01-11 11:03:40 -08:00
Wink Saville
8deebb34d3
am 801aeefe
: am a12c5445
: Fix unused warnings in pthread.c
...
* commit '801aeefe2d77a957172c3994f1c20cd0ac8d9bd8':
Fix unused warnings in pthread.c
2013-01-11 10:54:50 -08:00
Elliott Hughes
376889ad71
am 0f9be1ea
: am bfde0b6f
: Merge "glibc 2.15 treats errno as signed in strerror(3)."
...
* commit '0f9be1eaee5a9367fb2f8c6ed86ed2fc1faa70b9':
glibc 2.15 treats errno as signed in strerror(3).
2013-01-11 10:54:43 -08:00
Elliott Hughes
73dd37d8fe
am 34c7a3c2
: am 0d3700d9
: Merge "Only have one copy of the kernel_sigset_t hack, and add more tests."
...
* commit '34c7a3c2b0ec50a749e25bd786e670025a6f1c5b':
Only have one copy of the kernel_sigset_t hack, and add more tests.
2013-01-11 10:54:25 -08:00
Elliott Hughes
7e29f81163
am 4ff6fa97
: am 2bbb8fac
: Merge "Add signalfd call to bionic"
...
* commit '4ff6fa97e7cf247e17600cf0d64911c1579df841':
Add signalfd call to bionic
2013-01-11 10:54:02 -08:00
Nick Kralevich
dcab1b2c76
Add stack canaries / strcpy tests.
...
Add a test to ensure that stack canaries are working
correctly. Since stack canaries aren't normally generated
on non-string functions, we have to enable stack-protector-all.
Add a test to ensure that an out of bounds strcpy generates
a runtime failure.
Change-Id: Id0d3e59fc4b9602da019e4d35c5c653e1a57fae4
2013-01-11 10:52:36 -08:00
Wink Saville
801aeefe2d
am a12c5445
: Fix unused warnings in pthread.c
...
* commit 'a12c54454f3a6132988b68873903f6e9eed7f384':
Fix unused warnings in pthread.c
2013-01-11 10:12:12 -08:00
The Android Automerger
ef06105819
merge in master-release history after reset to master
2013-01-11 07:49:08 -08:00
Wink Saville
a12c54454f
Fix unused warnings in pthread.c
...
Change-Id: I0287aadb825fd8cda29dc976bce55d75a1279fc5
2013-01-10 16:30:22 -08:00
Elliott Hughes
0f9be1eaee
am bfde0b6f
: Merge "glibc 2.15 treats errno as signed in strerror(3)."
...
* commit 'bfde0b6fd9e5de545746ab963d3a05ed2a8014f6':
glibc 2.15 treats errno as signed in strerror(3).
2013-01-10 16:27:26 -08:00
Elliott Hughes
bfde0b6fd9
Merge "glibc 2.15 treats errno as signed in strerror(3)."
2013-01-10 16:24:36 -08:00
Elliott Hughes
e6e60065ff
glibc 2.15 treats errno as signed in strerror(3).
...
And the only reason I hadn't done that in bionic is because I wanted to behave
the same as glibc.
Change-Id: I2cf1bf0aac82a748cd6305a2cabbac0790058570
2013-01-10 16:01:59 -08:00
Elliott Hughes
34c7a3c2b0
am 0d3700d9
: Merge "Only have one copy of the kernel_sigset_t hack, and add more tests."
...
* commit '0d3700d957debe841c385f66a8026ca8b3755815':
Only have one copy of the kernel_sigset_t hack, and add more tests.
2013-01-10 15:28:46 -08:00
Elliott Hughes
0d3700d957
Merge "Only have one copy of the kernel_sigset_t hack, and add more tests."
2013-01-10 15:12:46 -08:00
Elliott Hughes
c5d028fc91
Only have one copy of the kernel_sigset_t hack, and add more tests.
...
Change-Id: I377522fcba6fb4b5fd2754ab15b091014bd7c16f
2013-01-10 14:42:14 -08:00
Robert Greenwalt
d09bdc7148
Merge "Cache negative DNS results."
2013-01-10 14:30:37 -08:00