Baligh Uddin
e4dda1f1e9
Merge "resolved conflicts for merge of 5d0ad38c to jb-mr2-dev" into jb-mr2-dev
2013-09-25 02:31:37 +00:00
Elliott Hughes
5a6f55a3c4
resolved conflicts for merge of 5d0ad38c to jb-mr2-dev
...
Change-Id: I606f6d86aad46c5eda0dc0d907fe691ca0eea826
2013-09-24 15:53:34 -07:00
Elliott Hughes
738370d938
Don't fail to run DT_INIT and DT_INIT_ARRAY constructors if a shared library has DT_PREINIT_ARRAY constructors.
...
The GNU dynamic linker silently ignores a DT_PREINIT_ARRAY section
in a shared library. We had ineffectual code that tried to report
an error, which I tried to fix but got wrong --- my version still
wouldn't report the error to the caller, but would prevent us from
continuing to call constructors.
Bug: 8825226
(cherry picked from commit 8147d3c284 )
Change-Id: Iad8e7e3743d1a5e6bd1d44ef40b1ab3499cb64f2
2013-05-09 15:53:30 -07:00
Ben Cheng
262b7384e4
Adjust PC value in ARM stack trace.
...
-2 for Thumb BLX(2) or -4 for the rest.
Change-Id: Ie59351a0012c2267309f63f0462fdba4698846fe
2013-05-08 11:21:53 -07:00
Elliott Hughes
389b5c1ee5
Upgrade to tzdata2013c.
...
From the release notes:
Changes affecting current and future time stamps:
Palestine observed DST starting March 29, 2013. (Thanks to
Steffen Thorsen.) From 2013 on, Gaza and Hebron both observe DST,
with the predicted rules being the last Thursday in March at 24:00
to the first Friday on or after September 21 at 01:00.
Assume that the recent change to Paraguay's DST rules is permanent,
by moving the end of DST to the 4th Sunday in March every year.
(Thanks to Carlos Raúl Perasso.)
Changes affecting past time stamps:
Fix some historical data for Palestine to agree with that of
timeanddate.com, as follows:
The spring 2008 change in Gaza and Hebron was on 00:00 Mar 28, not
00:00 Apr 1.
The fall 2009 change in Gaza and Hebron on Sep 4 was at 01:00, not
02:00.
The spring 2010 change in Hebron was 00:00 Mar 26, not 00:01 Mar 27.
The spring 2011 change in Gaza was 00:01 Apr 1, not 12:01 Apr 2.
The spring 2011 change in Hebron on Apr 1 was at 00:01, not 12:01.
The fall 2011 change in Hebron on Sep 30 was at 00:00, not 03:00.
Fix times of habitation for Macquarie to agree with the Tasmania
Parks & Wildlife Service history, which indicates that permanent
habitation was 1899-1919 and 1948 on.
Changing affecting metadata only:
Macquarie Island is politically part of Australia, not Antarctica.
(Thanks to Tobias Conradi.)
Sort Macquarie more-consistently with other parts of Australia.
(Thanks to Tim Parenti.)
(cherry picked from commit 2379088a90 )
Change-Id: I77d0ceebdba3489da0069f5792e930adc5810d34
2013-04-23 18:22:31 -07:00
Eric Laurent
ccaa0fa6e9
sound: Add ALSA compressed API headers
...
Added the following headers for ALSA compressed
user space API:
- sound/compress_offload.h
- sound/compress_params.h
Change-Id: I9584c12acdadf31546d2921393b93d491e54a8d3
2013-04-09 09:37:44 -07:00
Elliott Hughes
7b4d77e400
Make abort messages available to debuggerd.
...
This adds __libc_fatal, cleans up the internal logging code a bit more,
and switches suitable callers over to __libc_fatal. In addition to logging,
__libc_fatal stashes the message somewhere that the debuggerd signal handler
can find it before calling abort.
In the debuggerd signal handler, we pass this address to debuggerd so that
it can come back with ptrace to read the message and present it to the user.
Bug: 8531731
(cherry picked from commit 0d787c1fa1 )
Change-Id: I5daeeaa36c1fc23f7f437d73a19808d9d558dd4d
2013-04-05 15:57:53 -07:00
Kito Cheng
9b84824dfd
Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a
...
- eventfd.cpp and eventfd.s will output to the same file when building libc.a
out/target/product/*/obj/STATIC_LIBRARIES/libc_intermediates/WHOLE/libc_common_objs/eventfd.o
- And then `eventfd` will undefined when statically linked to libc.
Also add a unit test.
(cherry-pick of 8baa929d5d3bcf63381cf78ba76168c80c303f5e.)
Change-Id: Icd0eb0f4ce0511fb9ec00a504d491afd47d744d3
2013-04-03 11:14:20 -07:00
Elliott Hughes
a69103ffe4
Fix the SYSCALLS.TXT documentation and remove a dead script.
...
We use the system call constants from the kernel header files now,
so there's no need to check that they've been correctly transcribed
into SYSCALLS.TXT.
This is a work in progress. I've added TODOs to SYSCALLS.TXT explaining
what's left to do.
(cherry-pick of a51916b58b2d211bcf8ffdbe9cf7faa58e57382f.)
Change-Id: I4484acd946b1f548ac3d95327e58add9f98246ab
2013-04-03 11:13:31 -07:00
Elliott Hughes
1fe1137576
Stop using unreasonable numbers of map entries.
...
(cherry-pick of 4ace92c62ada583b220836d76de2cfcb78d4d48d.)
Bug: 8460659
Change-Id: I1a9dc30cbf6a7a2c68cb3d8000921e9178eedb85
2013-04-02 17:48:35 -07:00
Lorenzo Colitti
309e107f01
Merge "Update getaddrinfo to RFC6724" into jb-mr2-dev
2013-04-02 00:49:29 +00:00
Lorenzo Colitti
e919b116d3
Update getaddrinfo to RFC6724
...
Currently, our getaddrinfo implementation does not conform to
any IETF standard. It follows draft-ietf-6man-rfc3484-revise-01,
but that draft has expired. Update the policy table to RFC6724.
Bug: 8276725
Change-Id: I03c63abfcad9b2f3a3bab2718bd2fc6440531843
2013-04-01 19:15:43 +09:00
Elliott Hughes
96449b3dc1
Extra logging in pthread_create.
...
pthread_create returns EAGAIN when it can't allocate a pthread_internal_t,
when it can't allocate a stack for the new thread, or when clone(2) fails
because there are too many threads. It's useful to be able to know why your
pthread_create just failed, so add some logging.
Bug: 8470684
(cherry picked from commit cfa089df23 )
Change-Id: Ibfc98a84c1817a931f9ae4c2b88762f0edfb6b79
2013-03-29 16:58:33 -07:00
Nick Kralevich
b24b6e1419
Merge "resolv_cache: hide some libc private functions" into jb-mr2-dev
2013-03-29 23:53:40 +00:00
Nick Kralevich
c01274c4aa
resolv_cache: hide some libc private functions
...
Don't export unnecessary symbols to third party apps.
Bug: 8401049
Change-Id: Ide5abd6ed13e756a85bd1277d93da74d1419addb
2013-03-29 13:56:05 -07:00
Jean-Baptiste Queru
d02dd19d51
am 267290b3: am 74b324ac: Merge "Update processed linux/fs.h header file"
...
* commit '267290b340bee74e5ebbbc60f8c5a9b2a5453957':
Update processed linux/fs.h header file
2013-03-28 08:59:25 -07:00
Jean-Baptiste Queru
267290b340
am 74b324ac: Merge "Update processed linux/fs.h header file"
...
* commit '74b324ac09db35d29d16695e9b9c1f0601599812':
Update processed linux/fs.h header file
2013-03-28 08:57:23 -07:00
Jean-Baptiste Queru
74b324ac09
Merge "Update processed linux/fs.h header file"
2013-03-28 15:49:04 +00:00
Ken Sumrall
ce636ca088
Update processed linux/fs.h header file
...
Need to get the defintion of the FITRIM ioctl(). Also need
to update the blk_types.h header file as fs.h includes it.
Change-Id: I617622b620925942dc5aead9e49f8e17d17e5d74
2013-03-27 16:05:22 -07:00
Ken Sumrall
887049e46b
Merge "Update processed linux/fs.h header file" into jb-mr2-dev
2013-03-27 21:15:29 +00:00
Elliott Hughes
da2c158645
am 8a6abe38: am bd014c2e: Merge "Remove some dead script code and fix a script comment."
...
* commit '8a6abe380d2ba513bb714e54a74f4289089cbc18':
Remove some dead script code and fix a script comment.
2013-03-25 14:36:24 -07:00
Elliott Hughes
8a6abe380d
am bd014c2e: Merge "Remove some dead script code and fix a script comment."
...
* commit 'bd014c2e4246d6e64a6523c73b9a72f379255526':
Remove some dead script code and fix a script comment.
2013-03-25 14:34:06 -07:00
Elliott Hughes
bd014c2e42
Merge "Remove some dead script code and fix a script comment."
2013-03-25 21:20:22 +00:00
Elliott Hughes
e6ddfc55c8
Remove some dead script code and fix a script comment.
...
Change-Id: I91ca466d1b6f8a39da50ce61acebc268d0daab3a
2013-03-25 14:09:52 -07:00
Elliott Hughes
999dff0ef3
am a850ad4c: am e51d75a9: Merge "Clarify the dlmalloc USAGE_ERROR."
...
* commit 'a850ad4cf44e998e24f43df723b6928e42f8294d':
Clarify the dlmalloc USAGE_ERROR.
2013-03-25 14:05:54 -07:00
Elliott Hughes
a850ad4cf4
am e51d75a9: Merge "Clarify the dlmalloc USAGE_ERROR."
...
* commit 'e51d75a9acef86008f4d64cf482bbc65e24dc66c':
Clarify the dlmalloc USAGE_ERROR.
2013-03-25 14:03:38 -07:00
Elliott Hughes
e51d75a9ac
Merge "Clarify the dlmalloc USAGE_ERROR."
2013-03-25 20:54:14 +00:00
Elliott Hughes
65a8eb606f
Clarify the dlmalloc USAGE_ERROR.
...
Bug: 8468088
Change-Id: I1ff6d51ec17fc74ef56229aa76d2986cbd662874
2013-03-25 13:48:41 -07:00
Dima Zavin
369f92349f
Merge "libc/arm: add cortex-a7 cpu variant" into jb-mr2-dev
2013-03-25 19:42:28 +00:00
Elliott Hughes
c82b339a7d
am 3c1504d9: am 48f25cef: Merge "Stop generating <sys/linux-syscalls.h>."
...
* commit '3c1504d9d7d529b8281a447dc69af3ecf6b5ec83':
Stop generating <sys/linux-syscalls.h>.
2013-03-25 10:24:42 -07:00
Elliott Hughes
9386a33ea0
am 93f3811b: am a4075118: Merge "Unhide __set_errno for backwards compatibility."
...
* commit '93f3811b744b2100d0f259916876965c242cd3d9':
Unhide __set_errno for backwards compatibility.
2013-03-25 10:24:42 -07:00
Elliott Hughes
3c1504d9d7
am 48f25cef: Merge "Stop generating <sys/linux-syscalls.h>."
...
* commit '48f25cef45f8f68567d528a5d833ed45cb760bec':
Stop generating <sys/linux-syscalls.h>.
2013-03-25 10:22:43 -07:00
Elliott Hughes
93f3811b74
am a4075118: Merge "Unhide __set_errno for backwards compatibility."
...
* commit 'a40751185f3a7245f73afb45382c23f71dbbcfc3':
Unhide __set_errno for backwards compatibility.
2013-03-25 10:22:43 -07:00
Elliott Hughes
48f25cef45
Merge "Stop generating <sys/linux-syscalls.h>."
2013-03-25 17:13:26 +00:00
Elliott Hughes
a40751185f
Merge "Unhide __set_errno for backwards compatibility."
2013-03-25 17:12:19 +00:00
Dima Zavin
0c973d7049
libc/arm: add cortex-a7 cpu variant
...
Change-Id: I541d665805ea69ca96bb6a5f4d50e56287f8c08c
Signed-off-by: Dima Zavin <dima@android.com >
2013-03-23 01:38:22 -07:00
Elliott Hughes
3198850ea1
Unhide __set_errno for backwards compatibility.
...
This was in <errno.h>, and people called it :-(
Change-Id: I038490be77eb9372b3f31305ec580fa7b09c983e
2013-03-22 19:12:52 -07:00
Elliott Hughes
1b91c6c11f
Stop generating <sys/linux-syscalls.h>.
...
The <asm/unistd.h> files contain the canonical data, and
<sys/glibc-syscalls.h> contain new glibc-compatible names,
and if you #include the standard <sys/syscall.h> you get
both sets of names.
Change-Id: I9919c080931c0ba1660f5e37c6a6265ea716d603
2013-03-22 18:56:24 -07:00
Elliott Hughes
ba61bb55c4
am a3fe475c: am c019345a: Merge "Use the correct names for the __ARM_NR_* syscalls."
...
* commit 'a3fe475c9ff444f45eb3c4dd7fd462326dfdb13d':
Use the correct names for the __ARM_NR_* syscalls.
2013-03-22 15:09:13 -07:00
Elliott Hughes
a3fe475c9f
am c019345a: Merge "Use the correct names for the __ARM_NR_* syscalls."
...
* commit 'c019345a3a0f3ee8561e595917b75d6419ee4cc8':
Use the correct names for the __ARM_NR_* syscalls.
2013-03-22 15:07:06 -07:00
Elliott Hughes
c019345a3a
Merge "Use the correct names for the __ARM_NR_* syscalls."
2013-03-22 21:50:49 +00:00
Elliott Hughes
cda62094ef
Use the correct names for the __ARM_NR_* syscalls.
...
This lets us move all the ARM syscall stubs over to the kernel <asm/unistd.h>.
Our generated <sys/linux-syscalls.h> is now unused, but I'll remove that in a
later change.
Change-Id: Ie5ff2cc4abce1938576af7cbaef615a79c7f310d
2013-03-22 13:53:43 -07:00
Elliott Hughes
e0e5b2f6e7
am 65163750: am c37dd599: Merge "Fix builds where _FORTIFY_SOURCE is off."
...
* commit '65163750b11c814d6a75940ab1ede1e907b14d81':
Fix builds where _FORTIFY_SOURCE is off.
2013-03-22 11:20:22 -07:00
Elliott Hughes
65163750b1
am c37dd599: Merge "Fix builds where _FORTIFY_SOURCE is off."
...
* commit 'c37dd599561ac07a895bc435d818f000054a498d':
Fix builds where _FORTIFY_SOURCE is off.
2013-03-22 11:18:26 -07:00
Elliott Hughes
b826ebf41e
am 85598626: am 34895c1b: Merge "Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit '85598626f4ca7914d996371ce0471ab154aa7585':
Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 11:11:34 -07:00
Elliott Hughes
c37dd59956
Merge "Fix builds where _FORTIFY_SOURCE is off."
2013-03-22 18:01:50 +00:00
Elliott Hughes
85598626f4
am 34895c1b: Merge "Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit '34895c1bdfa5df48ee9a7b4368b6def403f24cf1':
Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 10:59:57 -07:00
Elliott Hughes
890c8ed6ef
Fix builds where _FORTIFY_SOURCE is off.
...
Also add a more intention-revealing guard so we don't have loads of
places checking whether our inlining macro is defined.
Change-Id: I168860cedcfc798b07a5145bc48a125700265e47
2013-03-22 10:58:55 -07:00
Elliott Hughes
34895c1bdf
Merge "Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
2013-03-22 17:51:43 +00:00
Elliott Hughes
b44f9600a3
am b80a05fa: am 5c5f303e: Merge "Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit 'b80a05fa678b287f46dc596353d285a9a7d09fbc':
Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 09:43:28 -07:00
Elliott Hughes
a0dcecc53e
am bc0d7f73: am e7cb795c: Merge "Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit 'bc0d7f736c2c66868844f2b5c9e6507d3e7a7982':
Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 09:43:28 -07:00
Elliott Hughes
b80a05fa67
am 5c5f303e: Merge "Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit '5c5f303e4c661a71ae8e4c7fd99fc7674360321e':
Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 09:41:46 -07:00
Elliott Hughes
bc0d7f736c
am e7cb795c: Merge "Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
...
* commit 'e7cb795cb639ef4e04b0417ebf4b16b12ea5dc4e':
Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
2013-03-22 09:41:46 -07:00
Elliott Hughes
5c5f303e4c
Merge "Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
2013-03-22 16:30:56 +00:00
Elliott Hughes
e7cb795cb6
Merge "Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>."
2013-03-22 16:30:37 +00:00
Ken Sumrall
d74a0ffba8
Update processed linux/fs.h header file
...
Need to get the defintion of the FITRIM ioctl(). Also need
to update the blk_types.h header file as fs.h includes it.
Change-Id: I617622b620925942dc5aead9e49f8e17d17e5d74
2013-03-22 02:12:46 -07:00
Elliott Hughes
8794ece296
Replace unnecessary ARM uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
...
For some reason, socketcalls.c was only being compiled for ARM, where
it makes no sense. For x86 we generate stubs for the socket functions
that use __NR_socketcall directly.
Change-Id: I84181e6183fae2314ae3ed862276eba82ad21e8e
2013-03-21 23:07:11 -07:00
Elliott Hughes
ddda044a81
am 5686bb30: am 3323628d: Merge "The SYS_ constants should cover all __NR_ values."
...
* commit '5686bb300304f5de0597f356c6da72b8a090a647':
The SYS_ constants should cover all __NR_ values.
2013-03-21 22:54:49 -07:00
Elliott Hughes
5686bb3003
am 3323628d: Merge "The SYS_ constants should cover all __NR_ values."
...
* commit '3323628d635d3973965ee458c1fee7d8ab45136f':
The SYS_ constants should cover all __NR_ values.
2013-03-21 22:53:44 -07:00
Elliott Hughes
56d161bb62
Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
...
Change-Id: I193a35f9790b82c83fd3b5672e24ac1b2034d0b0
2013-03-21 22:52:25 -07:00
Elliott Hughes
4cdde5f123
Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>.
...
Change-Id: I9d016ee8e8329cccf244d27c336d9524348af996
2013-03-21 22:48:18 -07:00
Elliott Hughes
3323628d63
Merge "The SYS_ constants should cover all __NR_ values."
2013-03-22 05:39:06 +00:00
Elliott Hughes
5c2772f59d
The SYS_ constants should cover all __NR_ values.
...
<sys/linux-syscalls.h> only contains constants for the syscalls
we're generating stubs for. We want all the syscalls available
on the architecture in question.
Keep using <sys/linux-syscalls.h> on ARM for now because the
__NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>.
Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
2013-03-21 22:26:20 -07:00
Elliott Hughes
c8ded7c6b1
am a3167257: am babb72dc: Merge "Fix pthread_setname_np\'s behavior on invalid pthread_ts."
...
* commit 'a316725740ac123de65e225f5bfbf99450f66e6b':
Fix pthread_setname_np's behavior on invalid pthread_ts.
2013-03-21 22:22:49 -07:00
Elliott Hughes
a316725740
am babb72dc: Merge "Fix pthread_setname_np\'s behavior on invalid pthread_ts."
...
* commit 'babb72dc292a567674f6d7d2ccf7f63edaf77b80':
Fix pthread_setname_np's behavior on invalid pthread_ts.
2013-03-21 22:20:53 -07:00
Elliott Hughes
babb72dc29
Merge "Fix pthread_setname_np's behavior on invalid pthread_ts."
2013-03-22 05:11:35 +00:00
Elliott Hughes
a41ba2f0bf
Fix pthread_setname_np's behavior on invalid pthread_ts.
...
Change-Id: I0a154beaab4d164ac812f2564d12e4d79b80a8e8
2013-03-21 20:02:35 -07:00
Elliott Hughes
1e40ace49e
am a596aa6a: am 26c815c4: Merge "Drop magic number in strrchr and strchr"
...
* commit 'a596aa6abfdd8ecdb4bcdd9bcad24a19adcf7525':
Drop magic number in strrchr and strchr
2013-03-21 19:58:23 -07:00
Elliott Hughes
17a0d1915f
am 01c0e19e: am 612333f6: Merge "Don\'t #define SYS_ constants unless they make sense for the current architecture."
...
* commit '01c0e19e426df5620c5ca822ab546907dbf1fa7d':
Don't #define SYS_ constants unless they make sense for the current architecture.
2013-03-21 19:58:22 -07:00
Elliott Hughes
a596aa6abf
am 26c815c4: Merge "Drop magic number in strrchr and strchr"
...
* commit '26c815c489197259e3692d4a1e35463989f7c7a3':
Drop magic number in strrchr and strchr
2013-03-21 19:56:39 -07:00
Elliott Hughes
01c0e19e42
am 612333f6: Merge "Don\'t #define SYS_ constants unless they make sense for the current architecture."
...
* commit '612333f671a59d98fad6f594f5bf657dbd6c9c4d':
Don't #define SYS_ constants unless they make sense for the current architecture.
2013-03-21 19:56:38 -07:00
Elliott Hughes
26c815c489
Merge "Drop magic number in strrchr and strchr"
2013-03-22 02:48:32 +00:00
Elliott Hughes
612333f671
Merge "Don't #define SYS_ constants unless they make sense for the current architecture."
2013-03-22 02:46:22 +00:00
Elliott Hughes
9724ce3a09
Don't #define SYS_ constants unless they make sense for the current architecture.
...
Fixes the MIPS and x86 builds. strace tests whether syscalls
are supported using #ifdef of the appropriate SYS_ constant.
Change-Id: I90be118dc42abfdaf5b0f9b1e676e8601f55106e
2013-03-21 19:44:36 -07:00
Elliott Hughes
3077d88347
am c48968d2: am 4453c51c: Merge "Drop unnecessary execution permission for .cpp/.c/.h"
...
* commit 'c48968d268820ee64986f738e227910b29290eab':
Drop unnecessary execution permission for .cpp/.c/.h
2013-03-21 19:40:15 -07:00
Elliott Hughes
c48968d268
am 4453c51c: Merge "Drop unnecessary execution permission for .cpp/.c/.h"
...
* commit '4453c51c8269457b337578f809670d0fdb755132':
Drop unnecessary execution permission for .cpp/.c/.h
2013-03-21 19:38:53 -07:00
Elliott Hughes
4453c51c82
Merge "Drop unnecessary execution permission for .cpp/.c/.h"
2013-03-22 02:30:28 +00:00
Kito Cheng
8f7120bbac
Drop unnecessary execution permission for .cpp/.c/.h
...
Change-Id: I9ac2b9d8f6bdb4fab8962210c5ec8f9c3e8c0ebf
2013-03-22 10:28:15 +08:00
Kito Cheng
a6cc67c9b5
Drop magic number in strrchr and strchr
...
Change-Id: Ic7391be8575eaaac76914dab62bc41c9773d703d
2013-03-22 10:18:09 +08:00
Elliott Hughes
5c9a25cc23
am f977d2dc: am 800ad824: Merge "Provide glibc-compatible SYS_* aliases for the __NR_* constants."
...
* commit 'f977d2dc1dce28a517329e8b4990ebee696faec1':
Provide glibc-compatible SYS_* aliases for the __NR_* constants.
2013-03-21 18:51:51 -07:00
Elliott Hughes
f977d2dc1d
am 800ad824: Merge "Provide glibc-compatible SYS_* aliases for the __NR_* constants."
...
* commit '800ad8249a398e94d039b6f6597e2a51558e41dd':
Provide glibc-compatible SYS_* aliases for the __NR_* constants.
2013-03-21 18:49:24 -07:00
Elliott Hughes
800ad8249a
Merge "Provide glibc-compatible SYS_* aliases for the __NR_* constants."
2013-03-22 01:41:57 +00:00
Elliott Hughes
8ecf225827
Provide glibc-compatible SYS_* aliases for the __NR_* constants.
...
This helps us remove another external/strace bionic hack.
Change-Id: I3e82c0d2fd27e479be98f096e05b666fd16f8eb3
2013-03-21 18:06:55 -07:00
Elliott Hughes
c9edc07977
am 39e2a408: am 6eb978c9: Merge "Expose wait4 as wait4 rather than __wait4."
...
* commit '39e2a408a64bd24fb0fe7f5eb444b55af1160480':
Expose wait4 as wait4 rather than __wait4.
2013-03-21 16:19:29 -07:00
Elliott Hughes
39e2a408a6
am 6eb978c9: Merge "Expose wait4 as wait4 rather than __wait4."
...
* commit '6eb978c9bf02d2bcdece2826577cc65900030690':
Expose wait4 as wait4 rather than __wait4.
2013-03-21 16:18:22 -07:00
Elliott Hughes
6eb978c9bf
Merge "Expose wait4 as wait4 rather than __wait4."
2013-03-21 23:14:48 +00:00
Elliott Hughes
17a8b0db63
Expose wait4 as wait4 rather than __wait4.
...
This helps strace(1) compile with one fewer hack.
Change-Id: I5296d0cfec5546709cda990abd705ad33d7c4626
2013-03-21 16:14:06 -07:00
Christopher Ferris
f46e14544b
am 9088af19: am 86c31849: Merge "Create arch specific versions of strcmp."
...
* commit '9088af19b45d1b7339b982c92ef9113337f5d2c6':
Create arch specific versions of strcmp.
2013-03-20 15:33:54 -07:00
Christopher Ferris
9088af19b4
am 86c31849: Merge "Create arch specific versions of strcmp."
...
* commit '86c318497270c80a3791b4cd9835367653636377':
Create arch specific versions of strcmp.
2013-03-20 15:29:06 -07:00
Christopher Ferris
86c3184972
Merge "Create arch specific versions of strcmp."
2013-03-20 22:14:48 +00:00
Christopher Ferris
31dea25b8b
Create arch specific versions of strcmp.
...
This uses the new strcmp.a15.S code as the basis for new versions
of strcmp.S.
The cortex-a15 code is the performance optimized version of strcmp.a15.S
taken with only the addition of a few pld instructions.
The cortex-a9 code is the same as the cortex-a15 code except that the
unaligned strcmp code was taken from the original strcmp.S.
The krait code is the same as the cortex-a15 code except that one path
in the unaligned strcmp code was taken from the original strcmp.S code
(the 2 byte overlap case).
The generic code is the original unmodified strmp.S from the bionic
subdirectory.
All three new versions underwent these test cases:
Strings the same, all same size:
- Both pointers double word aligned.
- One pointer double word aligned, one pointer word aligned.
- Both pointers word aligned.
- One pointer double word aligned, one pointer 1 off a word alignment.
- One pointer double word aligned, one pointer 2 off a word alignment.
- One pointer double word aligned, one pointer 3 off a word alignment.
- One pointer word aligned, one pointer 1 off a word alignment.
- One pointer word aligned, one pointer 2 off a word alignment.
- One pointer word aligned, one pointer 3 off a word alignment.
For all cases where it made sense, the two pointers were also tested
swapped.
Different strings, all same size:
- Single difference at double word boundary.
- Single difference at word boudary.
- Single difference at 1 off a word alignment.
- Single difference at 2 off a word alignment.
- Single difference at 3 off a word alignment.
Different sized strings, strings the same until the end:
- Shorter string ends on a double word boundary.
- Shorter string ends on word boundary.
- Shorter string ends at 1 off a word boundary.
- Shorter string ends at 2 off a word boundary.
- Shorter string ends at 3 off a word boundary.
For all different cases, run them through the same pointer alignment
cases when the strings are the same size.
For all cases the two pointers were also tested swapped.
Bug: 8005082
Merge from internal master.
(cherry-picked from commit a9a5870d16 )
Change-Id: I4c2b98f8a50804fb98ab67f75e9d660f1315a144
2013-03-20 14:33:54 -07:00
Elliott Hughes
d7dc414afd
am 987fc5a3: am adeec096: Merge "Hide various symbols that shouldn\'t be exposed."
...
* commit '987fc5a3c4046831dc9e6c252e99a9c694bbd9ee':
Hide various symbols that shouldn't be exposed.
2013-03-15 17:09:17 -07:00
Elliott Hughes
987fc5a3c4
am adeec096: Merge "Hide various symbols that shouldn\'t be exposed."
...
* commit 'adeec096292a3ad63767f13af04836249ecbc075':
Hide various symbols that shouldn't be exposed.
2013-03-15 17:07:45 -07:00
Elliott Hughes
adeec09629
Merge "Hide various symbols that shouldn't be exposed."
2013-03-15 23:52:09 +00:00
Elliott Hughes
12ea800566
am 5f829205: am c1416647: Merge "Clean up internal libc logging."
...
* commit '5f8292050fc07f4bf9e70f37a807ad028e3cfc87':
Clean up internal libc logging.
2013-03-15 16:36:37 -07:00
Elliott Hughes
5f8292050f
am c1416647: Merge "Clean up internal libc logging."
...
* commit 'c14166477e7fd22693eab194d37624c2f7506ce4':
Clean up internal libc logging.
2013-03-15 16:34:05 -07:00
Elliott Hughes
ce532721aa
Hide various symbols that shouldn't be exposed.
...
A mangled symbol in libc.so is a symbol that shouldn't be exported
by libc.so.
Change-Id: Id92d1e1968b3d11d111a5d9ef692adb1ac7694a1
2013-03-15 16:31:09 -07:00
Elliott Hughes
c14166477e
Merge "Clean up internal libc logging."
2013-03-15 23:21:36 +00:00
Elliott Hughes
8f2a5a0b40
Clean up internal libc logging.
...
We only need one logging API, and I prefer the one that does no
allocation and is thus safe to use in any context.
Also use O_CLOEXEC when opening the /dev/log files.
Move everything logging-related into one header file.
Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58
2013-03-15 16:12:58 -07:00
Elliott Hughes
e1b0db1392
am 50d42294: am e23ed8c6: Merge "Remove useless workaround for HTC RIL bugs."
...
* commit '50d42294bdc983e05eca0fb0099bbb9f634fd5e3':
Remove useless workaround for HTC RIL bugs.
2013-03-15 11:46:05 -07:00
Elliott Hughes
50d42294bd
am e23ed8c6: Merge "Remove useless workaround for HTC RIL bugs."
...
* commit 'e23ed8c6441389a79c6504295184f7249e01a197':
Remove useless workaround for HTC RIL bugs.
2013-03-15 11:43:50 -07:00
Elliott Hughes
e23ed8c644
Merge "Remove useless workaround for HTC RIL bugs."
2013-03-15 18:26:49 +00:00
Elliott Hughes
2eb44c5aa4
Remove useless workaround for HTC RIL bugs.
...
HTC's RIL uses the liblog logging, not ours.
Change-Id: I56f9304e833ccb329df4ee55042012d7ad5f73ed
2013-03-15 11:21:15 -07:00
Elliott Hughes
9ede4549fe
am f8d689bc: am 4d696eb4: Merge "Fix a bug in ZoneCompactor that meant the zonetab offset was wrong."
...
* commit 'f8d689bc56976f8bd37b306053154a0e9d17fb1d':
Fix a bug in ZoneCompactor that meant the zonetab offset was wrong.
2013-03-14 17:42:42 -07:00
Elliott Hughes
f8d689bc56
am 4d696eb4: Merge "Fix a bug in ZoneCompactor that meant the zonetab offset was wrong."
...
* commit '4d696eb49d24590a6d6d25657b5bc0103e2d90ba':
Fix a bug in ZoneCompactor that meant the zonetab offset was wrong.
2013-03-14 17:40:26 -07:00
Elliott Hughes
4d696eb49d
Merge "Fix a bug in ZoneCompactor that meant the zonetab offset was wrong."
2013-03-15 00:30:48 +00:00
Elliott Hughes
af7f2f2fcf
Fix a bug in ZoneCompactor that meant the zonetab offset was wrong.
...
Bug: 8391426
Change-Id: Ia4a8889b5a613aa96bb3fb5d89a921c913ff7626
2013-03-14 17:10:24 -07:00
Christopher Ferris
f85fc022f5
am f694ed1c: am d30b9f09: Merge "Remove unused arm defines."
...
* commit 'f694ed1cdbfd2d26cdc2a008b67bfd3451522c8f':
Remove unused arm defines.
2013-03-14 16:36:45 -07:00
Christopher Ferris
f694ed1cdb
am d30b9f09: Merge "Remove unused arm defines."
...
* commit 'd30b9f0912b4763f0d98bdee23064015223ec03f':
Remove unused arm defines.
2013-03-14 16:32:21 -07:00
Christopher Ferris
d30b9f0912
Merge "Remove unused arm defines."
2013-03-14 23:23:42 +00:00
Christopher Ferris
306a353825
Remove unused arm defines.
...
The defines HAVE_32_BYTE_CACHE_LINES and ARCH_ARM_USE_NON_NEON_MEMCPY
are not used by any code. The previous memcpy code that used these
has been split into different architecture versions to avoid the need
for them.
Bug: 8005082
Merge from internal master.
(cherry-picked from commit 6e1a5cf31b )
Change-Id: Ib18fc3f4131b21cdbd19b9dde7697ac25d066fcf
2013-03-14 15:32:18 -07:00
Elliott Hughes
c9358706c6
am 2e7b8d63: am f861bc5c: Merge "Don\'t search off the end of the index for bad Olson ids."
...
* commit '2e7b8d6399fdea6e43dd07f353346324d2bf4ec4':
Don't search off the end of the index for bad Olson ids.
2013-03-14 15:30:13 -07:00
Elliott Hughes
2e7b8d6399
am f861bc5c: Merge "Don\'t search off the end of the index for bad Olson ids."
...
* commit 'f861bc5cc3e17322e49f89deea61f278aaefbe76':
Don't search off the end of the index for bad Olson ids.
2013-03-14 15:17:09 -07:00
Elliott Hughes
f861bc5cc3
Merge "Don't search off the end of the index for bad Olson ids."
2013-03-14 22:05:44 +00:00
Elliott Hughes
e0175ca7e4
Don't search off the end of the index for bad Olson ids.
...
In the old code, the index was a file to itself, so it made sense to
read until you hit the end of the file. In the new code, the index is
followed by hundreds of KiB of data, so we need to just search the
index.
Bug: 8368791
Change-Id: Icf5f8b5516cf3a93679fa849c9f6cd1cb100e0f1
2013-03-14 14:38:08 -07:00
Elliott Hughes
f557e90b34
am 2f44c05b: am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall stubs."
...
* commit '2f44c05bc54073aa6decfc5d933b7e77e7ce5768':
Use the kernel's MAX_ERRNO in the syscall stubs.
2013-03-12 17:55:54 -07:00
Elliott Hughes
2f44c05bc5
am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall stubs."
...
* commit 'ec706c24acb4d1db6a583a57b76adfb9250d39eb':
Use the kernel's MAX_ERRNO in the syscall stubs.
2013-03-12 17:54:00 -07:00
Elliott Hughes
ec706c24ac
Merge "Use the kernel's MAX_ERRNO in the syscall stubs."
2013-03-13 00:44:33 +00:00
Elliott Hughes
9aceab5015
Use the kernel's MAX_ERRNO in the syscall stubs.
...
Bug: http://code.google.com/p/android/issues/detail?id=53104
Change-Id: Iaabf7025b153e96dc5eca231a33a32d4cb7d8116
2013-03-12 17:43:58 -07:00
Christopher Ferris
b0b974c10c
am 2a66ccf1: am 980508b0: Merge "Break bionic implementations into arch versions."
...
* commit '2a66ccf1bb4dd0183b65264cb8107ba70748f626':
Break bionic implementations into arch versions.
2013-03-12 15:40:22 -07:00
Christopher Ferris
2a66ccf1bb
am 980508b0: Merge "Break bionic implementations into arch versions."
...
* commit '980508b0ead3ee01e99e93635c57eb76d1aba62d':
Break bionic implementations into arch versions.
2013-03-12 15:39:38 -07:00
Christopher Ferris
980508b0ea
Merge "Break bionic implementations into arch versions."
2013-03-12 22:24:09 +00:00
Christopher Ferris
04954a43b3
Break bionic implementations into arch versions.
...
Move arch specific code for arm, mips, x86 into separate
makefiles.
In addition, add different arm cpu versions of memcpy/memset.
Bug: 8005082
Merge from internal master (acdde8c1cf ).
Change-Id: I04f3d0715104fab618e1abf7cf8f7eec9bec79df
2013-03-12 14:06:08 -07:00
Elliott Hughes
b4d6f28cc3
am a3214c65: am 94a34010: Merge "Support large errno values on ARM."
...
* commit 'a3214c65620827628a87849a5fbad5a4ef97eeb1':
Support large errno values on ARM.
2013-03-12 12:18:49 -07:00
Elliott Hughes
a3214c6562
am 94a34010: Merge "Support large errno values on ARM."
...
* commit '94a34010c1f989032c0a4dc7a7a68d069ca23b1e':
Support large errno values on ARM.
2013-03-12 12:17:15 -07:00
Elliott Hughes
94a34010c1
Merge "Support large errno values on ARM."
2013-03-12 19:08:36 +00:00
Elliott Hughes
746f128602
am 5d998b4a: am f21aa3b6: Merge "Use more types than just \'unsigned\' in the linker."
...
* commit '5d998b4a21aab09da750e8e43cb608f5ee6b1f3d':
Use more types than just 'unsigned' in the linker.
2013-03-12 12:03:06 -07:00
Elliott Hughes
5d998b4a21
am f21aa3b6: Merge "Use more types than just \'unsigned\' in the linker."
...
* commit 'f21aa3b61ebc6b1a7c34265699f40bd9b5af7952':
Use more types than just 'unsigned' in the linker.
2013-03-12 12:00:55 -07:00
Elliott Hughes
cb2069bf69
Support large errno values on ARM.
...
Bug: http://code.google.com/p/android/issues/detail?id=53104
Change-Id: Ic6c40be2dc50f0644a3d8b09ceae59c38f2d5b53
2013-03-12 11:55:45 -07:00
Elliott Hughes
f21aa3b61e
Merge "Use more types than just 'unsigned' in the linker."
2013-03-12 18:54:27 +00:00
Elliott Hughes
ca0c11bd82
Use more types than just 'unsigned' in the linker.
...
Still chipping away at the situation where every variable in the
linker was of type 'unsigned'. This patch switches counts over to
being size_t and adds an explicit type for init/fini function pointers
and arrays of function pointers.
Also improve logging from CallArray.
Also remove trailing "\n"s from log messages.
Change-Id: Ie036d2622caac50f4d29f0570888bb527661d77e
2013-03-12 11:26:56 -07:00
Elliott Hughes
e9cdce33f3
am 3c9afb5e: am 6b4c77f8: Merge "Use Elf32_Addr instead of unsigned in linker"
...
* commit '3c9afb5e17eaa2ed5a12d71a1a09fe85f06fcb48':
Use Elf32_Addr instead of unsigned in linker
2013-03-12 10:40:56 -07:00
Elliott Hughes
3c9afb5e17
am 6b4c77f8: Merge "Use Elf32_Addr instead of unsigned in linker"
...
* commit '6b4c77f854c079138d552608b9df5fa3035f0fcc':
Use Elf32_Addr instead of unsigned in linker
2013-03-12 10:38:46 -07:00
Elliott Hughes
6b4c77f854
Merge "Use Elf32_Addr instead of unsigned in linker"
2013-03-12 17:24:04 +00:00
Kito Cheng
fa8c05dc00
Use Elf32_Addr instead of unsigned in linker
...
Change-Id: I52dcbb4b0ff0a4052e0ad7a9bbeb2df65c9d2f66
2013-03-12 10:19:14 -07:00
Elliott Hughes
8c73f69cf4
am 36cb88b7: am 53630c0e: Merge "Cache the most-recently used timezone for mktime_tz and localtime_tz."
...
* commit '36cb88b70c39e507e9017f0bd7121da57e568744':
Cache the most-recently used timezone for mktime_tz and localtime_tz.
2013-03-11 18:46:23 -07:00
Elliott Hughes
36cb88b70c
am 53630c0e: Merge "Cache the most-recently used timezone for mktime_tz and localtime_tz."
...
* commit '53630c0e5bb6f845ba633e8dedc08b827f7b5d0c':
Cache the most-recently used timezone for mktime_tz and localtime_tz.
2013-03-11 18:44:19 -07:00
Elliott Hughes
53630c0e5b
Merge "Cache the most-recently used timezone for mktime_tz and localtime_tz."
2013-03-12 01:28:36 +00:00
Elliott Hughes
4a05bef4c0
Cache the most-recently used timezone for mktime_tz and localtime_tz.
...
Normally, the C library implicitly caches your timezone by virtue
of the fact that the prehistoric API assumes a single timezone for
the entire process.
The unfortunate mktime_tz and localtime_tz extensions work around
this, but represent timezones as strings to their callers, so code
that makes heavy use of these needs a cache to be able to perform
acceptably until it can hopefully one day be rewritten to use
java.util.Calendar or icu4c.
Bug: 8270865
Change-Id: I92e3964e86dc33ceac925f819cc5e26ff4203f50
2013-03-11 17:17:02 -07:00
Jean-Baptiste Queru
a60f381814
am b2525ba8: am 7915b22e: am a4b20d71: am b8e1033c: (-s ours) am e5412a9a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'b2525ba8a0f91594df17e893d036c416a109b012':
2013-03-11 12:35:36 -07:00
Jean-Baptiste Queru
b2525ba8a0
am 7915b22e: am a4b20d71: am b8e1033c: (-s ours) am e5412a9a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '7915b22e8f70b80a9fc2c41f9734194c58b546fc':
2013-03-11 12:30:58 -07:00
Jean-Baptiste Queru
7915b22e8f
am a4b20d71: am b8e1033c: (-s ours) am e5412a9a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'a4b20d712b9c6cbc562529d3a41bf8ea1515562a':
2013-03-11 12:28:17 -07:00
Elliott Hughes
60ac09bdb2
am 6d6f5e61: am 4b032ee9: Merge "Let bionic use the correct definition of ssize_t."
...
* commit '6d6f5e618e054e79d80a02f2c3f76ce0fd73bb2a':
Let bionic use the correct definition of ssize_t.
2013-03-11 12:27:58 -07:00
Jean-Baptiste Queru
a4b20d712b
am b8e1033c: (-s ours) am e5412a9a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'b8e1033c5b5813cb97d19645075591a357e9f04a':
2013-03-11 12:22:41 -07:00
Jean-Baptiste Queru
b8e1033c5b
am e5412a9a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'e5412a9a9597433ae2540b390269c514c46402f1':
2013-03-11 12:19:03 -07:00
Jean-Baptiste Queru
e5412a9a95
Reconcile with jb-mr1-release - do not merge
2013-03-11 12:15:11 -07:00
Elliott Hughes
bf32ffcf02
am 0b765862: am 62c5cd07: Merge "Upgrade to tzdata2013b."
...
* commit '0b765862e134e87174ddf9bdfa32528392f85e96':
Upgrade to tzdata2013b.
2013-03-11 11:29:24 -07:00
Elliott Hughes
6d6f5e618e
am 4b032ee9: Merge "Let bionic use the correct definition of ssize_t."
...
* commit '4b032ee9b94137e41ee54e9bb3bcf0ba5ad43cbc':
Let bionic use the correct definition of ssize_t.
2013-03-11 11:07:29 -07:00
Elliott Hughes
4b032ee9b9
Merge "Let bionic use the correct definition of ssize_t."
2013-03-11 17:55:27 +00:00
Elliott Hughes
0b765862e1
am 62c5cd07: Merge "Upgrade to tzdata2013b."
...
* commit '62c5cd0781e95c1c50b63c37a9a87bc158e64d38':
Upgrade to tzdata2013b.
2013-03-11 09:57:53 -07:00
Elliott Hughes
62c5cd0781
Merge "Upgrade to tzdata2013b."
2013-03-11 16:42:57 +00:00
Elliott Hughes
cdb27f239b
Upgrade to tzdata2013b.
...
From the release notes:
Changes affecting current and future time stamps:
Haiti uses US daylight-saving rules this year, and presumably future years.
This changes time stamps starting today. (Thanks to Steffen Thorsen.)
Paraguay will end DST on March 24 this year.
(Thanks to Steffen Thorsen.) For now, assume it's just this year.
Morocco does not observe DST during Ramadan;
try to predict Ramadan in Morocco as best we can.
(Thanks to Erik Homoet for the heads-up.)
Change-Id: I98d5290ea5a1d9fb1eeddab1c9e72135dc9e4bd1
2013-03-11 09:41:45 -07:00
Elliott Hughes
b6e22482d4
Let bionic use the correct definition of ssize_t.
...
Bug: 8253769
Change-Id: I50c7cc20828fc089b83580e039ce9153a6c5a8cc
2013-03-08 15:28:52 -08:00
Elliott Hughes
8a01572272
resolved conflicts for merge of 4706606c to jb-mr2-dev
...
Change-Id: Ibf6340df901c870cd05a2ab56536ad23b6fd491c
2013-03-07 13:19:20 -08:00
Elliott Hughes
4706606c88
am 809eed1d: Merge "Regenerate NOTICE files."
...
* commit '809eed1dedb833af1aba56c6a1d059123b43049a':
Regenerate NOTICE files.
2013-03-07 12:02:00 -08:00
Elliott Hughes
809eed1ded
Merge "Regenerate NOTICE files."
2013-03-07 19:57:17 +00:00
Elliott Hughes
0493a6f7be
Regenerate NOTICE files.
...
Also clean up some obsolete cruft.
Change-Id: Iec3b36f6607f7a08b72de99294ed5b6cd910dd5f
2013-03-07 11:51:10 -08:00
Elliott Hughes
0a2ee4750a
am ad7c275e: am c9f80814: Merge "Upgrade to current NetBSD popen/pclose."
...
* commit 'ad7c275e45088e1f13656b97dabbe911fff83664':
Upgrade to current NetBSD popen/pclose.
2013-03-07 01:04:52 +00:00
Elliott Hughes
ad7c275e45
am c9f80814: Merge "Upgrade to current NetBSD popen/pclose."
...
* commit 'c9f80814259a81dce12ba35d1750fa2b23fef48d':
Upgrade to current NetBSD popen/pclose.
2013-03-06 17:03:28 -08:00
Elliott Hughes
c9f8081425
Merge "Upgrade to current NetBSD popen/pclose."
2013-03-07 00:54:22 +00:00
Elliott Hughes
6b3f49a537
Upgrade to current NetBSD popen/pclose.
...
This gets us back to using vfork now our ARM vfork assembler stub is
fixed, and adds the missing thread safety for the 'pidlist'.
Bug: 5335385
Change-Id: Ib08bfa65b2cb9fa695717aae629ea14816bf988d
2013-03-06 16:20:55 -08:00
Brian Carlstrom
c7b9f954a5
am 91392116: am 33031fed: Merge "Fix typo of DT_NEEDED for DT_NULL"
...
* commit '91392116ff859b2e7656ded729b8c758107241aa':
Fix typo of DT_NEEDED for DT_NULL
2013-03-07 00:12:13 +00:00
Brian Carlstrom
91392116ff
am 33031fed: Merge "Fix typo of DT_NEEDED for DT_NULL"
...
* commit '33031fed84e24fb7791f123df45abc1a3812ac59':
Fix typo of DT_NEEDED for DT_NULL
2013-03-06 16:11:07 -08:00
Brian Carlstrom
33031fed84
Merge "Fix typo of DT_NEEDED for DT_NULL"
2013-03-06 23:55:56 +00:00
Brian Carlstrom
2d4b9b7cff
Fix typo of DT_NEEDED for DT_NULL
...
(cherry-pick of 138b205ea9efc117fe522c2d7191378023a6e2cd)
Change-Id: Ia895cb3018df55554627f1f61dcdfdada4a961ce
2013-03-06 15:50:30 -08:00
Elliott Hughes
9c0c056bed
am 6b1aa1b1: am db794197: Merge "Fix debug malloc."
...
* commit '6b1aa1b16bc2cf8ba17e33fca4ffc399368b356c':
Fix debug malloc.
2013-03-06 23:24:59 +00:00
Elliott Hughes
6b1aa1b16b
am db794197: Merge "Fix debug malloc."
...
* commit 'db794197cc880e3805bcefbea780476a359066c2':
Fix debug malloc.
2013-03-06 15:22:24 -08:00
Elliott Hughes
db794197cc
Merge "Fix debug malloc."
2013-03-06 23:13:01 +00:00
Elliott Hughes
642331b5dd
Fix debug malloc.
...
This was broken by the change to use AT_RANDOM for the stack guards.
Bug: 7959813
Bug: 8330764
Change-Id: I791900092b72a9a900f16585237fa7ad82aaed9f
2013-03-06 15:03:53 -08:00
Elliott Hughes
bac72abae4
am 50a2cd86: am 0b4a85bf: Merge "Fix TIMING/STATS/COUNT_PAGES dynamic linker build"
...
* commit '50a2cd865e7cc8c72d926548ed5d64e269003055':
Fix TIMING/STATS/COUNT_PAGES dynamic linker build
2013-03-06 17:44:43 +00:00
Elliott Hughes
50a2cd865e
am 0b4a85bf: Merge "Fix TIMING/STATS/COUNT_PAGES dynamic linker build"
...
* commit '0b4a85bf1e11e28f66d0f101f9e7d4c51a0bb31c':
Fix TIMING/STATS/COUNT_PAGES dynamic linker build
2013-03-06 09:41:56 -08:00
Elliott Hughes
0b4a85bf1e
Merge "Fix TIMING/STATS/COUNT_PAGES dynamic linker build"
2013-03-06 17:25:51 +00:00
Kito Cheng
5e2492eb89
Fix TIMING/STATS/COUNT_PAGES dynamic linker build
...
Change-Id: I6432ac378816da253b83d1c7fb1d3fb64647b89e
2013-03-06 23:58:48 +08:00
Brian Carlstrom
2527a8b5a6
am 9043202b: am 20958207: Merge "Fix MIPS linker build"
...
* commit '9043202b5bb8e0725b0302e9da9d3a57c837e798':
Fix MIPS linker build
2013-03-06 09:18:59 +00:00
Brian Carlstrom
9043202b5b
am 20958207: Merge "Fix MIPS linker build"
...
* commit '20958207d5f9d36cc6f6b3edc4ff899c73b72b02':
Fix MIPS linker build
2013-03-06 01:17:27 -08:00
Brian Carlstrom
20958207d5
Merge "Fix MIPS linker build"
2013-03-06 09:06:16 +00:00
Brian Carlstrom
43cc7f795b
Fix MIPS linker build
...
(cherry-picked from 8c7d8c2057e303985f78eab96da747ddaa013c78)
Change-Id: Idcf62ab95f8fccbc2d7c3e771a4cfbe768a1555e
2013-03-06 01:05:08 -08:00
Elliott Hughes
c1a5d20d08
am 9a0b658c: am c41dcad0: Merge "More linker cleanup."
...
* commit '9a0b658c9c1f8f4492f61a75909e5ca2f05c3ac1':
More linker cleanup.
2013-03-06 06:44:06 +00:00
Elliott Hughes
9a0b658c9c
am c41dcad0: Merge "More linker cleanup."
...
* commit 'c41dcad040ede2975ea63e383a8a3d36e3642d56':
More linker cleanup.
2013-03-05 22:42:33 -08:00
Elliott Hughes
c41dcad040
Merge "More linker cleanup."
2013-03-06 06:26:56 +00:00
Elliott Hughes
650be4e584
More linker cleanup.
...
Change-Id: I9fb3c7c0d4b4ffef0eeaf092d4e30ffe63a08671
2013-03-05 22:24:34 -08:00
Brian Carlstrom
8c65a1e466
am a2517de3: am 036f9097: Merge "Minor linker cleanup, primarily to use Elf32_Dyn"
...
* commit 'a2517de3844d95b5f00a4666b8dae00ef893ac24':
Minor linker cleanup, primarily to use Elf32_Dyn
2013-03-06 01:22:25 +00:00
Brian Carlstrom
a2517de384
am 036f9097: Merge "Minor linker cleanup, primarily to use Elf32_Dyn"
...
* commit '036f909720fd0d56dbd04b9a761fb1d0714980b0':
Minor linker cleanup, primarily to use Elf32_Dyn
2013-03-05 17:20:35 -08:00
Brian Carlstrom
036f909720
Merge "Minor linker cleanup, primarily to use Elf32_Dyn"
2013-03-06 01:01:23 +00:00
Brian Carlstrom
d4ee82dfa3
Minor linker cleanup, primarily to use Elf32_Dyn
...
Change-Id: Ifa9408e9859c6f79444715bed4808b7c13fdced5
2013-03-05 15:27:21 -08:00
Elliott Hughes
97a8217ae1
am 3f7b1cd3: am be21fe7a: Merge "Upgrade to tzdata2013a."
...
* commit '3f7b1cd3acf9990efea9f75559b2f873ab3838fe':
Upgrade to tzdata2013a.
2013-03-05 22:23:45 +00:00
Elliott Hughes
3f7b1cd3ac
am be21fe7a: Merge "Upgrade to tzdata2013a."
...
* commit 'be21fe7a5947e24f9f0db90f8e16c54766d1237a':
Upgrade to tzdata2013a.
2013-03-05 14:22:01 -08:00
Elliott Hughes
be21fe7a59
Merge "Upgrade to tzdata2013a."
2013-03-05 22:19:14 +00:00
Elliott Hughes
69af6e61e1
Upgrade to tzdata2013a.
...
From the release notes:
Chile's 2013 rules, and we guess rules for 2014 and later, will be
the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
(Thanks to Steffen Thorsen and Robert Elz.)
New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.
(Thanks to Tobias Conradi and Arthur David Olson.)
Change-Id: I351e04b3348420ad7df7c648963c235b534033d2
2013-03-05 14:00:38 -08:00
Ben Cheng
6ad68558ed
am e5e6e17c: am 133d97e4: Merge "Add stack unwinding directives to memcpy."
...
* commit 'e5e6e17c5bd06e097c5bb4da9a23b5e293309ab9':
Add stack unwinding directives to memcpy.
2013-03-05 21:20:42 +00:00
Ben Cheng
e5e6e17c5b
am 133d97e4: Merge "Add stack unwinding directives to memcpy."
...
* commit '133d97e4b07a733787fb85692ad8427fdc3d1d22':
Add stack unwinding directives to memcpy.
2013-03-05 13:17:23 -08:00
Ben Cheng
133d97e4b0
Merge "Add stack unwinding directives to memcpy."
2013-03-05 21:04:38 +00:00
Elliott Hughes
c96ad9bcd2
am 7b69ac53: am cf9a9604: Merge "Switch to upstream-freebsd for the unmolested wchar code."
...
* commit '7b69ac535abca0e7867524e68f5a3581cc367de8':
Switch to upstream-freebsd for the unmolested wchar code.
2013-03-05 20:28:28 +00:00
Elliott Hughes
7b69ac535a
am cf9a9604: Merge "Switch to upstream-freebsd for the unmolested wchar code."
...
* commit 'cf9a9604adb27600c79ca236578a8be89168202f':
Switch to upstream-freebsd for the unmolested wchar code.
2013-03-05 12:27:09 -08:00
Elliott Hughes
cf9a9604ad
Merge "Switch to upstream-freebsd for the unmolested wchar code."
2013-03-05 20:13:33 +00:00
Elliott Hughes
81e0f35acc
am 2125c155: am d392e044: Merge "Move realpath.c to upstream-freebsd."
...
* commit '2125c15506cbe9e4062d72ebb723d164e9c01c1f':
Move realpath.c to upstream-freebsd.
2013-03-04 23:56:56 +00:00
Elliott Hughes
2125c15506
am d392e044: Merge "Move realpath.c to upstream-freebsd."
...
* commit 'd392e044c7a03ff1c0903c3512d00955bc7de473':
Move realpath.c to upstream-freebsd.
2013-03-04 08:25:58 -08:00
Elliott Hughes
eb93ebffba
Switch to upstream-freebsd for the unmolested wchar code.
...
Change-Id: I87b4d76ff8da04109ae53638eec4f11629798960
2013-03-01 18:35:56 -08:00
Elliott Hughes
d392e044c7
Merge "Move realpath.c to upstream-freebsd."
2013-03-02 01:22:04 +00:00
Christopher Ferris
29cc4946ac
Merge "Remove unused arm defines. DO NOT MERGE" into jb-mr2-dev
2013-03-02 01:16:00 +00:00
Elliott Hughes
f0777843c0
Move realpath.c to upstream-freebsd.
...
This is actually a slightly newer upstream version than the one I
originally pulled. Hopefully now it's in upstream-freebsd it will
be easier to track upstream, though I still need to sit down and
write the necessary scripts at some point.
Bug: 5110679
Change-Id: I87e563f0f95aa8e68b45578e2a8f448bbf827a33
2013-03-01 17:11:39 -08:00
Christopher Ferris
947b3ab02b
Remove unused arm defines. DO NOT MERGE
...
The defines HAVE_32_BYTE_CACHE_LINES and ARCH_ARM_USE_NON_NEON_MEMCPY
are not used by any code. The previous memcpy code that used these
has been split into different architecture versions to avoid the need
for them.
Bug: 8005082
(cherry picked from commit 6e1a5cf31b )
Change-Id: I69654d47db1458136782b5504290f620e924ee75
2013-03-01 16:54:56 -08:00
Ben Cheng
14283004f5
Add stack unwinding directives to memcpy.
...
Also include some Android specific header files.
Change-Id: Idbcbd43458ba945ca8c61bfbc04ea15fc0ae4e00
2013-03-01 14:56:04 -08:00
Ben Cheng
b9ef7f4e12
am 52b3aed7: am c5c6cb3f: am 66273ac2: Merge "Adding strcmp tuned for Cortex-A15."
...
* commit '52b3aed7982e9d68aad0652f54d5ee180ddf1c5a':
Adding strcmp tuned for Cortex-A15.
2013-03-01 18:28:25 +00:00
Ben Cheng
ae280bcdbe
am 55fc93a9: am 8f149da0: am b3b1ab62: Merge "Adding memcpy tuned for Cortex-A15."
...
* commit '55fc93a90961022e38ef0bb63bcb81d2b4e5aef6':
Adding memcpy tuned for Cortex-A15.
2013-03-01 18:28:25 +00:00
Nick Kralevich
04190c53e3
am cc646773: am 305a9995: am 8fa924e5: Merge "unistd.h: don\'t include sys/capability.h"
...
* commit 'cc64677342209d38f88138c03d3ded0e1d61637c':
unistd.h: don't include sys/capability.h
2013-03-01 18:28:24 +00:00
Ben Cheng
52b3aed798
am c5c6cb3f: am 66273ac2: Merge "Adding strcmp tuned for Cortex-A15."
...
* commit 'c5c6cb3f13642386e08acf687b4bc39f568bad0c':
Adding strcmp tuned for Cortex-A15.
2013-03-01 10:26:52 -08:00
Ben Cheng
55fc93a909
am 8f149da0: am b3b1ab62: Merge "Adding memcpy tuned for Cortex-A15."
...
* commit '8f149da08dc3125824e168f8d29613be80b2085c':
Adding memcpy tuned for Cortex-A15.
2013-03-01 10:26:52 -08:00
Nick Kralevich
cc64677342
am 305a9995: am 8fa924e5: Merge "unistd.h: don\'t include sys/capability.h"
...
* commit '305a999589a8dfde077589106853522d483d24d2':
unistd.h: don't include sys/capability.h
2013-03-01 10:26:51 -08:00
Ben Cheng
c5c6cb3f13
am 66273ac2: Merge "Adding strcmp tuned for Cortex-A15."
...
* commit '66273ac2b6b8c2042350204575bd290d96dea681':
Adding strcmp tuned for Cortex-A15.
2013-03-01 10:24:58 -08:00
Ben Cheng
8f149da08d
am b3b1ab62: Merge "Adding memcpy tuned for Cortex-A15."
...
* commit 'b3b1ab6213df15f99c9af3088cfe733428816fd3':
Adding memcpy tuned for Cortex-A15.
2013-03-01 10:24:58 -08:00
Nick Kralevich
305a999589
am 8fa924e5: Merge "unistd.h: don\'t include sys/capability.h"
...
* commit '8fa924e5dff4588cca8586e0e727b9a544db7083':
unistd.h: don't include sys/capability.h
2013-03-01 10:24:57 -08:00
Ben Cheng
66273ac2b6
Merge "Adding strcmp tuned for Cortex-A15."
2013-03-01 18:18:34 +00:00
Ben Cheng
b3b1ab6213
Merge "Adding memcpy tuned for Cortex-A15."
2013-03-01 18:18:05 +00:00
Nick Kralevich
8fa924e5df
Merge "unistd.h: don't include sys/capability.h"
2013-03-01 18:14:47 +00:00
Nick Kralevich
6524d3cad7
unistd.h: don't include sys/capability.h
...
Don't pull in unnecessary header files. AFAIK, I've fixed all
the code which didn't include the correct header files.
Change-Id: If0b7bba74e77cb24a0cf9ce8968aa07400855e58
2013-03-01 10:10:55 -08:00
Greta Yorsh
eb149e954e
Adding strcmp tuned for Cortex-A15.
...
The attached patch provides a new implementation of strcmp for ARM,
using LDRD instead of LDR whenever possible.
For older architectures that do not support LDRD, this implementation
uses the same algorithm as before.
Testing and benchmarking:
* Validation: successfully passes a test that compares different strings
of length 1-128 and offsets 0-8 from a word boundary. Checked on
qemu/A15/A9, ARM/Thumb mode, Big/Little Endian.
* Integration with gcc: no regression on qemu for arm-none-eabi --with-cpu
a15/a9 --with-mode arm/thumb.
Change-Id: I9e230e1b99dbdc9119b69ee858a89038c516a4ea
Signed-off-by: Vassilis Laganakos <vasileios.laganakos@arm.com >
2013-03-01 10:41:01 +00:00
Greta Yorsh
5b349fc22e
Adding memcpy tuned for Cortex-A15.
...
The strategy for large block sizes is LDRD and STRD with offset addressing,
where the main loop copies 64 bytes in every iteration, (i.e., 8 calls to
LDRD and STRD pairs), interleaving load and stores (i.e., the pairs of LDRD
and STRD of the same data are consecutive instructions), and the writeback
of an updated address is a separate instruction, which allows us to write
back the accumulated update once per iteration.
This strategy is implemented in memcpy.S. In some configurations, a plain
version of memcpy (included from memcpy-stub.c) is used instead of the
optimized one.
Validation:
* Correctness: checked memcpy using a test harness for block sizes
ranging between 1 to 128, and source and destination buffers alignment
ranging in { 0,1,2,3,4,8,12 } bytes each.
* Performance: benchmarking on Cortex-A15 FPGA indicates that this strategy
is better for A15 than the strategy used by glibc and even slightly better
than using NEON. Benchmarking on Cortex-A9 bare metal and Linux shows
that the proposed strategy is reasonable: not as fast as the version of
memcpy from glibc (which is the best open source strategy for A9), but
comparable with csl and bionic.
* Integration with GCC: no regression for arm-none-eabi --with-cpu
cortex-a15 and cortex-a9.
Change-Id: Ied56354d8992c62ae3e02d582a2bd55585d814b9
Signed-off-by: Vassilis Laganakos <vasileios.laganakos@arm.com >
2013-03-01 10:40:50 +00:00
Christopher Ferris
7c83a1ed81
Break bionic implementations into arch versions. DO NOT MERGE
...
Move arch specific code for arm, mips, x86 into separate
makefiles.
In addition, add different arm cpu versions of memcpy/memset.
Bug: 8005082
(cherry picked from commit acdde8c1cf )
Change-Id: I0108d432af9f6283ae99adfc92a3399e5ab3e31d
2013-02-28 17:45:16 -08:00
Elliott Hughes
04766565d3
am 9c102ccf: am 7fe8229b: am 9c1912c4: Merge "Avoid changing the C++ ABI with ssize_t."
...
* commit '9c102ccf9517637f9d293b4e52f9a40573d8fc1d':
Avoid changing the C++ ABI with ssize_t.
2013-02-28 19:46:19 +00:00
Elliott Hughes
9c102ccf95
am 7fe8229b: am 9c1912c4: Merge "Avoid changing the C++ ABI with ssize_t."
...
* commit '7fe8229b49ea091d769b63052247ca12280975eb':
Avoid changing the C++ ABI with ssize_t.
2013-02-28 11:44:20 -08:00
Elliott Hughes
7fe8229b49
am 9c1912c4: Merge "Avoid changing the C++ ABI with ssize_t."
...
* commit '9c1912c4bf5eb0edc07bfd333226c4e0b7a629eb':
Avoid changing the C++ ABI with ssize_t.
2013-02-28 11:43:11 -08:00
Elliott Hughes
9c1912c4bf
Merge "Avoid changing the C++ ABI with ssize_t."
2013-02-28 19:28:53 +00:00
Elliott Hughes
e255642dc1
Avoid changing the C++ ABI with ssize_t.
...
Bug: 8253769
Change-Id: Ia325003ed6e59da553e2bdde7c43515bc191b8ba
2013-02-28 10:51:31 -08:00
Nick Kralevich
30f1622a34
am 82f4cc5d: am 58b997c8: am f5f906c1: Merge "libc: create sys/capability.h"
...
* commit '82f4cc5de495c6cc3d3736ab075ccd05285beabc':
libc: create sys/capability.h
2013-02-26 21:55:28 +00:00
Nick Kralevich
82f4cc5de4
am 58b997c8: am f5f906c1: Merge "libc: create sys/capability.h"
...
* commit '58b997c8121455ecb9aa1b80d7c796115149ec2a':
libc: create sys/capability.h
2013-02-26 13:51:26 -08:00
Nick Kralevich
58b997c812
am f5f906c1: Merge "libc: create sys/capability.h"
...
* commit 'f5f906c184677b8295523231cfeead9ed94661ad':
libc: create sys/capability.h
2013-02-26 13:50:03 -08:00
Nick Kralevich
f5f906c184
Merge "libc: create sys/capability.h"
2013-02-26 21:38:11 +00:00
Nick Kralevich
7c0dd555c0
libc: create sys/capability.h
...
Per "man capset", sys/capability.h is the appropriate header file
for the capget / capset definition, not unistd.h. Fixed.
As a short term hack, continue to include sys/capability.h in
unistd.h, until we can fix all the code which uses capget / capset.
Change-Id: I6e7cf55955d761ca785a14c5e4b7a44125d8fc15
2013-02-26 13:27:15 -08:00
Elliott Hughes
aa13eaa934
am d9cb6988: am 406968b2: am c0e9ddd0: Merge "Reimplement scandir(3)."
...
* commit 'd9cb69881a062c615a8009be0a70270c70eb35da':
Reimplement scandir(3).
2013-02-25 22:58:44 +00:00
Elliott Hughes
d9cb69881a
am 406968b2: am c0e9ddd0: Merge "Reimplement scandir(3)."
...
* commit '406968b2444bf29e449acebdfb7ff174abd1e0ad':
Reimplement scandir(3).
2013-02-25 14:56:51 -08:00
Elliott Hughes
406968b244
am c0e9ddd0: Merge "Reimplement scandir(3)."
...
* commit 'c0e9ddd002f6084c29c26236d741d64d01713c15':
Reimplement scandir(3).
2013-02-25 14:54:54 -08:00
Elliott Hughes
c0e9ddd002
Merge "Reimplement scandir(3)."
2013-02-25 22:43:28 +00:00
Elliott Hughes
701bec2af3
Reimplement scandir(3).
...
The old scandir implementation didn't take into account the varying
size of directory entries, and didn't correctly clean up on its
error exits.
Bug: 7339844
Change-Id: Ib40e3564709752241a3119a496cbb2192e3f9abe
2013-02-25 13:14:31 -08:00
Elliott Hughes
92ce5cc4bc
am ed1068c8: am 7b8bf681: am f6bb5bf4: Merge "Add the glibc-compatible names to <sys/endian.h>."
...
* commit 'ed1068c86ea0380e4b4909252367ffacc812ad57':
Add the glibc-compatible names to <sys/endian.h>.
2013-02-22 14:09:30 -08:00
Elliott Hughes
ed1068c86e
am 7b8bf681: am f6bb5bf4: Merge "Add the glibc-compatible names to <sys/endian.h>."
...
* commit '7b8bf68133cda6c5ff9207248b563c2f6297e22a':
Add the glibc-compatible names to <sys/endian.h>.
2013-02-22 14:06:12 -08:00
Elliott Hughes
7b8bf68133
am f6bb5bf4: Merge "Add the glibc-compatible names to <sys/endian.h>."
...
* commit 'f6bb5bf498810d0622f66020059c87b96738c35b':
Add the glibc-compatible names to <sys/endian.h>.
2013-02-22 14:02:44 -08:00
Elliott Hughes
f6bb5bf498
Merge "Add the glibc-compatible names to <sys/endian.h>."
2013-02-22 21:46:59 +00:00
Elliott Hughes
726642cfa5
am dd843914: am 440bc83d: am 7b2c6385: Merge "Fix <memory.h> to be a synonym for <string.h> like in glibc."
...
* commit 'dd8439141aeac6dc3a64e25f313d08833e1d85f5':
Fix <memory.h> to be a synonym for <string.h> like in glibc.
2013-02-22 12:16:14 -08:00
Elliott Hughes
dd8439141a
am 440bc83d: am 7b2c6385: Merge "Fix <memory.h> to be a synonym for <string.h> like in glibc."
...
* commit '440bc83d924fa616614b4b426da66c2893048887':
Fix <memory.h> to be a synonym for <string.h> like in glibc.
2013-02-22 12:12:45 -08:00
Elliott Hughes
440bc83d92
am 7b2c6385: Merge "Fix <memory.h> to be a synonym for <string.h> like in glibc."
...
* commit '7b2c6385effbb6d6e98bfe29cc6c144211128d9e':
Fix <memory.h> to be a synonym for <string.h> like in glibc.
2013-02-22 12:10:15 -08:00
Nick Kralevich
bcedca25d3
am 41fb968c: am cadc8583: am bc0e7ee1: Merge "libc: add sys/signal.h for compatibility"
...
* commit '41fb968c4268d080b0be4493876672efc4a71e16':
libc: add sys/signal.h for compatibility
2013-02-22 11:59:38 -08:00
Nick Kralevich
41fb968c42
am cadc8583: am bc0e7ee1: Merge "libc: add sys/signal.h for compatibility"
...
* commit 'cadc858329a5929911eff5f9a208229112e36a93':
libc: add sys/signal.h for compatibility
2013-02-22 11:56:39 -08:00
Nick Kralevich
cadc858329
am bc0e7ee1: Merge "libc: add sys/signal.h for compatibility"
...
* commit 'bc0e7ee18157c2ffe65644514555689f4259ccfe':
libc: add sys/signal.h for compatibility
2013-02-22 11:53:05 -08:00
Elliott Hughes
7b2c6385ef
Merge "Fix <memory.h> to be a synonym for <string.h> like in glibc."
2013-02-22 19:49:39 +00:00
Nick Kralevich
bc0e7ee181
Merge "libc: add sys/signal.h for compatibility"
2013-02-22 19:33:53 +00:00
Nick Kralevich
5d36baee95
Merge "gethostbyname: fix crash"
2013-02-22 19:32:37 +00:00
Elliott Hughes
6f1b7a6407
Fix <memory.h> to be a synonym for <string.h> like in glibc.
...
Change-Id: If23589c5d85dffd28788e04b010303620fa178ca
2013-02-22 11:11:48 -08:00
Elliott Hughes
cf820d7e96
Add the glibc-compatible names to <sys/endian.h>.
...
Also remove declarations for functions that don't exist; these
are all macros.
Bug: http://code.google.com/p/android/issues/detail?id=41769
Change-Id: Ia3774ab2ff7d3c535f83774eac61068f9b11e194
2013-02-22 11:04:27 -08:00
Nick Kralevich
b22a684990
libc: add sys/signal.h for compatibility
...
Some applications look for sys/signal.h instead of signal.h.
Work around those apps.
Change-Id: I76ac7744ebc56d196b5f0cb9ed381d32817436b9
2013-02-22 10:38:28 -08:00
Nick Kralevich
bfe0640e41
Don't pass pid to dnsproxyd
...
dnsproxyd can already determine our pid by looking at our
socket connection. It's dangerous (and unneeded) to pass it
ourselves.
Change-Id: I2596d02e361b302259ddb084be2fb75be59889c5
2013-02-21 21:34:11 -08:00
Nick Kralevich
a6b24b7afb
gethostbyname: fix crash
...
When an app doesn't have the internet permission, android_open_proxy
returns NULL, causing a segfault when calling fprintf. Fixed.
Change-Id: I598855350ed0db3cc88e5ae3b400145418a3a615
2013-02-21 20:12:42 -08:00
Elliott Hughes
7dfc6a3cd1
am e974e951: am 2a5b57db: am 580a7073: Merge "Stop advertising rindex(3), which is both deprecated and unimplemented."
...
* commit 'e974e951606d2efbad4bafe5edbd09c13d875f6a':
Stop advertising rindex(3), which is both deprecated and unimplemented.
2013-02-21 18:01:17 -08:00
Elliott Hughes
e974e95160
am 2a5b57db: am 580a7073: Merge "Stop advertising rindex(3), which is both deprecated and unimplemented."
...
* commit '2a5b57db8c711b6f33581a68cfb7b82298ad988c':
Stop advertising rindex(3), which is both deprecated and unimplemented.
2013-02-21 17:57:53 -08:00
Elliott Hughes
2a5b57db8c
am 580a7073: Merge "Stop advertising rindex(3), which is both deprecated and unimplemented."
...
* commit '580a707376d81bfcb39919f0a1203b39a39dbd8a':
Stop advertising rindex(3), which is both deprecated and unimplemented.
2013-02-21 17:55:28 -08:00
Nick Kralevich
d470955eb5
am 72e983d6: am 398f46dd: am a0259b42: Merge "libc: remove bcmp prototype"
...
* commit '72e983d62828e1db5049800b7edef5a1b0cbbcbd':
libc: remove bcmp prototype
2013-02-21 17:45:27 -08:00
Elliott Hughes
580a707376
Merge "Stop advertising rindex(3), which is both deprecated and unimplemented."
2013-02-22 01:45:02 +00:00
Nick Kralevich
72e983d628
am 398f46dd: am a0259b42: Merge "libc: remove bcmp prototype"
...
* commit '398f46dd92fbb72e2a275cddccffdfde384bb3b4':
libc: remove bcmp prototype
2013-02-21 17:42:07 -08:00
Elliott Hughes
538f6fc202
Stop advertising rindex(3), which is both deprecated and unimplemented.
...
Change-Id: I3c775d9974e49c3f76a53e46e022659657b89034
2013-02-21 17:39:06 -08:00
Nick Kralevich
398f46dd92
am a0259b42: Merge "libc: remove bcmp prototype"
...
* commit 'a0259b42eba08e6d71a274fa3f770afccbb93107':
libc: remove bcmp prototype
2013-02-21 17:39:03 -08:00
Nick Kralevich
a0259b42eb
Merge "libc: remove bcmp prototype"
2013-02-22 01:22:35 +00:00
Nick Kralevich
11ebbc8437
libc: remove bcmp prototype
...
AFAIK, bionic only ever provided an implementation of bcmp
for x86, and even then, the code was never actually compiled.
Remove the prototype.
bcmp() has been obsoleted and replaced by memcmp()
Change-Id: I549d02ab6a9241a9acbbbfade0d98a9a02c2eaee
2013-02-21 17:17:09 -08:00
Elliott Hughes
448f1f08c2
am caeb0bf5: am 719d46f8: am a9ff09d1: Merge "Fix raise(3) so it works in signal handlers."
...
* commit 'caeb0bf53c8299d53f246573392fd688cae8a625':
Fix raise(3) so it works in signal handlers.
2013-02-21 15:19:55 -08:00
Elliott Hughes
caeb0bf53c
am 719d46f8: am a9ff09d1: Merge "Fix raise(3) so it works in signal handlers."
...
* commit '719d46f8ac4f2af89f8e8927db8c460b91622417':
Fix raise(3) so it works in signal handlers.
2013-02-21 14:21:13 -08:00
Elliott Hughes
719d46f8ac
am a9ff09d1: Merge "Fix raise(3) so it works in signal handlers."
...
* commit 'a9ff09d1fc22292adc12cf99d4d44448d619b3cf':
Fix raise(3) so it works in signal handlers.
2013-02-21 14:17:47 -08:00
Elliott Hughes
a9ff09d1fc
Merge "Fix raise(3) so it works in signal handlers."
2013-02-21 20:05:35 +00:00
Elliott Hughes
fae89fc404
Fix raise(3) so it works in signal handlers.
...
We could special-case raise(3) in non-threaded programs, but the more
conservative course is to make pthread_kill(3) work in signal handlers
at the cost of a race shared by other C libraries.
Change-Id: I59fb23d03bdabf403435e731704b33acdf3e0234
2013-02-21 11:22:23 -08:00
Jean-Baptiste Queru
55779c4316
am aa96db5b: (-s ours) am 818b1423: (-s ours) Fix mako builds. Do not merge.
...
* commit 'aa96db5ba0a39d8fac0925871632031d21e1ab3e':
Fix mako builds. Do not merge.
2013-02-20 14:03:19 -08:00
Jean-Baptiste Queru
aa96db5ba0
am 818b1423: (-s ours) Fix mako builds. Do not merge.
...
* commit '818b1423d228e478245a1b0d2fe687606ea1741c':
Fix mako builds. Do not merge.
2013-02-20 14:00:43 -08:00
Ed Heyl
37d6d8e933
Merge remote-tracking branch 'goog/jb-mr2-release'
2013-02-20 13:47:20 -08:00
Jean-Baptiste Queru
818b1423d2
Fix mako builds. Do not merge.
...
Revert "Regenerate msm_ion.h."
This reverts commit 3fac8f7f49 .
2013-02-20 12:47:58 -08:00
The Android Automerger
44f8f7b86a
merge in jb-mr2-release history after reset to master
2013-02-20 05:55:13 -08:00
Elliott Hughes
cae2173952
am ccd40316: Merge "use architecture-specific ssize_t definition"
...
* commit 'ccd403161cdcc88a0ffcaecd1bc707e2d4c88a1c':
use architecture-specific ssize_t definition
2013-02-19 14:37:19 -08:00
Elliott Hughes
77272874f8
am 593abb7b: Merge "stdlib: atexit: include <sys/cdefs.h>"
...
* commit '593abb7b593a34d501c90512953a7368add6d185':
stdlib: atexit: include <sys/cdefs.h>
2013-02-19 14:19:33 -08:00
Elliott Hughes
ccd403161c
Merge "use architecture-specific ssize_t definition"
2013-02-19 22:13:53 +00:00
Thorsten Glaser
c641cafbc3
use architecture-specific ssize_t definition
...
after change 32822 was rejected, this is the more light-weight
version of the fix: libc/include/sys/types.h already - via
libc/kernel/common/linux/posix_types.h - includes a definition
of __kernel_ssize_t from libc/kernel/arch-*/asm/posix_types.h
which is architecture-specific, toolchain-agnostic and also
gets rid of the gcc -Wformat warning (which it issues correctly,
since this i̲s̲ indeed a bug in bionic)
Change-Id: Ie4503ab16628bc25815a836d07556f665e9795c7
2013-02-19 14:12:55 -08:00
Elliott Hughes
593abb7b59
Merge "stdlib: atexit: include <sys/cdefs.h>"
2013-02-19 21:58:18 +00:00
Elliott Hughes
5593d50c72
am eeecff72: Merge "Fix pthreads functions that should return ESRCH."
...
* commit 'eeecff7293efd6becf3b07b8d24cada3d820c894':
Fix pthreads functions that should return ESRCH.
2013-02-19 13:46:37 -08:00
Elliott Hughes
eeecff7293
Merge "Fix pthreads functions that should return ESRCH."
2013-02-19 21:37:55 +00:00
Elliott Hughes
9d23e04c43
Fix pthreads functions that should return ESRCH.
...
imgtec pointed out that pthread_kill(3) was broken, but most of the
other functions that ought to return ESRCH for invalid/exited threads
were equally broken.
Change-Id: I96347f6195549aee0c72dc39063e6c5d06d2e01f
2013-02-19 12:21:41 -08:00
Elliott Hughes
6f55284103
am b5862d4d: Merge "Update linker README."
...
* commit 'b5862d4d8a1246dc1e21695cf3bacafefedf0428':
Update linker README.
2013-02-19 11:39:40 -08:00
Elliott Hughes
b5862d4d8a
Merge "Update linker README."
2013-02-19 19:14:26 +00:00
Elliott Hughes
aa772a33ba
Update linker README.
...
Change-Id: Icaa353e9cf1848c86e7445f4ad590bdab44f7941
2013-02-19 11:13:44 -08:00
The Android Automerger
82232f0e6b
merge in jb-mr2-release history after reset to master
2013-02-19 09:50:40 -08:00
Chirayu Desai
61ba9b526b
stdlib: atexit: include <sys/cdefs.h>
...
Change-Id: Ib9eb167710a021e0a2b5c77a06a9338cdc748e6d
2013-02-16 21:23:27 +05:30
Elliott Hughes
4174337525
am 7f67f78a: Merge "dalvik is big enough and ugly enough to handle System.arraycopy itself."
...
* commit '7f67f78ad5c3da689997edd8fbb5afb6e5fc6355':
dalvik is big enough and ugly enough to handle System.arraycopy itself.
2013-02-15 17:00:58 -08:00
Elliott Hughes
7f67f78ad5
Merge "dalvik is big enough and ugly enough to handle System.arraycopy itself."
2013-02-16 00:40:21 +00:00
Elliott Hughes
6af19237b7
am 39804dcd: Merge "Fix the pthread_setname_np test."
...
* commit '39804dcde6c1c596285432b28cdb09382ce59663':
Fix the pthread_setname_np test.
2013-02-15 14:48:05 -08:00
Elliott Hughes
081318e355
dalvik is big enough and ugly enough to handle System.arraycopy itself.
...
Change-Id: I4b54a15ea101c0c6bab06cfb11e4178f5a57fc05
2013-02-15 14:27:52 -08:00
Elliott Hughes
39804dcde6
Merge "Fix the pthread_setname_np test."
2013-02-15 21:55:22 +00:00
Elliott Hughes
40eabe24e4
Fix the pthread_setname_np test.
...
Fix the pthread_setname_np test to take into account that emulator kernels are
so old that they don't support setting the name of other threads.
The CLONE_DETACHED thread is obsolete since 2.5 kernels.
Rename kernel_id to tid.
Fix the signature of __pthread_clone.
Clean up the clone and pthread_setname_np implementations slightly.
Change-Id: I16c2ff8845b67530544bbda9aa6618058603066d
2013-02-15 12:08:59 -08:00
Elliott Hughes
15c401d4ac
am 3e3b239d: Merge "Fix the stack protector death test."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3e3b239d2be0c5a92e91385f4f10b8f7da8d2837':
Fix the stack protector death test.
2013-02-14 18:22:16 -08:00
Elliott Hughes
3e3b239d2b
Merge "Fix the stack protector death test."
2013-02-15 02:10:29 +00:00
Elliott Hughes
7fd803cdfa
Fix the stack protector death test.
...
Now __stack_chk_fail calls abort(3) directly, we terminate with
SIGSEGV rather than SIGABRT. (Because of the workaround for the
debuggerd lossage in the abort(3) implementation, which was the
motivation for switching __stack_chk_fail over to abort(3).)
Also clarify the comment on the weird pthread death test, so it
doesn't get copied and pasted onto real death tests.
Change-Id: Ie832eaded61359c99e7a10db65e28f35e8f63eed
2013-02-14 16:35:58 -08:00
Elliott Hughes
56a007c157
am 0a2cb815: Merge "Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '0a2cb815974ea96af664fa966079966a08916722':
Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.
2013-02-14 15:59:15 -08:00
Elliott Hughes
0a2cb81597
Merge "Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces."
2013-02-14 23:50:13 +00:00
Nick Kralevich
f93de61e7b
am b128f49f: Merge "bionic: Add securebits.h"
...
# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'b128f49fd58beecc5287ddff6366a97e5aa2e468':
bionic: Add securebits.h
2013-02-14 15:05:22 -08:00
Nick Kralevich
b128f49fd5
Merge "bionic: Add securebits.h"
2013-02-14 22:49:28 +00:00
Elliott Hughes
fb7eb5e07f
Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces.
...
Bug: 2487269
Change-Id: Iec5e470fc22cd9108404f634a9d4baa2c7b7f58f
2013-02-14 14:37:34 -08:00
Nick Kralevich
0276656daa
bionic: Add securebits.h
...
Change-Id: I2031796b9be117558b80246498b29736492cf269
2013-02-14 14:03:37 -08:00
Elliott Hughes
7331af73f2
am c2d26ce7: Merge "Turn on -Werror for ssp.cpp."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'c2d26ce7452e69b9492cd28b7c0271866798658b':
Turn on -Werror for ssp.cpp.
2013-02-14 11:23:48 -08:00
Elliott Hughes
c2d26ce745
Merge "Turn on -Werror for ssp.cpp."
2013-02-14 19:17:33 +00:00
Elliott Hughes
dc5ec07158
Turn on -Werror for ssp.cpp.
...
libc_bionic.a is already compiled -Werror, but this one file gets
compiled into its own library because it needs to be compiled with
-fno-stack-protector.
Change-Id: I273c535ab5c73ccaccbcf793fda1f788a2589abe
2013-02-14 11:15:58 -08:00
Nick Kralevich
dfa1e59b7d
am fe33fc79: Merge "fix compiler warning."
...
# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'fe33fc790a16d85ce4109a4575d6fdcd88d42023':
fix compiler warning.
2013-02-14 09:59:09 -08:00
Nick Kralevich
fe33fc790a
Merge "fix compiler warning."
2013-02-14 17:48:30 +00:00
Nick Kralevich
a261afb7c9
fix compiler warning.
...
bionic/libc/bionic/ssp.cpp:41:31: warning: converting to non-pointer type 'uintptr_t {aka unsigned int}' from NULL [-Wconversion-null]
Change-Id: Id154ed4a99520cca64ffd3dbe4d743db6e2da28a
2013-02-14 09:44:13 -08:00
The Android Automerger
8561261b5e
merge in jb-mr2-release history after reset to master
2013-02-14 05:55:17 -08:00
Elliott Hughes
2346559cb4
am 6b97c7dc: Merge "ffs was not being built for x86."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '6b97c7dc0376577276abbdacc52e5cc11cf8a7fd':
ffs was not being built for x86.
2013-02-13 17:08:07 -08:00
Elliott Hughes
4c897b692d
am 97f2ec50: Merge "Stop using the local gcc."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '97f2ec50a7993d2db7ef4511a251e6823f5dba10':
Stop using the local gcc.
2013-02-13 17:08:07 -08:00
Elliott Hughes
6b97c7dc03
Merge "ffs was not being built for x86."
2013-02-14 00:49:47 +00:00
Elliott Hughes
97f2ec50a7
Merge "Stop using the local gcc."
2013-02-14 00:48:53 +00:00
Elliott Hughes
26a13bcfb8
Stop using the local gcc.
...
Some build servers are still out of date, so we're better off having
the known quanitity of the consistently out-of-date prebuilt host gcc.
Change-Id: Ib6308ae926ffa1ac5d95efbbf32052344c17a6b8
2013-02-13 16:32:47 -08:00
Elliott Hughes
d2547040a1
ffs was not being built for x86.
...
Change-Id: I53e92273664a4d0a13536c2fa1aeb87e1f3cf4e8
2013-02-13 16:31:52 -08:00
Elliott Hughes
5ca3e4a349
am 95b1ea1b: Merge "Add a bunch more missing ENDs to assembler routines."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '95b1ea1bb3c93369d96045420b91b7617992d8bd':
Add a bunch more missing ENDs to assembler routines.
2013-02-13 15:27:11 -08:00
Elliott Hughes
a7603ff87a
am 2fee0340: Merge "Everyone has CLZ."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '2fee0340a93637507de6a860914dc3e14d44ee94':
Everyone has CLZ.
2013-02-13 15:27:10 -08:00
Elliott Hughes
95b1ea1bb3
Merge "Add a bunch more missing ENDs to assembler routines."
2013-02-13 23:18:26 +00:00
Elliott Hughes
6719500dbd
Add a bunch more missing ENDs to assembler routines.
...
This isn't everything; I've missed out those x86 files that are
Change-Id: Idb7bb1a68796d6c0b70ea2b5c3300e49da6c62d2
2013-02-13 15:12:32 -08:00
Elliott Hughes
2fee0340a9
Merge "Everyone has CLZ."
2013-02-13 23:10:19 +00:00
Elliott Hughes
73964c592c
Everyone has CLZ.
...
Even armv5 had CLZ.
Change-Id: I51bc8d1166d09940fd0d3f4c7717edf26977082c
2013-02-13 14:40:48 -08:00
Elliott Hughes
8ca1da6e71
resolved conflicts for merge of 62727429 to master
...
Change-Id: I8a3d167f3ef279a7c46cb8fb90c9477beff84d8e
2013-02-13 13:51:54 -08:00
Elliott Hughes
627274292e
Merge "Update getnameinfo.c, remove dead code, and fix error reporting."
2013-02-13 21:15:05 +00:00
Elliott Hughes
d8213bb573
Update getnameinfo.c, remove dead code, and fix error reporting.
...
Also add a unit test for the salen size checking.
Bug: 1889275
Change-Id: I8ec4107df9e2e9a8571e8915525249c6e44b98ad
2013-02-13 13:11:11 -08:00
Elliott Hughes
6aca0ce367
am f659b3c9: Merge "Add a test that getaddrinfo works when hints are NULL."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f659b3c90d8b55a44945af807364a5df0475bd0e':
Add a test that getaddrinfo works when hints are NULL.
2013-02-13 09:18:45 -08:00
Elliott Hughes
f659b3c90d
Merge "Add a test that getaddrinfo works when hints are NULL."
2013-02-13 17:04:01 +00:00
Elliott Hughes
d3b9d11369
Add a test that getaddrinfo works when hints are NULL.
...
Bug: 1827911
Change-Id: I9e1b774c44c10a8c5391bcf3baf1607f50eaf214
2013-02-13 08:22:07 -08:00
Elliott Hughes
2db16ea38e
am 3002d64b: Merge "Everyone has a TLS register."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3002d64bcd4644456803dd0547d20b39e14be02c':
Everyone has a TLS register.
2013-02-13 08:11:24 -08:00
Elliott Hughes
32a2340067
am 9cbe1e63: Merge "Fix __pthread_clone and __bionic_clone error handling on x86."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '9cbe1e63ddf8b61b8ded3d357a30c3d6ed67906f':
Fix __pthread_clone and __bionic_clone error handling on x86.
2013-02-13 08:11:23 -08:00
Elliott Hughes
3002d64bcd
Merge "Everyone has a TLS register."
2013-02-13 16:03:32 +00:00
Elliott Hughes
9cbe1e63dd
Merge "Fix __pthread_clone and __bionic_clone error handling on x86."
2013-02-13 16:02:10 +00:00
The Android Automerger
d41c26e2d8
merge in jb-mr2-release history after reset to master
2013-02-13 05:55:21 -08:00
Elliott Hughes
b6032515a0
Fix __pthread_clone and __bionic_clone error handling on x86.
...
Bug: 3461078
Change-Id: I93c151e27411211dd32717f206745c62c08c21ee
2013-02-12 23:02:33 -08:00
Elliott Hughes
91a9925998
Everyone has a TLS register.
...
Change-Id: Id7cdf67087aa7d5074c9c59b7e595bc391d9f146
2013-02-12 21:56:42 -08:00
Elliott Hughes
a244e4eb61
am baf2c09f: Merge "Put the right number of Ls after 64-bit constants."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'baf2c09f3f47a35b195eb83cc7acffeaf4b6d4e9':
Put the right number of Ls after 64-bit constants.
2013-02-12 20:38:05 -08:00
Elliott Hughes
baf2c09f3f
Merge "Put the right number of Ls after 64-bit constants."
2013-02-13 04:20:43 +00:00
Elliott Hughes
5227663d2f
Put the right number of Ls after 64-bit constants.
...
Change-Id: I9f96259f21e42a84b9ebe20655fe0edb31f41892
2013-02-12 20:18:49 -08:00
Elliott Hughes
761b344bff
am 59aeff94: Merge "Use ENTRY/END in custom x86 assembler too."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '59aeff94178e03c908791695f6dd4c9bd8c7115b':
Use ENTRY/END in custom x86 assembler too.
2013-02-12 20:17:26 -08:00
Elliott Hughes
59aeff9417
Merge "Use ENTRY/END in custom x86 assembler too."
2013-02-13 04:01:01 +00:00
Elliott Hughes
bc35693e6b
am 07f7e62a: Merge "Clean up pthread_create."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '07f7e62a259d13208d6186670d3748e339690127':
Clean up pthread_create.
2013-02-12 18:20:10 -08:00
Elliott Hughes
d8ceaf5afa
am 899d6528: Merge "Give up trying to build the pthread_setname_np tests for glibc."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '899d65283db0c78537ed27aa3a6c019000ec05da':
Give up trying to build the pthread_setname_np tests for glibc.
2013-02-12 18:20:09 -08:00
Elliott Hughes
07f7e62a25
Merge "Clean up pthread_create."
2013-02-13 01:56:46 +00:00
Elliott Hughes
899d65283d
Merge "Give up trying to build the pthread_setname_np tests for glibc."
2013-02-13 01:56:07 +00:00
Elliott Hughes
9701d4b701
Give up trying to build the pthread_setname_np tests for glibc.
...
Looks like using /usr/bin/g++ isn't enough on some of our older
build servers.
Change-Id: Id7681fb164eb6324b10050f6bb237393e95b41e9
2013-02-12 17:55:22 -08:00
Elliott Hughes
4b4a882428
Clean up pthread_create.
...
Bug: 3461078
Change-Id: I082122a86d7692cd58f4145539241be026258ee0
2013-02-12 17:15:59 -08:00
Elliott Hughes
dde1d876b1
am 991ee7d8: Merge "Simplify pthread_create, using more public API."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '991ee7d89574e8d04c8863a2850613073a2f96b3':
Simplify pthread_create, using more public API.
2013-02-12 16:52:26 -08:00
Elliott Hughes
991ee7d895
Merge "Simplify pthread_create, using more public API."
2013-02-13 00:39:41 +00:00
Elliott Hughes
6d33918207
Simplify pthread_create, using more public API.
...
Change-Id: I08e65ba88ed01436223e4e528631c9e41ec0e7f4
2013-02-12 16:36:04 -08:00
Elliott Hughes
f4e258c22e
am 4912782c: Merge "Really set errno if __pthread_clone fails."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '4912782c6af7169686acc9553fb0bb33251b0d0d':
Really set errno if __pthread_clone fails.
2013-02-12 16:23:25 -08:00
Elliott Hughes
78715fca0b
am 558a8b1d: Merge "Revert "Revert "More pthreads cleanup."""
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '558a8b1d3b31300941af78232f2f7f4cb4e933b9':
Revert "Revert "More pthreads cleanup.""
2013-02-12 16:23:24 -08:00
Elliott Hughes
4912782c6a
Merge "Really set errno if __pthread_clone fails."
2013-02-13 00:12:42 +00:00
Elliott Hughes
9f878c2fca
Really set errno if __pthread_clone fails.
...
If r0 == 0, we're the child. If r0 > 0, we're the parent.
Otherwise set errno.
The __bionic_clone code I copy & pasted was wrong. This patch
fixes both.
Bug: 3461078
Change-Id: Ibb7d6cc7e54e666841f2f0dc59a141a0b31982e4
2013-02-12 16:07:06 -08:00
Elliott Hughes
558a8b1d3b
Merge "Revert "Revert "More pthreads cleanup."""
2013-02-13 00:05:24 +00:00
Elliott Hughes
3e898476c7
Revert "Revert "More pthreads cleanup.""
...
This reverts commit 6f94de3ca4
(Doesn't try to increase the number of TLS slots; that leads to
an inability to boot. Adds more tests.)
Change-Id: Ia7d25ba3995219ed6e686463dbba80c95cc831ca
2013-02-12 15:27:18 -08:00
Dima Zavin
ac480b422a
am 3fa67465: Merge "add factory property file definition"
...
# By Andrew Boie
# Via Andrew Boie (1) and Gerrit Code Review (1)
* commit '3fa67465365baf87f751bea09847e32f01005788':
add factory property file definition
2013-02-12 11:12:49 -08:00
Dima Zavin
3fa6746536
Merge "add factory property file definition"
2013-02-12 18:33:26 +00:00
The Android Automerger
1bb43b02ad
merge in jb-mr2-release history after reset to master
2013-02-12 07:10:11 -08:00
Elliott Hughes
191f880bdf
am bfa199ab: am fcaf4e9f: Merge "Revert "More pthreads cleanup.""
...
# Via Gerrit Code Review (2) and Android Git Automerger (1)
* commit 'bfa199ab4019a7de9b95cd3db86c4d7176438803':
Revert "More pthreads cleanup."
2013-02-11 22:20:39 -08:00
Elliott Hughes
bfa199ab40
am fcaf4e9f: Merge "Revert "More pthreads cleanup.""
...
# Via Gerrit Code Review
* commit 'fcaf4e9f9b735e053469c7ecbf63584e10fd67a7':
Revert "More pthreads cleanup."
2013-02-11 22:16:56 -08:00
Elliott Hughes
fcaf4e9f9b
Merge "Revert "More pthreads cleanup.""
2013-02-12 06:07:32 +00:00
Elliott Hughes
6f94de3ca4
Revert "More pthreads cleanup."
...
This reverts commit 2a1bb4e646
Change-Id: Ia443d0748015c8e9fc3121e40e68258616767b51
2013-02-12 06:06:22 +00:00
Elliott Hughes
23731e841a
am a2a9817f: am 85f491f9: Merge "More pthreads cleanup."
...
# Via Android Git Automerger (1) and others
* commit 'a2a9817f4c08d1f56d90f02ed13f531e8093f8e8':
More pthreads cleanup.
2013-02-11 18:39:32 -08:00
Elliott Hughes
a2a9817f4c
am 85f491f9: Merge "More pthreads cleanup."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '85f491f96da3b79d0d7cc5368bc1f649e1a82340':
More pthreads cleanup.
2013-02-11 18:35:56 -08:00
Elliott Hughes
85f491f96d
Merge "More pthreads cleanup."
2013-02-12 02:33:08 +00:00
Elliott Hughes
13478d856a
am 605cc293: am 83bf28e6: Merge "Fix MIPS build."
...
# Via Android Git Automerger (1) and others
* commit '605cc29358c9a6d575d097fd4b78a483c9dbf89e':
Fix MIPS build.
2013-02-11 18:23:17 -08:00
Elliott Hughes
605cc29358
am 83bf28e6: Merge "Fix MIPS build."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '83bf28e6a38dbf28707147b50d29e81f4b555046':
Fix MIPS build.
2013-02-11 18:19:34 -08:00
Elliott Hughes
0f6882f43d
am 8e2b28cb: am c56be54a: Merge "Use ENTRY/END in ARM __get_sp."
...
# Via Android Git Automerger (1) and others
* commit '8e2b28cb6c16d8a5671ccb333965bb56b2990d7a':
Use ENTRY/END in ARM __get_sp.
2013-02-11 18:15:13 -08:00
Elliott Hughes
a2b8b833d2
am c440d244: am cae7b2cf: Merge "Fix __pthread_clone on ARM to set errno on failure."
...
# Via Android Git Automerger (1) and others
* commit 'c440d2442361b78196d2935469ecf78d5c3470e5':
Fix __pthread_clone on ARM to set errno on failure.
2013-02-11 18:15:07 -08:00
Elliott Hughes
b940711587
am 03798dd2: am 1fea0f25: Merge "Clean up ARM assembler files to use ENTRY/END."
...
# Via Android Git Automerger (1) and others
* commit '03798dd23cd3d1dc1ee4c4b0472c75369aa1e10f':
Clean up ARM assembler files to use ENTRY/END.
2013-02-11 18:15:04 -08:00
Elliott Hughes
83bf28e6a3
Merge "Fix MIPS build."
2013-02-12 02:08:05 +00:00
Elliott Hughes
ba342c11ad
Fix MIPS build.
...
Change-Id: I4863f21f3c2fd597ea36cb7096fc72db808643a3
2013-02-11 18:06:23 -08:00
Elliott Hughes
5bb4f54b4d
am 6b73d13f: am 2d3e7233: Merge "Revert "Revert "Pull the pthread_key_t functions out of pthread.c."""
...
# Via Android Git Automerger (1) and others
* commit '6b73d13fa414afeecba6718bf724e8ac922bac39':
Revert "Revert "Pull the pthread_key_t functions out of pthread.c.""
2013-02-11 17:34:32 -08:00
Elliott Hughes
1b21249d5a
am e4b08318: am 8397cdba: Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""
...
# Via Gerrit Code Review (2) and Android Git Automerger (1)
* commit 'e4b08318c13fac774b233a5459427563d2983f79':
Revert "Pull the pthread_key_t functions out of pthread.c."
2013-02-11 17:34:30 -08:00
Elliott Hughes
376bce0097
am 024246ec: am 09e89c3c: Merge "Pull the pthread_key_t functions out of pthread.c."
...
# Via Android Git Automerger (1) and others
* commit '024246ec274e30bb4a24468d8319620534e13b34':
Pull the pthread_key_t functions out of pthread.c.
2013-02-11 17:34:29 -08:00
Elliott Hughes
8e2b28cb6c
am c56be54a: Merge "Use ENTRY/END in ARM __get_sp."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'c56be54a18eff7e1c35c9a19cfc8b84a80780b73':
Use ENTRY/END in ARM __get_sp.
2013-02-11 17:27:40 -08:00
Elliott Hughes
bdff26df27
Use ENTRY/END in custom x86 assembler too.
...
Change-Id: Ic2e482e5daff29c65d3b2ab0b2111c996bbc6226
2013-02-11 17:08:16 -08:00
Elliott Hughes
c56be54a18
Merge "Use ENTRY/END in ARM __get_sp."
2013-02-12 00:59:43 +00:00
Elliott Hughes
d7a3a403c1
Use ENTRY/END in ARM __get_sp.
...
Change-Id: If2f159b266f5fa4ad9d188a17d4cd318b605e446
2013-02-11 16:58:34 -08:00
Elliott Hughes
c440d24423
am cae7b2cf: Merge "Fix __pthread_clone on ARM to set errno on failure."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'cae7b2cfb509e7d5d10a8085b1ec319daaef768f':
Fix __pthread_clone on ARM to set errno on failure.
2013-02-11 16:55:16 -08:00
Elliott Hughes
cae7b2cfb5
Merge "Fix __pthread_clone on ARM to set errno on failure."
2013-02-12 00:49:28 +00:00
Elliott Hughes
5e3fc43dde
Fix __pthread_clone on ARM to set errno on failure.
...
MIPS and x86 appear to have been correct already.
(Also fix unit tests that ASSERT_EQ with errno so that the
arguments are in the retarded junit order.)
Bug: 3461078
Change-Id: I2418ea98927b56e15b4ba9cfec97f5e7094c6291
2013-02-11 16:39:10 -08:00
Elliott Hughes
03798dd23c
am 1fea0f25: Merge "Clean up ARM assembler files to use ENTRY/END."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '1fea0f258a45d918fe5ae8e9769f45c0348bd095':
Clean up ARM assembler files to use ENTRY/END.
2013-02-11 16:17:48 -08:00
Elliott Hughes
1fea0f258a
Merge "Clean up ARM assembler files to use ENTRY/END."
2013-02-12 00:05:27 +00:00
Elliott Hughes
f94fd3ccc6
Clean up ARM assembler files to use ENTRY/END.
...
We also don't need legacy syscall support (non-"swi 0").
Change-Id: Id1012e8ca18bf13f3f4e42200f39ba0e2e632cbf
2013-02-11 15:36:59 -08:00
Elliott Hughes
2a1bb4e646
More pthreads cleanup.
...
POSIX says pthread_create returns EAGAIN, not ENOMEM.
Also pull pthread_attr_t functions into their own file.
Also pull pthread_setname_np into its own file.
Also remove unnecessary #includes from pthread_key.cpp.
Also account for those pthread keys used internally by bionic,
so they don't count against the number of keys available to user
code. (They do with glibc, but glibc's limit is the much more
generous 1024.)
Also factor out the common errno-restoring idiom to reduce gotos.
Bug: 6702535
Change-Id: I555e66efffcf2c1b5a2873569e91489156efca42
2013-02-11 14:56:39 -08:00
Elliott Hughes
6b73d13fa4
am 2d3e7233: Merge "Revert "Revert "Pull the pthread_key_t functions out of pthread.c."""
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '2d3e72336e76180fb00822386da4f14203d117ce':
Revert "Revert "Pull the pthread_key_t functions out of pthread.c.""
2013-02-11 12:38:30 -08:00
Elliott Hughes
2d3e72336e
Merge "Revert "Revert "Pull the pthread_key_t functions out of pthread.c."""
2013-02-11 20:21:59 +00:00
Elliott Hughes
e4b08318c1
am 8397cdba: Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""
...
# Via Gerrit Code Review
* commit '8397cdba9424febeaed4068829a5b0174ee1138c':
Revert "Pull the pthread_key_t functions out of pthread.c."
2013-02-11 12:21:50 -08:00
Elliott Hughes
44b53ad681
Revert "Revert "Pull the pthread_key_t functions out of pthread.c.""
...
This reverts commit 6260553d48
(Removing the accidental libm/Android.mk change.)
Change-Id: I6cddd9857c31facc05636e8221505b3d2344cb75
2013-02-11 12:20:33 -08:00
Elliott Hughes
8397cdba94
Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""
2013-02-11 20:18:28 +00:00
Elliott Hughes
6260553d48
Revert "Pull the pthread_key_t functions out of pthread.c."
...
This reverts commit ad59322ae4
somehow my unfinished libm/Android.mk change got into here.
Change-Id: I46be626c5269d60fb1ced9862f2ebaa380b4e0af
2013-02-11 20:18:16 +00:00
Elliott Hughes
024246ec27
am 09e89c3c: Merge "Pull the pthread_key_t functions out of pthread.c."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '09e89c3ced51d846e13c2508fbb6812bb61475cd':
Pull the pthread_key_t functions out of pthread.c.
2013-02-11 12:05:45 -08:00
Elliott Hughes
09e89c3ced
Merge "Pull the pthread_key_t functions out of pthread.c."
2013-02-11 20:02:29 +00:00
Elliott Hughes
ad59322ae4
Pull the pthread_key_t functions out of pthread.c.
...
This was originally motivated by noticing that we were setting the
wrong bits for the well-known tls entries. That was a harmless bug
because none of the well-known tls entries has a destructor, but
it's best not to leave land mines lying around.
Also add some missing POSIX constants, a new test, and fix
pthread_key_create's return value when we hit the limit.
Change-Id: Ife26ea2f4b40865308e8410ec803b20bcc3e0ed1
2013-02-11 12:00:48 -08:00
The Android Automerger
c087b7a80f
merge in jb-mr2-release history after reset to master
2013-02-11 07:10:25 -08:00
Elliott Hughes
63358ae068
am 8f509e8b: am 9a9bb243: Merge "Switch to using AT_RANDOM for the stack guards."
...
# Via Android Git Automerger (1) and others
* commit '8f509e8be11876023d4bcb3e827ca096f22fc0c5':
Switch to using AT_RANDOM for the stack guards.
2013-02-08 11:43:09 -08:00
Elliott Hughes
8f509e8be1
am 9a9bb243: Merge "Switch to using AT_RANDOM for the stack guards."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '9a9bb243b50be5e3910b8edad72327bc216e72d0':
Switch to using AT_RANDOM for the stack guards.
2013-02-08 11:22:05 -08:00
Elliott Hughes
9a9bb243b5
Merge "Switch to using AT_RANDOM for the stack guards."
2013-02-08 19:17:33 +00:00
Elliott Hughes
d3920b3a99
Switch to using AT_RANDOM for the stack guards.
...
Bug: 7959813
Change-Id: I8db4b8912ba649bfe668c6f22aa44690ddd401a2
2013-02-08 11:16:13 -08:00
Elliott Hughes
01cf1678e7
am 636d21f3: am 03579da2: Merge "Add a few more missing libm long double stubs."
...
# Via Android Git Automerger (1) and others
* commit '636d21f32b8aa9cd3ef7c91c729179e53daddc3a':
Add a few more missing libm long double stubs.
2013-02-07 20:29:44 -08:00
Nick Kralevich
5eef90699d
am f156b901: am fa75fce5: Merge "update xattr.h"
...
# Via Android Git Automerger (1) and others
* commit 'f156b901b1e51971192c573444b5b7f63e6bc22a':
update xattr.h
2013-02-07 20:29:43 -08:00
Elliott Hughes
7d2bc92717
am 86e4e234: am 964886af: Merge "Remove dead code from gensyscalls.py."
...
# Via Android Git Automerger (1) and others
* commit '86e4e23408c157176d20b4baca00eb4d2f7566dc':
Remove dead code from gensyscalls.py.
2013-02-07 20:29:42 -08:00
Elliott Hughes
636d21f32b
am 03579da2: Merge "Add a few more missing libm long double stubs."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '03579da2d91a57a0f22da14e4216ecaf811869f4':
Add a few more missing libm long double stubs.
2013-02-07 18:15:06 -08:00
Elliott Hughes
03579da2d9
Merge "Add a few more missing libm long double stubs."
2013-02-08 02:02:39 +00:00
Elliott Hughes
170dbe25d6
Add a few more missing libm long double stubs.
...
Change-Id: I6c44b9f3eee730253a958d6cefdac99e6f79da3e
2013-02-07 17:45:11 -08:00
Nick Kralevich
f156b901b1
am fa75fce5: Merge "update xattr.h"
...
# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'fa75fce56641255a571b8b472f010863c3095b70':
update xattr.h
2013-02-07 16:50:08 -08:00
Nick Kralevich
fa75fce566
Merge "update xattr.h"
2013-02-08 00:42:29 +00:00
Nick Kralevich
b184d3ba33
update xattr.h
...
Change-Id: Ibd91167ba56e2692359b92fe3108da271f0c2e38
2013-02-07 16:23:16 -08:00
Elliott Hughes
86e4e23408
am 964886af: Merge "Remove dead code from gensyscalls.py."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '964886afa339959aedad1c09af738df4ffa4091d':
Remove dead code from gensyscalls.py.
2013-02-07 14:57:41 -08:00
Elliott Hughes
8c372fc77e
am 5bb67760: am f6afd3b6: Merge "Fix x86 build, remove void* arithmetic."
...
# Via Android Git Automerger (1) and others
* commit '5bb67760f0baddd815334bf87be79f0e7fd9fafe':
Fix x86 build, remove void* arithmetic.
2013-02-07 14:45:28 -08:00
Elliott Hughes
dd698ec89a
am 8ddef40d: am 59e9a496: Merge "__progname should be const char*, not char*."
...
# Via Android Git Automerger (1) and others
* commit '8ddef40dad42372ac5596d48f327f162745d7bb8':
__progname should be const char*, not char*.
2013-02-07 14:45:27 -08:00
Elliott Hughes
389ebfa16f
am 6f67cd22: am 2f41531f: Merge "Clean up the argc/argv/envp/auxv handling."
...
# Via Android Git Automerger (1) and others
* commit '6f67cd224e6ffdfa2619849eb4b9b2ff6c1e2c59':
Clean up the argc/argv/envp/auxv handling.
2013-02-07 14:45:24 -08:00
Elliott Hughes
964886afa3
Merge "Remove dead code from gensyscalls.py."
2013-02-07 22:17:55 +00:00
Elliott Hughes
cd6780b167
Remove dead code from gensyscalls.py.
...
Change-Id: I0df69f8fd990f829ccbfcd5123c17b523d5a4d45
2013-02-07 14:07:00 -08:00
Elliott Hughes
5bb67760f0
am f6afd3b6: Merge "Fix x86 build, remove void* arithmetic."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f6afd3b670e23f56bf341d12136416aee17ea249':
Fix x86 build, remove void* arithmetic.
2013-02-07 12:34:24 -08:00
Elliott Hughes
8ddef40dad
am 59e9a496: Merge "__progname should be const char*, not char*."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '59e9a496b4341fd2b11d4a01544bf7edf3d00cc5':
__progname should be const char*, not char*.
2013-02-07 12:34:23 -08:00
Elliott Hughes
f6afd3b670
Merge "Fix x86 build, remove void* arithmetic."
2013-02-07 20:27:40 +00:00
Elliott Hughes
59e9a496b4
Merge "__progname should be const char*, not char*."
2013-02-07 20:16:32 +00:00
Elliott Hughes
646e058136
Fix x86 build, remove void* arithmetic.
...
Change-Id: Idc7f14af2e094ac33de315e808176237af063bb8
2013-02-07 12:16:10 -08:00
Elliott Hughes
e4ccf5a138
__progname should be const char*, not char*.
...
Change-Id: I8e846872c30a712fbc05c8da59ffa1cec1be31a4
2013-02-07 12:06:44 -08:00
Elliott Hughes
6f67cd224e
am 2f41531f: Merge "Clean up the argc/argv/envp/auxv handling."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '2f41531ff9f48dbdaf2ba711e14c669031728e99':
Clean up the argc/argv/envp/auxv handling.
2013-02-07 11:56:57 -08:00
Elliott Hughes
2f41531ff9
Merge "Clean up the argc/argv/envp/auxv handling."
2013-02-07 19:48:17 +00:00
Elliott Hughes
42b2c6a5ee
Clean up the argc/argv/envp/auxv handling.
...
There's now only one place where we deal with this stuff, it only needs to
be parsed once by the dynamic linker (rather than by each recipient), and it's
now easier for us to get hold of auxv data early on.
Change-Id: I6314224257c736547aac2e2a650e66f2ea53bef5
2013-02-07 11:44:21 -08:00
Robert Greenwalt
a7d9b655e5
Merge "dns cache per interface iteration 2"
2013-02-07 19:02:16 +00:00
Mattias Falk
c63e59039d
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.
bug:4815099
bug:5465296
Change-Id: I7a8fe1980cdf99d4d296ddc5c6411f0c72162263
2013-02-07 09:40:16 -08:00
Elliott Hughes
ffc807fdb6
am 4e9d9e4d: am d4187efd: Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."
...
# Via Android Git Automerger (1) and others
* commit '4e9d9e4df8309493e65c5ca15513644361fda314':
Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.
2013-02-07 09:17:14 -08:00
Elliott Hughes
4e9d9e4df8
am d4187efd: Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd4187efd7f9c30ffaff4738862e3d08be27a52e9':
Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.
2013-02-07 09:12:18 -08:00
Elliott Hughes
d4187efd7f
Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."
2013-02-07 16:55:28 +00:00
The Android Automerger
a3e0f95fba
merge in jb-mr2-release history after reset to master
2013-02-07 07:10:16 -08:00
Elliott Hughes
001437e861
am 09559dd0: am d32fdbaf: Merge "Add a missing logbl stub."
...
# Via Android Git Automerger (1) and others
* commit '09559dd04604dae062a2a50ce8dc78fd7d0e4a2f':
Add a missing logbl stub.
2013-02-06 19:45:01 -08:00
Elliott Hughes
5dc29e97a6
am d2a6d8d7: am c9ab32e4: Merge "Improve benchmarking tool, add a few math benchmarks."
...
# Via Android Git Automerger (1) and others
* commit 'd2a6d8d77d1052b2cef7c0296d1396da5d3f7736':
Improve benchmarking tool, add a few math benchmarks.
2013-02-06 19:44:53 -08:00
Elliott Hughes
7582a9c119
Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.
...
Also update the x86 asm.h to support this; we need it for libm assembler
anyway.
Also clean up the _FBSDID hack in <sys/cdefs.h>.
Change-Id: Iababd977b8110ec022bf7c93f4d62ece47630e7c
2013-02-06 17:08:15 -08:00
Elliott Hughes
09559dd046
am d32fdbaf: Merge "Add a missing logbl stub."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd32fdbaf03f688497adbec885e85c0a69f7a4542':
Add a missing logbl stub.
2013-02-06 16:30:26 -08:00
Elliott Hughes
d32fdbaf03
Merge "Add a missing logbl stub."
2013-02-07 00:09:49 +00:00
Elliott Hughes
926a307ce1
Add a missing logbl stub.
...
This doesn't usually matter because there's a weak reference; you'd
miss this if you stopped using s_logb.c though.
Change-Id: I912fceae327a378031cd24a64aefa9dfd84f7f90
2013-02-06 16:07:54 -08:00
Elliott Hughes
d2a6d8d77d
am c9ab32e4: Merge "Improve benchmarking tool, add a few math benchmarks."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'c9ab32e4e94f770de347d6da8e7615fa131bcfbb':
Improve benchmarking tool, add a few math benchmarks.
2013-02-06 16:06:24 -08:00
Elliott Hughes
c9ab32e4e9
Merge "Improve benchmarking tool, add a few math benchmarks."
2013-02-07 00:04:24 +00:00
Elliott Hughes
9edb3e004b
Improve benchmarking tool, add a few math benchmarks.
...
Change-Id: I641305dd0e4ac0705381e735ed1604c5be7aa536
2013-02-06 15:47:09 -08:00
Elliott Hughes
4b9ed9e153
am 5fe28661: am d10a5a02: Merge "Remove the currently-unused i387 assembler to make way for the new."
...
# Via Android Git Automerger (1) and others
* commit '5fe286618ffea7cb8872a74501bf36d5036ca2a9':
Remove the currently-unused i387 assembler to make way for the new.
2013-02-06 12:27:59 -08:00
Elliott Hughes
5fe286618f
am d10a5a02: Merge "Remove the currently-unused i387 assembler to make way for the new."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd10a5a02d1e9315dd7d780c2f221d116ced45a69':
Remove the currently-unused i387 assembler to make way for the new.
2013-02-06 12:22:30 -08:00
Elliott Hughes
d10a5a02d1
Merge "Remove the currently-unused i387 assembler to make way for the new."
2013-02-06 19:57:51 +00:00
Elliott Hughes
1c3039301b
am 0e51a861: am 4fc2a74b: Merge "Remove partial implementation of MIPS non-PIC support."
...
# Via Android Git Automerger (1) and others
* commit '0e51a861241ea49455c519890b34e80eccfd4709':
Remove partial implementation of MIPS non-PIC support.
2013-02-06 11:55:06 -08:00
Elliott Hughes
0e51a86124
am 4fc2a74b: Merge "Remove partial implementation of MIPS non-PIC support."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '4fc2a74b29a12ed7fb4edc6b76db96b9d7dfa3f2':
Remove partial implementation of MIPS non-PIC support.
2013-02-06 11:51:12 -08:00
Elliott Hughes
ef545a29ad
Remove the currently-unused i387 assembler to make way for the new.
...
Change-Id: I37e4e8fce881246b9b028f9e1619247b1ac25261
2013-02-06 11:50:19 -08:00
Elliott Hughes
4fc2a74b29
Merge "Remove partial implementation of MIPS non-PIC support."
2013-02-06 19:40:47 +00:00
Elliott Hughes
d2b1a7311f
Remove partial implementation of MIPS non-PIC support.
...
Change-Id: I3c287e52aae10559508174e73113367aea40e5c2
2013-02-06 11:02:28 -08:00
The Android Automerger
a9ebf6c951
merge in jb-mr2-release history after reset to master
2013-02-06 07:10:08 -08:00
Elliott Hughes
6dd470d4d0
am df8c72e5: am d7ff139f: Merge "Remove bogus extra alignment from sbrk."
...
# Via Android Git Automerger (1) and others
* commit 'df8c72e510ae9d0a9970a31555ea51ea0c8f19ca':
Remove bogus extra alignment from sbrk.
2013-02-05 17:14:50 -08:00
Elliott Hughes
df8c72e510
am d7ff139f: Merge "Remove bogus extra alignment from sbrk."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd7ff139fec5cec08793523aa97503ade2b13c38e':
Remove bogus extra alignment from sbrk.
2013-02-05 17:09:55 -08:00
Elliott Hughes
d7ff139fec
Merge "Remove bogus extra alignment from sbrk."
2013-02-06 00:57:44 +00:00
Elliott Hughes
428f5567be
Remove bogus extra alignment from sbrk.
...
Bug: https://code.google.com/p/android/issues/detail?id=37349
Change-Id: I970c7b6be7bb7fbe6bbbe2c332f05816aeb0e09f
2013-02-05 16:10:59 -08:00
The Android Automerger
d418c2bd0a
merge in jb-mr2-release history after reset to master
2013-02-05 07:10:12 -08:00
Elliott Hughes
303339e8d1
am 3cbcb87b: am a4f88fdc: Merge "Document the mallinfo struct, add missing attributes."
...
# Via Android Git Automerger (1) and others
* commit '3cbcb87bd1e86bd2bdb218fd324648e5bc7e8260':
Document the mallinfo struct, add missing attributes.
2013-02-04 17:19:44 -08:00
Elliott Hughes
d1f2fafb72
am 384bdb37: am a3120aaf: Merge "Add basic tests for posix_memalign."
...
# Via Android Git Automerger (1) and others
* commit '384bdb3776bedaf22e8f1a3dfe7c6118b4bcefa4':
Add basic tests for posix_memalign.
2013-02-04 17:19:34 -08:00
Elliott Hughes
b72952171b
am ada6de67: (-s ours) am a1821f01: Merge "Regenerate msm_ion.h."
...
# Via Android Git Automerger (1) and others
* commit 'ada6de673be2a66bcfa822e0bb895219391c22a8':
Regenerate msm_ion.h.
2013-02-04 17:00:26 -08:00
Elliott Hughes
3cbcb87bd1
am a4f88fdc: Merge "Document the mallinfo struct, add missing attributes."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a4f88fdcf0e9be084d04048ad65671716298c3c2':
Document the mallinfo struct, add missing attributes.
2013-02-04 13:59:15 -08:00
Elliott Hughes
a4f88fdcf0
Merge "Document the mallinfo struct, add missing attributes."
2013-02-04 21:53:18 +00:00
Elliott Hughes
24fad01755
Document the mallinfo struct, add missing attributes.
...
Change-Id: Ia97acce1f6a83bd8b3ba8dd20efd962bc96f35a9
2013-02-04 13:44:14 -08:00
Elliott Hughes
384bdb3776
am a3120aaf: Merge "Add basic tests for posix_memalign."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a3120aaf2f4e20261a2ea9fd8862e2b360183fc5':
Add basic tests for posix_memalign.
2013-02-04 13:25:55 -08:00
Elliott Hughes
a3120aaf2f
Merge "Add basic tests for posix_memalign."
2013-02-04 21:19:19 +00:00
Elliott Hughes
b16b72248b
Add basic tests for posix_memalign.
...
Change-Id: Ie34fcc87aa9e8bfc715e25161752024b11e2032a
2013-02-04 13:18:00 -08:00
Elliott Hughes
54a2587446
am 16444e0f: am 3dc6b57c: Merge "Don\'t claim there were no leaks if we weren\'t even checking."
...
# Via Android Git Automerger (1) and others
* commit '16444e0f85585508e74d6166b8bbb4acb19738a0':
Don't claim there were no leaks if we weren't even checking.
2013-02-04 11:29:33 -08:00
Elliott Hughes
46b3f0bb97
am 33e4365d: am 1bf83555: Merge "Make sincosl call sinl and cosl."
...
# Via Android Git Automerger (1) and others
* commit '33e4365d87364d8d9c8c4427255050b5e9b8cffe':
Make sincosl call sinl and cosl.
2013-02-04 11:29:26 -08:00
Elliott Hughes
9cdd76954d
am 422c400d: am ae70b946: Merge "Update the libm/NOTICE file after the upgrade."
...
# Via Android Git Automerger (1) and others
* commit '422c400dd3f6f2fdf096dc33da5b7033b6a58a10':
Update the libm/NOTICE file after the upgrade.
2013-02-04 11:29:25 -08:00
Elliott Hughes
96a5819afb
am 704d9c5b: am a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."
...
# Via Android Git Automerger (1) and others
* commit '704d9c5b45515cc2421bfe3b37c93117da0a1334':
Restore bionic's <linux/elf-em.h>.
2013-02-04 11:29:24 -08:00
Elliott Hughes
fb7a4850b8
am ff26e25b: am 44badc70: Merge "Upgrade libm."
...
# Via Android Git Automerger (1) and others
* commit 'ff26e25b51eb672a4c8244946e0f2b4328786f55':
Upgrade libm.
2013-02-04 11:29:22 -08:00
Elliott Hughes
ada6de673b
am a1821f01: Merge "Regenerate msm_ion.h."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a1821f015306e221e6a51e5acc27176ae2d72f6b':
Regenerate msm_ion.h.
2013-02-04 10:52:16 -08:00
Elliott Hughes
a1821f0153
Merge "Regenerate msm_ion.h."
2013-02-04 18:42:14 +00:00
The Android Automerger
37247ae63c
merge in jb-mr2-release history after reset to master
2013-02-04 07:10:06 -08:00
Elliott Hughes
3fac8f7f49
Regenerate msm_ion.h.
...
Bug: 8000377
Change-Id: If496d9972cb8aebfc996ac641aa762220aa71f3b
2013-02-01 18:21:08 -08:00
Elliott Hughes
16444e0f85
am 3dc6b57c: Merge "Don\'t claim there were no leaks if we weren\'t even checking."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3dc6b57cf54b15a756551deeda33df5715e519bb':
Don't claim there were no leaks if we weren't even checking.
2013-02-01 17:26:56 -08:00
Elliott Hughes
3dc6b57cf5
Merge "Don't claim there were no leaks if we weren't even checking."
2013-02-02 01:18:44 +00:00
Elliott Hughes
9c81892c2e
Don't claim there were no leaks if we weren't even checking.
...
Bug: 8107016
Change-Id: I9059f1f8374ebcdf00dfc6ac74d3709f501292c9
2013-02-01 17:07:40 -08:00
Elliott Hughes
33e4365d87
am 1bf83555: Merge "Make sincosl call sinl and cosl."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '1bf835558a3f7424c805766250ace88fa70e0630':
Make sincosl call sinl and cosl.
2013-02-01 16:50:49 -08:00
Elliott Hughes
1bf835558a
Merge "Make sincosl call sinl and cosl."
2013-02-02 00:42:01 +00:00
Elliott Hughes
422c400dd3
am ae70b946: Merge "Update the libm/NOTICE file after the upgrade."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'ae70b9467419c5a9b21e06dc1dba201a112a83be':
Update the libm/NOTICE file after the upgrade.
2013-02-01 16:35:08 -08:00
Elliott Hughes
9b05df325c
Make sincosl call sinl and cosl.
...
Bug: 2748728
Change-Id: Id18070963b91b144758c567ad7ac80758e3a638b
2013-02-01 16:32:50 -08:00
Brian Muramatsu
322c7edba3
Remove MSM headers
...
Bug 7115545
These headers will be moved to hardware/qcom/msm8960 project.
Change-Id: Idb970c196be239e186e0a406d19135aa27225aca
2013-02-01 16:28:40 -08:00
Elliott Hughes
ae70b94674
Merge "Update the libm/NOTICE file after the upgrade."
2013-02-02 00:26:12 +00:00
Elliott Hughes
704d9c5b45
am a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a9dd36702f4a9d65d084387050b688b8965b13b3':
Restore bionic's <linux/elf-em.h>.
2013-02-01 16:19:37 -08:00
Elliott Hughes
d65bd8400e
Update the libm/NOTICE file after the upgrade.
...
Change-Id: Icf9c44402d6f86117d61307219bb1cccd288854d
2013-02-01 16:16:54 -08:00
Elliott Hughes
a9dd36702f
Merge "Restore bionic's <linux/elf-em.h>."
2013-02-02 00:11:33 +00:00
Elliott Hughes
a48e1b2aac
Restore bionic's <linux/elf-em.h>.
...
Used by <linux/audit.h>.
Change-Id: Ica4ebb7f52a7fce13c52fdff35e187ded3939382
2013-02-01 16:10:28 -08:00
Elliott Hughes
ff26e25b51
am 44badc70: Merge "Upgrade libm."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '44badc70ccd35d7690bda9f107e3e5da0b80d295':
Upgrade libm.
2013-02-01 15:24:27 -08:00
Elliott Hughes
44badc70cc
Merge "Upgrade libm."
2013-02-01 23:07:49 +00:00
Elliott Hughes
a0ee07829a
Upgrade libm.
...
This brings us up to date with FreeBSD HEAD, fixes various bugs, unifies
the set of functions we support on ARM, MIPS, and x86, fixes "long double",
adds ISO C99 support, and adds basic unit tests.
It turns out that our "long double" functions have always been broken
for non-normal numbers. This patch fixes that by not using the upstream
implementations and just forwarding to the regular "double" implementation
instead (since "long double" on Android is just "double" anyway, which is
what BSD doesn't support).
All the tests pass on ARM, MIPS, and x86, plus glibc on x86-64.
Bug: 3169850
Bug: 8012787
Bug: https://code.google.com/p/android/issues/detail?id=6697
Change-Id: If0c343030959c24bfc50d4d21c9530052c581837
2013-02-01 14:51:19 -08:00
The Android Automerger
3c72524611
merge in jb-mr2-release history after reset to master
2013-01-31 07:10:09 -08:00
Elliott Hughes
8db7a4cb20
am 9743d7fb: am fb55511e: am e1a124e5: Merge "Say explicitly if there were no leaks."
...
# Via Android Git Automerger (2) and others
* commit '9743d7fb60836229fde0fbdbd9fb87c78eaa00b7':
Say explicitly if there were no leaks.
2013-01-30 12:27:12 -08:00
Elliott Hughes
9743d7fb60
am fb55511e: am e1a124e5: Merge "Say explicitly if there were no leaks."
...
# Via Android Git Automerger (1) and others
* commit 'fb55511e71900476fd03f9c490dc60269d076d1f':
Say explicitly if there were no leaks.
2013-01-30 12:11:30 -08:00
Elliott Hughes
fb55511e71
am e1a124e5: Merge "Say explicitly if there were no leaks."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'e1a124e5c93b59e2b6792e4de8a2c72dc0a78be1':
Say explicitly if there were no leaks.
2013-01-30 12:09:14 -08:00
Elliott Hughes
e1a124e5c9
Merge "Say explicitly if there were no leaks."
2013-01-30 19:53:49 +00:00
Elliott Hughes
1d12d57416
Say explicitly if there were no leaks.
...
Otherwise people trying to use this are left wondering "did I not leak, or did
the leak checking code not get called when I exited?".
Change-Id: If79b225f8a2e24dd69aba1fb836bf9e81bb00efe
2013-01-30 11:38:26 -08:00
Elliott Hughes
0243962d20
am 9d43c079: am 4e882503: am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."
...
# Via Android Git Automerger (2) and others
* commit '9d43c079875ebd2540daccb180e9d6d0fa06061d':
Clean up trailing whitespace in the kernel headers.
2013-01-30 10:33:52 -08:00
Elliott Hughes
9d43c07987
am 4e882503: am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."
...
# Via Android Git Automerger (1) and others
* commit '4e8825038e08762dcc973fa435b531f10290ffa8':
Clean up trailing whitespace in the kernel headers.
2013-01-30 10:31:24 -08:00
Elliott Hughes
4e8825038e
am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a990cf5b3392c5aef767aee1e67b4d7ef651afc6':
Clean up trailing whitespace in the kernel headers.
2013-01-30 10:28:59 -08:00
Elliott Hughes
a990cf5b33
Merge "Clean up trailing whitespace in the kernel headers."
2013-01-30 18:13:29 +00:00
Elliott Hughes
c95eb57405
Clean up trailing whitespace in the kernel headers.
...
And fix the scripts so they stop letting trailing whitespace through.
Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
2013-01-30 10:13:07 -08:00
The Android Automerger
4c59597089
merge in jb-mr2-release history after reset to master
2013-01-30 07:10:15 -08:00
Elliott Hughes
8dfe0daf6f
am 5821e11d: am 7bc49fcf: am 323287ea: Merge "Fix valgrind build."
...
# Via Android Git Automerger (2) and others
* commit '5821e11d0b577fda45b81f0c9ea13c1c1c5de1a8':
Fix valgrind build.
2013-01-29 18:11:34 -08:00
Elliott Hughes
5821e11d0b
am 7bc49fcf: am 323287ea: Merge "Fix valgrind build."
...
# Via Android Git Automerger (1) and others
* commit '7bc49fcfc0de8ce6f386f362cdab6902e6bbe7b4':
Fix valgrind build.
2013-01-29 18:09:26 -08:00
Elliott Hughes
7bc49fcfc0
am 323287ea: Merge "Fix valgrind build."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '323287ea7fb1d22f64b49d701b33cef9fbaf757d':
Fix valgrind build.
2013-01-29 18:06:19 -08:00
Elliott Hughes
323287ea7f
Merge "Fix valgrind build."
2013-01-30 01:50:16 +00:00
Elliott Hughes
6fe67c3cf2
Fix valgrind build.
...
Change-Id: Ie375d32565d10f4c0c56da5422f52b68cb069654
2013-01-29 17:49:12 -08:00
Elliott Hughes
278c059663
am 9d995d67: am 1cc09402: am f6721978: Merge "Fix x86 build to use <elf.h>."
...
# Via Android Git Automerger (2) and others
* commit '9d995d67217e44e022c9e5d0767634fa81f87b78':
Fix x86 build to use <elf.h>.
2013-01-29 17:09:13 -08:00
Elliott Hughes
d9397a7c5e
am 0a383883: am be11de2b: am 5fb409b7: Merge "Bring the NOTICE files back up to date."
...
# Via Android Git Automerger (2) and others
* commit '0a383883fa3d358ff4af6b653a0918f4cd01ef7e':
Bring the NOTICE files back up to date.
2013-01-29 17:09:12 -08:00
Elliott Hughes
a1b8c145cb
am a7f44b5a: am 172e038f: am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."
...
# Via Android Git Automerger (2) and others
* commit 'a7f44b5afe64199eeee715e613c7d42d2724232c':
Use the NetBSD <sys/exec_elf.h>.
2013-01-29 17:09:11 -08:00
Elliott Hughes
9d995d6721
am 1cc09402: am f6721978: Merge "Fix x86 build to use <elf.h>."
...
# Via Android Git Automerger (1) and others
* commit '1cc09402e86b91213e06a9a349c5c510cefcf1d5':
Fix x86 build to use <elf.h>.
2013-01-29 17:04:14 -08:00
Elliott Hughes
0a383883fa
am be11de2b: am 5fb409b7: Merge "Bring the NOTICE files back up to date."
...
# Via Android Git Automerger (1) and others
* commit 'be11de2b52ac5f8cbb5a733821cb27002f2ea975':
Bring the NOTICE files back up to date.
2013-01-29 17:04:13 -08:00
Elliott Hughes
a7f44b5afe
am 172e038f: am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."
...
# Via Android Git Automerger (1) and others
* commit '172e038f9e5b711a77afe7e8899343215cf25c9e':
Use the NetBSD <sys/exec_elf.h>.
2013-01-29 17:04:11 -08:00
Elliott Hughes
1cc09402e8
am f6721978: Merge "Fix x86 build to use <elf.h>."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f67219783fa7c38c1f4f077364290d10d3aa1db4':
Fix x86 build to use <elf.h>.
2013-01-29 16:58:45 -08:00
Elliott Hughes
be11de2b52
am 5fb409b7: Merge "Bring the NOTICE files back up to date."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '5fb409b7b0b0a4ecca5fd2a6c7dc5ce421f6b7cf':
Bring the NOTICE files back up to date.
2013-01-29 16:42:04 -08:00
Elliott Hughes
f67219783f
Merge "Fix x86 build to use <elf.h>."
2013-01-30 00:41:24 +00:00
Elliott Hughes
d070df4c74
Fix x86 build to use <elf.h>.
...
Change-Id: I7b697d5eae69dc08eb31471a42cb8bbe5360be76
2013-01-29 16:40:39 -08:00
Elliott Hughes
5fb409b7b0
Merge "Bring the NOTICE files back up to date."
2013-01-30 00:33:53 +00:00
Elliott Hughes
172e038f9e
am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f09f6db5dd87856bbbb7a3d465187b9d8799a788':
Use the NetBSD <sys/exec_elf.h>.
2013-01-29 16:26:10 -08:00
Elliott Hughes
448080d372
Bring the NOTICE files back up to date.
...
Change-Id: I978275cf6604b90595ee79d897c0460eeadc7dc8
2013-01-29 16:25:06 -08:00
Elliott Hughes
f09f6db5dd
Merge "Use the NetBSD <sys/exec_elf.h>."
2013-01-30 00:06:11 +00:00
Elliott Hughes
a6a3ac5924
Use the NetBSD <sys/exec_elf.h>.
...
Replace a kernel header file dependency with files from NetBSD.
They're more complete, and ELF is ELF, whether you're on Linux or a BSD.
Bug: 7973611
Change-Id: I83ee719e7efdf432ec2ddbe8be271d05b2f558d7
2013-01-29 15:02:50 -08:00
Elliott Hughes
3638641014
am f5d6238c: am 3f20ecc2: am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."
...
# Via Android Git Automerger (2) and others
* commit 'f5d6238c4b6433f193c6d06c1dd89110b497e449':
Don't collect useless stack frames; do demangle C++ symbols.
2013-01-29 12:09:31 -08:00
Elliott Hughes
f5d6238c4b
am 3f20ecc2: am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."
...
# Via Android Git Automerger (1) and others
* commit '3f20ecc20486ae8fe8d9332102b503135f83c62d':
Don't collect useless stack frames; do demangle C++ symbols.
2013-01-29 12:07:13 -08:00
Elliott Hughes
3f20ecc204
am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3db2fc5acb4894a2cb22533b165a0de1bbafc3f6':
Don't collect useless stack frames; do demangle C++ symbols.
2013-01-29 12:03:53 -08:00
Elliott Hughes
3db2fc5acb
Merge "Don't collect useless stack frames; do demangle C++ symbols."
2013-01-29 19:59:30 +00:00
Elliott Hughes
35b621c5f4
Don't collect useless stack frames; do demangle C++ symbols.
...
Previously, we'd collect every stack frame and then throw some away
when we came to log them. This meant that stack traces were effectively
shorter than the buffers that had been allocated for them. This patch
only stores frames we'll actually output.
Also dynamically call the C++ demangler so we don't have to try to
read mangled names. Because no one knows the mangling of operator new[]
for int arrays off the top of their head.
Bug: 7291287
Change-Id: I42b022fd7cd61675d05171de4c3b2704d058ef2a
2013-01-29 09:56:31 -08:00
The Android Automerger
2a523d1a06
merge in jb-mr2-release history after reset to master
2013-01-29 07:10:09 -08:00
Elliott Hughes
62228694a0
am 2218b89c: am d383ac15: am a0151cbf: Merge "Unit tests for formatting code, fix %%."
...
# Via Android Git Automerger (2) and others
* commit '2218b89ca7017e3f1cdb0641528787cd9985501a':
Unit tests for formatting code, fix %%.
2013-01-28 14:14:44 -08:00
Elliott Hughes
2218b89ca7
am d383ac15: am a0151cbf: Merge "Unit tests for formatting code, fix %%."
...
# Via Android Git Automerger (1) and others
* commit 'd383ac1570b553d68ed399c74b73bad1498d78f6':
Unit tests for formatting code, fix %%.
2013-01-28 14:11:54 -08:00
Elliott Hughes
d383ac1570
am a0151cbf: Merge "Unit tests for formatting code, fix %%."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a0151cbfbaa37965dbcd188a55a78d3ad4802b9b':
Unit tests for formatting code, fix %%.
2013-01-28 14:10:08 -08:00
Elliott Hughes
a0151cbfba
Merge "Unit tests for formatting code, fix %%."
2013-01-28 22:04:45 +00:00
Elliott Hughes
41b3179c9e
Unit tests for formatting code, fix %%.
...
Also fix <signal.h> and <stdio.h> so they don't cause compiler warnings.
Change-Id: Ib1a746bf01de22d47dbd964de0e6af80a7c96303
2013-01-28 10:36:31 -08:00
The Android Automerger
8482fbb691
merge in jb-mr2-release history after reset to master
2013-01-28 07:10:05 -08:00
Elliott Hughes
609ca692a9
am d265d367: am f07db754: am 0a91b11d: Merge "More debug malloc fixes."
...
# Via Android Git Automerger (2) and others
* commit 'd265d3674937651d23a0252e6aad0ee09b02492a':
More debug malloc fixes.
2013-01-25 18:11:55 -08:00
Elliott Hughes
d265d36749
am f07db754: am 0a91b11d: Merge "More debug malloc fixes."
...
# Via Android Git Automerger (1) and others
* commit 'f07db75443cce4ab96c93bdaa0793d7b8e87547e':
More debug malloc fixes.
2013-01-25 18:09:45 -08:00
Elliott Hughes
f07db75443
am 0a91b11d: Merge "More debug malloc fixes."
...
# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '0a91b11d286446fe7849a6f537b4a21a52f63399':
More debug malloc fixes.
2013-01-25 18:07:23 -08:00
Elliott Hughes
0a91b11d28
Merge "More debug malloc fixes."
2013-01-26 01:55:43 +00:00
Iliyan Malchev
ac10757e2a
Merge "bionic: update processed msm_vidc_enc.h"
2013-01-26 01:41:55 +00:00
Elliott Hughes
239e7a0756
More debug malloc fixes.
...
Include the leaky executable's name in the log output. Fix the "sh" test.
Use uintptr_t instead of intptr_t.
Also fix debug formatting of NULL with %s.
Bug: 7291287
Change-Id: I015bf341cd48d43a247173612e6ccb1bf1243d53
2013-01-25 17:13:45 -08:00
Elliott Hughes
98ce9888b1
am 88af7232: am 7ae99845: am 6a94cb74: Merge "arm syscall : for eabi call_default don\'t use stack"
...
# By Matthieu Castet
# Via Android Git Automerger (2) and others
* commit '88af723267e86c7b2a685f97c6e442d3766ad9a9':
arm syscall : for eabi call_default don't use stack
2013-01-25 17:11:52 -08:00
Nick Kralevich
85e76a3652
am 2ebcd19c: am 27818d2a: am b871e5d6: Merge "system_properties: do more checking of file"
...
# Via Android Git Automerger (2) and others
* commit '2ebcd19cbc42c5edce189df630a48feb9ffec16d':
system_properties: do more checking of file
2013-01-25 17:11:51 -08:00
Elliott Hughes
88af723267
am 7ae99845: am 6a94cb74: Merge "arm syscall : for eabi call_default don\'t use stack"
...
# By Matthieu Castet
# Via Android Git Automerger (1) and others
* commit '7ae998456c2564aff4ecbe6a6df214821f6e26cc':
arm syscall : for eabi call_default don't use stack
2013-01-25 14:10:02 -08:00
Nick Kralevich
2ebcd19cbc
am 27818d2a: am b871e5d6: Merge "system_properties: do more checking of file"
...
# Via Android Git Automerger (1) and others
* commit '27818d2a16e4972acba15368f55a59cc0ed990f0':
system_properties: do more checking of file
2013-01-25 14:10:01 -08:00
Elliott Hughes
7ae998456c
am 6a94cb74: Merge "arm syscall : for eabi call_default don\'t use stack"
...
# By Matthieu Castet
# Via Gerrit Code Review (1) and Matthieu Castet (1)
* commit '6a94cb748bf63278c3271b0ab610061b0dc6f04a':
arm syscall : for eabi call_default don't use stack
2013-01-25 14:08:26 -08:00
Nick Kralevich
27818d2a16
am b871e5d6: Merge "system_properties: do more checking of file"
...
# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'b871e5d6b3b4a214c7f19bdfca7663f1fe49fda8':
system_properties: do more checking of file
2013-01-25 14:08:26 -08:00
Elliott Hughes
6a94cb748b
Merge "arm syscall : for eabi call_default don't use stack"
2013-01-25 21:57:58 +00:00
Nick Kralevich
b871e5d6b3
Merge "system_properties: do more checking of file"
2013-01-25 21:52:00 +00:00
Nick Kralevich
c16961b8c3
system_properties: do more checking of file
...
Check that the permissions on the properties file
are exactly as we expect them to be.
Make sure we close the fd if fstat fails.
Refactor the code slightly.
Change-Id: I5503fd58c3b8093ce7e6d05920748ed70eaf8e2c
2013-01-25 13:07:31 -08:00
Iliyan Malchev
3eaa03df03
bionic: update processed msm_vidc_enc.h
...
Change-Id: If9aeec6f43b8b2951d1372042c884cd0e01f0a5a
Signed-off-by: Iliyan Malchev <malchev@google.com >
2013-01-25 11:26:53 -08:00
The Android Automerger
0f01df7fc9
merge in jb-mr2-release history after reset to master
2013-01-25 07:10:05 -08:00
Nick Kralevich
ddbb728eff
am 151e91e6: am da2d2c61: am 82ef8296: Merge "prctl.h: include sys/cdefs.h"
...
# Via Android Git Automerger (2) and others
* commit '151e91e66c95a7e415903b87b8157a9bc422df45':
prctl.h: include sys/cdefs.h
2013-01-24 16:15:39 -08:00
Nick Kralevich
151e91e66c
am da2d2c61: am 82ef8296: Merge "prctl.h: include sys/cdefs.h"
...
# Via Android Git Automerger (1) and others
* commit 'da2d2c618c23f212f8dec0c0615bf75d7c18b88d':
prctl.h: include sys/cdefs.h
2013-01-24 16:11:56 -08:00
Nick Kralevich
da2d2c618c
am 82ef8296: Merge "prctl.h: include sys/cdefs.h"
...
# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit '82ef8296dc5e25b9cc8e7231f9515f50185dac9d':
prctl.h: include sys/cdefs.h
2013-01-24 08:59:00 -08:00
Nick Kralevich
82ef8296dc
Merge "prctl.h: include sys/cdefs.h"
2013-01-24 16:44:59 +00:00
Nick Kralevich
8e70b0d5c3
prctl.h: include sys/cdefs.h
...
prctl.h uses __BEGIN_DECLS but fails to include sys/cdefs.h
(where it's defined). Code which includes prctl.h without
previously including sys/cdefs.h will fail to compile.
Fixed.
Change-Id: If4c9f3308f08b93596dcd00e351ae786807e9320
2013-01-23 16:49:47 -08:00
Nick Kralevich
472fdc95a6
am b8726037: am e7d937b5: am b3351f12: Merge "libc: use more secure system properties if available"
...
* commit 'b8726037ee1100e2704e90d0a54ea2313bf96b00':
libc: use more secure system properties if available
2013-01-23 16:16:06 -08:00
Nick Kralevich
f5b111df06
am b8726037: am e7d937b5: am b3351f12: Merge "libc: use more secure system properties if available"
...
* commit 'b8726037ee1100e2704e90d0a54ea2313bf96b00':
libc: use more secure system properties if available
2013-01-23 11:12:07 -08:00
Nick Kralevich
b8726037ee
am e7d937b5: am b3351f12: Merge "libc: use more secure system properties if available"
...
* commit 'e7d937b52f183ce84751701c369ffe6a4c81d033':
libc: use more secure system properties if available
2013-01-23 11:09:40 -08:00
Nick Kralevich
e7d937b52f
am b3351f12: Merge "libc: use more secure system properties if available"
...
* commit 'b3351f12047747b603efb070069e7afdf3040335':
libc: use more secure system properties if available
2013-01-23 11:07:23 -08:00
Nick Kralevich
b3351f1204
Merge "libc: use more secure system properties if available"
2013-01-23 18:50:24 +00:00
Nick Kralevich
32417fb376
libc: use more secure system properties if available
...
Currently, system properties are passed via the environment
variable ANDROID_PROPERTY_WORKSPACE and a file descriptor passed
from parent to child. This is insecure for setuid executables,
as the environment variable can be changed by the caller.
Modify system property handling so that we get the properties
from a root owned properties file, rather than using an
environment variable. Fall back to the environment variable
if the file doesn't exist.
Bug: 8045561
Change-Id: I54f3efa98cf7d63d88788da5ce0d19e34fd7851a
2013-01-23 09:28:35 -08:00
The Android Automerger
d72183aa16
merge in jb-mr2-release history after reset to master
2013-01-23 07:10:07 -08:00
Elliott Hughes
828aaaac5e
am c08ab018: am 40107623: am 778a68e1: Merge "Don\'t free anything when reporting leaks."
...
* commit 'c08ab018ad133a4e177013d79be547fd55968eac':
Don't free anything when reporting leaks.
2013-01-22 22:16:11 -08:00
Elliott Hughes
9d28f5bf4a
am ce8732b1: am 552e02fa: am 5c8f75ef: Merge "Disable leak checking for mksh; it\'s way too leaky."
...
* commit 'ce8732b188d96f4c313d20e6be17362a508f572d':
Disable leak checking for mksh; it's way too leaky.
2013-01-22 22:16:10 -08:00
Elliott Hughes
c08ab018ad
am 40107623: am 778a68e1: Merge "Don\'t free anything when reporting leaks."
...
* commit '40107623b05fdc2b6c61d9c885483abd3add486a':
Don't free anything when reporting leaks.
2013-01-22 22:14:32 -08:00
Elliott Hughes
ce8732b188
am 552e02fa: am 5c8f75ef: Merge "Disable leak checking for mksh; it\'s way too leaky."
...
* commit '552e02fa9c99fd234c57d756358e3208d11a13ad':
Disable leak checking for mksh; it's way too leaky.
2013-01-22 22:14:31 -08:00
Elliott Hughes
40107623b0
am 778a68e1: Merge "Don\'t free anything when reporting leaks."
...
* commit '778a68e1e57408be04806b5bfc3150aade44bcbf':
Don't free anything when reporting leaks.
2013-01-22 22:11:55 -08:00
Elliott Hughes
552e02fa9c
am 5c8f75ef: Merge "Disable leak checking for mksh; it\'s way too leaky."
...
* commit '5c8f75ef8bd89498de1d1108efa54869a2784738':
Disable leak checking for mksh; it's way too leaky.
2013-01-22 22:11:54 -08:00
Elliott Hughes
778a68e1e5
Merge "Don't free anything when reporting leaks."
2013-01-23 06:06:21 +00:00
Elliott Hughes
5c8f75ef8b
Merge "Disable leak checking for mksh; it's way too leaky."
2013-01-23 06:05:19 +00:00
Elliott Hughes
848247a972
Don't free anything when reporting leaks.
...
We don't know that they're not going to be cleaned up by a
C++ global destructor that runs after us. This is the case with
bootanimation, for example.
Bug: 7291287
Change-Id: Iba402514d1735fdc2ae4bc95b65396d816be46c0
2013-01-22 18:36:28 -08:00
Elliott Hughes
84f8b5f401
Disable leak checking for mksh; it's way too leaky.
...
When each shell leaks ~240 allocations, you can't see the leaks from
the program you ran with "adb shell".
Bug: 7291287
Change-Id: Ib8780db72ba0114ebdb24768537da74bbb61f354
2013-01-22 18:35:14 -08:00
Elliott Hughes
28fa8e109e
am a8e0f2b9: am b16ec162: am 28f82b26: Merge "Add const for first argument of sigismember for fit POSIX spec"
...
* commit 'a8e0f2b956b5a31311d778b478e63093bc2cac7a':
Add const for first argument of sigismember for fit POSIX spec
2013-01-22 17:31:20 -08:00
Elliott Hughes
a8e0f2b956
am b16ec162: am 28f82b26: Merge "Add const for first argument of sigismember for fit POSIX spec"
...
* commit 'b16ec162881110a30f665ce7bd1432ccefba60b7':
Add const for first argument of sigismember for fit POSIX spec
2013-01-22 17:29:01 -08:00
Elliott Hughes
b16ec16288
am 28f82b26: Merge "Add const for first argument of sigismember for fit POSIX spec"
...
* commit '28f82b260c9076aae437dafb57193a174aef1eb3':
Add const for first argument of sigismember for fit POSIX spec
2013-01-22 17:26:45 -08:00
Elliott Hughes
28f82b260c
Merge "Add const for first argument of sigismember for fit POSIX spec"
2013-01-23 01:11:28 +00:00
Elliott Hughes
7f0976ef0e
am 5f79f75b: am 57edf36c: am 8d6302cd: Merge "Our strcoll(3) is no different from NetBSD\'s, so take exactly theirs."
...
* commit '5f79f75ba6241ca9cab42e69a68d66d1ca28e031':
Our strcoll(3) is no different from NetBSD's, so take exactly theirs.
2013-01-22 15:36:26 -08:00
Elliott Hughes
5f79f75ba6
am 57edf36c: am 8d6302cd: Merge "Our strcoll(3) is no different from NetBSD\'s, so take exactly theirs."
...
* commit '57edf36c5f83fa7bcf9d8d028cde0acc7ddfadcc':
Our strcoll(3) is no different from NetBSD's, so take exactly theirs.
2013-01-22 15:33:24 -08:00
Elliott Hughes
57edf36c5f
am 8d6302cd: Merge "Our strcoll(3) is no different from NetBSD\'s, so take exactly theirs."
...
* commit '8d6302cdcff9c53fe3ecd36ab479fdf08318c504':
Our strcoll(3) is no different from NetBSD's, so take exactly theirs.
2013-01-22 15:31:26 -08:00
Elliott Hughes
774cef56ee
am ad551eaa: am 5f7b6b83: am 547eba0a: Merge "Avoid overflow in memccpy."
...
* commit 'ad551eaa0429bf5085f2901c5d367e8a54b7ed16':
Avoid overflow in memccpy.
2013-01-22 15:23:53 -08:00
Elliott Hughes
bdd209561e
am 1029364e: am e8e1f34a: am 85597e2b: Merge "Clean up debuggerd-related logging."
...
* commit '1029364ec5710755164ec9a7f0fe625cc184bb60':
Clean up debuggerd-related logging.
2013-01-22 15:23:49 -08:00
Elliott Hughes
0b9b068b3f
am 0dfb2eca: am 0609c0fe: am 7af7895e: Merge "Use the new non-allocating logging for dlmalloc failures."
...
* commit '0dfb2ecaab681e27fa81462daec9882ebcf36edc':
Use the new non-allocating logging for dlmalloc failures.
2013-01-22 15:23:48 -08:00
Nick Kralevich
f27874740f
Revert "libc: make system properties more secure."
...
This reverts commit f10c5a2215 .
Bug: 8045561
2013-01-22 15:21:01 -08:00
Elliott Hughes
8d6302cdcf
Merge "Our strcoll(3) is no different from NetBSD's, so take exactly theirs."
2013-01-22 23:19:35 +00:00
Elliott Hughes
2b47307012
Our strcoll(3) is no different from NetBSD's, so take exactly theirs.
...
Change-Id: I45251047202a229f9175735ecc23c0ebcda71e8d
2013-01-22 15:10:19 -08:00
Elliott Hughes
ad551eaa04
am 5f7b6b83: am 547eba0a: Merge "Avoid overflow in memccpy."
...
* commit '5f7b6b8301658a834516f05e8e0a9eb4513e6e62':
Avoid overflow in memccpy.
2013-01-22 15:08:58 -08:00
Elliott Hughes
5f7b6b8301
am 547eba0a: Merge "Avoid overflow in memccpy."
...
* commit '547eba0a63951d7db93c0542e1ecab891725b9a8':
Avoid overflow in memccpy.
2013-01-22 15:05:31 -08:00
Elliott Hughes
547eba0a63
Merge "Avoid overflow in memccpy."
2013-01-22 22:53:54 +00:00
Elliott Hughes
1029364ec5
am e8e1f34a: am 85597e2b: Merge "Clean up debuggerd-related logging."
...
* commit 'e8e1f34a33158290aa3bb9059e31ddc7a73ac1e6':
Clean up debuggerd-related logging.
2013-01-22 14:53:25 -08:00
Elliott Hughes
e8e1f34a33
am 85597e2b: Merge "Clean up debuggerd-related logging."
...
* commit '85597e2b59af91be0607ed073b6574b934ed369d':
Clean up debuggerd-related logging.
2013-01-22 14:49:11 -08:00
Elliott Hughes
c51cd764a2
Avoid overflow in memccpy.
...
Just take the upstream NetBSD code.
Bug: http://code.google.com/p/android/issues/detail?id=43078
Change-Id: Ibbbde9d00e8bc6a09c9503aab2b04b4e3d1f98b0
2013-01-22 14:41:23 -08:00
Elliott Hughes
85597e2b59
Merge "Clean up debuggerd-related logging."
2013-01-22 22:37:28 +00:00
Elliott Hughes
0dfb2ecaab
am 0609c0fe: am 7af7895e: Merge "Use the new non-allocating logging for dlmalloc failures."
...
* commit '0609c0fe8dae2ec10f1811c46a4d583f557c68f7':
Use the new non-allocating logging for dlmalloc failures.
2013-01-22 14:35:06 -08:00
Elliott Hughes
0609c0fe8d
am 7af7895e: Merge "Use the new non-allocating logging for dlmalloc failures."
...
* commit '7af7895eeb810ff1a1ca8b60fcda13595d551114':
Use the new non-allocating logging for dlmalloc failures.
2013-01-22 14:32:02 -08:00
Elliott Hughes
7af7895eeb
Merge "Use the new non-allocating logging for dlmalloc failures."
2013-01-22 22:26:35 +00:00
Elliott Hughes
ce4cf90d79
Use the new non-allocating logging for dlmalloc failures.
...
Change-Id: I88afe0201ee5766a295fc5a9e710fba9d6e0d363
2013-01-22 14:24:52 -08:00
Elliott Hughes
6b8e321e61
Clean up debuggerd-related logging.
...
Bug: 7291287
Change-Id: Ia7aa386e8b75b8058d7d9e707e11b1da7dc62f00
2013-01-22 14:17:14 -08:00
Nick Kralevich
0acf4069e9
am 98ae1a85: am e652ed30: am 244bee5b: Merge "bionic_auxv.h: fix #define conflict"
...
* commit '98ae1a85b057f6534bee7e52897a80694ba8b2e1':
bionic_auxv.h: fix #define conflict
2013-01-22 13:46:31 -08:00
Nick Kralevich
98ae1a85b0
am e652ed30: am 244bee5b: Merge "bionic_auxv.h: fix #define conflict"
...
* commit 'e652ed30514afcf314b40c69b9cac088602a83da':
bionic_auxv.h: fix #define conflict
2013-01-22 13:43:46 -08:00
Nick Kralevich
e652ed3051
am 244bee5b: Merge "bionic_auxv.h: fix #define conflict"
...
* commit '244bee5bb6e0bc12b739c57028ac8af23a18aed0':
bionic_auxv.h: fix #define conflict
2013-01-22 13:38:53 -08:00
Nick Kralevich
244bee5bb6
Merge "bionic_auxv.h: fix #define conflict"
2013-01-22 21:30:27 +00:00
Nick Kralevich
25e3f4a90d
Merge "Revert "libc: make system properties more secure.""
2013-01-22 21:26:18 +00:00
Nick Kralevich
abc21c8056
bionic_auxv.h: fix #define conflict
...
Both libc/include/sys/auxv.h and libc/private/bionic_auxv.h
use _SYS_AUXV_H_ to see if a header file has already been included.
This prevents both of these files from being included at the same
time.
Fix this name conflict.
Change-Id: Ifaec88aa9779d784b95f8e75145117acf3d5cfc5
2013-01-22 13:09:04 -08:00
Nick Kralevich
8897a9565a
Revert "libc: make system properties more secure."
...
This reverts commit f10c5a2215 .
Bug: 8045561
2013-01-22 12:44:11 -08:00
Elliott Hughes
f669fdf11e
am 04afcd25: am 8ef83bc4: am 02f96b9d: Merge "Add missing extern "C"."
...
* commit '04afcd25a3758090009d3261f4c573b8ed73e03a':
Add missing extern "C".
2013-01-22 11:35:50 -08:00
Elliott Hughes
04afcd25a3
am 8ef83bc4: am 02f96b9d: Merge "Add missing extern "C"."
...
* commit '8ef83bc46e06e8fe98e918fcb1c582d6f5807461':
Add missing extern "C".
2013-01-22 11:34:25 -08:00
Elliott Hughes
8ef83bc46e
am 02f96b9d: Merge "Add missing extern "C"."
...
* commit '02f96b9db0242711fe1dfe0713c0c4e698561da5':
Add missing extern "C".
2013-01-22 11:32:16 -08:00
Elliott Hughes
02f96b9db0
Merge "Add missing extern "C"."
2013-01-22 19:22:47 +00:00
Elliott Hughes
f90b95ea1a
Add missing extern "C".
...
Change-Id: Idbf24ce8482ff03f24caa89bafb08677b1c5cec3
2013-01-22 11:20:45 -08:00
Elliott Hughes
16f7b78fd1
am 4cd5703b: am 75b64a1b: am ca483765: Merge "Fix the duplication in the debugging code."
...
* commit '4cd5703b9eef30a32271819503808576666e1601':
Fix the duplication in the debugging code.
2013-01-22 10:05:19 -08:00
Elliott Hughes
4cd5703b9e
am 75b64a1b: am ca483765: Merge "Fix the duplication in the debugging code."
...
* commit '75b64a1b64e788b9e69ac4f4cd8cce37932513a8':
Fix the duplication in the debugging code.
2013-01-22 10:02:12 -08:00
Elliott Hughes
75b64a1b64
am ca483765: Merge "Fix the duplication in the debugging code."
...
* commit 'ca483765bd0dc16294b9e67dd0de5c6d53b1bfa3':
Fix the duplication in the debugging code.
2013-01-22 09:59:44 -08:00
Elliott Hughes
ca483765bd
Merge "Fix the duplication in the debugging code."
2013-01-22 17:44:15 +00:00
The Android Automerger
5f0de35c3e
merge in jb-mr2-release history after reset to master
2013-01-21 07:10:08 -08:00
Kito Cheng
f373b11f9f
Add const for first argument of sigismember for fit POSIX spec
...
Change-Id: Icbc67375282f2a22dce02e4bacab15ddae846057
2013-01-20 00:15:23 +08:00
Elliott Hughes
1e980b6bc8
Fix the duplication in the debugging code.
...
We had two copies of the backtrace code, and two copies of the
libcorkscrew /proc/pid/maps code. This patch gets us down to one.
We also had hacks so we could log in the malloc debugging code.
This patch pulls the non-allocating "printf" code out of the
dynamic linker so everyone can share.
This patch also makes the leak diagnostics easier to read, and
makes it possible to paste them directly into the 'stack' tool (by
using relative PCs).
This patch also fixes the stdio standard stream leak that was
causing a leak warning every time tf_daemon ran.
Bug: 7291287
Change-Id: I66e4083ac2c5606c8d2737cb45c8ac8a32c7cfe8
2013-01-18 22:20:06 -08:00
Robert Greenwalt
1136b7d821
Merge "Revert "dns cache per interface iteration 2""
2013-01-19 00:40:38 +00:00
Robert Greenwalt
b002a2ff77
Revert "dns cache per interface iteration 2"
...
This reverts commit f1464ff956
Change-Id: I3496b9a8cb54614fe3eea016d1391c8a89f3db38
2013-01-19 00:40:24 +00:00
Geremy Condra
b1d1a7682f
Merge "libc: make system properties more secure."
2013-01-19 00:26:23 +00:00
Nick Kralevich
f10c5a2215
libc: make system properties more secure.
...
Currently, system properties are passed via the environment
variable ANDROID_PROPERTY_WORKSPACE and a file descriptor passed
from parent to child. This is insecure for setuid executables,
as the environment variable can be changed by the caller.
Modify system property handling so that we get the properties
from a root owned properties file, rather than using an
environment variable.
Related to bug: 8029617
Change-Id: I5717e51f20f9e4339ed0a1fdf2fc797e52670fbb
2013-01-18 14:30:07 -08:00
Nick Kralevich
c82bc4f472
am 9468ee53: am f246ae98: am 5496bbf6: Merge "Revert "Filter ANDROID_PROPERTY_WORKSPACE""
...
* commit '9468ee53ac01a86255bd00976d8aa5a1a4141020':
Revert "Filter ANDROID_PROPERTY_WORKSPACE"
2013-01-18 14:01:54 -08:00
Nick Kralevich
9468ee53ac
am f246ae98: am 5496bbf6: Merge "Revert "Filter ANDROID_PROPERTY_WORKSPACE""
...
* commit 'f246ae984baa133b93af4e14f94ba35990b43dbb':
Revert "Filter ANDROID_PROPERTY_WORKSPACE"
2013-01-18 13:11:13 -08:00
Nick Kralevich
f246ae984b
am 5496bbf6: Merge "Revert "Filter ANDROID_PROPERTY_WORKSPACE""
...
* commit '5496bbf6a3592fd99cee6b8c20c8624c2aeea0c1':
Revert "Filter ANDROID_PROPERTY_WORKSPACE"
2013-01-18 13:10:04 -08:00
Nick Kralevich
5496bbf6a3
Merge "Revert "Filter ANDROID_PROPERTY_WORKSPACE""
2013-01-18 20:50:41 +00:00
Guang Zhu
4df577fef7
Revert "Filter ANDROID_PROPERTY_WORKSPACE"
...
Temporarily revert the change since DNS resolution seems
broken right now in ping util.
Bug: 8029617
This reverts commit a0f64756a4 .
2013-01-18 11:28:47 -08:00
The Android Automerger
f73a885f53
merge in jb-mr2-release history after reset to master
2013-01-18 07:10:09 -08:00
Guang Zhu
bf1d225593
Revert "Filter ANDROID_PROPERTY_WORKSPACE"
...
Temporarily revert the change since DNS resolution seems
broken right now in ping util.
Bug: 8029617
This reverts commit a0f64756a4 .
2013-01-17 23:25:24 -08:00
Nick Kralevich
c5c99adeed
am 8e833972: am 0a0c2321: am 4bfaf1e5: Merge "FORTIFY_SOURCE: optimize"
...
* commit '8e833972c2506267024136a0f609bdbb26dcc498':
FORTIFY_SOURCE: optimize
2013-01-17 17:08:21 -08:00
Nick Kralevich
8e833972c2
am 0a0c2321: am 4bfaf1e5: Merge "FORTIFY_SOURCE: optimize"
...
* commit '0a0c23216766adf76739dc38dcb45934105cd41c':
FORTIFY_SOURCE: optimize
2013-01-17 17:06:11 -08:00
Nick Kralevich
0a0c232167
am 4bfaf1e5: Merge "FORTIFY_SOURCE: optimize"
...
* commit '4bfaf1e5f62748b305406ff4ceebd5f4b750038c':
FORTIFY_SOURCE: optimize
2013-01-17 17:04:33 -08:00
Elliott Hughes
e230306135
am a4723742: am 261e9d08: am e4ca88d9: Merge "Add functionlity to the scripts to replace tokens in kernel headers based on architecture."
...
* commit 'a4723742c1ee0daa2ec17a148334c548b5edf3a8':
Add functionlity to the scripts to replace tokens in kernel headers based on architecture.
2013-01-17 16:53:57 -08:00
Elliott Hughes
a4723742c1
am 261e9d08: am e4ca88d9: Merge "Add functionlity to the scripts to replace tokens in kernel headers based on architecture."
...
* commit '261e9d08dbf1cd7fea7e1799338238d11d18cb7c':
Add functionlity to the scripts to replace tokens in kernel headers based on architecture.
2013-01-17 16:51:09 -08:00
Nick Kralevich
4bfaf1e5f6
Merge "FORTIFY_SOURCE: optimize"
2013-01-18 00:49:36 +00:00
Elliott Hughes
261e9d08db
am e4ca88d9: Merge "Add functionlity to the scripts to replace tokens in kernel headers based on architecture."
...
* commit 'e4ca88d9fa8757e4fb4056fcafa5bc15b406a2fd':
Add functionlity to the scripts to replace tokens in kernel headers based on architecture.
2013-01-17 16:48:45 -08:00
Elliott Hughes
e4ca88d9fa
Merge "Add functionlity to the scripts to replace tokens in kernel headers based on architecture."
2013-01-18 00:34:13 +00:00
Nick Kralevich
a44e9afdd1
FORTIFY_SOURCE: optimize
...
Don't do the fortify_source checks if we can determine, at
compile time, that the provided operation is safe.
This avoids silliness like calling fortify source on things like:
size_t len = strlen("asdf");
printf("%d\n", len);
and allows the compiler to optimize this code to:
printf("%d\n", 4);
Defer to gcc's builtin functions instead of pointing our code
to the libc implementation.
Change-Id: I5e1dcb61946461c4afaaaa983e39f07c7a0df0ae
2013-01-17 15:41:33 -08:00
Raghu Gandham
a864c2c234
Add functionlity to the scripts to replace tokens in kernel headers
...
based on architecture.
2013-01-17 14:39:09 -08:00
Nick Kralevich
dbcf3ed458
am 36c4eb18: am 3a72fe58: am f3fe1945: Merge "linker: add -Wl,--exclude-libs,ALL to LDFLAGS"
...
* commit '36c4eb188c6594db877bd7b9f46c55264180dc3f':
linker: add -Wl,--exclude-libs,ALL to LDFLAGS
2013-01-17 11:34:20 -08:00
Nick Kralevich
36c4eb188c
am 3a72fe58: am f3fe1945: Merge "linker: add -Wl,--exclude-libs,ALL to LDFLAGS"
...
* commit '3a72fe587f454a2eea79b5564e4ab1d3880b51c8':
linker: add -Wl,--exclude-libs,ALL to LDFLAGS
2013-01-17 09:01:14 -08:00
Nick Kralevich
3a72fe587f
am f3fe1945: Merge "linker: add -Wl,--exclude-libs,ALL to LDFLAGS"
...
* commit 'f3fe19459fd9263e8cc8a413a5313b1ec3cf3975':
linker: add -Wl,--exclude-libs,ALL to LDFLAGS
2013-01-17 08:58:27 -08:00
Nick Kralevich
f3fe19459f
Merge "linker: add -Wl,--exclude-libs,ALL to LDFLAGS"
2013-01-17 16:41:31 +00:00
Robert Greenwalt
89f9b30e4d
Merge "dns cache per interface iteration 2"
2013-01-17 16:14:52 +00:00
The Android Automerger
ff1c00a29e
merge in jb-mr2-release history after reset to master
2013-01-17 07:10:10 -08:00
Nick Kralevich
d89ce40d8e
linker: add -Wl,--exclude-libs,ALL to LDFLAGS
...
The linker is essentially a shared library, and incorporates
it's own copy of libc. Even though it's unnecessary, currently
/system/bin/linker is exporting various libc symbols (only to
apps which explicitly dlopen /system/bin/linker)
Add --exclude-libs,ALL, which tells the static linker to mark
all of the imported libc symbols as hidden. This reduces the
size of /system/bin/linker from 92K to 67K with no obvious
loss in functionality.
$ adb shell ls -l /system/bin/linker
-rwxrwxrwx root root 92260 2013-01-16 16:52 linker
$ adb shell ls -l /system/bin/linker
-rwxrwxrwx root root 67660 2013-01-16 16:49 linker
Documentation on exclude-libs can be found at
http://sourceware.org/binutils/docs-2.21/ld/Options.html
Change-Id: I4508287770e4b7a845def2e6b4af969f9c866c6a
2013-01-16 16:43:58 -08:00
Nick Kralevich
927d904d52
am 91bc5865: am 8d01c055: am 1271cdc1: Merge "Revert "stack protector: use AT_RANDOM""
...
* commit '91bc5865a333212e7cac934b0a2ac7c522911d58':
Revert "stack protector: use AT_RANDOM"
2013-01-16 13:58:04 -08:00
Nick Kralevich
91bc5865a3
am 8d01c055: am 1271cdc1: Merge "Revert "stack protector: use AT_RANDOM""
...
* commit '8d01c0557bb2b7ea30f4038b6c84b816800073a7':
Revert "stack protector: use AT_RANDOM"
2013-01-16 13:55:55 -08:00
Nick Kralevich
8d01c0557b
am 1271cdc1: Merge "Revert "stack protector: use AT_RANDOM""
...
* commit '1271cdc1c91c6ae688917bc8f4ae59d2a97b3e99':
Revert "stack protector: use AT_RANDOM"
2013-01-16 13:53:25 -08:00
Nick Kralevich
1271cdc1c9
Merge "Revert "stack protector: use AT_RANDOM""
2013-01-16 21:36:53 +00:00
Nick Kralevich
bcd18c0485
am 27ff1ae4: am de666485: am ba117e41: Merge "stack protector: use AT_RANDOM"
...
* commit '27ff1ae414915789b27d0a485ff6d856ae742aad':
stack protector: use AT_RANDOM
2013-01-16 13:34:46 -08:00
Nick Kralevich
dde6b88a9f
am 079e4356: am 30894bdf: am 1b34228b: Merge "Filter ANDROID_PROPERTY_WORKSPACE"
...
* commit '079e4356550030e8bacec86b8aa058ade2b7142c':
Filter ANDROID_PROPERTY_WORKSPACE
2013-01-16 13:34:45 -08:00
Elliott Hughes
31ecd0c342
am b989c9ce: (-s ours) Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
...
* commit 'b989c9ceda71f6f75112645b5c45af341275cbab':
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
2013-01-16 13:31:35 -08:00
Nick Kralevich
27ff1ae414
am de666485: am ba117e41: Merge "stack protector: use AT_RANDOM"
...
* commit 'de666485b8123ac35be94109336f7c56a7e9e3c2':
stack protector: use AT_RANDOM
2013-01-16 13:31:24 -08:00
Nick Kralevich
079e435655
am 30894bdf: am 1b34228b: Merge "Filter ANDROID_PROPERTY_WORKSPACE"
...
* commit '30894bdfd6e4c74ab673d47391e62fb14fb51381':
Filter ANDROID_PROPERTY_WORKSPACE
2013-01-16 13:31:23 -08:00
Nick Kralevich
36bd371e26
Revert "stack protector: use AT_RANDOM"
...
The AT_RANDOM changes broke setuid / setgid executables
such as "ping". When the linker executes a setuid program,
it cleans the environment, removing any invalid environment
entries, and adding "NULL"s to the end of the environment
array for each removed variable. Later on, we try to determine
the location of the aux environment variable, and get tripped
up by these extra NULLs.
Reverting this patch will get setuid executables working again,
but getauxval() is still broken for setuid programs because of
this bug.
This reverts commit e3a49a8661 .
Change-Id: I05c58a896b1fe32cfb5d95d43b096045cda0aa4a
2013-01-16 13:16:42 -08:00
Nick Kralevich
de666485b8
am ba117e41: Merge "stack protector: use AT_RANDOM"
...
* commit 'ba117e4172fe6f160bf5f4d58b37e12c08c34245':
stack protector: use AT_RANDOM
2013-01-16 11:31:00 -08:00
Nick Kralevich
ba117e4172
Merge "stack protector: use AT_RANDOM"
2013-01-16 11:23:26 -08:00
Nick Kralevich
30894bdfd6
am 1b34228b: Merge "Filter ANDROID_PROPERTY_WORKSPACE"
...
* commit '1b34228bb289723c4ba0534eae57d0d085a3d0fa':
Filter ANDROID_PROPERTY_WORKSPACE
2013-01-16 11:14:01 -08:00
Nick Kralevich
1b34228bb2
Merge "Filter ANDROID_PROPERTY_WORKSPACE"
2013-01-16 11:11:17 -08:00
Elliott Hughes
b989c9ceda
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
...
This reverts commit f4b34b6c39 .
2013-01-16 10:34:33 -08:00
Nick Kralevich
e3a49a8661
stack protector: use AT_RANDOM
...
Populate the stack canaries from the kernel supplied
AT_RANDOM value, which doesn't involve any system calls.
This is slightly faster (6 fewer syscalls) and avoids
unnecessarily reading /dev/urandom, which depletes entropy.
Bug: 7959813
Change-Id: If2b43100a2a9929666df3de56b6139fed969e0f1
2013-01-16 10:09:52 -08:00
The Android Automerger
b3aff045b2
merge in jb-mr2-release history after reset to master
2013-01-16 10:08:57 -08:00
Elliott Hughes
1a18895ebc
am e05709b1: am e611fad0: am 14e1975e: Merge "Fix signalfd for MIPS."
...
* commit 'e05709b1df7dba98c37e83f84dcbd2ad8429bcfc':
Fix signalfd for MIPS.
2013-01-16 09:50:42 -08:00
Elliott Hughes
e05709b1df
am e611fad0: am 14e1975e: Merge "Fix signalfd for MIPS."
...
* commit 'e611fad0d055f2d869981136e5e51b7a01d525fc':
Fix signalfd for MIPS.
2013-01-16 09:48:04 -08:00
Elliott Hughes
e611fad0d0
am 14e1975e: Merge "Fix signalfd for MIPS."
...
* commit '14e1975e13c197180ed0481f305f83a362b16a24':
Fix signalfd for MIPS.
2013-01-16 09:45:57 -08:00
Elliott Hughes
14e1975e13
Merge "Fix signalfd for MIPS."
2013-01-16 09:42:51 -08:00
Elliott Hughes
f193b9fc21
Fix signalfd for MIPS.
...
Also mark signalfd's sigset_t* argument as non-nullable.
Change-Id: I466e09cdf3fb92480744c496da92274a97f99dd1
2013-01-16 09:40:25 -08:00
Matthieu Castet
faa0fdb119
arm syscall : for eabi call_default don't use stack
...
In the default case, we don't need to use the stack, we can save r7 with
ip register (that what does eglibc).
This allow to fix vfork data corruption
(see 3884bfe966 ), because vfork now don't
use the stack.
2013-01-16 14:53:37 +01:00
Nick Kralevich
a0f64756a4
Filter ANDROID_PROPERTY_WORKSPACE
...
When executing a setuid executable, filter out ANDROID_PROPERTY_WORKSPACE
from the environment. Some applications implicitly trust the property
space and don't realize that it's passed by an environment variable
which can be modified by the caller.
Change-Id: I3e3a98941f0a1f249a2ff983ecbcfe1278aa9159
2013-01-15 16:02:03 -08:00
Elliott Hughes
7cfe0d2602
am 04aa0fdd: (-s ours) am 42c5847d: (-s ours) am 791e26d9: (-s ours) Merge "Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."""
...
* commit '04aa0fdda60b6a492e572c2a79f21c732e8c33c8':
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
2013-01-15 13:40:39 -08:00
Elliott Hughes
04aa0fdda6
am 42c5847d: (-s ours) am 791e26d9: (-s ours) Merge "Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."""
...
* commit '42c5847d65d3e50a3efc4e32bb913dc66c9d0e4d':
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
2013-01-15 13:37:56 -08:00
Elliott Hughes
42c5847d65
am 791e26d9: (-s ours) Merge "Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."""
...
* commit '791e26d9598a72376b8a16a5ccfb5d1ae0010965':
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
2013-01-15 13:35:58 -08:00
Elliott Hughes
791e26d959
Merge "Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."""
2013-01-15 13:21:52 -08:00
Nick Kralevich
0112ee2190
am d29c9fc1: am b59e358b: Merge "fix strerror_r test"
...
* commit 'd29c9fc18860a41f59d390b4aab937b61dd63ea1':
fix strerror_r test
2013-01-15 11:20:23 -08:00
Nick Kralevich
d29c9fc188
am b59e358b: Merge "fix strerror_r test"
...
* commit 'b59e358bb902124cc7d648266a97f96beefc8142':
fix strerror_r test
2013-01-15 11:15:21 -08:00
Elliott Hughes
acb907fb0d
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic.""
...
This reverts commit f4b34b6c39 .
The revert was only meant to apply to the jb-mr1 branch, but accidentally
leaked out into AOSP. This revert-revert gets AOSP master and internal
master back in sync.
2013-01-15 11:12:18 -08:00
Nick Kralevich
b59e358bb9
Merge "fix strerror_r test"
2013-01-15 10:56:07 -08:00
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
Andrew Boie
07564f2d3a
add factory property file definition
...
This property file is used for properties which are set at device
provisioning time or in the factory. They are never touched by
a software update or factory data reset and typically contain
data specific to the particular unit.
Change-Id: I2e7c2fe62cb684cb2449eea917c42b19462e89a5
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com >
2013-01-11 13:02: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
Elliott Hughes
4ff6fa97e7
am 2bbb8fac: Merge "Add signalfd call to bionic"
...
* commit '2bbb8fac61e482dd96386620cc6f7f193e9c6840':
Add signalfd call to bionic
2013-01-10 13:30:16 -08:00
Elliott Hughes
2bbb8fac61
Merge "Add signalfd call to bionic"
2013-01-10 13:17:27 -08:00
Rom Lemarchand
a4b2dc016f
Add signalfd call to bionic
...
Add signalfd() call to bionic.
Adding the signalfd call was done in 3 steps:
- add signalfd4 system call (function name and syscall
number) to libc/SYSCALLS.TXT
- generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
- create the signalfd wrapper in signalfd.cpp and add
the function prototype to sys/signalfd.h
(cherry-pick of 0c11611c11 , modified to
work with older versions of GCC still in use on some branches.)
Change-Id: I4c6c3f12199559af8be63f93a5336851b7e63355
2013-01-10 13:14:46 -08:00
Elliott Hughes
19dd1567a0
Revert "Add signalfd call to bionic"
...
This reverts commit 0c11611c11
Change-Id: I1a2beae7ed66ec995fdf6c96c53c35598ac6cde0
2013-01-10 10:47:58 -08:00
Rom Lemarchand
0c11611c11
Add signalfd call to bionic
...
Add signalfd() call to bionic.
Adding the signalfd call was done in 3 steps:
- add signalfd4 system call (function name and syscall
number) to libc/SYSCALLS.TXT
- generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
- create the signalfd wrapper in signalfd.cpp and add
the function prototype to sys/signalfd.h
Change-Id: I7ee1d3e60d5d3e1c73d9820e07d23b9ce6e1a5ab
2013-01-10 10:25:42 -08:00
Robert Greenwalt
78851f10d1
Cache negative DNS results.
...
Find the TTL for the negative results using the minimum of
the SOA records TTL or the MINIMUM-TTL field (RFC-2308).
bug:5926539
Change-Id: I6d39c9fb558afcb7a4a5bc014d97dab4a85c0d4f
2013-01-09 16:36:33 -08:00
The Android Automerger
8868be3a9f
merge in master-release history after reset to master
2013-01-09 07:49:04 -08:00
Elliott Hughes
5043c376c9
am 5c5fe07e: am 364d9ee6: Merge "Don\'t test GNU-style ELF hashes on MIPS."
...
* commit '5c5fe07e43a20cd28c20bbf7a4a0443062ef144f':
Don't test GNU-style ELF hashes on MIPS.
2013-01-08 10:27:20 -08:00
Elliott Hughes
76187899a6
am 79cecbd4: am 7e22db03: Merge "Fix an off-by-one error in the sigset_t function error handling."
...
* commit '79cecbd42187c13cfdb5462c93de42168e56f49b':
Fix an off-by-one error in the sigset_t function error handling.
2013-01-08 10:27:15 -08:00
Elliott Hughes
375e10f739
am 2458d06f: am 26c5b2d4: Merge "[MIPS] Rewrite fenv.h for Android"
...
* commit '2458d06fc17ade76a8e2ae980a1e38f36350c6ee':
[MIPS] Rewrite fenv.h for Android
2013-01-08 10:27:14 -08:00
Elliott Hughes
5c5fe07e43
am 364d9ee6: Merge "Don\'t test GNU-style ELF hashes on MIPS."
...
* commit '364d9ee62f583bca795a2b40f71a04e272c80389':
Don't test GNU-style ELF hashes on MIPS.
2013-01-07 15:00:28 -08:00
Elliott Hughes
364d9ee62f
Merge "Don't test GNU-style ELF hashes on MIPS."
2013-01-07 14:46:13 -08:00
Elliott Hughes
a43e906221
Don't test GNU-style ELF hashes on MIPS.
...
The MIPS toolchain can't generate them because they're incompatible
with the MIPS ABI (which requires .dynsym match the GOT, while GNU-style
requires .dynsym to be sorted by hash code), so there's nothing to test.
Change-Id: I2220f452fe6fe595ec1312544cc741dd390a36a5
2013-01-07 14:44:36 -08:00
Elliott Hughes
79cecbd421
am 7e22db03: Merge "Fix an off-by-one error in the sigset_t function error handling."
...
* commit '7e22db037e6d9ab117bf5d50c7aca85fe74941a0':
Fix an off-by-one error in the sigset_t function error handling.
2013-01-07 14:21:26 -08:00
Elliott Hughes
7e22db037e
Merge "Fix an off-by-one error in the sigset_t function error handling."
2013-01-07 14:11:43 -08:00
Elliott Hughes
fb5e5cbdd4
Fix an off-by-one error in the sigset_t function error handling.
...
Spotted while running the tests on MIPS, where sigset_t is
actually large enough. The bits in sigset_t are used such that
signal 1 is represented by bit 0, so the range of signals is
actually [1, 8*sizeof(sigset_t)]; it seems clearer to reword
the code in terms of valid bit offsets [0, 8*sizeof(sigset_t)),
which leads to the usual bounds checking idiom.
Change-Id: Id899c288e15ff71c85dd2fd33c47f8e97aa1956f
2013-01-07 13:58:49 -08:00
Elliott Hughes
2458d06fc1
am 26c5b2d4: Merge "[MIPS] Rewrite fenv.h for Android"
...
* commit '26c5b2d460e3b2595eb7f0605edcd02753a13594':
[MIPS] Rewrite fenv.h for Android
2013-01-07 13:48:55 -08:00
Elliott Hughes
26c5b2d460
Merge "[MIPS] Rewrite fenv.h for Android"
2013-01-07 13:30:58 -08:00
Raghu Gandham
d199017101
[MIPS] Rewrite fenv.h for Android
...
Change-Id: I4d1e2f0b37b587426ccc9f26c525ec0d36637c7d
2013-01-04 16:32:54 -08:00
The Android Automerger
326cb73c58
merge in master-release history after reset to master
2013-01-04 07:49:06 -08:00
Elliott Hughes
00ab4eb0db
am ec137019: am 63dc5927: Merge "Add AF_CAN and PF_CAN (and other missing families)."
...
* commit 'ec1370191e3f0a8aedb8d77d1cec9a8aa58ebdd3':
Add AF_CAN and PF_CAN (and other missing families).
2013-01-03 17:05:12 -08:00
Elliott Hughes
ec1370191e
am 63dc5927: Merge "Add AF_CAN and PF_CAN (and other missing families)."
...
* commit '63dc592789e386ba2cd4e748090ba71d449a1e7c':
Add AF_CAN and PF_CAN (and other missing families).
2013-01-03 16:59:39 -08:00
Elliott Hughes
63dc592789
Merge "Add AF_CAN and PF_CAN (and other missing families)."
2013-01-03 16:55:30 -08:00
Elliott Hughes
8dd63f31ba
am 81508de3: am f0036944: Merge "Fix debug malloc."
...
* commit '81508de3d277db2ef3c8aa55b57ce3ce0a142e48':
Fix debug malloc.
2013-01-03 16:47:22 -08:00
Elliott Hughes
81508de3d2
am f0036944: Merge "Fix debug malloc."
...
* commit 'f0036944a13a76dddda70347032128d4a27081d6':
Fix debug malloc.
2013-01-03 16:42:42 -08:00
Elliott Hughes
d73c0b300e
Add AF_CAN and PF_CAN (and other missing families).
...
Change-Id: I2c183a6f5f7a7e81e87dad85d8c9aff9c43ed33a
2013-01-03 16:25:47 -08:00
Elliott Hughes
f0036944a1
Merge "Fix debug malloc."
2013-01-03 16:20:01 -08:00
Elliott Hughes
db492b3ca7
Fix debug malloc.
...
...which has been broken since the linker data structures went read-only.
Bug: 7941716
Change-Id: If28f6bac0fcb13e371e4d85b064544f561c8d692
2013-01-03 15:44:03 -08:00
Elliott Hughes
27a7a5c138
am c654f4fd: am b1b53177: Merge "sysconf.c was renamed to sysconf.cpp (and modified)..."
...
* commit 'c654f4fda8f1b38109669cf0f5cb8a7d43860974':
sysconf.c was renamed to sysconf.cpp (and modified)...
2013-01-03 12:10:17 -08:00
Elliott Hughes
c654f4fda8
am b1b53177: Merge "sysconf.c was renamed to sysconf.cpp (and modified)..."
...
* commit 'b1b5317799a34ac9e93f568af82952e52a9e9a13':
sysconf.c was renamed to sysconf.cpp (and modified)...
2013-01-03 12:04:48 -08:00
Elliott Hughes
b1b5317799
Merge "sysconf.c was renamed to sysconf.cpp (and modified)..."
2013-01-03 11:54:57 -08:00
Elliott Hughes
7cbff41ba3
sysconf.c was renamed to sysconf.cpp (and modified)...
...
...but sysconf.c still lingers on due to some git/repo accident. Kill it.
Change-Id: Iae354ecb21abf03a3f718cc45cfdddb7a9347778
2013-01-03 11:53:35 -08:00
The Android Automerger
5c532dc8ee
merge in master-release history after reset to master
2013-01-03 07:49:09 -08:00
Elliott Hughes
e9d6575e10
am 1287d106: am fb62558b: Merge "Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK)."
...
* commit '1287d106ed235e7366912bc7ab09df532848dd7a':
Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK).
2013-01-02 16:35:08 -08:00
Elliott Hughes
1287d106ed
am fb62558b: Merge "Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK)."
...
* commit 'fb62558bb4c25c8f71e0b949ba8552c674578674':
Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK).
2013-01-02 15:55:42 -08:00
Elliott Hughes
fb62558bb4
Merge "Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK)."
2013-01-02 15:51:15 -08:00
Elliott Hughes
a55f63083f
Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK).
...
Bug: http://code.google.com/p/android/issues/detail?id=39680
Change-Id: I11cf10a66f9d305868a725f04f581099fb88bbfc
2013-01-02 14:23:43 -08:00
The Android Automerger
803bd660b6
merge in master-release history after reset to master
2012-12-31 07:49:13 -08:00
Elliott Hughes
36a9f354c0
am c0c05ff8: am 918d776f: Merge "Support System.loadLibrary for libraries with transitive dependencies."
...
* commit 'c0c05ff8ecfe5f27aedcd6315e191245aa7b4824':
Support System.loadLibrary for libraries with transitive dependencies.
2012-12-28 09:48:19 -08:00
Elliott Hughes
0ce87c8984
am df5c77c9: am f6524f8b: Merge "Fix format_number."
...
* commit 'df5c77c91a276a79d05f58241df3695b56422d54':
Fix format_number.
2012-12-28 09:46:53 -08:00
Elliott Hughes
c0c05ff8ec
am 918d776f: Merge "Support System.loadLibrary for libraries with transitive dependencies."
...
* commit '918d776f7edf1a9c4209ada4c2401ef0ea0bf660':
Support System.loadLibrary for libraries with transitive dependencies.
2012-12-21 17:54:07 -08:00
Elliott Hughes
918d776f7e
Merge "Support System.loadLibrary for libraries with transitive dependencies."
2012-12-21 17:46:22 -08:00
Elliott Hughes
df5c77c91a
am f6524f8b: Merge "Fix format_number."
...
* commit 'f6524f8bda87f7d25dad7bed7091a93f3de58728':
Fix format_number.
2012-12-21 10:04:27 -08:00
Elliott Hughes
f6524f8bda
Merge "Fix format_number."
2012-12-20 19:08:17 -08:00
Elliott Hughes
eababde214
Fix format_number.
...
I broke this the other day when silencing x86 gcc warnings.
Bug: 7904160
Change-Id: I8e60cc1f8cbaff95248c8738d84e515413d839e4
2012-12-20 19:00:48 -08:00
Elliott Hughes
cade4c36e7
Support System.loadLibrary for libraries with transitive dependencies.
...
Also fix the FLAG_ERROR annoyance --- it's not helpful to cache failures.
Bug: 7896159
Bug: http://code.google.com/p/android/issues/detail?id=34416
Bug: http://code.google.com/p/android/issues/detail?id=22143
Change-Id: I60f235edb4ea4756e1f7ce56f7739f18e8a50789
2012-12-20 14:42:14 -08:00
The Android Automerger
2937d9ab54
merge in master-release history after reset to master
2012-12-20 07:49:12 -08:00
Elliott Hughes
d020802e37
am 5fd31f68: am 4b582142: Merge "Fix x86 dynamic linker build."
...
* commit '5fd31f6891a6e0b5db84c4c7992d0a4b08f3dddd':
Fix x86 dynamic linker build.
2012-12-19 09:51:36 -08:00
Elliott Hughes
5fd31f6891
am 4b582142: Merge "Fix x86 dynamic linker build."
...
* commit '4b58214205d3d29dbdfed49964010235ef3f0403':
Fix x86 dynamic linker build.
2012-12-19 09:46:32 -08:00
The Android Automerger
efe3ca7b48
merge in master-release history after reset to master
2012-12-19 07:49:06 -08:00
Elliott Hughes
05ab167cf7
am a0edecf3: am a4ebdcf5: Merge "Check for unknown flags passed to dlopen(3)."
...
* commit 'a0edecf3438d036ee2353076d171ee68939c2a5e':
Check for unknown flags passed to dlopen(3).
2012-12-18 19:44:10 -08:00
Elliott Hughes
a0edecf343
am a4ebdcf5: Merge "Check for unknown flags passed to dlopen(3)."
...
* commit 'a4ebdcf5bd20072f9a0e48c22fff401acda43e1e':
Check for unknown flags passed to dlopen(3).
2012-12-18 19:41:24 -08:00
Elliott Hughes
4b58214205
Merge "Fix x86 dynamic linker build."
2012-12-18 18:16:09 -08:00
Elliott Hughes
45288c5ce3
Fix x86 dynamic linker build.
...
Change-Id: Ia9fc6342e3d409de86dcd187c7402e8ac2ae96c8
2012-12-18 18:13:19 -08:00
Elliott Hughes
a4ebdcf5bd
Merge "Check for unknown flags passed to dlopen(3)."
2012-12-18 16:38:37 -08:00
Elliott Hughes
e66190d2a9
Check for unknown flags passed to dlopen(3).
...
Change-Id: I56f4aab0e5a1487bc32d2c4d231e8bd15c4ac8da
2012-12-18 15:57:55 -08:00
The Android Automerger
b9cb7ee082
merge in master-release history after reset to master
2012-12-12 07:49:10 -08:00
Elliott Hughes
78b90c744d
am 607bd477: am 4c4b08a3: Merge "Fix <endian.h> and <sys/endian.h>."
...
* commit '607bd47707680db36f377c5e8fc330953fd407e7':
Fix <endian.h> and <sys/endian.h>.
2012-12-11 17:29:17 -08:00
Elliott Hughes
607bd47707
am 4c4b08a3: Merge "Fix <endian.h> and <sys/endian.h>."
...
* commit '4c4b08a32eace878e4780ee340a57c43be950159':
Fix <endian.h> and <sys/endian.h>.
2012-12-11 17:27:41 -08:00
Elliott Hughes
4c4b08a32e
Merge "Fix <endian.h> and <sys/endian.h>."
2012-12-11 17:18:58 -08:00
Elliott Hughes
4fa35d8ae8
Fix <endian.h> and <sys/endian.h>.
...
Previously we'd been relying on getting the machine-specific <endian.h>
instead of the top-level <endian.h>, and <sys/endian.h> was basically broken.
Now, with this patch and the previous patch we should have <endian.h>
and <sys/endian.h> behaving the same. This is basically how NetBSD's endian.h
works, and was probably how ours was originally intended to work.
Bug: http://code.google.com/p/android/issues/detail?id=39824
Change-Id: I71de5a507e633de166013a658b5764df9e1aa09c
2012-12-11 16:17:33 -08:00
The Android Automerger
f096529317
merge in master-release history after reset to master
2012-12-11 07:49:16 -08:00
Elliott Hughes
42d7a26d23
am f822e7f6: am 0521ff82: Merge "Use pthread_kill() in raise()"
...
* commit 'f822e7f68eec30bb175ccb46cd379f4a060b6c74':
Use pthread_kill() in raise()
2012-12-10 11:42:06 -08:00
Elliott Hughes
f822e7f68e
am 0521ff82: Merge "Use pthread_kill() in raise()"
...
* commit '0521ff8234cafcc61060961b2f856fcf4dae1e7d':
Use pthread_kill() in raise()
2012-12-10 11:40:04 -08:00
Elliott Hughes
0521ff8234
Merge "Use pthread_kill() in raise()"
2012-12-10 11:21:42 -08:00
Chris Dearman
d8a5a6f513
Use pthread_kill() in raise()
...
raise() should use pthread_kill() in a pthreads environment.
For bionic this means it should always be used.
Change-Id: Ic679272b664d2b8a7068b628fb83a9f7395c441f
2012-12-10 11:20:57 -08:00
The Android Automerger
d08e76cd35
merge in master-release history after reset to master
2012-12-10 07:49:11 -08:00
Geremy Condra
edb53b3e9d
am 28996f80: am 6fcf1770: Merge "Added audit.h from the kernel."
...
* commit '28996f80064579566d5a2ec5c69a00ef159a7e32':
Added audit.h from the kernel.
2012-12-07 14:34:12 -08:00
Geremy Condra
28996f8006
am 6fcf1770: Merge "Added audit.h from the kernel."
...
* commit '6fcf1770e5829b8439b7e7ed7efb39ee5d425e23':
Added audit.h from the kernel.
2012-12-07 14:32:21 -08:00
Geremy Condra
6fcf1770e5
Merge "Added audit.h from the kernel."
2012-12-07 14:21:16 -08:00
Geremy Condra
03e1ebbdd6
Added audit.h from the kernel.
...
Just followed the recipe in I1ca996541d05b0d5927ab828a6ce49c09877ea01
Change-Id: I5713d9ce5ff62e310a694ecfbe21cad6577bcb4d
2012-12-07 14:13:23 -08:00
Nick Kralevich
a710682db3
am 080210c1: am c8354f50: Merge "FORTIFY_SOURCE: remove memcpy overlap checks"
...
* commit '080210c16a3c233dacf26dda168932a475fdd40b':
FORTIFY_SOURCE: remove memcpy overlap checks
2012-12-07 12:24:08 -08:00
Nick Kralevich
5e6213af54
am 79e1a01e: am 5dfdb701: Merge "FORTIFY_SOURCE: fix up previous commit"
...
* commit '79e1a01e9e994d88e17f6d11819dcfd35cfa5e19':
FORTIFY_SOURCE: fix up previous commit
2012-12-07 12:24:07 -08:00
Nick Kralevich
080210c16a
am c8354f50: Merge "FORTIFY_SOURCE: remove memcpy overlap checks"
...
* commit 'c8354f501ef9a6d3430de27386bf0b42c30981d9':
FORTIFY_SOURCE: remove memcpy overlap checks
2012-12-07 12:19:08 -08:00
Nick Kralevich
79e1a01e9e
am 5dfdb701: Merge "FORTIFY_SOURCE: fix up previous commit"
...
* commit '5dfdb701292c53e74e319f277d808e598389c8e7':
FORTIFY_SOURCE: fix up previous commit
2012-12-07 12:18:58 -08:00
Nick Kralevich
c8354f501e
Merge "FORTIFY_SOURCE: remove memcpy overlap checks"
2012-12-07 10:10:49 -08:00
Nick Kralevich
5787475390
FORTIFY_SOURCE: remove memcpy overlap checks
...
These checks haven't been as useful as I hoped, and it's
causing a false positive finding. Remove the overlap
compile time checks.
Change-Id: I5d45dde10ae4663d728230d41fa904adf20acaea
2012-12-07 09:57:01 -08:00
Nick Kralevich
5dfdb70129
Merge "FORTIFY_SOURCE: fix up previous commit"
2012-12-06 14:48:24 -08:00
The Android Automerger
439bc8d540
merge in master-release history after reset to master
2012-12-06 07:49:14 -08:00
Nick Kralevich
8b6fea59ac
FORTIFY_SOURCE: fix up previous commit
...
I forgot two files in 326ea5413d .
Change-Id: I30430f65bfafad4274193fc5b973959eac0791a7
2012-12-05 15:26:54 -08:00
Nick Kralevich
1c88362021
am 8717c3db: am 7a34ed2b: Merge "clean up FORTIFY_SOURCE handling."
...
* commit '8717c3db2f864226bb68c7e26ad73fcff1212b31':
clean up FORTIFY_SOURCE handling.
2012-12-05 08:25:37 -08:00
The Android Automerger
c3d031ee91
merge in master-release history after reset to master
2012-12-05 07:49:06 -08:00
Nick Kralevich
8717c3db2f
am 7a34ed2b: Merge "clean up FORTIFY_SOURCE handling."
...
* commit '7a34ed2bb36fcbe6967d8b670f4d70ada1dcef49':
clean up FORTIFY_SOURCE handling.
2012-12-04 15:52:53 -08:00
Nick Kralevich
7a34ed2bb3
Merge "clean up FORTIFY_SOURCE handling."
2012-12-04 15:44:22 -08:00
Nick Kralevich
326ea5413d
clean up FORTIFY_SOURCE handling.
...
Avoid duplicating huge chunks of code.
Change-Id: Id6145cdfce781c5ffba2abaaa79681d25a7ab28f
2012-12-04 15:27:30 -08:00
Nick Kralevich
babe7e16a1
am ded6e3bf: am db79e827: Merge "FORTIFY_SOURCE: fortify strrchr"
...
* commit 'ded6e3bfca3010350d58d93f5f0f5cea256a4f73':
FORTIFY_SOURCE: fortify strrchr
2012-12-04 11:45:28 -08:00
Nick Kralevich
ded6e3bfca
am db79e827: Merge "FORTIFY_SOURCE: fortify strrchr"
...
* commit 'db79e827ebcb077ebaa6d6c96915c5bffba9a0ca':
FORTIFY_SOURCE: fortify strrchr
2012-12-04 11:43:30 -08:00
Nick Kralevich
db79e827eb
Merge "FORTIFY_SOURCE: fortify strrchr"
2012-12-04 11:30:18 -08:00
The Android Automerger
49dd0409e0
merge in master-release history after reset to master
2012-12-04 07:49:13 -08:00
Nick Kralevich
9a4d305340
FORTIFY_SOURCE: fortify strrchr
...
This change compliments 049e58369c
Change-Id: I27d015d70a520713c7472558a3c427f546d36ee4
2012-12-03 10:39:16 -08:00
Elliott Hughes
a03b2b075f
am 3960fb60: am 60fb6833: Merge "mmap: Remove madvise() workaround"
...
* commit '3960fb602ce0346aecae7eede0f5d2bc1f7463ed':
mmap: Remove madvise() workaround
2012-12-03 09:38:44 -08:00
Elliott Hughes
3960fb602c
am 60fb6833: Merge "mmap: Remove madvise() workaround"
...
* commit '60fb68338b7541b6022fc343857b90c088c399cd':
mmap: Remove madvise() workaround
2012-12-03 09:36:47 -08:00
Elliott Hughes
60fb68338b
Merge "mmap: Remove madvise() workaround"
2012-12-03 09:13:20 -08:00
Elliott Hughes
db11fdef1a
am 43701d68: am 46d64ed2: Merge "Add argument checking to sigemptyset(3) and friends."
...
* commit '43701d68a90b161c64aa354a7d3e4ad9234a3174':
Add argument checking to sigemptyset(3) and friends.
2012-12-03 07:55:38 -08:00
Elliott Hughes
43701d68a9
am 46d64ed2: Merge "Add argument checking to sigemptyset(3) and friends."
...
* commit '46d64ed2e5cf8e37d53b116f2281b4a39cc4f288':
Add argument checking to sigemptyset(3) and friends.
2012-12-03 07:53:28 -08:00
The Android Automerger
ae7af291e6
merge in master-release history after reset to master
2012-12-03 07:49:12 -08:00
Elliott Hughes
46d64ed2e5
Merge "Add argument checking to sigemptyset(3) and friends."
2012-12-03 07:45:46 -08:00
Nick Kralevich
59b8677562
am 4140d90c: am 3acc908c: Merge "FORTIFY_SOURCE: fortify strchr"
...
* commit '4140d90c60e0a9b5b2f1b8ad3d17e169f7288ae9':
FORTIFY_SOURCE: fortify strchr
2012-11-30 18:47:06 -08:00
Nick Kralevich
4140d90c60
am 3acc908c: Merge "FORTIFY_SOURCE: fortify strchr"
...
* commit '3acc908c79aa9cba975861fa23fa2672733b5d5d':
FORTIFY_SOURCE: fortify strchr
2012-11-30 17:13:20 -08:00
Nick Kralevich
3acc908c79
Merge "FORTIFY_SOURCE: fortify strchr"
2012-11-30 16:50:59 -08:00
Elliott Hughes
da73f655fc
Add argument checking to sigemptyset(3) and friends.
...
You could argue that this is hurting people smart enough to have manually
allocated a large-enough sigset_t, but those people are smart enough to
implement their own sigset functions too.
I wonder whether our least unpleasant way out of our self-inflicted 32-bit
cesspool is to have equivalents of _FILE_OFFSET_BITS such as _SIGSET_T_BITS,
so calling code could opt in? You'd have to be careful passing sigset_t
arguments between code compiled with different options.
Bug: 5828899
Change-Id: I0ae60ee8544835b069a2b20568f38ec142e0737b
2012-11-30 16:40:55 -08:00
Nick Kralevich
049e58369c
FORTIFY_SOURCE: fortify strchr
...
Detect when strchr reads off the end of a buffer.
Change-Id: I0e952eedcff5c36d646a9c3bc4e1337b959224f2
2012-11-30 15:19:15 -08:00
Elliott Hughes
dcb8209409
am 7beaa502: am 16c61f08: Merge "Reduce the exposure of the __set_errno implementation detail."
...
* commit '7beaa5024f083431ca74ee73b01f5ad1e5b4198f':
Reduce the exposure of the __set_errno implementation detail.
2012-11-30 14:46:50 -08:00
Elliott Hughes
7beaa5024f
am 16c61f08: Merge "Reduce the exposure of the __set_errno implementation detail."
...
* commit '16c61f088524756ef0fa1b030719f6745eaef2db':
Reduce the exposure of the __set_errno implementation detail.
2012-11-30 14:45:23 -08:00
Elliott Hughes
16c61f0885
Merge "Reduce the exposure of the __set_errno implementation detail."
2012-11-30 14:41:07 -08:00
Elliott Hughes
4a9e837840
Reduce the exposure of the __set_errno implementation detail.
...
Change-Id: I395e1b46a9491e34fc53e71853e932ea90b3d1cc
2012-11-30 12:05:18 -08:00
Elliott Hughes
2e51dc444f
am 4835e6ef: am 97b70b2b: Merge "Replace .S version of x86 crtfiles with .c version"
...
* commit '4835e6ef519fc941651bbc13909cff971a6ec81b':
Replace .S version of x86 crtfiles with .c version
2012-11-30 10:16:06 -08:00
Elliott Hughes
4835e6ef51
am 97b70b2b: Merge "Replace .S version of x86 crtfiles with .c version"
...
* commit '97b70b2bda47af46adf58dfde61050357114aa1f':
Replace .S version of x86 crtfiles with .c version
2012-11-30 10:13:57 -08:00
Elliott Hughes
97b70b2bda
Merge "Replace .S version of x86 crtfiles with .c version"
2012-11-30 10:07:19 -08:00
The Android Automerger
3fa99562ea
merge in master-release history after reset to master
2012-11-30 07:49:20 -08:00
Pavel Chupin
20c4a3a8ee
Replace .S version of x86 crtfiles with .c version
...
This patch replaces .S versions of x86 crtfiles with .c which are much
easier to support. Some of the files are matching .c version of Arm
crtfiles. x86 files required some cleanup anyway and this cleanup actually
led to matching Arm files.
I didn't change anything to share the same crt*.c between x86 and Arm. I
prefer to keep them separate for a while in case any change is required
for one of the arch, but it's good thing to do in the following patches.
Change-Id: Ibcf033f8d15aa5b10c05c879fd4b79a64dfc70f3
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2012-11-30 17:41:25 +04:00
Elliott Hughes
4ef6bc2e62
am 55210f74: am 07c0b73a: Merge "Remove (near-)duplicate definitions of size_t and ssize_t."
...
* commit '55210f74c71899b16f068bf30d7c9c5e647c490d':
Remove (near-)duplicate definitions of size_t and ssize_t.
2012-11-29 19:45:27 -08:00
Elliott Hughes
55210f74c7
am 07c0b73a: Merge "Remove (near-)duplicate definitions of size_t and ssize_t."
...
* commit '07c0b73a7fc9214e50fc6b9a15a06aeef0506e0f':
Remove (near-)duplicate definitions of size_t and ssize_t.
2012-11-29 19:43:50 -08:00
Elliott Hughes
07c0b73a7f
Merge "Remove (near-)duplicate definitions of size_t and ssize_t."
2012-11-29 19:33:01 -08:00
Elliott Hughes
3975cec694
Remove (near-)duplicate definitions of size_t and ssize_t.
...
The near duplicates upset fussier compilers that insist that
typedefs be exactly the same, but the fix isn't to make all
copies identical...
Change-Id: Icfdace41726f36ec33c9ae919dbb5a54d3529cc9
2012-11-29 17:25:23 -08:00
Elliott Hughes
4ad0910774
am c5861c09: am 50e62e40: Merge "Bug: __WINT_TYPE__ and wint_t reference to different types"
...
* commit 'c5861c09d5be632c2d42a8dcbd3eba97bdf80e0d':
Bug: __WINT_TYPE__ and wint_t reference to different types
2012-11-29 15:59:48 -08:00
Elliott Hughes
c5861c09d5
am 50e62e40: Merge "Bug: __WINT_TYPE__ and wint_t reference to different types"
...
* commit '50e62e4051c14d7d2a5e07ebe66afd2a81693a26':
Bug: __WINT_TYPE__ and wint_t reference to different types
2012-11-29 15:58:13 -08:00
Elliott Hughes
50e62e4051
Merge "Bug: __WINT_TYPE__ and wint_t reference to different types"
2012-11-29 15:51:57 -08:00
The Android Open Source Project
e12a238d41
am d6d5cbb0: (-s ours) Reconcile with jb-mr1.1-release - do not merge
...
* commit 'd6d5cbb02a263bb8b5ae9e3721b3ee80575c110a':
msm_mdp: Update header for 4 layer support
2012-11-29 15:42:37 -08:00
The Android Open Source Project
d6d5cbb02a
Reconcile with jb-mr1.1-release - do not merge
...
Change-Id: Ib3c4bb83421360add15219251a389d25f1211497
2012-11-29 15:40:29 -08:00
Elliott Hughes
e8be11969f
am 9ea86011: am 99ea84b1: Merge "[MIPS] Fix the MIPS getsid system call"
...
* commit '9ea86011a2c379b58df8c5b92efddf6764a57084':
[MIPS] Fix the MIPS getsid system call
2012-11-29 15:15:33 -08:00
Elliott Hughes
7492875448
am 852935b6: am 5d4b8421: Merge "Verify architecture neutral syscall numbers"
...
* commit '852935b68f8b516f9f3f9cdff410b6a4b0cefc28':
Verify architecture neutral syscall numbers
2012-11-29 15:15:33 -08:00
Elliott Hughes
3b48de92c7
am 56eb0bfe: am 78114220: Merge "Define DEFFILEMODE and friends"
...
* commit '56eb0bfedb5747407f1db5145f571695450c178d':
Define DEFFILEMODE and friends
2012-11-29 15:15:27 -08:00
Naseer Ahmed
80a161db5c
am ef7eea55: am 940e4c9d: am f61e5020: msm_mdp: Update header for 4 layer support
...
* commit 'ef7eea5538308d4a6d40cf964a6676409e890c24':
msm_mdp: Update header for 4 layer support
2012-11-29 15:12:33 -08:00
Elliott Hughes
9ea86011a2
am 99ea84b1: Merge "[MIPS] Fix the MIPS getsid system call"
...
* commit '99ea84b12dd3ebebbbd527b8748f0d74bb1dfc0d':
[MIPS] Fix the MIPS getsid system call
2012-11-29 14:51:57 -08:00
Elliott Hughes
852935b68f
am 5d4b8421: Merge "Verify architecture neutral syscall numbers"
...
* commit '5d4b8421b3d040e8c2bdb83c8adb2752eab7b4b6':
Verify architecture neutral syscall numbers
2012-11-29 14:51:56 -08:00
Elliott Hughes
99ea84b12d
Merge "[MIPS] Fix the MIPS getsid system call"
2012-11-29 14:37:14 -08:00
Elliott Hughes
56eb0bfedb
am 78114220: Merge "Define DEFFILEMODE and friends"
...
* commit '781142208033e72b3773bcfab83cddf5ca34c9b2':
Define DEFFILEMODE and friends
2012-11-29 14:37:06 -08:00
Elliott Hughes
5d4b8421b3
Merge "Verify architecture neutral syscall numbers"
2012-11-29 14:34:19 -08:00
Elliott Hughes
7811422080
Merge "Define DEFFILEMODE and friends"
2012-11-29 14:31:19 -08:00
Naseer Ahmed
ef7eea5538
am 940e4c9d: am f61e5020: msm_mdp: Update header for 4 layer support
...
* commit '940e4c9d9218ee183c8eb522beb9838c0482084b':
msm_mdp: Update header for 4 layer support
2012-11-29 14:28:29 -08:00
Naseer Ahmed
5115d4348e
msm_mdp: Update header for 4 layer support
...
Bug: 7626586
Change-Id: I37730470dc09b7a9d6336b1603f87efd98f45e97
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-11-29 14:00:46 -08:00
Naseer Ahmed
940e4c9d92
am f61e5020: msm_mdp: Update header for 4 layer support
...
* commit 'f61e50201b7d5e793a479979c304d3388ca1405f':
msm_mdp: Update header for 4 layer support
2012-11-29 12:40:57 -08:00
Chris Dearman
58aaaa730b
[MIPS] Fix the MIPS getsid system call
...
Change-Id: I30a27941125bccb35d73a572a729ecf7dd555389
Signed-off-by: Chris Dearman <chris@mips.com >
2012-11-29 12:05:25 -08:00
Chris Dearman
285b02582b
Verify architecture neutral syscall numbers
...
Also removed some dead code and fixed comment
Change-Id: I5d6a04b4af3d95e34368136cf2eeb3c9b6f99769
Signed-off-by: Chris Dearman <chris@mips.com >
2012-11-29 12:04:23 -08:00
Hakan Kvist
f27b7fb056
Define DEFFILEMODE and friends
...
Define the macros ACCESSPERMS, ALLPERMS and DEFFILEMODE.
These macros originates from BSD but has been available in glibc
for quite some time.
Change-Id: I429cd30aa4e73f53b153ee7740070cebba166c57
2012-11-29 11:53:33 -08:00
Naseer Ahmed
f61e50201b
msm_mdp: Update header for 4 layer support
...
Bug: 7626586
Change-Id: I37730470dc09b7a9d6336b1603f87efd98f45e97
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-11-29 10:47:35 -08:00
The Android Automerger
d8366eae3b
merge in master-release history after reset to master
2012-11-28 07:49:16 -08:00
Elliott Hughes
321b545ad9
am dea13da3: Merge "Clean up _BYTE_ORDER definitions for better x86 portability."
...
* commit 'dea13da3407873e4f3fec9ba1a04b4fdacea07f4':
Clean up _BYTE_ORDER definitions for better x86 portability.
2012-11-27 18:44:17 -08:00
Elliott Hughes
dea13da340
Merge "Clean up _BYTE_ORDER definitions for better x86 portability."
2012-11-27 17:34:52 -08:00
Elliott Hughes
b15c58bb0f
Clean up _BYTE_ORDER definitions for better x86 portability.
...
We'd manually hacked _BYTE_ORDER into the arm and mips "_types.h" headers,
but not into the x86 one. Judging by upstream, _BYTE_ORDER should be in
the "endian.h" headers instead, so let's uniformly do that.
I've also ironed out some of the other differences between the different
architectures' header files too.
Bug: http://code.google.com/p/android/issues/detail?id=39824
Change-Id: I19d3af7ffd74e1c02b1b6886aec0f0d11f44ab8d
2012-11-27 14:18:04 -08:00
The Android Automerger
947f74dc95
merge in master-release history after reset to master
2012-11-27 07:49:30 -08:00
Elliott Hughes
4867b00666
am f2de6b0f: Merge "Do not include \'\0\' when writing error messages to stderr"
...
* commit 'f2de6b0f6e873f9cb28682b8fc6764b0ab41c6ee':
Do not include '\0' when writing error messages to stderr
2012-11-26 16:04:19 -08:00
Elliott Hughes
f2de6b0f6e
Merge "Do not include '\0' when writing error messages to stderr"
2012-11-26 15:44:58 -08:00
Chris Dearman
20a24403bc
Do not include '\0' when writing error messages to stderr
...
Change-Id: I6adc806c3920e5a4ae61ca55c40613fcf338b18c
Signed-off-by: Chris Dearman <chris@mips.com >
2012-11-26 15:43:17 -08:00
Elliott Hughes
03ff63cee0
am 429b05a1: Merge "Upgrade to tzdata2012j."
...
* commit '429b05a1dfa71c6085590d60e0bdfa09beb50844':
Upgrade to tzdata2012j.
2012-11-26 15:12:30 -08:00
Elliott Hughes
429b05a1df
Merge "Upgrade to tzdata2012j."
2012-11-26 14:52:07 -08:00
Elliott Hughes
5d2ef8724d
Upgrade to tzdata2012j.
...
This reflects the following changes recently circulated on the tz mailing list:
Libya moved to CET [2012-11-11], but with DST planned [2013].
(Thanks to Even Scharning, Steffen Thorsen, and Tim Parenti.)
I also had to change the script to cope with:
Signatures now have the extension .asc, not .sign, as that's more
standard. (Thanks to Phil Pennock.)
Change-Id: Ie9711c5c796b3c122daea9690929edcc3ddd32da
2012-11-26 14:51:39 -08:00
Sergey Melnikov
a437bff914
Bug: __WINT_TYPE__ and wint_t reference to different types
...
__WINT_TYPE__ type provided by gcc. It references to unsigned int
type for android and linux. Patch corrects wint_t typedef to
__WINT_TYPE__.
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com >
Change-Id: Iabeb9fcb0b7bb303a8b220043e339126f125dd68
2012-11-26 12:01:58 +04:00
The Android Automerger
72f43a929f
merge in master-release history after reset to master
2012-11-20 07:49:04 -08:00
Nick Kralevich
635df850e5
mmap: Remove madvise() workaround
...
Remove mmap() calling madvise(MADV_MERGEABLE) added
in b8e1e9685e
Change-Id: I80dbf6afe750348964d83097f993ea6cb8a065d5
2012-11-19 11:46:33 -08:00
Nick Kralevich
c16ea16134
am 8784709a: Merge "We should use load_bias. This patch fixes MIPS NDK device exception test failures."
...
* commit '8784709a2cfe6d32b5fff2c6b826b8d9cbf73d7b':
We should use load_bias. This patch fixes MIPS NDK device exception test failures.
2012-11-19 11:08:49 -08:00
Nick Kralevich
8784709a2c
Merge "We should use load_bias. This patch fixes MIPS NDK device exception test failures."
2012-11-19 10:45:18 -08:00
Chao-Ying Fu
c5db969aa4
We should use load_bias. This patch fixes MIPS NDK device exception test failures.
...
Change-Id: I4b718c36666e66062c1f13e4deea1ec7a7951c54
2012-11-19 10:30:15 -08:00
The Android Automerger
8dd20fcd88
merge in master-release history after reset to master
2012-11-19 07:49:16 -08:00
Robert Greenwalt
3269d63772
Merge "Add search domain to dns interface data."
2012-11-16 12:21:33 -08:00
Nick Kralevich
3a681c8db1
am fe07ca04: Merge "Support GNU_RELRO for static executables."
...
* commit 'fe07ca04e4af6c43d068df0e23dc83431053fc22':
Support GNU_RELRO for static executables.
2012-11-16 11:27:30 -08:00
Nick Kralevich
aec9a254a2
am 170168cd: Merge "Temporarily address gcc 4.7 breakage."
...
* commit '170168cdf37111b45b15817fab9e3df54cbc27b7':
Temporarily address gcc 4.7 breakage.
2012-11-16 10:42:55 -08:00
Nick Kralevich
fe07ca04e4
Merge "Support GNU_RELRO for static executables."
2012-11-16 08:45:52 -08:00
Nick Kralevich
170168cdf3
Merge "Temporarily address gcc 4.7 breakage."
2012-11-15 15:57:15 -08:00
Nick Kralevich
83697b8b76
Temporarily address gcc 4.7 breakage.
...
Change-Id: I8ebb2d5df2f8f8aedf252c94ff69505e61ed0a74
2012-11-15 15:48:19 -08:00
Nick Kralevich
ac3de8d080
Support GNU_RELRO for static executables.
...
In 9ec0f03a0d , we added dynamic
linker support for GNU_RELRO protections. These protections
make certain regions of memory read-only, helping protect certain
data structures from accidental or deliberate modifications.
This change adds GNU_RELRO support to STATIC executables. We can
determine if we're compiled with relro protections by examining
our own program headers, which is passed to us by the kernel
in the AT_PHDR and AT_PHNUM auxiliary vectors.
Parts of this code were stolen from the dynamic linker.
Change-Id: Ic17eb5f932218538ec25347ece314d4dc7549de1
2012-11-15 12:52:06 -08:00
Robert Greenwalt
6f3222ea42
Add search domain to dns interface data.
...
This doesn't currently use this info - it's still using the system
property based data-passing. That change is comming.
bug:6799630
Change-Id: I725463209855447cd04bf1457281f3084fffd692
2012-11-13 11:50:57 -08:00
The Android Automerger
5b3aa025f3
merge in master-release history after reset to master
2012-11-12 07:49:10 -08:00
Elliott Hughes
da273a17e7
am c079dfe4: am 6542ac03: Merge "Add a memmove(3) benchmark."
...
* commit 'c079dfe4153941e6da881be9a143b41a1112c2ac':
Add a memmove(3) benchmark.
2012-11-09 22:44:35 -08:00
Elliott Hughes
02a6ca7ef5
am d86d713b: am b62e2770: Merge "Add optimized version of memset for Cortex A9"
...
* commit 'd86d713b6345ac9c030aeb0eedee11fc17d2fba1':
Add optimized version of memset for Cortex A9
2012-11-09 22:44:17 -08:00
Elliott Hughes
c079dfe415
am 6542ac03: Merge "Add a memmove(3) benchmark."
...
* commit '6542ac0380581e0cd0ad47e2763b732d93e9d6bd':
Add a memmove(3) benchmark.
2012-11-09 16:21:08 -08:00
Elliott Hughes
6542ac0380
Merge "Add a memmove(3) benchmark."
2012-11-09 16:17:35 -08:00
Elliott Hughes
d86d713b63
am b62e2770: Merge "Add optimized version of memset for Cortex A9"
...
* commit 'b62e2770e7c41f9cbe41acca4f25966eea2bc533':
Add optimized version of memset for Cortex A9
2012-11-09 15:15:09 -08:00
Elliott Hughes
b62e2770e7
Merge "Add optimized version of memset for Cortex A9"
2012-11-09 15:06:50 -08:00
Henrik Smiding
884e4f839b
Add optimized version of memset for Cortex A9
...
Adds new code to function memset, optimized for Cortex A9.
Copyright (C) ST-Ericsson SA 2010
Added neon implementation
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Change-Id: Id3c87767953439269040e15bd30a27aba709aef6
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2012-11-09 15:05:32 -08:00
Elliott Hughes
fbe44ec043
Add a memmove(3) benchmark.
...
Change-Id: I9c0ffae0b5aae29521b7e68e5ce2318b5a401cba
2012-11-09 14:59:21 -08:00
The Android Automerger
6aa473274c
merge in master-release history after reset to master
2012-11-09 07:49:12 -08:00
Elliott Hughes
b3dc5c60aa
am 0b25791a: am 49677dec: Merge "Add optimized version of memcpy for Cortex A9"
...
* commit '0b25791a2819e01b28f777901facd5db03ba6961':
Add optimized version of memcpy for Cortex A9
2012-11-08 18:18:35 -08:00
Elliott Hughes
0b25791a28
am 49677dec: Merge "Add optimized version of memcpy for Cortex A9"
...
* commit '49677deca2c2984ae6c0a3df8fbada7132e82940':
Add optimized version of memcpy for Cortex A9
2012-11-08 18:13:30 -08:00
Elliott Hughes
aad391b8a6
am 6181aead: am c2132915: Merge "Add optimized version of memcmp for Cortex A9"
...
* commit '6181aead7b052503518d3c4ee836b7e9ddeca157':
Add optimized version of memcmp for Cortex A9
2012-11-08 18:11:55 -08:00
Elliott Hughes
1233104f5e
am 66eada96: am 7aca3103: Merge "Simple google3-compatible benchmarking."
...
* commit '66eada963290104e56a3c1785ff8a08ee5d800b5':
Simple google3-compatible benchmarking.
2012-11-08 18:11:54 -08:00
Elliott Hughes
49677deca2
Merge "Add optimized version of memcpy for Cortex A9"
2012-11-08 18:04:28 -08:00
Henrik Smiding
6d0bcdc832
Add optimized version of memcpy for Cortex A9
...
Adds new code to memcpy function, optimized for Cortex A9.
Adds new ARM-only loop, for operations where source and
destination are aligned.
Copyright (C) ST-Ericsson SA 2010
Modified neon implementation to fit Cortex A9 cache line size,
for those running 32 bytes L2 cache line size.
Also split the implementation in aligned and unaligned access,
for those that allows unaligned memory access with Neon.
For totally aligned operations, arm-only code is used.
Change-Id: I95ebf6164cd6486b12a7e3e98e369db21e7e18d2
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2012-11-08 18:02:14 -08:00
Elliott Hughes
6181aead7b
am c2132915: Merge "Add optimized version of memcmp for Cortex A9"
...
* commit 'c2132915158014f578c3f003c9399961fe8d6da2':
Add optimized version of memcmp for Cortex A9
2012-11-08 17:53:41 -08:00
Elliott Hughes
c213291515
Merge "Add optimized version of memcmp for Cortex A9"
2012-11-08 17:48:19 -08:00
Elliott Hughes
66eada9632
am 7aca3103: Merge "Simple google3-compatible benchmarking."
...
* commit '7aca3103069d7603cff47db7141b64f6a9d94f86':
Simple google3-compatible benchmarking.
2012-11-08 16:31:13 -08:00
Elliott Hughes
7aca310306
Merge "Simple google3-compatible benchmarking."
2012-11-08 16:26:45 -08:00
Elliott Hughes
7be369d4c6
Simple google3-compatible benchmarking.
...
Based on our open-source RE2 benchmarking code.
Includes benchmarks for a handful of <string.h> functions.
Change-Id: I30eb70d25dbf4ad5f2ca44976a8ce3b1ff7dad01
2012-11-08 15:37:43 -08:00
Elliott Hughes
dfaf06ac03
am 70827cc8: am d460f3f1: Merge "Tests for string routines."
...
* commit '70827cc85ad8f7085131ff9c8d1e69bc80f9a9f3':
Tests for string routines.
2012-11-08 09:33:57 -08:00
Elliott Hughes
70827cc85a
am d460f3f1: Merge "Tests for string routines."
...
* commit 'd460f3f1af80af40d8c3fab12a68459d8d1ec4c5':
Tests for string routines.
2012-11-08 09:29:33 -08:00
Elliott Hughes
d460f3f1af
Merge "Tests for string routines."
2012-11-08 09:15:22 -08:00
The Android Automerger
930a507786
merge in master-release history after reset to master
2012-11-08 07:49:11 -08:00
Elliott Hughes
2c9590664f
am e4180f85: am 5408ac3c: Merge "Fix dlopen_library_with_only_gnu_hash_Test."
...
* commit 'e4180f85b717a4aec8024babda394221ba177c26':
Fix dlopen_library_with_only_gnu_hash_Test.
2012-11-07 18:36:34 -08:00
Elliott Hughes
e4180f85b7
am 5408ac3c: Merge "Fix dlopen_library_with_only_gnu_hash_Test."
...
* commit '5408ac3c8dfe4857985b94fb7bd883fd3899c48b':
Fix dlopen_library_with_only_gnu_hash_Test.
2012-11-07 18:31:37 -08:00
Elliott Hughes
5408ac3c8d
Merge "Fix dlopen_library_with_only_gnu_hash_Test."
2012-11-07 18:19:00 -08:00
Elliott Hughes
6e33b0296d
Fix dlopen_library_with_only_gnu_hash_Test.
...
Change-Id: Id3395f155587cfa74061f97a2cb4c6a6e59c13dc
2012-11-07 18:16:02 -08:00
Anna Tikhonova
036154b0c2
Tests for string routines.
...
Change-Id: I24068a228f59df1c3b758c5b2026a09720490616
Signed-off-by: Anna Tikhonova <anna.tikhonova@intel.com >
2012-11-07 18:14:29 -08:00
The Android Automerger
bace2c47d3
merge in master-release history after reset to master
2012-11-07 07:49:17 -08:00
The Android Open Source Project
d15c8737ce
am 92b7fbf8: (-s ours) am 414aadc7: am 3bf2fcf9: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit '92b7fbf8725fed5bfa3cae7c26d09e813b3ae920':
2012-11-06 11:18:49 -08:00
The Android Open Source Project
92b7fbf872
am 414aadc7: am 3bf2fcf9: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit '414aadc79de68713e0a80a033c03b651615176f8':
2012-11-06 11:16:38 -08:00
The Android Open Source Project
414aadc79d
am 3bf2fcf9: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit '3bf2fcf9a2bc811bbee194b19f2a00c4cfb24701':
Revert "Update ion header"
:Revert "Update ion header"
Revert "Upgrade to dlmalloc 2.8.5."
Revert "Restore posix_memalign"
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
When compiling with clang, don't "fortify_source" the strlen.
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
Update msm_camera.h to version that supports instance handle based lookup
Replace ALL_PREBUILTS with BUILD_PREBUILT
2012-11-06 11:13:52 -08:00
The Android Open Source Project
3bf2fcf9a2
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
Change-Id: I8a58a6aebc81829d15af6802f16d956cad2d39c8
2012-11-06 11:12:01 -08:00
Elliott Hughes
d052eb6b47
am 8baaf6ff: am 604a163e: Merge "Rewrite <fenv.h> for ARM."
...
* commit '8baaf6ff9617ea5d0e49ca4a954c1b01cc306cbc':
Rewrite <fenv.h> for ARM.
2012-11-05 16:57:23 -08:00
Elliott Hughes
8baaf6ff96
am 604a163e: Merge "Rewrite <fenv.h> for ARM."
...
* commit '604a163e4c7724f881605fdbda94db4f7c8f0e7a':
Rewrite <fenv.h> for ARM.
2012-11-05 16:51:53 -08:00
Elliott Hughes
604a163e4c
Merge "Rewrite <fenv.h> for ARM."
2012-11-05 16:43:35 -08:00
Elliott Hughes
dc20297f8d
am 06224085: am bb91e9fb: Merge "Upgrade to tzdata2012i."
...
* commit '062240853d75a795db956965cacd4ab09a959ce7':
Upgrade to tzdata2012i.
2012-11-05 11:34:20 -08:00
Elliott Hughes
062240853d
am bb91e9fb: Merge "Upgrade to tzdata2012i."
...
* commit 'bb91e9fb96ec6ea8a6ebcf17bf70f66f957df30b':
Upgrade to tzdata2012i.
2012-11-05 10:57:20 -08:00
Elliott Hughes
bb91e9fb96
Merge "Upgrade to tzdata2012i."
2012-11-05 10:42:58 -08:00
Elliott Hughes
da71c7d9a3
am ce876beb: am a41e6426: Merge "Tone down some of the overly-verbose linker logging."
...
* commit 'ce876bebf250d386a06ebc1145c6959e30bf413c':
Tone down some of the overly-verbose linker logging.
2012-11-05 09:21:57 -08:00
Elliott Hughes
ce876bebf2
am a41e6426: Merge "Tone down some of the overly-verbose linker logging."
...
* commit 'a41e6426073c57881f49bdaec46ca90a5b164401':
Tone down some of the overly-verbose linker logging.
2012-11-05 09:19:57 -08:00
Elliott Hughes
a41e642607
Merge "Tone down some of the overly-verbose linker logging."
2012-11-05 09:13:31 -08:00
Elliott Hughes
9c94fc9fbe
Tone down some of the overly-verbose linker logging.
...
We don't need to see every dlopen(3)/dlsym(3) failure unless LD_DEBUG is on.
Change-Id: I1edfe8b72f32ff54dd30e1acf32e20d470d5e9f7
2012-11-05 09:11:43 -08:00
Elliott Hughes
e3063f4e55
Upgrade to tzdata2012i.
...
Also support GPG signature verification of updates, and fix remaining
pylint complaints.
The 2012i release of the tz data reflects the following changes recently
circulated on the tz mailing list:
* Cuba switches from DST [2012-11-04] at 01:00. (Thanks to Steffen Thorsen.)
Change-Id: Ie81d395afa40aa217a0196aad8ca1f9a870bbc31
2012-11-05 08:53:28 -08:00
Elliott Hughes
90e10d41c4
Rewrite <fenv.h> for ARM.
...
The old code was one big no-op.
Bug: http://code.google.com/p/android/issues/detail?id=38196
Change-Id: I201a6ffa477385b2629f45e8c948bdfbd47b5bf1
2012-11-05 08:50:19 -08:00
The Android Automerger
5793235ec4
merge in master-release history after reset to master
2012-11-05 07:49:21 -08:00
Elliott Hughes
f1566fd692
am bc35807f: am 9df2e000: Merge "Cleaning the linker environment as we initialize it requires less API."
...
* commit 'bc35807fc6c5f11b6d057b20250d41ebc419da62':
Cleaning the linker environment as we initialize it requires less API.
2012-11-02 13:58:48 -07:00
Elliott Hughes
d752fc0286
am cfb47daf: am 01271b18: Merge "Make dynamic linker debugging always available."
...
* commit 'cfb47daf4eb4741ac462c7350c73ad1cf96cf83f':
Make dynamic linker debugging always available.
2012-11-02 13:58:47 -07:00
Elliott Hughes
bc35807fc6
am 9df2e000: Merge "Cleaning the linker environment as we initialize it requires less API."
...
* commit '9df2e000b5d56b2e529656034d684e370aa6a8d1':
Cleaning the linker environment as we initialize it requires less API.
2012-11-02 13:56:00 -07:00
Elliott Hughes
cfb47daf4e
am 01271b18: Merge "Make dynamic linker debugging always available."
...
* commit '01271b1812f2cec8aaf3c105b9f960f027b33a95':
Make dynamic linker debugging always available.
2012-11-02 13:55:59 -07:00
Elliott Hughes
9df2e000b5
Merge "Cleaning the linker environment as we initialize it requires less API."
2012-11-02 13:47:50 -07:00
Elliott Hughes
01271b1812
Merge "Make dynamic linker debugging always available."
2012-11-02 13:46:55 -07:00
Elliott Hughes
61a9ccb41e
Make dynamic linker debugging always available.
...
If you need to build your own linker to get debugging, the debugging
is never available when you need it.
Change-Id: I5ff7e55753459d49a2990f25d9aa155e0b8602e0
2012-11-02 13:46:23 -07:00
Elliott Hughes
0894b2c5d3
Cleaning the linker environment as we initialize it requires less API.
...
Change-Id: I612fd699e46833a411589478564a1f859223c380
2012-11-02 12:40:11 -07:00
Elliott Hughes
1d0129b1b2
am cdc5a17c: am ed537239: Merge "Adjust symbol lookup for DT_SYMBOLIC case"
...
* commit 'cdc5a17cef00c49086e1bfe4c3715d2ebd61addb':
Adjust symbol lookup for DT_SYMBOLIC case
2012-11-02 11:39:02 -07:00
Elliott Hughes
cdc5a17cef
am ed537239: Merge "Adjust symbol lookup for DT_SYMBOLIC case"
...
* commit 'ed537239a94ebd11a8c262a319d81fd1f0d3f73f':
Adjust symbol lookup for DT_SYMBOLIC case
2012-11-02 11:37:40 -07:00
Elliott Hughes
ed537239a9
Merge "Adjust symbol lookup for DT_SYMBOLIC case"
2012-11-02 11:25:49 -07:00
The Android Automerger
80bcf54766
merge in master-release history after reset to master
2012-11-02 07:49:13 -07:00
Pavel Chupin
c77c434149
Adjust symbol lookup for DT_SYMBOLIC case
...
According ELF spec re. DT_SYMBOLIC:
This element's presence in a shared object library alters the dynamic
linker's symbol resolution algorithm for references within the library.
Instead of starting a symbol search with the executable file, the
dynamic linker starts from the shared object itself. If the shared
object fails to supply the referenced symbol, the dynamic linker then
searches the executable file and other shared objects as usual.
This change implements the last part.
Change-Id: Iae95d53d455313a4306f11733941bcd3596ac85f
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2012-11-02 18:34:22 +04:00
Elliott Hughes
eb15e1d485
am e109930e: am dc77a228: Merge "Allow dlopen("egl/blah.so")."
...
* commit 'e109930e9fd0922280e6f74b3df270093ee95fa6':
Allow dlopen("egl/blah.so").
2012-11-01 23:10:56 -07:00
Elliott Hughes
e109930e9f
am dc77a228: Merge "Allow dlopen("egl/blah.so")."
...
* commit 'dc77a22850e31eb369ec9776c13c967566bf61d0':
Allow dlopen("egl/blah.so").
2012-11-01 23:08:27 -07:00
Elliott Hughes
dc77a22850
Merge "Allow dlopen("egl/blah.so")."
2012-11-01 23:01:58 -07:00
Elliott Hughes
6971fe4ca5
Allow dlopen("egl/blah.so").
...
NVIDIA binary blobs construct strings to pass to dlopen(3) that
contain '/' but require that we fall back to LD_LIBRARY_PATH.
Change-Id: Iad831899986baace6962f4b335eeb288250a1e22
2012-11-01 22:59:19 -07:00
Elliott Hughes
ceda36fa12
am 7f7ac8cd: am e3c7b519: Merge "Don\'t corrupt the thread list if the main thread exits."
...
* commit '7f7ac8cd19f1a7fc61aa640505747dee9036fa61':
Don't corrupt the thread list if the main thread exits.
2012-11-01 17:39:12 -07:00
Elliott Hughes
7f7ac8cd19
am e3c7b519: Merge "Don\'t corrupt the thread list if the main thread exits."
...
* commit 'e3c7b5192e65eeb0bd90bf884d3435ed9adfad0e':
Don't corrupt the thread list if the main thread exits.
2012-11-01 17:37:04 -07:00
Elliott Hughes
e3c7b5192e
Merge "Don't corrupt the thread list if the main thread exits."
2012-11-01 17:28:01 -07:00
Elliott Hughes
4f251bee5d
Don't corrupt the thread list if the main thread exits.
...
...and don't pass a non-heap pointer to free(3), either.
This patch replaces the "node** prev" with the clearer "node* prev"
style and fixes the null pointer dereference in the old code. That's
not sufficient to fix the reporter's bug, though. The pthread_internal_t*
for the main thread isn't heap-allocated --- __libc_init_tls causes a
pointer to a statically-allocated pthread_internal_t to be added to
the thread list.
Bug: http://code.google.com/p/android/issues/detail?id=37410
Change-Id: I112b7f22782fc789d58f9c783f7b323bda8fb8b7
2012-11-01 17:27:07 -07:00
Elliott Hughes
d781dfdb09
am 6db8f5bb: am d30116cf: Merge "Keep the dynamic linker\'s soinfo pools mostly read-only."
...
* commit '6db8f5bb75bb79e0b4873e6d293aa25e2c9f090b':
Keep the dynamic linker's soinfo pools mostly read-only.
2012-11-01 17:02:23 -07:00
Elliott Hughes
6db8f5bb75
am d30116cf: Merge "Keep the dynamic linker\'s soinfo pools mostly read-only."
...
* commit 'd30116cf4a590e7bea3b73fa49bb27502a920819':
Keep the dynamic linker's soinfo pools mostly read-only.
2012-11-01 17:00:13 -07:00
Elliott Hughes
d30116cf4a
Merge "Keep the dynamic linker's soinfo pools mostly read-only."
2012-11-01 16:49:37 -07:00
Elliott Hughes
d23736e4f2
Keep the dynamic linker's soinfo pools mostly read-only.
...
We'll need a lot more refactoring of this code before we can reduce
the granularity, but this is a step forward.
Change-Id: I07061720e734b571a8399c1d5b4f2f35cd681307
2012-11-01 16:48:14 -07:00
Elliott Hughes
02c3513e5f
am 65ba5b62: am 064f862d: Merge "Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too."
...
* commit '65ba5b62c5a59181317b86f772d9ebb756d4741f':
Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too.
2012-11-01 14:15:11 -07:00
Elliott Hughes
65ba5b62c5
am 064f862d: Merge "Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too."
...
* commit '064f862d557ab741575dfae479499a07ca0ab742':
Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too.
2012-11-01 14:14:00 -07:00
Elliott Hughes
064f862d55
Merge "Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too."
2012-11-01 13:57:00 -07:00
Elliott Hughes
1a6961650c
Stop defining our own PAGE_SIZE and PAGE_MASK, and test dlclose(3) too.
...
Also remove an unnecessary #include and a now-obsolete TODO.
Change-Id: I36d923721e349a286934b9534090a67ce0786e7b
2012-11-01 13:53:26 -07:00
Elliott Hughes
00fe4a20d7
am 3bb62578: am 0be1819b: Merge "Dynamically allocate soinfo-structs in linker"
...
* commit '3bb62578beb36a35d3b1d2fbe18bd34a9d4ecca4':
Dynamically allocate soinfo-structs in linker
2012-11-01 11:47:31 -07:00
Elliott Hughes
3bb62578be
am 0be1819b: Merge "Dynamically allocate soinfo-structs in linker"
...
* commit '0be1819b22b33fbedcb150f96a196ed096abe2fc':
Dynamically allocate soinfo-structs in linker
2012-11-01 11:44:29 -07:00
Elliott Hughes
0be1819b22
Merge "Dynamically allocate soinfo-structs in linker"
2012-11-01 11:36:02 -07:00
Magnus Malmborn
ba98d9237b
Dynamically allocate soinfo-structs in linker
...
Request memory from the system when needed instead of having a fixed
array for soinfo structs. Note that malloc() et al can't be used in
linker, so use mmap() instead.
Change-Id: I4b495995931d7752b0e8c944e64d1fe41b9f7144
2012-11-01 11:31:39 -07:00
The Android Automerger
7a6ae1d667
merge in master-release history after reset to master
2012-11-01 07:49:21 -07:00
Elliott Hughes
e892414bd3
am 1de3af51: am c0ac7eba: Merge "Reject .so files with no sysv hash table."
...
* commit '1de3af51d459c2ced602f10e4f7e7fe704400cdc':
Reject .so files with no sysv hash table.
2012-10-31 15:15:45 -07:00
Elliott Hughes
1de3af51d4
am c0ac7eba: Merge "Reject .so files with no sysv hash table."
...
* commit 'c0ac7eba934fb88f321c75a71312ea482e9a85e9':
Reject .so files with no sysv hash table.
2012-10-31 15:13:30 -07:00
Elliott Hughes
c0ac7eba93
Merge "Reject .so files with no sysv hash table."
2012-10-31 15:09:46 -07:00
Elliott Hughes
124fae9eab
Reject .so files with no sysv hash table.
...
Also ensure that dlopen(3) errors always include the name of the library we
failed to open.
Also fix a bug where we'd fall back to searching LD_LIBRARY_PATH and the
built-in paths for names that include slashes.
Bug: http://code.google.com/p/android/issues/detail?id=38479
Change-Id: Ib2c009ed083344a7a012749d58f8679db2f26c78
2012-10-31 14:30:50 -07:00
Elliott Hughes
a4242290a1
am f510fc78: am b46530bd: Merge "Start cleaning up libm."
...
* commit 'f510fc789a67344080543b9ae06d0ff3322561d5':
Start cleaning up libm.
2012-10-31 13:54:18 -07:00
Elliott Hughes
f510fc789a
am b46530bd: Merge "Start cleaning up libm."
...
* commit 'b46530bd3e5984047bd780f5d3a6a5ebabd9f02d':
Start cleaning up libm.
2012-10-31 13:51:50 -07:00
Elliott Hughes
b46530bd3e
Merge "Start cleaning up libm."
2012-10-31 13:43:41 -07:00
Elliott Hughes
0f7809d5c3
Start cleaning up libm.
...
We have two copies of fenv.h for every architecture, one of which
isn't used. We also have unused makefiles and files for architectures
we don't support.
This patch removes all the obviously useless files.
Bug: http://code.google.com/p/android/issues/detail?id=38196
Change-Id: I1919b6621ba513aa24aa947a34815bc51191487c
2012-10-31 13:32:34 -07:00
The Android Open Source Project
b5b52e73e9
am 089111a8: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '089111a80a6a167de827bf32ae2d2a935ff5874f':
2012-10-31 09:19:14 -07:00
The Android Open Source Project
089111a80a
Reconcile with jb-mr1-release - do not merge
...
Change-Id: Ice07f7813d823b0419153d5ac321ad784a690af4
2012-10-31 09:15:16 -07:00
The Android Automerger
a9b0cd68de
merge in master-release history after reset to master
2012-10-31 07:49:21 -07:00
The Android Automerger
f29c214d6a
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-10-30 20:11:57 -07:00
Elliott Hughes
8478dbc85f
am 3cd7a165: am 084be591: Merge "linker: handle R_ARM_COPY relocations in a proper way"
...
* commit '3cd7a1653aa579213cb68a666bd9949e2b8fff95':
linker: handle R_ARM_COPY relocations in a proper way
2012-10-30 17:20:01 -07:00
Elliott Hughes
3cd7a1653a
am 084be591: Merge "linker: handle R_ARM_COPY relocations in a proper way"
...
* commit '084be591923d3d509cea0a0f4b11b073e362d730':
linker: handle R_ARM_COPY relocations in a proper way
2012-10-30 17:18:04 -07:00
Elliott Hughes
084be59192
Merge "linker: handle R_ARM_COPY relocations in a proper way"
2012-10-30 17:10:30 -07:00
Ard Biesheuvel
5ae44f302b
linker: handle R_ARM_COPY relocations in a proper way
...
If an executable contain copy relocations, other references
to the symbol it points to should be preempted and made to
point to the copy instead.
Also, the linker should make sure the target area has
sufficient space to contain the copy. It also checks
whether the library that supplies the symbol is built
with -Bsymbolic, and errors out if this is the case.
Change-Id: If135c83590092741cfd8f82f54816f363a4a4a3b
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-10-30 17:09:21 -07:00
Elliott Hughes
864d48917a
am 914112ea: am 155e8d1d: Merge "More dynamic linker cleanup."
...
* commit '914112ea21a62c7658dc4b094a369358009be6a9':
More dynamic linker cleanup.
2012-10-30 16:59:17 -07:00
Elliott Hughes
914112ea21
am 155e8d1d: Merge "More dynamic linker cleanup."
...
* commit '155e8d1df5b8fdfeabda3e7b61d95beb5b8d1467':
More dynamic linker cleanup.
2012-10-30 16:56:29 -07:00
Elliott Hughes
155e8d1df5
Merge "More dynamic linker cleanup."
2012-10-30 16:41:01 -07:00
Elliott Hughes
18a206c81d
More dynamic linker cleanup.
...
I still want to break linker_format out into its own library so we can reuse
it for malloc debugging and so forth. (There are many similar pieces of code
in bionic, but the linker's one seems to be the most complete/functional.)
Change-Id: If3721853d28937c8e821ca1d23cf200e228a409a
2012-10-30 16:35:38 -07:00
Elliott Hughes
08c4e30e23
am b0ac82e9: Merge commit \'bd8ee3d3\' into mm
...
* commit 'b0ac82e9baf969236be1174b49784500b33e6f48':
Upgrade to tzdata2012h.
2012-10-30 15:24:37 -07:00
Elliott Hughes
b0ac82e9ba
Merge commit 'bd8ee3d3' into mm
2012-10-30 15:20:13 -07:00
Elliott Hughes
bd8ee3d35e
am a811d7a8: Upgrade to tzdata2012h.
...
* commit 'a811d7a8e638ca49aee704c613cb9f1e03c3698d':
Upgrade to tzdata2012h.
2012-10-30 14:30:12 -07:00
Elliott Hughes
4d2ea14288
am 4569ab97: am 06b59610: Merge "Fix bug in pthread_join, pthread_exit, pthread_detach"
...
* commit '4569ab9773efb1c984bde146002975e7a3753f11':
Fix bug in pthread_join, pthread_exit, pthread_detach
2012-10-30 13:06:47 -07:00
Elliott Hughes
4569ab9773
am 06b59610: Merge "Fix bug in pthread_join, pthread_exit, pthread_detach"
...
* commit '06b596104a9ed3ac089abd00186a5698d7e8544f':
Fix bug in pthread_join, pthread_exit, pthread_detach
2012-10-30 13:04:23 -07:00
Elliott Hughes
06b596104a
Merge "Fix bug in pthread_join, pthread_exit, pthread_detach"
2012-10-30 12:57:58 -07:00
Elliott Hughes
c7358ee57c
am 743a273e: am 1f21ece4: Merge "Clean up the <libgen.h> implementation a little, bring in tests."
...
* commit '743a273e40e49c199d79462338fc606ae12c999f':
Clean up the <libgen.h> implementation a little, bring in tests.
2012-10-30 10:11:44 -07:00
Elliott Hughes
7d617d0db9
am 5f787190: am 4d36b0bd: Merge "Fix the pthread_join on self error case."
...
* commit '5f787190a9e7a749d95f566f920b78eafcd05050':
Fix the pthread_join on self error case.
2012-10-30 10:11:43 -07:00
Elliott Hughes
5e805afa79
am 0b8fa1d4: am 9297af94: Merge "Fix a potential NULL pointer dereference in _init_thread()."
...
* commit '0b8fa1d456f6cf831be41a6dc6b0a67e89f01bd5':
Fix a potential NULL pointer dereference in _init_thread().
2012-10-30 10:11:42 -07:00
Elliott Hughes
d4834a217e
am 40e467ec: am 33c4a3ad: Merge "libc: Fix alphasort() signature (and implementation)."
...
* commit '40e467ec668b59be25491bd44bf348a884d6a68d':
libc: Fix alphasort() signature (and implementation).
2012-10-30 10:11:41 -07:00
Elliott Hughes
5ce5edd6cf
am 85765609: am 8f9a1eb1: Merge "Upgrade to tzdata2012h."
...
* commit '8576560979e3d126ef8204959b87336d980b390b':
Upgrade to tzdata2012h.
2012-10-30 10:11:40 -07:00
Elliott Hughes
96b52e104a
am a67cedb5: am 9e783963: Merge "Clean up the implementation of the <dirent.h> functions."
...
* commit 'a67cedb52cb57f116a545482bddb979d995fd634':
Clean up the implementation of the <dirent.h> functions.
2012-10-30 10:11:39 -07:00
Elliott Hughes
743a273e40
am 1f21ece4: Merge "Clean up the <libgen.h> implementation a little, bring in tests."
...
* commit '1f21ece48a87abbbdd9fb939b79a1dd81fb867eb':
Clean up the <libgen.h> implementation a little, bring in tests.
2012-10-29 17:15:12 -07:00
Elliott Hughes
5f787190a9
am 4d36b0bd: Merge "Fix the pthread_join on self error case."
...
* commit '4d36b0bd38559ae0376b61a0ac2f5fa8329ec56d':
Fix the pthread_join on self error case.
2012-10-29 17:15:09 -07:00
Elliott Hughes
0b8fa1d456
am 9297af94: Merge "Fix a potential NULL pointer dereference in _init_thread()."
...
* commit '9297af943887d9d6974aaec8c45a4e7d93422965':
Fix a potential NULL pointer dereference in _init_thread().
2012-10-29 17:15:03 -07:00
Elliott Hughes
40e467ec66
am 33c4a3ad: Merge "libc: Fix alphasort() signature (and implementation)."
...
* commit '33c4a3adde3cf1753af0661f48ce86358e105277':
libc: Fix alphasort() signature (and implementation).
2012-10-29 17:15:02 -07:00
Elliott Hughes
8576560979
am 8f9a1eb1: Merge "Upgrade to tzdata2012h."
...
* commit '8f9a1eb108f22fc2ce7283ef184d909ec0ca1152':
Upgrade to tzdata2012h.
2012-10-29 17:15:01 -07:00
Elliott Hughes
a67cedb52c
am 9e783963: Merge "Clean up the implementation of the <dirent.h> functions."
...
* commit '9e783963d58acf48e06902236ea64c7f5b337a0f':
Clean up the implementation of the <dirent.h> functions.
2012-10-29 17:14:59 -07:00
Elliott Hughes
1f21ece48a
Merge "Clean up the <libgen.h> implementation a little, bring in tests."
2012-10-29 15:03:36 -07:00
Elliott Hughes
58b575485c
Clean up the <libgen.h> implementation a little, bring in tests.
...
Most of these tests were in system/extras, but I've added more to cover other
cases explicitly mentioned by POSIX.
Change-Id: I5e8d77e4179028d77306935cceadbb505515dcde
2012-10-29 14:27:10 -07:00
Sergey Melnikov
10ce96944e
Fix bug in pthread_join, pthread_exit, pthread_detach
...
pthread_no_op_detach_after_join test from bionic-unit-tests hangs
on x86 emulator. There is a race in the pthread_join, pthread_exit,
pthread_detach functions:
- pthread_join waits for the non-detached thread
- pthread_detach sets the detached flag on that thread
- the thread executes pthread_exit which just kills the now-detached
thread, without sending the join notification.
This patch improves the test so it fails on ARM too, and modifies
pthread_detach to behave more like glibc, not setting the detach state if
called on a thread that's already being joined (but not returning an error).
Change-Id: I87dc688221ce979ef5178753dd63d01ac0b108e6
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com >
2012-10-29 11:31:26 -07:00
Elliott Hughes
4d36b0bd38
Merge "Fix the pthread_join on self error case."
2012-10-29 10:30:16 -07:00
Elliott Hughes
14f19592ae
Fix the pthread_join on self error case.
...
We should return EDEADLK, not deadlock the calling thread.
Change-Id: I1243483f709c11b2a60e41142725c54c7dbfcbc9
2012-10-29 10:19:44 -07:00
Elliott Hughes
9297af9438
Merge "Fix a potential NULL pointer dereference in _init_thread()."
2012-10-29 08:26:01 -07:00
Xi Wang
ae8eb74675
Fix a potential NULL pointer dereference in _init_thread().
...
The first NULL pointer check against `attr' suggests that `attr' can
be NULL. Then later `attr' is directly dereferenced, suggesting the
opposite.
if (attr == NULL) {
...
} else {
...
}
...
if (attr->stack_base == ...) { ... }
The public API pthread_create(3) allows NULL, and interprets it as "default".
Our implementation actually swaps in a pointer to the global default
pthread_attr_t, so we don't need any NULL checks in _init_thread. (The other
internal caller passes its own pthread_attr_t.)
Change-Id: I0a4e79b83f5989249556a07eed1f2887e96c915e
Signed-off-by: Xi Wang <xi.wang@gmail.com >
2012-10-29 08:22:13 -07:00
Elliott Hughes
33c4a3adde
Merge "libc: Fix alphasort() signature (and implementation)."
2012-10-29 07:45:13 -07:00
David 'Digit' Turner
c30396f5f2
libc: Fix alphasort() signature (and implementation).
...
The declaration for alphasort() in <dirent.h> used the deprecated:
int alphasort(const void*, const void*);
while both Posix and GLibc use instead:
int alphasort(const struct dirent** a, const struct dirent** b);
See: http://pubs.opengroup.org/onlinepubs/9699919799/functions/alphasort.html
This patch does the following:
- Update the declaration to match Posix/GLibc
- Get rid of the upstream BSD code which isn't compatible with the new
signature.
- Implement a new trivial alphasort() with the right signature, and
ensure that it uses strcoll() instead of strcmp().
- Remove Bionic-specific #ifdef .. #else .. #endif block in
dirent_test.cpp which uses alphasort().
Even through strcoll() currently uses strcmp(), this does the right
thing in the case where we decide to update strcoll() to properly
implement locale-specific ordered comparison.
Change-Id: I4fd45604d8a940aaf2eb0ecd7d73e2f11c9bca96
2012-10-29 07:44:27 -07:00
Elliott Hughes
8f9a1eb108
Merge "Upgrade to tzdata2012h."
2012-10-29 07:29:13 -07:00
Elliott Hughes
f93fc10fc4
Upgrade to tzdata2012h.
...
The 2012h release reflects the following changes recently circulated
on the tz mailing list:
[Brazil] Bahia no longer has DST. (Thanks to Kelley Cook.)
[Brazil] Tocantins has DST. (Thanks to Rodrigo Severo.)
[Israel] Israel has new DST rules next year. (Thanks to Ephraim Silverberg.)
[Jordan] Jordan stays on DST this winter. (Thanks to Steffen Thorsen.)
Bug: 7429010
Change-Id: I0ec5fb72343e42f3f79490dfdea5f7f1946ae76f
2012-10-28 11:34:35 -07:00
Elliott Hughes
a811d7a8e6
Upgrade to tzdata2012h.
...
The 2012h release reflects the following changes recently circulated
on the tz mailing list:
[Brazil] Bahia no longer has DST. (Thanks to Kelley Cook.)
[Brazil] Tocantins has DST. (Thanks to Rodrigo Severo.)
[Israel] Israel has new DST rules next year. (Thanks to Ephraim Silverberg.)
[Jordan] Jordan stays on DST this winter. (Thanks to Steffen Thorsen.)
Bug: 7429010
Change-Id: I82f19ce49f944f928b6dd8dc5a893786266e5cb9
2012-10-28 11:33:56 -07:00
Elliott Hughes
9e783963d5
Merge "Clean up the implementation of the <dirent.h> functions."
2012-10-26 16:42:48 -07:00
Elliott Hughes
063cfb2084
Clean up the implementation of the <dirent.h> functions.
...
Change-Id: I3c647cc9588525afc41fee90ee468d58cd13503a
2012-10-26 16:42:06 -07:00
The Android Automerger
5b006f3d08
merge in master-release history after reset to master
2012-10-26 07:49:10 -07:00
Elliott Hughes
4e0b489a0c
am 8cacc639: am 7193731a: Merge "Workaround g++ 4.7 compfail"
...
* commit '8cacc639b6ae660c494aca07c537cb443c6c6cd9':
Workaround g++ 4.7 compfail
2012-10-25 15:23:29 -07:00
Elliott Hughes
8cacc639b6
am 7193731a: Merge "Workaround g++ 4.7 compfail"
...
* commit '7193731ae6b8083bc7a5e5e468fb98b1dbcf3f3d':
Workaround g++ 4.7 compfail
2012-10-25 15:20:29 -07:00
Elliott Hughes
a7bb83475b
am 85819efe: am f2b3ac95: Merge "Fix recovery: don\'t assert if there\'s no tzdata."
...
* commit '85819efe8f771759d12ab86f0bd47ede621dbb7d':
Fix recovery: don't assert if there's no tzdata.
2012-10-25 15:16:44 -07:00
Elliott Hughes
85819efe8f
am f2b3ac95: Merge "Fix recovery: don\'t assert if there\'s no tzdata."
...
* commit 'f2b3ac9502e08ef53d4eedd7e93ea9a00d185055':
Fix recovery: don't assert if there's no tzdata.
2012-10-25 15:09:29 -07:00
Elliott Hughes
7193731ae6
Merge "Workaround g++ 4.7 compfail"
2012-10-25 15:00:45 -07:00
Elliott Hughes
f2b3ac9502
Merge "Fix recovery: don't assert if there's no tzdata."
2012-10-25 14:56:53 -07:00
Elliott Hughes
49271d89da
Fix recovery: don't assert if there's no tzdata.
...
Change-Id: I4d808b57c63ec1ccc024da7fd6a65691e0d455c5
2012-10-25 14:56:08 -07:00
Elliott Hughes
0f96dd8dcb
am df7f24f3: am 7b68e3f7: Merge "Per-thread -fstack-protector guards for x86."
...
* commit 'df7f24f310ee3ceb1dc9413d59d5a8816eb584ef':
Per-thread -fstack-protector guards for x86.
2012-10-25 12:23:56 -07:00
Elliott Hughes
df7f24f310
am 7b68e3f7: Merge "Per-thread -fstack-protector guards for x86."
...
* commit '7b68e3f799d87e84c56687033326924fd8fec84c':
Per-thread -fstack-protector guards for x86.
2012-10-25 12:22:34 -07:00
Elliott Hughes
7b68e3f799
Merge "Per-thread -fstack-protector guards for x86."
2012-10-25 12:08:50 -07:00
Elliott Hughes
ad88a08631
Per-thread -fstack-protector guards for x86.
...
Based on a pair of patches from Intel:
https://android-review.googlesource.com/#/c/43909/
https://android-review.googlesource.com/#/c/44903/
For x86, this patch supports _both_ the global that ARM/MIPS use
and the per-thread TLS entry (%gs:20) that GCC uses by default. This
lets us support binaries built with any x86 toolchain (right now,
the NDK is emitting x86 code that uses the global).
I've also extended the original tests to cover ARM/MIPS too, and
be a little more thorough for x86.
Change-Id: I02f279a80c6b626aecad449771dec91df235ad01
2012-10-25 12:04:03 -07:00
The Android Automerger
2654447c0e
merge in master-release history after reset to master
2012-10-25 07:52:10 -07:00
Pavel Chupin
20aa6c0f4c
Workaround g++ 4.7 compfail
...
error: C99 designator 'name' outside aggregate initializer
G++ 4.7+ can't handle some of C99 designated initializers.
Most likely it's just not implemented yet. Other possible workarounds is
to compile this as C not C++ or define name as char* instead of char[SIZE].
Appeared after this change https://android-review.googlesource.com/#/c/44470
Change-Id: Ib28157848ce759b8bb5dbb2ac0d9a768fa4e5107
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2012-10-25 17:58:45 +04:00
Elliott Hughes
4cdc426207
am 60c7ac26: am d0f2b7e7: Merge "More upstream NetBSD upgrades."
...
* commit '60c7ac262241588f7942ca068f33d706c8fe5cc4':
More upstream NetBSD upgrades.
2012-10-23 17:29:47 -07:00
Elliott Hughes
60c7ac2622
am d0f2b7e7: Merge "More upstream NetBSD upgrades."
...
* commit 'd0f2b7e7e65f19f978c59abcbb522c08e76b1508':
More upstream NetBSD upgrades.
2012-10-23 17:15:07 -07:00
Elliott Hughes
d0f2b7e7e6
Merge "More upstream NetBSD upgrades."
2012-10-23 16:55:19 -07:00
Elliott Hughes
ab44f52202
More upstream NetBSD upgrades.
...
Change-Id: Idb781d37de3b05585271d7d258ecffd5ba87d0b8
2012-10-23 16:05:09 -07:00
Elliott Hughes
217e616772
am 45f07555: am e3dbe1e3: Merge "Upgrade more functions to the current upstream NetBSD copy."
...
* commit '45f075556b26cfe91b1b7e1299b54f0328a06acb':
Upgrade more functions to the current upstream NetBSD copy.
2012-10-23 13:58:25 -07:00
Elliott Hughes
45f075556b
am e3dbe1e3: Merge "Upgrade more functions to the current upstream NetBSD copy."
...
* commit 'e3dbe1e3820d6ab0370566055e9cdc593c5cce48':
Upgrade more functions to the current upstream NetBSD copy.
2012-10-23 13:55:59 -07:00
Elliott Hughes
e3dbe1e382
Merge "Upgrade more functions to the current upstream NetBSD copy."
2012-10-23 13:45:37 -07:00
Elliott Hughes
e8bcca3a2c
Upgrade more functions to the current upstream NetBSD copy.
...
Change-Id: Ie0b3f8b3fccef28609eb210434413ebd51d6ef45
2012-10-23 12:29:53 -07:00
Elliott Hughes
1d212fa6eb
am 4280143d: am fb93e6a5: Merge "Move setlocale(3) and the wchar stubs over to .cpp."
...
* commit '4280143d371eae2123a5d8c4d8779db159ecd1e2':
Move setlocale(3) and the wchar stubs over to .cpp.
2012-10-22 18:08:54 -07:00
Elliott Hughes
4280143d37
am fb93e6a5: Merge "Move setlocale(3) and the wchar stubs over to .cpp."
...
* commit 'fb93e6a5b322a87e61de19421a72d6dfcc82b614':
Move setlocale(3) and the wchar stubs over to .cpp.
2012-10-22 18:06:55 -07:00
Elliott Hughes
fb93e6a5b3
Merge "Move setlocale(3) and the wchar stubs over to .cpp."
2012-10-22 17:50:27 -07:00
Elliott Hughes
29c7f0b4d1
Move setlocale(3) and the wchar stubs over to .cpp.
...
Also separate out the C++ files so we can use -Werror on them. I'd
rather wait for LOCAL_CPPFLAGS to be in AOSP, but this also lets us
see which files still need to be sorted into one bucket or the other.
Change-Id: I6acc1f7c043935c70a3b089f705d218b9aaaba0a
2012-10-22 17:05:27 -07:00
Elliott Hughes
1d8b87d2b4
am 69ec117b: am 5a9911e9: Merge "Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes."
...
* commit '69ec117b22e3e842bff15f54f3e777cdf3206d21':
Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes.
2012-10-22 16:31:29 -07:00
Elliott Hughes
c866dc20bf
am 9d5a96c0: am 574773b1: Merge "Clean up warnings in stubs.cpp."
...
* commit '9d5a96c0d9583fe9a02190ba54a855a2dcc87eb9':
Clean up warnings in stubs.cpp.
2012-10-22 16:31:28 -07:00
Elliott Hughes
69ec117b22
am 5a9911e9: Merge "Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes."
...
* commit '5a9911e94086a15a7f2d5a7c9173847f123a46ea':
Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes.
2012-10-22 16:29:13 -07:00
Elliott Hughes
9d5a96c0d9
am 574773b1: Merge "Clean up warnings in stubs.cpp."
...
* commit '574773b1eae797e2f7a1d11d0176755d2e74eb41':
Clean up warnings in stubs.cpp.
2012-10-22 16:29:12 -07:00
Elliott Hughes
5a9911e940
Merge "Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes."
2012-10-22 16:13:04 -07:00
Elliott Hughes
574773b1ea
Merge "Clean up warnings in stubs.cpp."
2012-10-22 16:12:47 -07:00
Elliott Hughes
ce45fea03d
Add missing BEGIN_DECLS/END_DECLS for FORTIFY_SOURCE stdio prototypes.
...
Change-Id: I35ceb09fedf873c5e98e1e26efce5e4f00a17e74
2012-10-22 16:10:27 -07:00
Elliott Hughes
6fa26e21bc
Clean up warnings in stubs.cpp.
...
Change-Id: Ie0792846de7cf5f5c72737494bf78ab8dcb8cc3e
2012-10-22 16:04:56 -07:00
Elliott Hughes
8b8cc88d39
am 75f33adc: am 4e457759: Merge "Move the FORTIFY_SOURCE helpers over to .cpp."
...
* commit '75f33adcb1f845ae121eb5508b120aaaa9f7a217':
Move the FORTIFY_SOURCE helpers over to .cpp.
2012-10-22 16:00:03 -07:00
Elliott Hughes
75f33adcb1
am 4e457759: Merge "Move the FORTIFY_SOURCE helpers over to .cpp."
...
* commit '4e457759893a6a6ab4f84a5aea231d0a11c7bb13':
Move the FORTIFY_SOURCE helpers over to .cpp.
2012-10-22 15:57:42 -07:00
Elliott Hughes
4e45775989
Merge "Move the FORTIFY_SOURCE helpers over to .cpp."
2012-10-22 15:51:12 -07:00
Elliott Hughes
4035b7a321
Move the FORTIFY_SOURCE helpers over to .cpp.
...
Change-Id: Ib5067d51b983cac7760c975becce7fe2408ead04
2012-10-22 15:32:01 -07:00
Elliott Hughes
3135c87ca8
am 008744ce: am df92635a: Merge "Support zone.tab in bionic, and remove the file format version."
...
* commit '008744cedaa7e3be533bbedb51dd986c6dfea987':
Support zone.tab in bionic, and remove the file format version.
2012-10-22 15:11:07 -07:00
Elliott Hughes
008744ceda
am df92635a: Merge "Support zone.tab in bionic, and remove the file format version."
...
* commit 'df92635a57e8093d9cbffc38bbf513f3361ee91e':
Support zone.tab in bionic, and remove the file format version.
2012-10-22 15:08:38 -07:00
Elliott Hughes
df92635a57
Merge "Support zone.tab in bionic, and remove the file format version."
2012-10-22 14:56:32 -07:00
Elliott Hughes
2393535f0d
Support zone.tab in bionic, and remove the file format version.
...
Bug: 7012465
Change-Id: I6335c91ebadc609fae85bad94db972be7574b6e4
2012-10-22 14:47:58 -07:00
Elliott Hughes
9407c5c126
am 417834b1: am eb370aa3: Merge "Make bionic look in /data/misc for tzdata updates."
...
* commit '417834b17ee00a6b1cd4e816f632c3596f3f51c3':
Make bionic look in /data/misc for tzdata updates.
2012-10-22 11:55:42 -07:00
Elliott Hughes
417834b17e
am eb370aa3: Merge "Make bionic look in /data/misc for tzdata updates."
...
* commit 'eb370aa31dd549ad7a7a2044dedab1140a7aeda9':
Make bionic look in /data/misc for tzdata updates.
2012-10-22 11:53:22 -07:00
Elliott Hughes
eb370aa31d
Merge "Make bionic look in /data/misc for tzdata updates."
2012-10-22 11:37:26 -07:00
Elliott Hughes
1c29572034
Make bionic look in /data/misc for tzdata updates.
...
Bug: 7012465
Change-Id: I4d1018f686f2409600fdb6630732cae33efe8f02
2012-10-22 11:34:05 -07:00
Elliott Hughes
1b62d4e72e
am 629a28cd: am dc595d83: Merge "Change ZoneCompator to generate the single "tzdata" file."
...
* commit '629a28cdf384d83a4d433de8e1299b01e42cc75e':
Change ZoneCompator to generate the single "tzdata" file.
2012-10-19 17:24:22 -07:00
Elliott Hughes
421083359e
am 58d08711: am 7a85c42b: Merge "Update generate-NOTICE.py to know about tzdata."
...
* commit '58d08711af5e8237d6196652d59cc4e8b8caafcf':
Update generate-NOTICE.py to know about tzdata.
2012-10-19 17:24:21 -07:00
Elliott Hughes
629a28cdf3
am dc595d83: Merge "Change ZoneCompator to generate the single "tzdata" file."
...
* commit 'dc595d830898e5859bf98d7436af2a777a11f810':
Change ZoneCompator to generate the single "tzdata" file.
2012-10-19 17:21:41 -07:00
Elliott Hughes
58d08711af
am 7a85c42b: Merge "Update generate-NOTICE.py to know about tzdata."
...
* commit '7a85c42b8f7af801a31208ed83589b5397baee73':
Update generate-NOTICE.py to know about tzdata.
2012-10-19 17:21:40 -07:00
Elliott Hughes
dc595d8308
Merge "Change ZoneCompator to generate the single "tzdata" file."
2012-10-19 17:12:37 -07:00
Elliott Hughes
7a85c42b8f
Merge "Update generate-NOTICE.py to know about tzdata."
2012-10-19 17:07:46 -07:00
The Android Automerger
5ba74660e3
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-10-19 15:45:58 -07:00
Elliott Hughes
5b1497acdb
Change ZoneCompator to generate the single "tzdata" file.
...
Also remove the obsolete individual files, and the temporary script
that converted between the formats.
Bug: 7012465
Change-Id: I5a4030098e4d53e747fd6d395df2679d1567ee1f
2012-10-19 15:45:46 -07:00
Elliott Hughes
4612763b44
Update generate-NOTICE.py to know about tzdata.
...
Also regenerate the NOTICE files. One had slipped behind.
Bug: 7012465
Change-Id: Ice2e909b521472eb1acd53d8151038bebe19984a
2012-10-19 14:55:19 -07:00
Elliott Hughes
933746ad7d
am af72df5b: am e75c273a: Merge "Track the tzdata2012g update in the new file format."
...
* commit 'af72df5b98944cfb89cecb7abc05bceec0612981':
Track the tzdata2012g update in the new file format.
2012-10-19 14:42:05 -07:00
Elliott Hughes
af72df5b98
am e75c273a: Merge "Track the tzdata2012g update in the new file format."
...
* commit 'e75c273ac434043153f22b1c2f89c042928407bc':
Track the tzdata2012g update in the new file format.
2012-10-19 14:40:25 -07:00
Elliott Hughes
e75c273ac4
Merge "Track the tzdata2012g update in the new file format."
2012-10-19 14:30:05 -07:00
Elliott Hughes
8af5412efc
Track the tzdata2012g update in the new file format.
...
Change-Id: Id18aeb1122df769d83c4be06fbf37681231e79f0
2012-10-19 14:28:56 -07:00
Elliott Hughes
bde97cf154
am 98533cfa: am 88cd1a21: Merge "Upgrade to tzdata2012g."
...
* commit '98533cfa4b69d053e111e46bc74d8e9b2035a96e':
Upgrade to tzdata2012g.
2012-10-19 13:53:21 -07:00
Elliott Hughes
18ee86f892
am f0af78c2: am 551ca77e: Merge "Do all the zoneinfo.* file generation in Java."
...
* commit 'f0af78c27bede71304a894c23fb3100d027fc74b':
Do all the zoneinfo.* file generation in Java.
2012-10-19 13:53:20 -07:00
Elliott Hughes
98533cfa4b
am 88cd1a21: Merge "Upgrade to tzdata2012g."
...
* commit '88cd1a2188cde62d9f94881549791b7c197b2116':
Upgrade to tzdata2012g.
2012-10-19 13:51:19 -07:00
Elliott Hughes
f0af78c27b
am 551ca77e: Merge "Do all the zoneinfo.* file generation in Java."
...
* commit '551ca77e35098272abfe9484457827c661d23ef0':
Do all the zoneinfo.* file generation in Java.
2012-10-19 13:51:18 -07:00
Elliott Hughes
88cd1a2188
Merge "Upgrade to tzdata2012g."
2012-10-19 13:45:55 -07:00
Elliott Hughes
c2c2a48845
Upgrade to tzdata2012g.
...
This release reflects the following changes recently circulated on the tz
mailing list:
Samoa fall 2012 and later. (Thanks to Nicholas Pereira
and Robert Elz.)
Palestine fall 2012. (Thanks to Steffen Thorsen.)
This release does not reflect the possible changes discussed yesterday
for Tocantins and Bahia.
(cherry-pick of f0e402dbd257ab495eab514b347db4b3d6844826.)
Change-Id: I8202292b11accedb811194a821dacf837a1bbd6e
2012-10-19 13:43:10 -07:00
Elliott Hughes
551ca77e35
Merge "Do all the zoneinfo.* file generation in Java."
2012-10-19 13:37:25 -07:00
Elliott Hughes
174b6d0e19
am 356c0af6: am 2266e495: Merge "Switch bionic over to using libcore\'s copy of libcore.util.ZoneInfo."
...
* commit '356c0af60b83988bdb55970c8f29886a2fa5a672':
Switch bionic over to using libcore's copy of libcore.util.ZoneInfo.
2012-10-19 13:22:50 -07:00
Elliott Hughes
356c0af60b
am 2266e495: Merge "Switch bionic over to using libcore\'s copy of libcore.util.ZoneInfo."
...
* commit '2266e4956f4b245903acd66f0cc32ec5caf5abae':
Switch bionic over to using libcore's copy of libcore.util.ZoneInfo.
2012-10-19 13:18:07 -07:00
Elliott Hughes
328a484588
Do all the zoneinfo.* file generation in Java.
...
Bug: 7012465
Change-Id: Ia5d5ad75db94d680a6b34ccc26eb68d5bd2bfc29
2012-10-19 13:03:52 -07:00
Elliott Hughes
2266e4956f
Merge "Switch bionic over to using libcore's copy of libcore.util.ZoneInfo."
2012-10-19 13:01:04 -07:00
Elliott Hughes
eb06129c5c
Switch bionic over to using libcore's copy of libcore.util.ZoneInfo.
...
Bug: 7012465
Change-Id: I1225494c5d77a20fd48be1e904d8695ef95860e3
2012-10-19 12:05:24 -07:00
Elliott Hughes
a7bc708e0c
am fb8ecd6e: am bc77942a: am f0e402db: Upgrade to tzdata2012g.
...
* commit 'fb8ecd6e2f20dba3b6eaf0bd6b834c2c072322c5':
Upgrade to tzdata2012g.
2012-10-19 10:02:11 -07:00
Elliott Hughes
fb8ecd6e2f
am bc77942a: am f0e402db: Upgrade to tzdata2012g.
...
* commit 'bc77942a9a5b2a30eb04fab495cb30ac21bb150d':
Upgrade to tzdata2012g.
2012-10-19 09:59:52 -07:00
Elliott Hughes
bc77942a9a
am f0e402db: Upgrade to tzdata2012g.
...
* commit 'f0e402dbd257ab495eab514b347db4b3d6844826':
Upgrade to tzdata2012g.
2012-10-19 09:57:49 -07:00
Elliott Hughes
f0e402dbd2
Upgrade to tzdata2012g.
...
This release reflects the following changes recently circulated on the tz
mailing list:
Samoa fall 2012 and later. (Thanks to Nicholas Pereira
and Robert Elz.)
Palestine fall 2012. (Thanks to Steffen Thorsen.)
This release does not reflect the possible changes discussed yesterday
for Tocantins and Bahia.
Change-Id: I52d9d2cd6e8e755885dc258200c014bee75527c9
2012-10-18 16:34:48 -07:00
Elliott Hughes
0f7814264c
am 4d71adbc: am 10225071: Merge "Fixes x86 build."
...
* commit '4d71adbc0d12e5153f537f84cce8d9686762e5b9':
Fixes x86 build.
2012-10-18 13:58:18 -07:00
Elliott Hughes
4d71adbc0d
am 10225071: Merge "Fixes x86 build."
...
* commit '102250719f8aff443741e54ba5633c7722544620':
Fixes x86 build.
2012-10-18 13:56:02 -07:00
Elliott Hughes
102250719f
Merge "Fixes x86 build."
2012-10-18 13:43:41 -07:00
Elliott Hughes
8b95404d00
Fixes x86 build.
...
Change-Id: I0e576784b2224668d58ebea03986d534ee0e43b4
2012-10-18 13:42:59 -07:00
Elliott Hughes
c0e8400361
am 79c6a8d2: am ca7466d2: Merge "Make bionic\'s dependency on the tzdata explicit."
...
* commit '79c6a8d2b163e40eb6f19bbf8f59eb85fb7996e6':
Make bionic's dependency on the tzdata explicit.
2012-10-18 13:40:19 -07:00
Elliott Hughes
79c6a8d2b1
am ca7466d2: Merge "Make bionic\'s dependency on the tzdata explicit."
...
* commit 'ca7466d2b8ee6baad86afc82fa18cda4d931b6d3':
Make bionic's dependency on the tzdata explicit.
2012-10-18 13:37:54 -07:00
Elliott Hughes
ca7466d2b8
Merge "Make bionic's dependency on the tzdata explicit."
2012-10-18 13:19:14 -07:00
Elliott Hughes
914d8d4cff
Make bionic's dependency on the tzdata explicit.
...
Also stop building the obsolete three files, now bionic and libcore
both use the new single file.
Bug: 7012465
Change-Id: I1b9b49af7382c57b6cb8820c2275e6d4044b2bb6
2012-10-18 12:23:34 -07:00
Elliott Hughes
c63dda22dd
am 1b315363: am 5ae762a3: Merge "Pull bionic\'s time zone data from the new single \'tzdata\' file."
...
* commit '1b315363c22fdf53d77fc83ec0bbada32e73ccc7':
Pull bionic's time zone data from the new single 'tzdata' file.
2012-10-18 11:02:01 -07:00
Elliott Hughes
1b315363c2
am 5ae762a3: Merge "Pull bionic\'s time zone data from the new single \'tzdata\' file."
...
* commit '5ae762a393168932602eb7269a7d30a53de1c83c':
Pull bionic's time zone data from the new single 'tzdata' file.
2012-10-18 10:59:27 -07:00
Elliott Hughes
5ae762a393
Merge "Pull bionic's time zone data from the new single 'tzdata' file."
2012-10-18 10:48:11 -07:00
Elliott Hughes
9648b588b4
am e5c8ced4: am 9ffaabcc: Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."
...
* commit 'e5c8ced4f95e97b2fadc0c64fbdbeeb023677035':
Remove obsolete CHANGES.TXT and ISSUES.TXT.
2012-10-18 10:28:52 -07:00
Elliott Hughes
e5c8ced4f9
am 9ffaabcc: Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."
...
* commit '9ffaabcc49776676cb2ea60f0846f2c208f6d715':
Remove obsolete CHANGES.TXT and ISSUES.TXT.
2012-10-18 10:26:36 -07:00
Elliott Hughes
9ffaabcc49
Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."
2012-10-18 10:09:47 -07:00
Elliott Hughes
d23af23268
Pull bionic's time zone data from the new single 'tzdata' file.
...
Bug: 7012465
Change-Id: Iec71e448bf7a40af30ca89150b3c336e67a44a43
2012-10-17 16:30:47 -07:00
Elliott Hughes
f190a16e5e
am c2e4c310: am 32ea9fe5: Merge "Put all the tzdata in one file."
...
* commit 'c2e4c310ff9ace06be0376d649a09abb51813981':
Put all the tzdata in one file.
2012-10-17 16:12:19 -07:00
Elliott Hughes
c2e4c310ff
am 32ea9fe5: Merge "Put all the tzdata in one file."
...
* commit '32ea9fe5783e3cc9756205c0ac46482afc700a3d':
Put all the tzdata in one file.
2012-10-17 16:09:31 -07:00
Elliott Hughes
32ea9fe578
Merge "Put all the tzdata in one file."
2012-10-17 15:52:09 -07:00
Elliott Hughes
fb018a2dde
Put all the tzdata in one file.
...
I'll come back and remove the separate files (and change the regular 'generate'
script) when the separate files are obsolete, but in the interim period, it's
easier to have both old and new files available.
Bug: 7012465
Change-Id: I36e2fd49c08ff79ded6eca1c5bc4c08837cc490a
2012-10-17 14:24:50 -07:00
Elliott Hughes
ead7819f51
Remove obsolete CHANGES.TXT and ISSUES.TXT.
...
These haven't been updated in a long time, and "git log" is the source of truth.
Change-Id: I99036f6111e53425f32df510b7b717deb77513a5
2012-10-17 11:33:59 -07:00
Elliott Hughes
9eaa953642
am 06abe13c: am a2f596b6: Merge "Make dlerror(3) thread-safe."
...
* commit '06abe13c5f7a318eef316268d0d25d92ff128c19':
Make dlerror(3) thread-safe.
2012-10-17 11:05:19 -07:00
Elliott Hughes
06abe13c5f
am a2f596b6: Merge "Make dlerror(3) thread-safe."
...
* commit 'a2f596b65075db7916ffffa2f5059e7953719578':
Make dlerror(3) thread-safe.
2012-10-17 11:03:12 -07:00
Elliott Hughes
a2f596b650
Merge "Make dlerror(3) thread-safe."
2012-10-17 10:50:48 -07:00
David 'Digit' Turner
826215bec2
am c7dc8425: am 42ac0e50: Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""
...
* commit 'c7dc842529ea6f8801164eb8b4f7d036acc53955':
Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
2012-10-17 10:32:36 -07:00
David 'Digit' Turner
c7dc842529
am 42ac0e50: Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""
...
* commit '42ac0e50302c4d5ce855444e44615489ab662452':
Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
2012-10-17 10:30:01 -07:00
David 'Digit' Turner
42ac0e5030
Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""
2012-10-17 10:11:23 -07:00
David 'Digit' Turner
c1b44ecc53
Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
...
This creates build issues in the internal Android tree.
Will investigate later.
Original patch: https://android-review.googlesource.com/#/c/38875/
Change-Id: I12c5995ebf172890051af42a5d3b31014c9c5117
2012-10-17 19:10:11 +02:00
David 'Digit' Turner
87f487f6ce
am 423a0740: am 4136c3a2: Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
...
* commit '423a0740b536f688b0c1866437dfe59e06413435':
libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>
2012-10-17 07:34:57 -07:00
David 'Digit' Turner
423a0740b5
am 4136c3a2: Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
...
* commit '4136c3a2b7f7546968c5a305aa2ef0663fcb6c6d':
libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>
2012-10-17 07:32:56 -07:00
David 'Digit' Turner
4136c3a2b7
Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
2012-10-17 07:20:54 -07:00
David 'Digit' Turner
c124baaf29
libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>
...
This patch updates the C library headers to provide ucontext_t
definitions for three architectures.
+ Fix <signal.h> to always define 'struct sigcontext'.
The new declarations are announced with new macros defined in
<sys/cdefs.h> in order to make it easier to adapt client code
that already defines its own, incompatible, versions of the
structures seen here.
http://code.google.com/p/android/issues/detail?id=34784
Change-Id: Ie78c48690a4ce61c50593f6c39639be7fead3596
2012-10-17 15:59:23 +02:00
Elliott Hughes
5419b94747
Make dlerror(3) thread-safe.
...
I gave up trying to use the usual thread-local buffer idiom; calls to
calloc(3) and free(3) from any of the "dl" functions -- which live in
the dynamic linker -- end up resolving to the dynamic linker's stubs.
I tried to work around that, but was just making things more complicated.
This alternative costs us a well-known TLS slot (instead of the
dynamically-allocated TLS slot we'd have used otherwise, so no difference
there), plus an extra buffer inside every pthread_internal_t.
Bug: 5404023
Change-Id: Ie9614edd05b6d1eeaf7bf9172792d616c6361767
2012-10-16 17:58:17 -07:00
Elliott Hughes
2734345095
am ee7a28c5: am a9944cfe: Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
...
* commit 'ee7a28c529dad9f51aa86271350a4e2d7cddc9d4':
LONG_LONG_MIN/MAX: Move declarations to <limits.h>
2012-10-15 20:25:32 -07:00
Elliott Hughes
ee7a28c529
am a9944cfe: Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
...
* commit 'a9944cfe9e152ca46afb0a77300ec5a2a1a24e64':
LONG_LONG_MIN/MAX: Move declarations to <limits.h>
2012-10-15 20:20:50 -07:00
Elliott Hughes
a9944cfe9e
Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
2012-10-15 17:34:13 -07:00
David 'Digit' Turner
f8a2c51bf3
LONG_LONG_MIN/MAX: Move declarations to <limits.h>
...
LONG_LONG_MIN, LONG_LONG_MAX and ULONG_LONG_MAX are
GLibc-specific macros that are better defined in <limits.h>
instead of the current exotic location (<pthread.h>).
Note that GCC's <limits.h> only defines these macros
when __GNU_LIBRARY__ is also defined. This is only the
case when building against GLibc, so manually redefine
the macros here.
Note that using LLONG_MIN/LLONG_MAX/ULLONG_MAX is the
C99-compliant way to get these values, but it's easier
to define these compatibility macros for the sake of
porting existing code.
Change-Id: I8023918d73b4685238054932f94a4006c1ca7d03
2012-10-15 18:52:55 +02:00
Elliott Hughes
b2d2b30a13
am 1452324f: am fcf901d5: Merge "Fix realloc(3) when chk_malloc debugging is on."
...
* commit '1452324ff551f3aa7f9d61186d3b9cb04f7e9d39':
Fix realloc(3) when chk_malloc debugging is on.
2012-10-12 17:15:39 -07:00
Elliott Hughes
1452324ff5
am fcf901d5: Merge "Fix realloc(3) when chk_malloc debugging is on."
...
* commit 'fcf901d5c0924a71a1405a2535051663281da048':
Fix realloc(3) when chk_malloc debugging is on.
2012-10-12 17:14:29 -07:00
Elliott Hughes
fcf901d5c0
Merge "Fix realloc(3) when chk_malloc debugging is on."
2012-10-12 17:09:03 -07:00
Elliott Hughes
e7e274b13a
Fix realloc(3) when chk_malloc debugging is on.
...
The tests for a NULL pointer and size 0 were the wrong way round.
From Intel's patch 9cae4f2ffc4778ed82be04711d8775a84092d4e2.
Change-Id: I118aff3358aa5f34126d74bfaa43f6e2f1a89055
2012-10-12 17:05:05 -07:00
Elliott Hughes
4089dea451
am c2483ea9: am 9434e8fe: Merge "Make the dlfcn mutex static."
...
* commit 'c2483ea9b63de373e7521e39162395a8c667239a':
Make the dlfcn mutex static.
2012-10-12 11:24:25 -07:00
Elliott Hughes
c2483ea9b6
am 9434e8fe: Merge "Make the dlfcn mutex static."
...
* commit '9434e8febc8b223db2d49e7f97140771700113b9':
Make the dlfcn mutex static.
2012-10-12 11:21:59 -07:00
Elliott Hughes
9434e8febc
Merge "Make the dlfcn mutex static."
2012-10-12 10:59:59 -07:00
Elliott Hughes
22d629211d
Make the dlfcn mutex static.
...
More style fixes too, and removal of yet another lingering SH reference!
Change-Id: Iebc34a46475dd11845ad172b9108bb6ddd7585bb
2012-10-12 10:50:21 -07:00
Elliott Hughes
66d71c8f13
am ab4e2ed1: am db4fdf1a: Merge "Fix dlerror(3)."
...
* commit 'ab4e2ed182011998751ff5d6c321ff5bae20c6cd':
Fix dlerror(3).
2012-10-12 10:49:08 -07:00
Elliott Hughes
ab4e2ed182
am db4fdf1a: Merge "Fix dlerror(3)."
...
* commit 'db4fdf1aafb63b09ee967066d9b8107a9812db2d':
Fix dlerror(3).
2012-10-12 10:47:59 -07:00
Elliott Hughes
db4fdf1aaf
Merge "Fix dlerror(3)."
2012-10-12 10:27:44 -07:00
The Android Open Source Project
aff37491a1
am cf3fa7f4: (-s ours) Reconcile with jb-mr1-factory-release - do not merge
...
* commit 'cf3fa7f45742c870f1478b1bf7717d3042d599d7':
2012-10-12 07:32:05 -07:00
The Android Open Source Project
cf3fa7f457
Reconcile with jb-mr1-factory-release - do not merge
...
Change-Id: I833db3c1458b360d17442413b86b546dc650bc0c
2012-10-12 07:30:26 -07:00
Elliott Hughes
3b297c4079
Fix dlerror(3).
...
Add unit tests for dlerror(3) in various situations. I think We're at least
as good as glibc now.
Also factor out the ScopedPthreadMutexLock and use it here too.
Bug: http://code.google.com/p/android/issues/detail?id=38398
Change-Id: I040938b4366ab836e3df46d1d8055b92f4ea6ed8
2012-10-11 16:08:51 -07:00
Elliott Hughes
f0f052f28d
am 2facd5b5: am 417fd233: Merge "Fix perf_event_open syscall for x86 and mips"
...
* commit '2facd5b5ef3e52b11590b4de01e17f6923a85aee':
Fix perf_event_open syscall for x86 and mips
2012-10-11 10:43:49 -07:00
Elliott Hughes
2facd5b5ef
am 417fd233: Merge "Fix perf_event_open syscall for x86 and mips"
...
* commit '417fd2334a694cf6a831b81cd672b4ca31ff2f54':
Fix perf_event_open syscall for x86 and mips
2012-10-11 10:42:00 -07:00
Elliott Hughes
417fd2334a
Merge "Fix perf_event_open syscall for x86 and mips"
2012-10-11 10:26:00 -07:00
Shuo Gao
4e75c4b2d7
Fix perf_event_open syscall for x86 and mips
...
perf_event_open syscall has a different syscall number for
the 3 supported architectures: arm, x86 and mips. Currenlty
only the arm syscall number is defined for all architectures.
Tracing tools like perf will not work on other architectures
than arm.
Add the different values for perf_event_open on x86 and mips
and run gensyscalls.py to update generated headers.
Change-Id: I2ed78bd42c0e5df8dbc51d784be49cccda5fab30
Author: Irina Tirdea <irina.tirdea@intel.com >
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com >
Signed-off-by: Shuo Gao <shuo.gao@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
2012-10-11 10:24:51 -07:00
The Android Automerger
b5f1e03079
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
2012-10-11 08:18:46 -07:00
The Android Open Source Project
3622c73cfc
am d1844d4b: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'd1844d4b30a0f75ed0c30c923bea7c718ba53034':
2012-10-11 05:59:18 -07:00
The Android Open Source Project
d1844d4b30
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I8ceb7a33ab427c2d3e884e8b71064ecbc531fd1e
2012-10-11 05:56:36 -07:00
The Android Automerger
7cc2dec82e
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-10-10 14:06:19 -07:00
Ying Wang
9ab8851756
am 06201227: am ecbded40: am 2c287e95: Set up the private variables.
...
* commit '0620122763502e4ec6f9939c009faaf5a890ad08':
Set up the private variables.
2012-10-10 13:54:48 -07:00
Ying Wang
0620122763
am ecbded40: am 2c287e95: Set up the private variables.
...
* commit 'ecbded40ff1278ddb155d3e1a5d137285f18629f':
Set up the private variables.
2012-10-10 13:52:59 -07:00
Ying Wang
ecbded40ff
am 2c287e95: Set up the private variables.
...
* commit '2c287e9510ec1d379b3cd779651b595dafb6a2ff':
Set up the private variables.
2012-10-10 13:51:30 -07:00
Ying Wang
2c287e9510
Set up the private variables.
...
Now we use private variables in transform-o-to-executable to support
build executables against the NDK.
Cherry-picked from master.
Bug: 7170098
Change-Id: Ic8f1d36a116fce24f3ea6a3ff5e9bfab6cafee99
2012-10-10 10:25:13 -07:00
Elliott Hughes
c41e2216f4
am 4c3d7a86: am 1ceb9824: Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."
...
* commit '4c3d7a86bb568e0b3fa5c9e24d32fa1ee9404b2e':
Fix a getcwd(3) bug and make our tests run correctly under valgrind.
2012-10-09 18:29:25 -07:00
Elliott Hughes
4c3d7a86bb
am 1ceb9824: Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."
...
* commit '1ceb9824ab39501e98300bc87f7984ee6b455ce8':
Fix a getcwd(3) bug and make our tests run correctly under valgrind.
2012-10-09 18:27:11 -07:00
Elliott Hughes
1ceb9824ab
Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."
2012-10-09 18:14:37 -07:00
Elliott Hughes
5a16e92eb5
am c7f654df: am b83cad79: Merge "Fix two comment typos."
...
* commit 'c7f654dffea47a80ba566cd05f9212c8c7359a67':
Fix two comment typos.
2012-10-09 17:39:51 -07:00
Elliott Hughes
c7f654dffe
am b83cad79: Merge "Fix two comment typos."
...
* commit 'b83cad79838f780779bd129da9ed4662b741bd31':
Fix two comment typos.
2012-10-09 17:38:01 -07:00
Elliott Hughes
b83cad7983
Merge "Fix two comment typos."
2012-10-09 17:23:38 -07:00
Elliott Hughes
e5d5f7f0d8
Fix two comment typos.
...
Change-Id: Icb2d6f7fa97ef5a4409a7606875e416cfab0a4b3
2012-10-09 17:23:09 -07:00
Elliott Hughes
156da96621
Fix a getcwd(3) bug and make our tests run correctly under valgrind.
...
The getcwd(3) bug was found by valgrind.
Bug: 7291287
Change-Id: I59f3bff1c1392a408b905934eebcd5d894d37492
2012-10-09 17:17:24 -07:00
Ying Wang
ed0570bf0c
am a55f0a10: am b04598a6: Set up the private variables.
...
* commit 'a55f0a1007423837ff8dc26336a1976469439def':
Set up the private variables.
2012-10-08 16:21:46 -07:00
Ying Wang
a55f0a1007
am b04598a6: Set up the private variables.
...
* commit 'b04598a63c3f0df597f6186beea3adafc665ef56':
Set up the private variables.
2012-10-08 14:21:38 -07:00
Ying Wang
b04598a63c
Set up the private variables.
...
Now we use private variables in transform-o-to-executable to support
build executables against the NDK.
Bug: 7170098
Change-Id: I6e505b33001b76f4b11fcbbb1d35392c4ddf4c70
2012-10-08 14:12:56 -07:00
Elliott Hughes
1cae8da8e7
am 7e785323: am 9a7366e8: am fa7e2586: Merge "Test flags before using "info""
...
* commit '7e7853230fcf141477d7332634858c08d8eec5b9':
Test flags before using "info"
2012-10-03 17:44:53 -07:00
Elliott Hughes
7e7853230f
am 9a7366e8: am fa7e2586: Merge "Test flags before using "info""
...
* commit '9a7366e8943990619c494548050aa906f1971332':
Test flags before using "info"
2012-10-03 17:42:35 -07:00
Elliott Hughes
9a7366e894
am fa7e2586: Merge "Test flags before using "info""
...
* commit 'fa7e2586176711896e6c0b94c7b811f7cbe29907':
Test flags before using "info"
2012-10-03 17:41:08 -07:00
Elliott Hughes
fa7e258617
Merge "Test flags before using "info""
2012-10-03 17:27:51 -07:00
Andy McFadden
1db6f2db49
Test flags before using "info"
...
Our debugger signal catcher expects to receive three args, but if
somebody cleared SA_SIGINFO we only get one, and bad things happen
when we try to use the second one. Test to see if SA_SIGINFO is
still set before we try to use the argument.
(cherry-pick of f84bc8d6f6368f1c846124a8168761ee8cc589c0.)
Bug: 7272866
Change-Id: I69a65c25e833aea70acb78f9ba40ed93308583e6
2012-10-03 17:20:06 -07:00
The Android Open Source Project
c34bdc957c
am ae8000f3: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'ae8000f368926478b7a1e0a56a3d3ee53c2c4a01':
2012-10-03 07:36:22 -07:00
The Android Open Source Project
ae8000f368
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I80b71067d1e628d18a19d94219fcfa1000133abf
2012-10-03 07:33:03 -07:00
The Android Automerger
956092e07c
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-10-03 06:59:12 -07:00
Naseer Ahmed
2d5d80985e
am 9c389255: am 6b1ba118: am 3ef4fecd: bionic: update processed msm_mdp.h
...
* commit '9c3892558f68ec8791283844e2d7d7326bcd3574':
bionic: update processed msm_mdp.h
2012-10-03 01:05:02 -07:00
Naseer Ahmed
9c3892558f
am 6b1ba118: am 3ef4fecd: bionic: update processed msm_mdp.h
...
* commit '6b1ba1184a5e0884686b63da837a85f8c861d1fc':
bionic: update processed msm_mdp.h
2012-10-03 01:03:04 -07:00
Naseer Ahmed
6b1ba1184a
am 3ef4fecd: bionic: update processed msm_mdp.h
...
* commit '3ef4fecd30c22f3c17c1dadfce4527e858b42e7e':
bionic: update processed msm_mdp.h
2012-10-03 00:57:49 -07:00
Naseer Ahmed
3ef4fecd30
bionic: update processed msm_mdp.h
...
-- Has display commit ioctl
Bug: 7274951
Change-Id: If2d47edf3ada418e8c61a2acc7b79fb3422f3473
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-10-02 23:37:34 -07:00
Andy McFadden
399f54c133
am 51c7167d: am 7c67e4e4: am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev
...
* commit '51c7167d2245286e3458ffb06b0b5068d8f04e1b':
Test flags before using "info"
2012-10-02 15:28:17 -07:00
Andy McFadden
51c7167d22
am 7c67e4e4: am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev
...
* commit '7c67e4e423f7608c50a1fc7c355d87593cfdbcca':
Test flags before using "info"
2012-10-02 15:27:09 -07:00
Andy McFadden
7c67e4e423
am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev
...
* commit '98957db5536e93724c2e9e6bd19d5063f9d4dc2c':
Test flags before using "info"
2012-10-02 15:24:25 -07:00
Andy McFadden
98957db553
Merge "Test flags before using "info"" into jb-mr1-dev
2012-10-02 15:23:20 -07:00
Andreas Huber
ae554abd41
am 3a0aa5e0: am cafbc940: am 2e0452cb: bionic: update processed msm_vidc_enc.h
...
* commit '3a0aa5e0a01c26278438513a73bc0150d5fc215c':
bionic: update processed msm_vidc_enc.h
2012-10-02 14:44:32 -07:00
Andreas Huber
3a0aa5e0a0
am cafbc940: am 2e0452cb: bionic: update processed msm_vidc_enc.h
...
* commit 'cafbc9404310828ecddc55a1eed5fc897008b1f3':
bionic: update processed msm_vidc_enc.h
2012-10-02 14:42:35 -07:00
Andreas Huber
cafbc94043
am 2e0452cb: bionic: update processed msm_vidc_enc.h
...
* commit '2e0452cbd1f5b981fbadb4021198d2c27ec1cde3':
bionic: update processed msm_vidc_enc.h
2012-10-02 14:40:02 -07:00
Andreas Huber
2e0452cbd1
bionic: update processed msm_vidc_enc.h
...
Updated kernel headers to support a video encoder ioctl to preprend each IDR
frame with SPS/PPS.
related-to-bug: 7245308
Change-Id: I7244c521690d69a905deb19940a04fd4f2e06935
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-10-02 14:34:03 -07:00
Andy McFadden
f84bc8d6f6
Test flags before using "info"
...
Our debugger signal catcher expects to receive three args, but if
somebody cleared SA_SIGINFO we only get one, and bad things happen
when we try to use the second one. Test to see if SA_SIGINFO is
still set before we try to use the argument.
Bug: 7272866
Change-Id: If682a2262fe8a575f3802fb0c60a53eea3082456
2012-10-02 14:30:41 -07:00
Elliott Hughes
f0a9cd7847
am 92e6de6f: am b95ad82f: am 95a2a7f3: Merge "Fix MIPS build."
...
* commit '92e6de6f940fee6362dd306ad77c6d7bfa56e4cb':
Fix MIPS build.
2012-10-02 11:34:14 -07:00
Elliott Hughes
92e6de6f94
am b95ad82f: am 95a2a7f3: Merge "Fix MIPS build."
...
* commit 'b95ad82f7d175a4f79eb0cbf6caedf0653603590':
Fix MIPS build.
2012-10-02 11:33:03 -07:00
Elliott Hughes
b95ad82f7d
am 95a2a7f3: Merge "Fix MIPS build."
...
* commit '95a2a7f325330830d6227aa683948b325e38e653':
Fix MIPS build.
2012-10-02 11:31:30 -07:00
Elliott Hughes
95a2a7f325
Merge "Fix MIPS build."
2012-10-02 11:22:33 -07:00
Elliott Hughes
857fed50cb
Fix MIPS build.
...
ARM and x86 have custom memcpy implementations, but MIPS relies on the generic
one, which I recently moved.
Change-Id: I9e49243f63b27a4123f2c6623d6286ec82d333c7
2012-10-02 11:20:07 -07:00
Elliott Hughes
6cdf8dd025
am 80a29832: am 90172541: am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."
...
* commit '80a298327299aa28b564941f90818911023ae544':
Move non-upstream code into the libc/bionic directory.
2012-10-02 09:28:31 -07:00
Elliott Hughes
80a2983272
am 90172541: am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."
...
* commit '90172541866696a5a46fae7ff7e186126ee37318':
Move non-upstream code into the libc/bionic directory.
2012-10-02 09:25:12 -07:00
Elliott Hughes
9017254186
am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."
...
* commit 'b98204a9fb5c84478a9710163df395486443c7f6':
Move non-upstream code into the libc/bionic directory.
2012-10-02 09:22:03 -07:00
The Android Open Source Project
4fbb1569f5
am 4cf143f1: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '4cf143f1c8e7147e696225cc852e532f50115624':
2012-10-02 09:17:27 -07:00
The Android Open Source Project
4cf143f1c8
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I2c724a28984aa03b2887b3db58bd59699b428e85
2012-10-02 09:16:33 -07:00
Elliott Hughes
b98204a9fb
Merge "Move non-upstream code into the libc/bionic directory."
2012-10-02 09:13:34 -07:00
Elliott Hughes
95114ff5c5
am 15edd80a: am 39d7c607: am 75f43525: Merge "Always take GCC\'s definition of NULL."
...
* commit '15edd80a696c1b5243874f7db9ef2d753016ade8':
Always take GCC's definition of NULL.
2012-10-01 18:23:31 -07:00
Elliott Hughes
15edd80a69
am 39d7c607: am 75f43525: Merge "Always take GCC\'s definition of NULL."
...
* commit '39d7c6072dc4d587c32405f3c7de12e60559cfc8':
Always take GCC's definition of NULL.
2012-10-01 18:21:35 -07:00
Elliott Hughes
39d7c6072d
am 75f43525: Merge "Always take GCC\'s definition of NULL."
...
* commit '75f43525550c5cad3980f7dd125cb838836790b8':
Always take GCC's definition of NULL.
2012-10-01 18:18:06 -07:00
Elliott Hughes
75f4352555
Merge "Always take GCC's definition of NULL."
2012-10-01 18:11:20 -07:00
Elliott Hughes
7d56ccbfaa
Always take GCC's definition of NULL.
...
There's a (bad) definition of NULL in <linux/stddef.h>, and this
definition of NULL, and the One True definition in the <stddef.h> provided
by the compiler. This change at least kills one of the bad duplicates.
Killing the <linux/stddef.h> one is harder, because it's in a generated
file.
Change-Id: Iea4ccb12d6758199f312ea9cd753b84322d5c471
2012-10-01 17:56:58 -07:00
Elliott Hughes
a89864a20b
Move non-upstream code into the libc/bionic directory.
...
I'll need at least one more pass, because there's some upstream code
lurking in libc/bionic, but this is still a step in the right direction.
Change-Id: I55927315972da8327ae01c5240ed587db17e8462
2012-10-01 17:35:49 -07:00
Elliott Hughes
be02504f5f
am baa7ee03: am bb7dfcd3: am d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."
...
* commit 'baa7ee0370fcb88625a666141431a4187c0f91b2':
Remove useless #defines and incorrect claims from header files.
2012-10-01 15:54:48 -07:00
Elliott Hughes
baa7ee0370
am bb7dfcd3: am d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."
...
* commit 'bb7dfcd3b8744fdf37857375ffe279d2b87a8b22':
Remove useless #defines and incorrect claims from header files.
2012-10-01 15:52:56 -07:00
Elliott Hughes
bb7dfcd3b8
am d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."
...
* commit 'd3bf954e9ffbdee8d732ccb6ad6143dc31b605fc':
Remove useless #defines and incorrect claims from header files.
2012-10-01 15:50:51 -07:00
Elliott Hughes
d3bf954e9f
Merge "Remove useless #defines and incorrect claims from header files."
2012-10-01 15:37:18 -07:00
Elliott Hughes
0cc0d250fd
Remove useless #defines and incorrect claims from header files.
...
The various __need_* macros were write-only.
Change-Id: Id3cca34188e0801fdf93a038b22f2817226ad9c2
2012-10-01 15:12:40 -07:00
Elliott Hughes
b5d5173139
am a54d08a7: am a428bc12: am fe712e6c: Merge "Upgrade seed48 too."
...
* commit 'a54d08a7c15e15f24d94ca6fb97329134d4441a2':
Upgrade seed48 too.
2012-10-01 14:48:57 -07:00
Elliott Hughes
a54d08a7c1
am a428bc12: am fe712e6c: Merge "Upgrade seed48 too."
...
* commit 'a428bc1288e28a05b036597db4f0409fa7f3923d':
Upgrade seed48 too.
2012-10-01 14:47:52 -07:00
Elliott Hughes
a428bc1288
am fe712e6c: Merge "Upgrade seed48 too."
...
* commit 'fe712e6caedccbbba24bda8429cb0b8cc6057ff1':
Upgrade seed48 too.
2012-10-01 14:46:46 -07:00
Elliott Hughes
fe712e6cae
Merge "Upgrade seed48 too."
2012-10-01 14:38:09 -07:00
Elliott Hughes
b28c547aa4
am 6ed5bc12: am b650111a: am cd195eba: Merge "Upgrade to the current NetBSD rand implementation."
...
* commit '6ed5bc12dac544004f8e79b6393b2a8e260a7cc1':
Upgrade to the current NetBSD rand implementation.
2012-10-01 14:16:53 -07:00
Elliott Hughes
6ed5bc12da
am b650111a: am cd195eba: Merge "Upgrade to the current NetBSD rand implementation."
...
* commit 'b650111a11b84d7c91145c4f29b58b5742afa572':
Upgrade to the current NetBSD rand implementation.
2012-10-01 14:15:36 -07:00
Elliott Hughes
31a1060a5a
Upgrade seed48 too.
...
Missed this in 774c7f54ff .
Change-Id: Ic24fd67f003d0e2d192cfb08f96f63024ca817eb
2012-10-01 14:14:21 -07:00
Elliott Hughes
b650111a11
am cd195eba: Merge "Upgrade to the current NetBSD rand implementation."
...
* commit 'cd195eba1f9235b9b9d4dda70142d927b1b9802d':
Upgrade to the current NetBSD rand implementation.
2012-10-01 14:13:16 -07:00
Elliott Hughes
cd195eba1f
Merge "Upgrade to the current NetBSD rand implementation."
2012-10-01 14:05:09 -07:00
Elliott Hughes
774c7f54ff
Upgrade to the current NetBSD rand implementation.
...
Also add basic unit tests.
Change-Id: I7fc7ef61d47c1e8fdf8b8eff67a635220c3afd56
2012-10-01 13:53:41 -07:00
Elliott Hughes
7f1464c03c
am 068f3398: am 0fa6279f: am 5b6346f6: Merge "bionic: linker: Need update the map->l_addr for execution."
...
* commit '068f33981ddaee7e397eee73ea5ea97827aabeb7':
bionic: linker: Need update the map->l_addr for execution.
2012-10-01 09:25:18 -07:00
Elliott Hughes
068f33981d
am 0fa6279f: am 5b6346f6: Merge "bionic: linker: Need update the map->l_addr for execution."
...
* commit '0fa6279f394bb5a5cfeb7996d28b8fd2365477e7':
bionic: linker: Need update the map->l_addr for execution.
2012-10-01 09:23:11 -07:00
Elliott Hughes
0fa6279f39
am 5b6346f6: Merge "bionic: linker: Need update the map->l_addr for execution."
...
* commit '5b6346f6d5dca4022fe0044dd2807c19ac596788':
bionic: linker: Need update the map->l_addr for execution.
2012-10-01 09:21:08 -07:00
Elliott Hughes
5b6346f6d5
Merge "bionic: linker: Need update the map->l_addr for execution."
2012-10-01 09:09:17 -07:00
The Android Automerger
f27642c082
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-30 06:59:14 -07:00
Jean-Baptiste Queru
eab85a379d
am adc32bc3: Merge from jb-mr1-aah-dev
...
* commit 'adc32bc3b18576a554143631ab72dc14c1b905c3':
2012-09-28 17:08:41 -07:00
Jean-Baptiste Queru
adc32bc3b1
Merge from jb-mr1-aah-dev
...
Change-Id: Iea13ecd8b6edd42b3dc9c59755d51c1bb36afe4a
2012-09-28 17:06:59 -07:00
Saurabh Shah
04373fe6fe
am c556da9e: am 204b26b4: bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
...
* commit 'c556da9ed7b0142523d349e7af8ba6492b98a683':
bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
2012-09-28 15:52:50 -07:00
Jean-Baptiste Queru
4dc7206c94
am de1efebd: Merge from jb-mr1-aah-dev
...
* commit 'de1efebdcac1bfa0e30fa7fbe0b4c7860a72a6a0':
2012-09-28 15:52:31 -07:00
Saurabh Shah
c556da9ed7
am 204b26b4: bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
...
* commit '204b26b4402249566e0190154cddb2cfc2cf42a7':
bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
2012-09-28 15:00:03 -07:00
Saurabh Shah
52b4ccbc49
am 204b26b4: bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
...
* commit '204b26b4402249566e0190154cddb2cfc2cf42a7':
bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
2012-09-28 14:59:36 -07:00
Jean-Baptiste Queru
de1efebdca
Merge from jb-mr1-aah-dev
...
Change-Id: I56ae94f8efe9eecedc17da2f573e8fde2b80d151
2012-09-28 14:29:56 -07:00
Saurabh Shah
204b26b440
bionic: Update msm_mdp.h with new MSMFB_OVERLAY_COMMIT ioctl
...
This change adds msm_mdp.h header changes to bionic.
This IOCTL is a substitute for PAN on external panel. It waits for DMAE to
finish before returning and avoid delays in the PAN path.
Bug: 7249589
Acked-by: Arun Kumar K.R <akumarkr@codeaurora.org >
Change-Id: I4b04a4538919ffcb994699a432c4322e9f94e870
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-09-28 13:46:13 -07:00
Elliott Hughes
326e4037e9
am 8e1a87b5: am bb892a1b: am d03bfe68: Merge "Define ssize_t if necessary."
...
* commit '8e1a87b5470d0708b0503c3a33580e1782e2bda2':
Define ssize_t if necessary.
2012-09-28 10:31:09 -07:00
Elliott Hughes
8e1a87b547
am bb892a1b: am d03bfe68: Merge "Define ssize_t if necessary."
...
* commit 'bb892a1b63a2e88c98a2ba31aa659b7efac44e4f':
Define ssize_t if necessary.
2012-09-28 10:28:30 -07:00
Elliott Hughes
bb892a1b63
am d03bfe68: Merge "Define ssize_t if necessary."
...
* commit 'd03bfe689a6e29aa010a927741f42c08f89ef04d':
Define ssize_t if necessary.
2012-09-28 10:27:06 -07:00
Elliott Hughes
d03bfe689a
Merge "Define ssize_t if necessary."
2012-09-28 10:16:58 -07:00
Elliott Hughes
422b6ef92c
Define ssize_t if necessary.
...
Change-Id: I63801cc1f09be5e4ca20a6da7ec3366ba6441afd
2012-09-28 10:15:52 -07:00
Elliott Hughes
2e223d208f
am fb1e192e: am 72b08af3: am f9163dd1: Merge "Add getdelim(3) and getline(3) to bionic"
...
* commit 'fb1e192e12fb4047bf5f01ccf0fd4e5644743adb':
Add getdelim(3) and getline(3) to bionic
2012-09-28 09:57:11 -07:00
Elliott Hughes
fb1e192e12
am 72b08af3: am f9163dd1: Merge "Add getdelim(3) and getline(3) to bionic"
...
* commit '72b08af300703a08bf2081304ab81b9e4dba003c':
Add getdelim(3) and getline(3) to bionic
2012-09-28 09:55:02 -07:00
Elliott Hughes
72b08af300
am f9163dd1: Merge "Add getdelim(3) and getline(3) to bionic"
...
* commit 'f9163dd1f0f6cbd7b8305fa1b2ce46754ed95278':
Add getdelim(3) and getline(3) to bionic
2012-09-28 09:53:08 -07:00
Elliott Hughes
f9163dd1f0
Merge "Add getdelim(3) and getline(3) to bionic"
2012-09-28 09:44:24 -07:00
Irina Tirdea
eac9eb462e
Add getdelim(3) and getline(3) to bionic
...
Some userspace programs (e.g. perf) need getline.
Changes:
() add getdelim.c, getline.c from NetBSD (http://netbsd.org/ ) under the
NetBSD Foundation's (TNF) license ("2 clause" Berkeley-style license).
() add stub for reentrant.h header that is needed by getdelim.c
() add tests for getdelim(3) and getline(3).
() update NOTICE file.
Change-Id: I22ed82dd5904b9d7a3695535c04f502be3c27c5d
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com >
2012-09-27 11:38:57 -07:00
Elliott Hughes
4137d67cde
am 209d67d4: am fd6ca57f: am e4030e0b: Merge "Fix several compiler warnings."
...
* commit '209d67d448a64d147521b3d2efb3efa392dd3ccd':
Fix several compiler warnings.
2012-09-26 16:09:26 -07:00
Elliott Hughes
209d67d448
am fd6ca57f: am e4030e0b: Merge "Fix several compiler warnings."
...
* commit 'fd6ca57f24cbfd8a8074ee6f1c22dd973f1b172f':
Fix several compiler warnings.
2012-09-26 16:07:02 -07:00
Elliott Hughes
fd6ca57f24
am e4030e0b: Merge "Fix several compiler warnings."
...
* commit 'e4030e0bfc427e755477bbea69afe60308a62d91':
Fix several compiler warnings.
2012-09-26 16:04:51 -07:00
Elliott Hughes
e4030e0bfc
Merge "Fix several compiler warnings."
2012-09-26 15:51:01 -07:00
Elliott Hughes
6a3d9af46e
am bdc51470: am 2c29bcf7: am 827a2604: Merge "Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h"
...
* commit 'bdc514700d9f766f5a44a95bb80dab15846bd1c4':
Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h
2012-09-26 15:20:38 -07:00
Elliott Hughes
bdc514700d
am 2c29bcf7: am 827a2604: Merge "Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h"
...
* commit '2c29bcf77f0d7dd7fce284ac0c17ff12663413d0':
Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h
2012-09-26 15:19:22 -07:00
Elliott Hughes
2c29bcf77f
am 827a2604: Merge "Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h"
...
* commit '827a2604ee660df80feb231a1f8bcc96ea6e64ce':
Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h
2012-09-26 15:17:07 -07:00
Elliott Hughes
827a2604ee
Merge "Replace __unused in kernel headers with __linux_unused to avoid conflicts with __unused macro in sys/cdefs.h"
2012-09-26 14:58:11 -07:00
Elliott Hughes
ac184b2142
Fix several compiler warnings.
...
Change-Id: I55caa50a5937442734f4fcbdb4edf1c70f335bf8
2012-09-26 14:20:22 -07:00
Elliott Hughes
100e313c75
am 0792223a: am dd9fbc86: am 8e630dac: Merge "Simple tests for dladdr(3)."
...
* commit '0792223a8ab0f9ecb5fc8fe471dbb7890bb6c2cc':
Simple tests for dladdr(3).
2012-09-26 12:21:03 -07:00
Elliott Hughes
0a2d31838f
am 66569e3d: am a48d5e5f: am 855dde44: Merge "Fix tmpfile(3)."
...
* commit '66569e3d53643fe4682091c4e11c25449e9b7fdc':
Fix tmpfile(3).
2012-09-26 12:21:02 -07:00
Elliott Hughes
0792223a8a
am dd9fbc86: am 8e630dac: Merge "Simple tests for dladdr(3)."
...
* commit 'dd9fbc8646178dc34a92c5fbc0adc8b503cc3cd9':
Simple tests for dladdr(3).
2012-09-26 12:19:34 -07:00
Elliott Hughes
66569e3d53
am a48d5e5f: am 855dde44: Merge "Fix tmpfile(3)."
...
* commit 'a48d5e5f127df0f76b49e046be042f46f211e8bc':
Fix tmpfile(3).
2012-09-26 12:19:33 -07:00
Elliott Hughes
dd9fbc8646
am 8e630dac: Merge "Simple tests for dladdr(3)."
...
* commit '8e630dacf61307e4681f04fc6b5ee593f30d91d0':
Simple tests for dladdr(3).
2012-09-26 12:18:14 -07:00
Elliott Hughes
a48d5e5f12
am 855dde44: Merge "Fix tmpfile(3)."
...
* commit '855dde44266e3c8384ea419f51f9a5c748253eda':
Fix tmpfile(3).
2012-09-26 12:18:13 -07:00
Elliott Hughes
8e630dacf6
Merge "Simple tests for dladdr(3)."
2012-09-26 12:10:56 -07:00
Elliott Hughes
855dde4426
Merge "Fix tmpfile(3)."
2012-09-26 12:04:59 -07:00
Elliott Hughes
91875dcd6e
Fix tmpfile(3).
...
This could be better, but at least now it works.
Change-Id: I88b7cf3f7ce8e5fa0b3fe678b7d1679a68ffffc9
2012-09-26 12:02:17 -07:00
Elliott Hughes
8e15b08ae2
Simple tests for dladdr(3).
...
Change-Id: I22160b7fc9b950ea19adb6da42af2f893f4fe5d5
2012-09-26 11:44:01 -07:00
Ying Wang
1be6e685a5
Merge "Set up the private variables."
2012-09-26 11:27:48 -07:00
Nick Kralevich
0147bd2f78
am 06abf4ed: am 5989ed5c: am 25937d36: Merge "FORTIFY_SOURCE: add umask check"
...
* commit '06abf4edbf4b6d10ee82369ed48b8145a94ba1aa':
FORTIFY_SOURCE: add umask check
2012-09-26 11:15:38 -07:00
Nick Kralevich
06abf4edbf
am 5989ed5c: am 25937d36: Merge "FORTIFY_SOURCE: add umask check"
...
* commit '5989ed5cb8a1d11c140aa61a718e386c2cc88307':
FORTIFY_SOURCE: add umask check
2012-09-26 11:14:12 -07:00
Nick Kralevich
5989ed5cb8
am 25937d36: Merge "FORTIFY_SOURCE: add umask check"
...
* commit '25937d36a0639593520d2765c59736c40095f0ae':
FORTIFY_SOURCE: add umask check
2012-09-26 11:12:34 -07:00
Nick Kralevich
25937d36a0
Merge "FORTIFY_SOURCE: add umask check"
2012-09-26 10:59:29 -07:00
Ying Wang
f680b0f404
Set up the private variables.
...
Now we use private variables in transform-o-to-executable to support
build executables against the NDK.
Bug: 7170098
Change-Id: I6e505b33001b76f4b11fcbbb1d35392c4ddf4c70
2012-09-26 10:54:45 -07:00
Elliott Hughes
2fb6457efb
am c3233178: am 00f33977: am 3307bff0: Merge "Revert dl_fbase initialization to the address where the shared object is loaded."
...
* commit 'c32331781097b51a46c03b002cd813752677236a':
Revert dl_fbase initialization to the address where the shared object is loaded.
2012-09-26 10:46:39 -07:00
Elliott Hughes
c323317810
am 00f33977: am 3307bff0: Merge "Revert dl_fbase initialization to the address where the shared object is loaded."
...
* commit '00f339771b7b5bca1abeb375feb3ce9a04f6daa7':
Revert dl_fbase initialization to the address where the shared object is loaded.
2012-09-26 10:45:06 -07:00
Elliott Hughes
00f339771b
am 3307bff0: Merge "Revert dl_fbase initialization to the address where the shared object is loaded."
...
* commit '3307bff0232a00f879053e94a5f37f1ca1256f7c':
Revert dl_fbase initialization to the address where the shared object is loaded.
2012-09-26 10:43:00 -07:00
Elliott Hughes
3307bff023
Merge "Revert dl_fbase initialization to the address where the shared object is loaded."
2012-09-26 10:38:10 -07:00
Nick Kralevich
cd587701c8
FORTIFY_SOURCE: add umask check
...
Verify that the call to umask makes sense. While this wouldn't
have detected bug 7094213 (because the low order bits were all zero),
it might detect other similar bugs.
References: https://code.google.com/p/android-source-browsing/source/detail?r=acba45cc4b1f98f67fcdeda2f7c13ed57659b92a&repo=platform--libcore
Change-Id: I966a531d6b3cf8e1c5eacd69bd3cbec475b5fa58
2012-09-26 10:19:31 -07:00
The Android Open Source Project
23042bab43
am db2b9d05: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'db2b9d052b3ebab73695af9335d649340cb8d193':
2012-09-26 10:08:03 -07:00
The Android Open Source Project
db2b9d052b
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I5d92da8a0dae14bcd6a61f1e015f818d25066763
2012-09-26 09:05:40 -07:00
Raghu Gandham
0e77287209
Replace __unused in kernel headers with __linux_unused to avoid
...
conflicts with __unused macro in sys/cdefs.h
Change-Id: Ice664397e0b7c7a90795012f30be5e43a9675525
2012-09-25 17:54:43 -07:00
Raghu Gandham
e6dc2a664e
Revert dl_fbase initialization to the address where the shared object is loaded.
...
Change-Id: If868cab774a1ae5ff370208216cecda9b8c3b9fd
2012-09-25 15:58:01 -07:00
The Android Automerger
9014818f61
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-25 06:59:12 -07:00
Elliott Hughes
a638642f44
am 354867d7: am 0eb4f255: am 6e0e03c3: Merge "Add the cleaned kernel headers"
...
* commit '354867d7020d4c7fb001c659245b60bff82a1a32':
Add the cleaned kernel headers
2012-09-24 13:52:05 -07:00
Elliott Hughes
354867d702
am 0eb4f255: am 6e0e03c3: Merge "Add the cleaned kernel headers"
...
* commit '0eb4f255d2dc1778b9a5fabb0f65c81ac4dad4a4':
Add the cleaned kernel headers
2012-09-24 13:50:04 -07:00
Elliott Hughes
0eb4f255d2
am 6e0e03c3: Merge "Add the cleaned kernel headers"
...
* commit '6e0e03c38bc0e864225b89b3fb273fb56ded8940':
Add the cleaned kernel headers
2012-09-24 13:47:29 -07:00
Elliott Hughes
51d1a14c80
am a06e11cc: am c746bed8: am 7b0377ed: Merge "[MIPS] Removed the unused header"
...
* commit 'a06e11cc34612ef814a0f73bccdd43059111a735':
[MIPS] Removed the unused header
2012-09-24 13:43:59 -07:00
Elliott Hughes
0647355bef
am 28bd96cc: am d5c654c0: am 3b6914bf: Merge "Fix dlsym and dladdr to use load_bias instead of base"
...
* commit '28bd96cc0b9a5eed785df09a4c1bffc43b95fe6b':
Fix dlsym and dladdr to use load_bias instead of base
2012-09-24 13:43:58 -07:00
Elliott Hughes
a06e11cc34
am c746bed8: am 7b0377ed: Merge "[MIPS] Removed the unused header"
...
* commit 'c746bed88931fab8abcc4d01a5c53b95fff1ba8f':
[MIPS] Removed the unused header
2012-09-24 13:40:53 -07:00
Elliott Hughes
28bd96cc0b
am d5c654c0: am 3b6914bf: Merge "Fix dlsym and dladdr to use load_bias instead of base"
...
* commit 'd5c654c053bb100cb2d4a71260a507e20eb30e79':
Fix dlsym and dladdr to use load_bias instead of base
2012-09-24 13:40:42 -07:00
Elliott Hughes
6e0e03c38b
Merge "Add the cleaned kernel headers"
2012-09-24 13:39:33 -07:00
Elliott Hughes
c746bed889
am 7b0377ed: Merge "[MIPS] Removed the unused header"
...
* commit '7b0377eda03abc9db79faa244e28aea1ac7b64da':
[MIPS] Removed the unused header
2012-09-24 12:41:20 -07:00
Raghu Gandham
bfeb8a98b6
Add the cleaned kernel headers
...
Change-Id: Ied4e3ca765672ebaebe9d4d0909b3278c2ff3cd8
2012-09-24 12:33:57 -07:00
Elliott Hughes
7b0377eda0
Merge "[MIPS] Removed the unused header"
2012-09-24 12:24:01 -07:00
Raghu Gandham
d769826b0d
[MIPS] Removed the unused header
...
Change-Id: I8756a862669d4e5f283945496983f11a59dea30c
2012-09-24 11:52:00 -07:00
Elliott Hughes
d5c654c053
am 3b6914bf: Merge "Fix dlsym and dladdr to use load_bias instead of base"
...
* commit '3b6914bf04942f74e9dba43a75d5d5ae94161b95':
Fix dlsym and dladdr to use load_bias instead of base
2012-09-24 10:21:23 -07:00
Elliott Hughes
25b3416960
am f153ed38: (-s ours) am f4b34b6c: DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit 'f153ed380d94123d873d7ff04bc9b5b65f989c1d':
DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
2012-09-24 10:18:48 -07:00
Elliott Hughes
a9a1d8a5d2
am f4b34b6c: (-s ours) DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit 'f4b34b6c3942be273ad7298a40be0d312b183aab':
DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
2012-09-24 10:16:43 -07:00
Elliott Hughes
f153ed380d
am f4b34b6c: DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit 'f4b34b6c3942be273ad7298a40be0d312b183aab':
DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
2012-09-24 10:16:37 -07:00
The Android Open Source Project
7c7609f95e
am 51d270af: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '51d270af6d9e648fdec43f716833b6f69688048e':
2012-09-24 10:14:49 -07:00
Elliott Hughes
f4b34b6c39
DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
This reverts commit 3a936a4980 .
We don't want this in jb-mr1.
2012-09-24 10:13:12 -07:00
The Android Open Source Project
51d270af6d
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I933866be4d956f18dff51676c8027f807cea26d7
2012-09-24 10:11:18 -07:00
Elliott Hughes
3b6914bf04
Merge "Fix dlsym and dladdr to use load_bias instead of base"
2012-09-24 10:03:51 -07:00
Elliott Hughes
c08088376a
am 82ec6850: am 6c0e373d: am ec432608: am 0c24effd: Merge "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit '82ec685054bd14e596fcb0661c7f5c398743b4b3':
Add the libcutils localtime_tz and mktime_t extensions to bionic.
2012-09-24 09:48:35 -07:00
Elliott Hughes
9f3c0d32a4
am 6da07f02: am ecf67e15: am 2d51dddf: am 85049ead: Merge "Use hidden visibility for several internal-use-only functions."
...
* commit '6da07f02bd064cfae852df2b8ac82203432aef35':
Use hidden visibility for several internal-use-only functions.
2012-09-24 09:48:34 -07:00
Elliott Hughes
2b83e0e67e
am 0349e3d3: am d2eea0e6: am baa74eff: am 882c6af9: Merge "[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro."
...
* commit '0349e3d3ffa411ffd47f005af7f9c5585e469165':
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro.
2012-09-24 09:48:33 -07:00
Elliott Hughes
82ec685054
am 6c0e373d: am ec432608: am 0c24effd: Merge "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit '6c0e373d38a9cb424bd6d9c4d5d6168960846aa5':
Add the libcutils localtime_tz and mktime_t extensions to bionic.
2012-09-24 09:47:01 -07:00
Elliott Hughes
6da07f02bd
am ecf67e15: am 2d51dddf: am 85049ead: Merge "Use hidden visibility for several internal-use-only functions."
...
* commit 'ecf67e152aecb67bff950d72582ef54b56191096':
Use hidden visibility for several internal-use-only functions.
2012-09-24 09:46:47 -07:00
Elliott Hughes
0349e3d3ff
am d2eea0e6: am baa74eff: am 882c6af9: Merge "[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro."
...
* commit 'd2eea0e6d6d4e7c406b06d90316713482d650290':
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro.
2012-09-24 09:46:46 -07:00
Elliott Hughes
6c0e373d38
am ec432608: am 0c24effd: Merge "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit 'ec4326084ed2a717b3e318f36c2675ef033c30ff':
Add the libcutils localtime_tz and mktime_t extensions to bionic.
2012-09-24 09:40:18 -07:00
Naseer Ahmed
f9355bc5cd
am 21e0a7ee: am f7070074: bionic: Update MDP header for sync
...
* commit '21e0a7ee8bd9862452a429cef554f31e3c379903':
bionic: Update MDP header for sync
2012-09-24 09:36:43 -07:00
Naseer Ahmed
21e0a7ee8b
am f7070074: bionic: Update MDP header for sync
...
* commit 'f707007435ee4798815bd507d86b1460204cfc4f':
bionic: Update MDP header for sync
2012-09-24 09:26:33 -07:00
Elliott Hughes
ec4326084e
am 0c24effd: Merge "Add the libcutils localtime_tz and mktime_t extensions to bionic."
...
* commit '0c24effd01736e533fd082b2cf1de8926b0fe880':
Add the libcutils localtime_tz and mktime_t extensions to bionic.
2012-09-24 08:55:27 -07:00
Elliott Hughes
ecf67e152a
am 2d51dddf: am 85049ead: Merge "Use hidden visibility for several internal-use-only functions."
...
* commit '2d51dddf1a649c73f207ecf48d419fea8a8ed4de':
Use hidden visibility for several internal-use-only functions.
2012-09-24 08:52:15 -07:00
Elliott Hughes
d2eea0e6d6
am baa74eff: am 882c6af9: Merge "[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro."
...
* commit 'baa74eff0dd56b1dbf8e8a233a82e6382828ad72':
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro.
2012-09-24 08:52:14 -07:00
Elliott Hughes
2d51dddf1a
am 85049ead: Merge "Use hidden visibility for several internal-use-only functions."
...
* commit '85049ead251b0af9411ada3ad1db0f6b75f8e4a8':
Use hidden visibility for several internal-use-only functions.
2012-09-24 08:43:45 -07:00
Elliott Hughes
baa74eff0d
am 882c6af9: Merge "[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro."
...
* commit '882c6af953e5b3fd4b9f4fe74a68128ea16fba3b':
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro.
2012-09-24 08:43:44 -07:00
Elliott Hughes
0c24effd01
Merge "Add the libcutils localtime_tz and mktime_t extensions to bionic."
2012-09-24 08:41:55 -07:00
Elliott Hughes
85049ead25
Merge "Use hidden visibility for several internal-use-only functions."
2012-09-23 11:08:19 -07:00
The Android Automerger
cc95d69c25
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-22 09:41:22 -07:00
Elliott Hughes
95a7a64ac8
Use hidden visibility for several internal-use-only functions.
...
Change-Id: Ibeea6963ff0cc06479d0a3ed7e868eeece8c55a0
2012-09-21 18:27:40 -07:00
Elliott Hughes
882c6af953
Merge "[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS. Some of the required structure definitons are defined under this macro."
2012-09-21 18:20:03 -07:00
Raghu Gandham
988ff8ff9f
[MIPS] Add CONFIG_32BIT to kernel_default_arch_macros for MIPS.
...
Some of the required structure definitons are defined under this macro.
Change-Id: I7a9a986e371381697dcb56bd8ea362856ffa7509
2012-09-21 17:14:05 -07:00
Raghu Gandham
c1993cac40
Fix dlsym and dladdr to use load_bias instead of base
...
Change-Id: If0f9aa944ccb1f90451aa6674428e34494331d2d
2012-09-21 17:00:30 -07:00
The Android Automerger
e0a00a8a2c
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-21 06:59:14 -07:00
Naseer Ahmed
f707007435
bionic: Update MDP header for sync
...
Change-Id: I5e13cdc9132fd99b8072b2e0836b9a92bc54f9c3
2012-09-20 18:29:45 -07:00
Rebecca Schultz Zavin
e06f77dce0
am 27cfd6af: am a9dca773: Update ion header to add FLAG_CACHED_NEEDS_SYNC
...
* commit '27cfd6afd4039a72e3669a2ff32685e81dd455aa':
Update ion header to add FLAG_CACHED_NEEDS_SYNC
2012-09-20 15:46:02 -07:00
Rebecca Schultz Zavin
27cfd6afd4
am a9dca773: Update ion header to add FLAG_CACHED_NEEDS_SYNC
...
* commit 'a9dca77315b85f61e7386ca8dc931f79f6396531':
Update ion header to add FLAG_CACHED_NEEDS_SYNC
2012-09-20 14:00:15 -07:00
The Android Open Source Project
284de14ebb
am 0a6cbb97: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '0a6cbb97a82ac6cfc3ce3d1eaf2785f911600584':
2012-09-20 12:52:38 -07:00
The Android Open Source Project
0a6cbb97a8
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I487c32c629ef85a9aea22fb7564fd868618f56c3
2012-09-20 10:34:47 -07:00
Rebecca Schultz Zavin
a9dca77315
Update ion header to add FLAG_CACHED_NEEDS_SYNC
...
Bug: 6854979
Change-Id: Ic94c1b7b10ab750a6b4b0db83d2fb1fa073d91b9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2012-09-20 09:47:37 -07:00
Iliyan Malchev
dcc80e127c
am e5521822: am 4430aa6a: Merge "Update headers for Adreno graphics driver" into jb-mr1-dev
...
* commit 'e55218223b070d5745dc73c5593c436277c5b9c0':
Update headers for Adreno graphics driver
2012-09-19 15:18:52 -07:00
The Android Automerger
8ab03a28d0
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-19 07:01:27 -07:00
Iliyan Malchev
e55218223b
am 4430aa6a: Merge "Update headers for Adreno graphics driver" into jb-mr1-dev
...
* commit '4430aa6aaaa8e93bb7fbca761bf18540a7d95ca0':
Update headers for Adreno graphics driver
2012-09-18 20:30:06 -07:00
Iliyan Malchev
4430aa6aaa
Merge "Update headers for Adreno graphics driver" into jb-mr1-dev
2012-09-18 20:27:34 -07:00
Jeff Boody
02e06782fc
Update headers for Adreno graphics driver
...
Change-Id: Ic66de698667c8c8607b2c19712a8626a4651da7f
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-09-18 19:52:01 -07:00
Elliott Hughes
73b5a72134
am ae0bccf7: am 0ef00090: am 30289f0d: am 47dc4d43: Merge "Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326"
...
* commit 'ae0bccf7d3252900d2ef31df2c6e4515908b89ec':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 17:31:35 -07:00
Elliott Hughes
ae0bccf7d3
am 0ef00090: am 30289f0d: am 47dc4d43: Merge "Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326"
...
* commit '0ef00090444883508b6405726150fe7e12ca5476':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 17:26:14 -07:00
Elliott Hughes
0ef0009044
am 30289f0d: am 47dc4d43: Merge "Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326"
...
* commit '30289f0dd6ab644290bfb37b22b03b7d006628f4':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 17:18:39 -07:00
Elliott Hughes
30289f0dd6
am 47dc4d43: Merge "Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326"
...
* commit '47dc4d431017e701239dd7d9a16333e0ad56a0ac':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 17:13:15 -07:00
Elliott Hughes
47dc4d4310
Merge "Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326"
2012-09-18 16:56:45 -07:00
Dave Burke
88f1ea8f82
Make pthread_create more forgiving of invalid sched_policy.
...
Bug: 7005326
(cherry-pick of e58303249b9e799a4fe84c5a2dfe71518441a6ec.)
Change-Id: Ie81494e0f6a71caa6fd9fabbcfc47a23077554d6
2012-09-18 16:55:24 -07:00
The Android Automerger
4513ad77ef
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-18 06:59:21 -07:00
Dave Burke
5c5b720d81
am baa09d1e: am e5830324: Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
...
* commit 'baa09d1e0a408d410fc5a834fe9c283ae589ff13':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 00:10:52 -07:00
Dave Burke
baa09d1e0a
am e5830324: Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
...
* commit 'e58303249b9e799a4fe84c5a2dfe71518441a6ec':
Make pthread_create more forgiving of invalid sched_policy. Bug: 7005326
2012-09-18 00:05:21 -07:00
Dave Burke
e58303249b
Make pthread_create more forgiving of invalid sched_policy.
...
Bug: 7005326
Change-Id: I4e33d8e7d70fbfcf8a1bcc0e4c33279b42092a0a
2012-09-17 21:55:24 -07:00
Elliott Hughes
41bb2eb806
am 1f1e7b70: am 2aceb4bc: am e2a17ef4: am 77ac158e: Merge "Don\'t copy strerror(3) or strsignal(3) strings if we can share."
...
* commit '1f1e7b70b7e37039ce53aed8b1b651c8692347e7':
Don't copy strerror(3) or strsignal(3) strings if we can share.
2012-09-17 16:00:07 -07:00
Elliott Hughes
1f1e7b70b7
am 2aceb4bc: am e2a17ef4: am 77ac158e: Merge "Don\'t copy strerror(3) or strsignal(3) strings if we can share."
...
* commit '2aceb4bcb30def2207fd8d6e7d30df35f9f91504':
Don't copy strerror(3) or strsignal(3) strings if we can share.
2012-09-17 15:57:46 -07:00
Elliott Hughes
2aceb4bcb3
am e2a17ef4: am 77ac158e: Merge "Don\'t copy strerror(3) or strsignal(3) strings if we can share."
...
* commit 'e2a17ef444e1d3b3e27e649440a320139038d1d9':
Don't copy strerror(3) or strsignal(3) strings if we can share.
2012-09-17 15:53:22 -07:00
Elliott Hughes
e2a17ef444
am 77ac158e: Merge "Don\'t copy strerror(3) or strsignal(3) strings if we can share."
...
* commit '77ac158e90712a975f61b7559b8de558f644f48d':
Don't copy strerror(3) or strsignal(3) strings if we can share.
2012-09-17 15:50:18 -07:00
Elliott Hughes
77ac158e90
Merge "Don't copy strerror(3) or strsignal(3) strings if we can share."
2012-09-17 15:36:27 -07:00
Elliott Hughes
4198fa4c23
Don't copy strerror(3) or strsignal(3) strings if we can share.
...
Change-Id: Ic405269f63b945c6fb347e7c4346cd6f104aff35
2012-09-17 15:23:35 -07:00
Elliott Hughes
7379f525be
am 469bd669: am 4b3ff1f0: am f8902bf7: am 047a285d: Merge "Fix <sys/klog.h> to correspond to the kernel operations."
...
* commit '469bd6692b984cfbecc96522960bb83baf7c9131':
Fix <sys/klog.h> to correspond to the kernel operations.
2012-09-17 12:45:38 -07:00
Elliott Hughes
0e4065e8c7
am e409645c: am b67d4ec5: am 950a3c01: am 51519521: Merge "Add tty defaults to bionic"
...
* commit 'e409645c9953bb11bbad116834cecaebff444009':
Add tty defaults to bionic
2012-09-17 12:45:34 -07:00
The Android Automerger
dd526b010d
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-16 06:59:15 -07:00
Elliott Hughes
469bd6692b
am 4b3ff1f0: am f8902bf7: am 047a285d: Merge "Fix <sys/klog.h> to correspond to the kernel operations."
...
* commit '4b3ff1f0fa141b95bacf52960be588c343d8e5d6':
Fix <sys/klog.h> to correspond to the kernel operations.
2012-09-14 16:23:07 -07:00
Elliott Hughes
4b3ff1f0fa
am f8902bf7: am 047a285d: Merge "Fix <sys/klog.h> to correspond to the kernel operations."
...
* commit 'f8902bf7079be1a7ad51b82ebb24556ff40a1fff':
Fix <sys/klog.h> to correspond to the kernel operations.
2012-09-14 16:21:18 -07:00
Elliott Hughes
f8902bf707
am 047a285d: Merge "Fix <sys/klog.h> to correspond to the kernel operations."
...
* commit '047a285d41e3fe0b1a8071ec19f436baf6f187b2':
Fix <sys/klog.h> to correspond to the kernel operations.
2012-09-14 16:18:00 -07:00
Elliott Hughes
047a285d41
Merge "Fix <sys/klog.h> to correspond to the kernel operations."
2012-09-14 16:14:48 -07:00
Elliott Hughes
e409645c99
am b67d4ec5: am 950a3c01: am 51519521: Merge "Add tty defaults to bionic"
...
* commit 'b67d4ec5babf7d26bc0e52b942779012d14e14c8':
Add tty defaults to bionic
2012-09-14 16:06:15 -07:00
Elliott Hughes
b67d4ec5ba
am 950a3c01: am 51519521: Merge "Add tty defaults to bionic"
...
* commit '950a3c010cfbb18bb5974a78040ab9946370e553':
Add tty defaults to bionic
2012-09-14 16:04:30 -07:00
Elliott Hughes
950a3c010c
am 51519521: Merge "Add tty defaults to bionic"
...
* commit '51519521979c2daa417f6ca50c175e631c55dfb0':
Add tty defaults to bionic
2012-09-14 16:01:19 -07:00
Elliott Hughes
5151952197
Merge "Add tty defaults to bionic"
2012-09-14 15:45:46 -07:00
Elliott Hughes
e249b05963
Fix <sys/klog.h> to correspond to the kernel operations.
...
This makes the constants correspond to those in the Linux kernel's
include/linux/syslog.h, but keeping our old badly-named constants for
source compatibility.
Change-Id: Ia47d1299205754cbfffd29ed48b497b53d1edaae
2012-09-14 15:42:30 -07:00
Elliott Hughes
62466a55bf
am 7e9d6d8a: am b2af8b68: am 66a97ea9: am 4e9d953a: Merge "libc: add ftw / nftw functions"
...
* commit '7e9d6d8abba781992b1f55f36e02b2baae368d07':
libc: add ftw / nftw functions
2012-09-14 10:28:47 -07:00
Elliott Hughes
cd1fb029eb
am c9134074: am 1eaa3e6f: am 77fd7075: am e895e6de: Merge "Update libc/NOTICE and record the incantation."
...
* commit 'c91340749015c4d7e35bd377f9103a340ef65c6a':
Update libc/NOTICE and record the incantation.
2012-09-14 10:28:46 -07:00
Kenny Root
07ab5cbbed
am c01915fd: am 2b270a0c: am a4ea1a3d: am f7e403d6: Merge changes I06ee0b67,I914d2205
...
* commit 'c01915fd04dc352c77d4e2a0fbc906b515d2533c':
Print out shared app gids correctly
Add tests for Android-specific stubs
2012-09-14 10:28:05 -07:00
Elliott Hughes
6a163a1bf1
am c9829a2b: am 155a70b9: am de9db8f7: am fa36875d: Merge "Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3)."
...
* commit 'c9829a2b6fb70f2eb0fc6a21f48546c66d9724c7':
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3).
2012-09-14 10:28:04 -07:00
Elliott Hughes
8631744c49
am 953dbbda: am c7fda6a9: am d4623e56: am b338ea30: Merge "Upgrade to tzdata2012f."
...
* commit '953dbbda49c9a46e5b1b8d78a643c44eb1426d0e':
Upgrade to tzdata2012f.
2012-09-14 10:28:03 -07:00
The Android Automerger
9d1defbf47
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-14 07:11:00 -07:00
Elliott Hughes
7e9d6d8abb
am b2af8b68: am 66a97ea9: am 4e9d953a: Merge "libc: add ftw / nftw functions"
...
* commit 'b2af8b6848bfd5dbc6dbc10a8267b0e387780888':
libc: add ftw / nftw functions
2012-09-13 17:13:57 -07:00
Elliott Hughes
c913407490
am 1eaa3e6f: am 77fd7075: am e895e6de: Merge "Update libc/NOTICE and record the incantation."
...
* commit '1eaa3e6f72bd20eeea64bb3f46d965658695dade':
Update libc/NOTICE and record the incantation.
2012-09-13 17:13:56 -07:00
Elliott Hughes
b2af8b6848
am 66a97ea9: am 4e9d953a: Merge "libc: add ftw / nftw functions"
...
* commit '66a97ea9fbc96c8ebf7f9aae8c2512ec3ffbdb80':
libc: add ftw / nftw functions
2012-09-13 17:12:40 -07:00
Elliott Hughes
1eaa3e6f72
am 77fd7075: am e895e6de: Merge "Update libc/NOTICE and record the incantation."
...
* commit '77fd70758ae579aadf153124f7c26494e4a54988':
Update libc/NOTICE and record the incantation.
2012-09-13 17:12:39 -07:00
Elliott Hughes
66a97ea9fb
am 4e9d953a: Merge "libc: add ftw / nftw functions"
...
* commit '4e9d953a0e9334c0f3519f470b97973c31da5bb6':
libc: add ftw / nftw functions
2012-09-13 17:09:51 -07:00
Elliott Hughes
77fd70758a
am e895e6de: Merge "Update libc/NOTICE and record the incantation."
...
* commit 'e895e6deaab620f874b3e9f196eb6b67f58dc278':
Update libc/NOTICE and record the incantation.
2012-09-13 17:09:50 -07:00
Elliott Hughes
4e9d953a0e
Merge "libc: add ftw / nftw functions"
2012-09-13 16:55:39 -07:00
Nick Kralevich
5e58ea07d4
libc: add ftw / nftw functions
...
Please see "man 3 ftw" for a description of the
ftw / nftw functions.
This code is taken directly from netbsd unmodified.
Change-Id: Ia4879ac57212b424adf5281b5e92858e216d0f14
2012-09-13 16:54:57 -07:00
Elliott Hughes
e895e6deaa
Merge "Update libc/NOTICE and record the incantation."
2012-09-13 16:52:35 -07:00
Elliott Hughes
965b867512
Update libc/NOTICE and record the incantation.
...
Change-Id: I0673d6263de2c5a21cd549f18c0648d0fa4bb40f
2012-09-13 16:51:57 -07:00
Kenny Root
c01915fd04
am 2b270a0c: am a4ea1a3d: am f7e403d6: Merge changes I06ee0b67,I914d2205
...
* commit '2b270a0caceaf79a799a55fc29fe43b6f0482ba9':
Print out shared app gids correctly
Add tests for Android-specific stubs
2012-09-13 15:36:06 -07:00
Elliott Hughes
c9829a2b6f
am 155a70b9: am de9db8f7: am fa36875d: Merge "Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3)."
...
* commit '155a70b93fcccf8e5dec108fb730e25471eaecba':
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3).
2012-09-13 15:36:05 -07:00
Elliott Hughes
953dbbda49
am c7fda6a9: am d4623e56: am b338ea30: Merge "Upgrade to tzdata2012f."
...
* commit 'c7fda6a96daeb6d089f3d8f4426b6fc211017289':
Upgrade to tzdata2012f.
2012-09-13 15:36:03 -07:00
Kenny Root
2b270a0cac
am a4ea1a3d: am f7e403d6: Merge changes I06ee0b67,I914d2205
...
* commit 'a4ea1a3d2e12f8b240a70d90ddf1f54af06c286c':
Print out shared app gids correctly
Add tests for Android-specific stubs
2012-09-13 15:33:57 -07:00
Elliott Hughes
155a70b93f
am de9db8f7: am fa36875d: Merge "Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3)."
...
* commit 'de9db8f7efb10cdab1c81f1d3164f3b55e5f08e9':
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3).
2012-09-13 15:33:57 -07:00
Elliott Hughes
c7fda6a96d
am d4623e56: am b338ea30: Merge "Upgrade to tzdata2012f."
...
* commit 'd4623e56fb61b38e2c436f214a1282252908b93b':
Upgrade to tzdata2012f.
2012-09-13 15:33:56 -07:00
Kenny Root
a4ea1a3d2e
am f7e403d6: Merge changes I06ee0b67,I914d2205
...
* commit 'f7e403d66355faed93bb1472f6961acd380796d1':
Print out shared app gids correctly
Add tests for Android-specific stubs
2012-09-13 15:30:35 -07:00
Elliott Hughes
de9db8f7ef
am fa36875d: Merge "Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3)."
...
* commit 'fa36875df423af968d053c584c0de18a2448516b':
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3).
2012-09-13 15:30:34 -07:00
Elliott Hughes
d4623e56fb
am b338ea30: Merge "Upgrade to tzdata2012f."
...
* commit 'b338ea30b299099a2b26a4e8a6b2ccd7bfac631a':
Upgrade to tzdata2012f.
2012-09-13 15:30:33 -07:00
Kenny Root
f7e403d663
Merge changes I06ee0b67,I914d2205
...
* changes:
Print out shared app gids correctly
Add tests for Android-specific stubs
2012-09-13 15:26:13 -07:00
Kenny Root
8a05a01de7
Print out shared app gids correctly
...
For applications that share resources across users such as
forward-locked applications, print out their group name correctly.
Change-Id: I06ee0b67e4325cfa415ffd7a03e301700399a66d
2012-09-13 15:25:09 -07:00
Kenny Root
2a54e5ecd0
Add tests for Android-specific stubs
...
Also fix problem with multi-user IDs that the home directory was
returned as "/data" instead of "/" unlike all the other uids.
Change-Id: I914d22052e5a86552989f8969b85aadbc748c65d
2012-09-13 15:25:09 -07:00
Elliott Hughes
fa36875df4
Merge "Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3)."
2012-09-13 15:19:37 -07:00
Irina Tirdea
b5f053b5a7
Make strerror(3) and strsignal(3) thread-safe, and add psignal(3) and psiginfo(3).
...
Change-Id: I426109db25e907980d6cb3a7a695796e45783b78
2012-09-13 15:18:21 -07:00
Elliott Hughes
b338ea30b2
Merge "Upgrade to tzdata2012f."
2012-09-13 15:15:09 -07:00
Elliott Hughes
88b61cb691
Upgrade to tzdata2012f.
...
This release reflects the following change circulated on the tz
mailing list:
* australasia (Pacific/Fiji): Fiji DST is October 21 through January
20 this year. (Thanks to Steffen Thorsen.)
Change-Id: Ie21ea791ff5191264967aff685cbfa5c73f1fa5c
2012-09-13 14:54:51 -07:00
Elliott Hughes
4aebbf63c3
am 3d019017: am bec648ee: am 8db4b91b: am d2236e2c: Merge "Fix Mac build."
...
* commit '3d0190177469a8a25895117fc41625cd22e2fb28':
Fix Mac build.
2012-09-13 14:12:31 -07:00
Elliott Hughes
ce061964f7
am c005a55c: am 478f8ff3: am b2550dd4: am 4a9b7c69: Merge "Add libdl into libc_malloc_debug_leak build"
...
* commit 'c005a55c74105c4eed8e2b0ba68ce0bfd67ccffe':
Add libdl into libc_malloc_debug_leak build
2012-09-13 14:12:02 -07:00
Elliott Hughes
9f7d6840da
am 00f927f1: am 29861b5d: am 58d15966: am af4d630e: Merge "Added new test for dlopen which is failing for MIPS."
...
* commit '00f927f137b553caa19fdc62497c012a1cb95f88':
Added new test for dlopen which is failing for MIPS.
2012-09-13 14:12:01 -07:00
Elliott Hughes
3d01901774
am bec648ee: am 8db4b91b: am d2236e2c: Merge "Fix Mac build."
...
* commit 'bec648ee9f47c4120e5a4f82c7f0e6d225cb107f':
Fix Mac build.
2012-09-13 11:14:23 -07:00
Elliott Hughes
bec648ee9f
am 8db4b91b: am d2236e2c: Merge "Fix Mac build."
...
* commit '8db4b91bd2a069b2afb377f7e5190f625c3002cf':
Fix Mac build.
2012-09-13 11:11:54 -07:00
Elliott Hughes
8db4b91bd2
am d2236e2c: Merge "Fix Mac build."
...
* commit 'd2236e2c0717818e150215b4eee7af58cd3540d8':
Fix Mac build.
2012-09-13 11:09:49 -07:00
Elliott Hughes
d2236e2c07
Merge "Fix Mac build."
2012-09-13 11:02:22 -07:00
Elliott Hughes
38bfa21695
Fix Mac build.
...
Change-Id: Id625806fab0f2f7f90f9508c5fce649afe970414
2012-09-13 11:01:46 -07:00
Elliott Hughes
c005a55c74
am 478f8ff3: am b2550dd4: am 4a9b7c69: Merge "Add libdl into libc_malloc_debug_leak build"
...
* commit '478f8ff3f0bd0b805702eb1f90bd03eef6d19e89':
Add libdl into libc_malloc_debug_leak build
2012-09-13 09:54:31 -07:00
Elliott Hughes
00f927f137
am 29861b5d: am 58d15966: am af4d630e: Merge "Added new test for dlopen which is failing for MIPS."
...
* commit '29861b5d8edf9506acd2289fb5b993b9a7997a59':
Added new test for dlopen which is failing for MIPS.
2012-09-13 09:54:30 -07:00
Elliott Hughes
478f8ff3f0
am b2550dd4: am 4a9b7c69: Merge "Add libdl into libc_malloc_debug_leak build"
...
* commit 'b2550dd4c85845974bf61d3e4071b2b957fbcf09':
Add libdl into libc_malloc_debug_leak build
2012-09-13 09:52:38 -07:00
Elliott Hughes
29861b5d8e
am 58d15966: am af4d630e: Merge "Added new test for dlopen which is failing for MIPS."
...
* commit '58d15966c8f95998f82a90a5b24e23d56ba6254f':
Added new test for dlopen which is failing for MIPS.
2012-09-13 09:52:37 -07:00
Elliott Hughes
b2550dd4c8
am 4a9b7c69: Merge "Add libdl into libc_malloc_debug_leak build"
...
* commit '4a9b7c694a8312160d3cd953a8227c23a1624868':
Add libdl into libc_malloc_debug_leak build
2012-09-13 09:47:52 -07:00
Elliott Hughes
58d15966c8
am af4d630e: Merge "Added new test for dlopen which is failing for MIPS."
...
* commit 'af4d630e4d87dca38cc2026b992bb50c49911db9':
Added new test for dlopen which is failing for MIPS.
2012-09-13 09:47:51 -07:00
Elliott Hughes
4a9b7c694a
Merge "Add libdl into libc_malloc_debug_leak build"
2012-09-13 09:46:31 -07:00
Elliott Hughes
af4d630e4d
Merge "Added new test for dlopen which is failing for MIPS."
2012-09-13 09:42:50 -07:00
The Android Automerger
f238e06d3a
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-13 06:59:18 -07:00
Elliott Hughes
9a78257905
am cf57515f: am f801cf55: resolved conflicts for merge of 47bda0c2 to jb-mr1-dev
...
* commit 'cf57515f7070539d560640247df6941a360fcff9':
Update the kernel headers to match external/kernel-headers.
2012-09-13 03:21:42 -07:00
Xiaokang Qin
9c3449ecd9
bionic: linker: Need update the map->l_addr for execution.
...
Currently, linker doesn't update the map->l_addr for execution.
Which could break the Unwind_Backtrace with PT_GNU_EH_FRAME enabled
in new toolchain.
Change-Id: Ifbd853134da64a962f7e4c4105e56a3f20def1b2
Author: Fengwei Yin <fengwei.yin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Author-tracking-BZ: 57077
2012-09-13 18:09:20 +08:00
Pavel Chupin
e007775f4b
Add libdl into libc_malloc_debug_leak build
...
Otherwise libc_malloc_debug_leak.so is failed to load runtime in x86
case
Change-Id: I8207ce06d1ec17b233f4e4fcfdd2b161673b4fa8
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2012-09-13 12:03:06 +04:00
jeffhao
acf5aa76a5
Added new test for dlopen which is failing for MIPS.
...
Change-Id: I2240faefb387a11647f49b1a15699907a40f98c1
2012-09-12 19:19:13 -07:00
Elliott Hughes
218c7f5dbe
am 7f598671: am ccd7ee62: am 90ae787b: am 666d06fe: Merge "Backwards and forwards compatibility for an upcoming <sys/socket.h> change."
...
* commit '7f59867170653a62fb1fbce91bca5f4673be065d':
Backwards and forwards compatibility for an upcoming <sys/socket.h> change.
2012-09-12 17:02:36 -07:00
The Android Open Source Project
b8ceb988ea
am 76a3777a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '76a3777a4d6c3233ba2935828371abd3fbbac843':
2012-09-12 16:58:49 -07:00
Elliott Hughes
cf57515f70
am f801cf55: resolved conflicts for merge of 47bda0c2 to jb-mr1-dev
...
* commit 'f801cf55bebc8d0d397fbe6db8cc91b3afb78149':
Update the kernel headers to match external/kernel-headers.
2012-09-12 16:11:21 -07:00
Elliott Hughes
f801cf55be
resolved conflicts for merge of 47bda0c2 to jb-mr1-dev
...
Change-Id: Ia1969c79111c006bde709920254a515646c20aa7
2012-09-12 16:08:14 -07:00
Elliott Hughes
47bda0c293
am 7593fa8e: Merge "Update the kernel headers to match external/kernel-headers."
...
* commit '7593fa8eb7d8c3950a069e5edd244fb68872ec17':
Update the kernel headers to match external/kernel-headers.
2012-09-12 15:59:29 -07:00
Elliott Hughes
7593fa8eb7
Merge "Update the kernel headers to match external/kernel-headers."
2012-09-12 15:56:11 -07:00
Elliott Hughes
e290cd1606
am 68221a76: am cc0f2253: am 7f798147: am cc8668f2: Merge "[MIPS] Check error status from pipe system call"
...
* commit '68221a76b7ecfe5ed5d43d76eb3b7a505bf83c0d':
[MIPS] Check error status from pipe system call
2012-09-12 15:35:00 -07:00
Elliott Hughes
86ec05acc9
Update the kernel headers to match external/kernel-headers.
...
Note that the Linux kernel handed over responsibility for most of the
socket constants to glibc some time ago. Someone had updated our
external/kernel-headers file but not regenerated the bionic headers,
so this change copies the missing stuff from the old bionic <linux/socket.h>
into <sys/socket.h>. This is what glibc does.
I've hacked a few of the other files to #include <sys/socket.h> for
backward compatibility, but even so this requires numerous other
changes to switch people over from direct inclusion of <linux/...> headers.
Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
2012-09-12 12:30:22 -07:00
Elliott Hughes
7f59867170
am ccd7ee62: am 90ae787b: am 666d06fe: Merge "Backwards and forwards compatibility for an upcoming <sys/socket.h> change."
...
* commit 'ccd7ee624a81d61675fa08e149fe190a317341eb':
Backwards and forwards compatibility for an upcoming <sys/socket.h> change.
2012-09-12 11:08:30 -07:00
Elliott Hughes
ccd7ee624a
am 90ae787b: am 666d06fe: Merge "Backwards and forwards compatibility for an upcoming <sys/socket.h> change."
...
* commit '90ae787b30890dc7d0f5d95b67ea5578d53bd61e':
Backwards and forwards compatibility for an upcoming <sys/socket.h> change.
2012-09-12 11:07:12 -07:00
Elliott Hughes
90ae787b30
am 666d06fe: Merge "Backwards and forwards compatibility for an upcoming <sys/socket.h> change."
...
* commit '666d06fee9e1d2e1401a4b42d94d01e8f38ad1a5':
Backwards and forwards compatibility for an upcoming <sys/socket.h> change.
2012-09-12 11:03:24 -07:00
Elliott Hughes
666d06fee9
Merge "Backwards and forwards compatibility for an upcoming <sys/socket.h> change."
2012-09-12 10:51:48 -07:00
Elliott Hughes
0d207ba624
Backwards and forwards compatibility for an upcoming <sys/socket.h> change.
...
Change-Id: Iba58077a1f057a968eb2283ebba259975925ff4c
2012-09-12 10:51:05 -07:00
The Android Open Source Project
76a3777a4d
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I1cd7d82959c5e821c23be974b7eb9d4914593bef
2012-09-12 07:39:34 -07:00
The Android Automerger
5766b0932f
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-12 06:59:18 -07:00
Elliott Hughes
68221a76b7
am cc0f2253: am 7f798147: am cc8668f2: Merge "[MIPS] Check error status from pipe system call"
...
* commit 'cc0f225365d7103baaba80517850489a5ff17d89':
[MIPS] Check error status from pipe system call
2012-09-11 16:48:50 -07:00
Elliott Hughes
cc0f225365
am 7f798147: am cc8668f2: Merge "[MIPS] Check error status from pipe system call"
...
* commit '7f798147980798718ac893229ae20dba9e3a26c7':
[MIPS] Check error status from pipe system call
2012-09-11 16:47:25 -07:00
Elliott Hughes
7f79814798
am cc8668f2: Merge "[MIPS] Check error status from pipe system call"
...
* commit 'cc8668f261ae5d0ed38961f357e33c026502ed0d':
[MIPS] Check error status from pipe system call
2012-09-11 16:43:39 -07:00
Elliott Hughes
cc8668f261
Merge "[MIPS] Check error status from pipe system call"
2012-09-11 16:38:43 -07:00
KwongYuan Wong
b03bc56b79
[MIPS] Check error status from pipe system call
...
Change-Id: Iaaea0e826c2678aa7f6fad9d46b16302a4d3b876
2012-09-11 16:38:04 -07:00
Irina Tirdea
e77e1afe24
Add tty defaults to bionic
...
Add ttydefaults.h bionic. Some userspace programs (e.g. perf) need the
definitions from this file. This header file is copied from NetBSD
(http://netbsd.org/ ) under the NetBSD Foundation's (TNF) license (“2 clause”
Berkeley-style license).
Change-Id: I9c862415b52b710f25adb1629a699627cd715775
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com >
2012-09-11 22:47:31 +03:00
Elliott Hughes
3a936a4980
Add the libcutils localtime_tz and mktime_t extensions to bionic.
...
Bug: 7012465
Change-Id: Ib66f061e29199ba134545111dc79f9b50c8f4a21
2012-09-11 11:15:53 -07:00
The Android Automerger
49b5eb4ded
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-11 06:59:14 -07:00
Elliott Hughes
20599f5c9e
am eeabbaee: am f50b99f4: am e8b4d67a: am 59726bed: Merge "Rename crtstart variables as crtbegin, to match reality."
...
* commit 'eeabbaee88202a459ec381edc45c0995bdcfa3c8':
Rename crtstart variables as crtbegin, to match reality.
2012-09-10 17:15:10 -07:00
Ying Wang
62fd0b699a
am 33d552a4: am e3738414: am f9920563: am 67546bf2: Merge "Generate header dependency makefiles for the crt*.o"
...
* commit '33d552a4d1c766aeb99c71060aa091e7aafaaac9':
Generate header dependency makefiles for the crt*.o
2012-09-10 17:14:10 -07:00
Elliott Hughes
d203fba8f0
am 934e18e7: am af4371b4: am 56ba6336: am f1d57e16: Merge "Add more pthreads tests."
...
* commit '934e18e715b0f6627f258d6fc8dc9406f39705f6':
Add more pthreads tests.
2012-09-10 17:09:54 -07:00
Elliott Hughes
b3cbcb3547
am 5804b88a: am b0102454: am 7c7a7f8e: am d10309c3: Merge "Rename __dso_handle_so.c to __dso_handle_so.h"
...
* commit '5804b88a44c153fa1b39dd3095be9e905d77cee0':
Rename __dso_handle_so.c to __dso_handle_so.h
2012-09-10 17:05:15 -07:00
Elliott Hughes
b35a90d682
am ffcb92e7: am b18d4f63: am 72fcdbe9: am 691ef3c8: Merge "Add mlockall and munlockall for Google TV."
...
* commit 'ffcb92e779b347b3725e560aa3aabd122a4dbd62':
Add mlockall and munlockall for Google TV.
2012-09-10 17:05:14 -07:00
Elliott Hughes
eeabbaee88
am f50b99f4: am e8b4d67a: am 59726bed: Merge "Rename crtstart variables as crtbegin, to match reality."
...
* commit 'f50b99f471a9af07b2dec6ac3fe1abca5ba9a20b':
Rename crtstart variables as crtbegin, to match reality.
2012-09-10 12:06:50 -07:00
Elliott Hughes
f50b99f471
am e8b4d67a: am 59726bed: Merge "Rename crtstart variables as crtbegin, to match reality."
...
* commit 'e8b4d67a37e27ffc34086562ad13dcd9316a8249':
Rename crtstart variables as crtbegin, to match reality.
2012-09-10 12:04:28 -07:00
Elliott Hughes
e8b4d67a37
am 59726bed: Merge "Rename crtstart variables as crtbegin, to match reality."
...
* commit '59726beda5bec7e3db9d0c403a0ef11d0a7f182f':
Rename crtstart variables as crtbegin, to match reality.
2012-09-10 12:01:04 -07:00
Elliott Hughes
59726beda5
Merge "Rename crtstart variables as crtbegin, to match reality."
2012-09-10 11:52:12 -07:00
Elliott Hughes
12949e5d39
Rename crtstart variables as crtbegin, to match reality.
...
No functional change, but it's confusing that the variable
names don't match the filenames.
Change-Id: I7109f917797be2f056e69fddb92e4a7306281813
2012-09-10 11:16:12 -07:00
Ying Wang
33d552a4d1
am e3738414: am f9920563: am 67546bf2: Merge "Generate header dependency makefiles for the crt*.o"
...
* commit 'e3738414a62f9c9b43e158af590d127b9659030d':
Generate header dependency makefiles for the crt*.o
2012-09-10 10:09:13 -07:00
Ying Wang
e3738414a6
am f9920563: am 67546bf2: Merge "Generate header dependency makefiles for the crt*.o"
...
* commit 'f9920563dabc21a5c741ef630e6ca8fe66fbbe5b':
Generate header dependency makefiles for the crt*.o
2012-09-10 10:07:17 -07:00
Ying Wang
f9920563da
am 67546bf2: Merge "Generate header dependency makefiles for the crt*.o"
...
* commit '67546bf209b2c5480aa4811b2bb3c42e7862af62':
Generate header dependency makefiles for the crt*.o
2012-09-10 10:05:14 -07:00
Ying Wang
67546bf209
Merge "Generate header dependency makefiles for the crt*.o"
2012-09-10 09:48:46 -07:00
The Android Automerger
9209fd3868
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-09 06:59:39 -07:00
Elliott Hughes
934e18e715
am af4371b4: am 56ba6336: am f1d57e16: Merge "Add more pthreads tests."
...
* commit 'af4371b46b71116bd40b6ef1eb32fdfc301a38e9':
Add more pthreads tests.
2012-09-07 20:36:20 -07:00
Elliott Hughes
af4371b46b
am 56ba6336: am f1d57e16: Merge "Add more pthreads tests."
...
* commit '56ba6336d9c07cdfb5af2324aaa52da0c8d00ef2':
Add more pthreads tests.
2012-09-07 20:35:01 -07:00
Elliott Hughes
56ba6336d9
am f1d57e16: Merge "Add more pthreads tests."
...
* commit 'f1d57e16686153b69a27c1eb9e339c77232c0edd':
Add more pthreads tests.
2012-09-07 18:38:41 -07:00
Elliott Hughes
f1d57e1668
Merge "Add more pthreads tests."
2012-09-07 18:30:18 -07:00
Ying Wang
cf464878ef
Generate header dependency makefiles for the crt*.o
...
Bug: 7127743
Change-Id: I606e5f7cd2b513f855a1fefd2b001abd365fc854
2012-09-07 17:13:37 -07:00
Elliott Hughes
4d014e15b4
Add more pthreads tests.
...
Someone reported a bug if pthread_detach is called while a pthread_join is
already in progress, but I'm unable to reproduce it. Keep the tests I wrote,
though.
Change-Id: I3d71450bbbb5345f2cb213dc56310ec020d528cc
2012-09-07 16:47:54 -07:00
Elliott Hughes
5804b88a44
am b0102454: am 7c7a7f8e: am d10309c3: Merge "Rename __dso_handle_so.c to __dso_handle_so.h"
...
* commit 'b010245490f50601b13ee17238e31162b6143d71':
Rename __dso_handle_so.c to __dso_handle_so.h
2012-09-07 11:11:35 -07:00
Elliott Hughes
ffcb92e779
am b18d4f63: am 72fcdbe9: am 691ef3c8: Merge "Add mlockall and munlockall for Google TV."
...
* commit 'b18d4f6361c4ae011c7661da46ad0501eecba591':
Add mlockall and munlockall for Google TV.
2012-09-07 11:11:34 -07:00
Elliott Hughes
b010245490
am 7c7a7f8e: am d10309c3: Merge "Rename __dso_handle_so.c to __dso_handle_so.h"
...
* commit '7c7a7f8e526518f37eae3ce2a785344316f263e0':
Rename __dso_handle_so.c to __dso_handle_so.h
2012-09-07 11:09:23 -07:00
Elliott Hughes
b18d4f6361
am 72fcdbe9: am 691ef3c8: Merge "Add mlockall and munlockall for Google TV."
...
* commit '72fcdbe9025b0405251c17eb391f326e03bf92ef':
Add mlockall and munlockall for Google TV.
2012-09-07 11:09:23 -07:00
Elliott Hughes
7c7a7f8e52
am d10309c3: Merge "Rename __dso_handle_so.c to __dso_handle_so.h"
...
* commit 'd10309c36b93176a473baeeddef6f3fba8bf0678':
Rename __dso_handle_so.c to __dso_handle_so.h
2012-09-07 11:07:13 -07:00
Elliott Hughes
72fcdbe902
am 691ef3c8: Merge "Add mlockall and munlockall for Google TV."
...
* commit '691ef3c80b4af278aa90d6e005ba42de1e52c140':
Add mlockall and munlockall for Google TV.
2012-09-07 11:07:10 -07:00
Elliott Hughes
d10309c36b
Merge "Rename __dso_handle_so.c to __dso_handle_so.h"
2012-09-07 10:59:20 -07:00
Elliott Hughes
691ef3c80b
Merge "Add mlockall and munlockall for Google TV."
2012-09-07 10:51:49 -07:00
Andrew Hsieh
048569be54
Rename __dso_handle_so.c to __dso_handle_so.h
...
Also chang libc/arch-arm/bionic/crtbegin_so.c to include it
as a header.
Change-Id: Ib91b0b8caf5c8b936425aa8a4fc1a229b2b27929
2012-09-07 12:49:41 +08:00
Ian Rogers
593315c327
am e9859df7: am 973bf681: am 77039d34: am e8f81547: Merge "Fix build warning of initialization but no use."
...
* commit 'e9859df7cc57f761a4b9457b4d55ecff33bfdc8b':
Fix build warning of initialization but no use.
2012-09-06 11:54:48 -07:00
Ian Rogers
e9859df7cc
am 973bf681: am 77039d34: am e8f81547: Merge "Fix build warning of initialization but no use."
...
* commit '973bf681b74d418704202cbfefef5d3be031b066':
Fix build warning of initialization but no use.
2012-09-06 11:52:24 -07:00
Ian Rogers
973bf681b7
am 77039d34: am e8f81547: Merge "Fix build warning of initialization but no use."
...
* commit '77039d34449e369b9425a36eaed38d41b9d20884':
Fix build warning of initialization but no use.
2012-09-06 11:50:22 -07:00
Ian Rogers
77039d3444
am e8f81547: Merge "Fix build warning of initialization but no use."
...
* commit 'e8f815473ba463b875cea757bc0a52fc32f10748':
Fix build warning of initialization but no use.
2012-09-06 11:45:54 -07:00
Ian Rogers
e8f815473b
Merge "Fix build warning of initialization but no use."
2012-09-06 11:41:52 -07:00
Elliott Hughes
1ad05db9ce
Add mlockall and munlockall for Google TV.
...
Change-Id: I10e961d701e74aab07211ec7975f61167e387853
2012-09-06 11:24:45 -07:00
Elliott Hughes
f28d8d7042
am 684669df: am de0dc251: am 41ff8b98: am 6e3b0f2d: Merge "Don\'t corrupt the thread list in static executables."
...
* commit '684669dfd7fdefa1e0f45e91667af628d3742429':
Don't corrupt the thread list in static executables.
2012-09-06 10:48:52 -07:00
Elliott Hughes
684669dfd7
am de0dc251: am 41ff8b98: am 6e3b0f2d: Merge "Don\'t corrupt the thread list in static executables."
...
* commit 'de0dc251120e03622d89d7af2ce44530d665e065':
Don't corrupt the thread list in static executables.
2012-09-06 10:46:41 -07:00
Elliott Hughes
de0dc25112
am 41ff8b98: am 6e3b0f2d: Merge "Don\'t corrupt the thread list in static executables."
...
* commit '41ff8b98044de19d6ea5228452c2d555c4224da7':
Don't corrupt the thread list in static executables.
2012-09-06 10:44:13 -07:00
Elliott Hughes
41ff8b9804
am 6e3b0f2d: Merge "Don\'t corrupt the thread list in static executables."
...
* commit '6e3b0f2d2e89a8f3bbfc5d26dcdc13233c1111ba':
Don't corrupt the thread list in static executables.
2012-09-06 10:40:43 -07:00
Elliott Hughes
6e3b0f2d2e
Merge "Don't corrupt the thread list in static executables."
2012-09-06 10:31:52 -07:00
Ian Rogers
09f76cdd9b
Fix build warning of initialization but no use.
...
first_run is only used with LOCK_AT_FORK, however, care needs to be
taken with the #if to avoid compiler warnings when LOCK_AT_FORK isn't
being used.
Change-Id: I6bcfac2ab8732c91607f4a1bcd7c0019f29c2eec
2012-09-06 09:59:13 -07:00
The Android Open Source Project
c99828169b
am c0ee1171: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'c0ee117170e9a8976ffd2afc99bce8f1242cefd1':
Revert "Update ion header"
:Revert "Update ion header"
2012-09-06 09:12:34 -07:00
The Android Open Source Project
c0ee117170
Reconcile with jb-mr1-release - do not merge
...
Change-Id: If42e786ae4ba616676fad3872f3c36f0c0be16f8
2012-09-06 07:52:32 -07:00
The Android Automerger
abce26b05a
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-06 06:33:25 -07:00
Ajay Dudani
58deb845c5
am d58928e8: am 183d0a57: Update msm_ion.h ioctls so they dont conflict with ion.h
...
* commit 'd58928e83109aeac42e2226de3ec99a91e59a695':
Update msm_ion.h ioctls so they dont conflict with ion.h
2012-09-05 21:52:04 -07:00
Ajay Dudani
d58928e831
am 183d0a57: Update msm_ion.h ioctls so they dont conflict with ion.h
...
* commit '183d0a57a292a33d92baa099b14425805a94306d':
Update msm_ion.h ioctls so they dont conflict with ion.h
2012-09-05 21:49:44 -07:00
Ajay Dudani
1c24c54840
am bf3da78e: am 85811fc7: Revert "msm_ion: switch to using legacy_ion.h"
...
* commit 'bf3da78e690524414a8874313638f7cf33b44424':
Revert "msm_ion: switch to using legacy_ion.h"
2012-09-05 21:47:56 -07:00
Ajay Dudani
183d0a57a2
Update msm_ion.h ioctls so they dont conflict with ion.h
...
Change-Id: Ib6ffcc147e39b3f9f2eb9a8ed403b74d99bc755f
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-09-05 21:47:32 -07:00
Ajay Dudani
457e60a2f8
am 7649d622: am dc81b447: Revert "add legacy_ion.h"
...
* commit '7649d62255f056d1520cd746ddcd6352d091f76f':
Revert "add legacy_ion.h"
2012-09-05 21:46:33 -07:00
Ajay Dudani
bf3da78e69
am 85811fc7: Revert "msm_ion: switch to using legacy_ion.h"
...
* commit '85811fc7c244c977186cff501063d5f67fb5352b':
Revert "msm_ion: switch to using legacy_ion.h"
2012-09-05 21:45:39 -07:00
Ajay Dudani
7649d62255
am dc81b447: Revert "add legacy_ion.h"
...
* commit 'dc81b44759b30a7fe0951d35f658700afd806bea':
Revert "add legacy_ion.h"
2012-09-05 21:44:13 -07:00
Ajay Dudani
85811fc7c2
Revert "msm_ion: switch to using legacy_ion.h"
...
This reverts commit 66edcd9dad .
2012-09-05 21:43:15 -07:00
Ajay Dudani
dc81b44759
Revert "add legacy_ion.h"
...
This reverts commit 5f1d206de3 .
2012-09-05 21:42:10 -07:00
Elliott Hughes
bfeab1bbe7
Don't corrupt the thread list in static executables.
...
Several previous changes conspired to make a mess of the thread list
in static binaries. This was most obvious when trying to call
pthread_key_delete(3) on the main thread.
Bug: http://code.google.com/p/android/issues/detail?id=36893
Change-Id: I2a2f553114d8fb40533c481252b410c10656da2e
2012-09-05 17:47:37 -07:00
Elliott Hughes
bc30d0a798
am 8140487f: am 2da90705: am 008f4df5: am ff4608ae: Merge "Add missing dependencies."
...
* commit '8140487f6014f83c14cecb6ecb9535bd4966a13e':
Add missing dependencies.
2012-09-05 15:22:28 -07:00
Elliott Hughes
8140487f60
am 2da90705: am 008f4df5: am ff4608ae: Merge "Add missing dependencies."
...
* commit '2da907059e187ffdcc25b15af91f912eecdcf776':
Add missing dependencies.
2012-09-05 14:57:27 -07:00
Elliott Hughes
2da907059e
am 008f4df5: am ff4608ae: Merge "Add missing dependencies."
...
* commit '008f4df5ba52ff502651da957ad8dbe149ff2ed6':
Add missing dependencies.
2012-09-05 14:55:45 -07:00
Elliott Hughes
008f4df5ba
am ff4608ae: Merge "Add missing dependencies."
...
* commit 'ff4608ae0cb78caa05b83e109fc2633682958089':
Add missing dependencies.
2012-09-05 14:51:30 -07:00
Elliott Hughes
ff4608ae0c
Merge "Add missing dependencies."
2012-09-05 14:46:15 -07:00
Elliott Hughes
2e8f4345df
Add missing dependencies.
...
Change-Id: I53c1cfb59ac7a89952a8d6b906b2b9e16a66624f
2012-09-05 14:27:17 -07:00
Elliott Hughes
db18cbdd85
am d5b14e35: am faf361a6: am 2fc3e1ef: am b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"
...
* commit 'd5b14e35521ee6a038714c42ec523dcfe183b65b':
ARM: warn about atexit() calls from legacy shared libraries
2012-09-05 10:36:09 -07:00
Elliott Hughes
d5b14e3552
am faf361a6: am 2fc3e1ef: am b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"
...
* commit 'faf361a6ac23af030268728f6eb02a3d1080a5ff':
ARM: warn about atexit() calls from legacy shared libraries
2012-09-05 10:34:23 -07:00
Elliott Hughes
faf361a6ac
am 2fc3e1ef: am b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"
...
* commit '2fc3e1efda003d9eb110c3fc08bb32f29c6e8a4b':
ARM: warn about atexit() calls from legacy shared libraries
2012-09-05 10:32:25 -07:00
Elliott Hughes
2fc3e1efda
am b2c5bd54: Merge "ARM: warn about atexit() calls from legacy shared libraries"
...
* commit 'b2c5bd543dcbbc1b2cbf7afd8b124256ce2c128e':
ARM: warn about atexit() calls from legacy shared libraries
2012-09-05 10:29:23 -07:00
Elliott Hughes
b2c5bd543d
Merge "ARM: warn about atexit() calls from legacy shared libraries"
2012-09-05 10:18:43 -07:00
Elliott Hughes
ec0d2a86b7
am 340ff83f: am ac3e35cd: am a76f2eca: am 26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"
...
* commit '340ff83f9878a478cfa4b5aaaf4260f96304c416':
ARM: make CRT_LEGACY_WORKAROUND work as intended
2012-09-05 10:06:25 -07:00
Elliott Hughes
340ff83f98
am ac3e35cd: am a76f2eca: am 26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"
...
* commit 'ac3e35cd8f1ba8133905ee3700e092efef98ab12':
ARM: make CRT_LEGACY_WORKAROUND work as intended
2012-09-05 10:03:37 -07:00
Elliott Hughes
ac3e35cd8f
am a76f2eca: am 26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"
...
* commit 'a76f2ecaa203bd8b5cc2ca157f06c0d2de66a52f':
ARM: make CRT_LEGACY_WORKAROUND work as intended
2012-09-05 10:01:48 -07:00
Elliott Hughes
a76f2ecaa2
am 26f2e4a1: Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"
...
* commit '26f2e4a1639a959513c4ff5981b4eb52757e8012':
ARM: make CRT_LEGACY_WORKAROUND work as intended
2012-09-05 09:57:15 -07:00
Elliott Hughes
26f2e4a163
Merge "ARM: make CRT_LEGACY_WORKAROUND work as intended"
2012-09-05 09:43:35 -07:00
Ian Rogers
48468f258a
am 64f4e714: am f71d757f: am 7310a1c4: am 82978cae: Merge "Avoid malloc lock while calling pthread_atfork."
...
* commit '64f4e714186ff69016abcb241fd912ed8ef8472a':
Avoid malloc lock while calling pthread_atfork.
2012-09-05 07:56:21 -07:00
Ian Rogers
64f4e71418
am f71d757f: am 7310a1c4: am 82978cae: Merge "Avoid malloc lock while calling pthread_atfork."
...
* commit 'f71d757f6eea0394654b5c07a580bf3b4d048853':
Avoid malloc lock while calling pthread_atfork.
2012-09-05 07:54:35 -07:00
Ian Rogers
f71d757f6e
am 7310a1c4: am 82978cae: Merge "Avoid malloc lock while calling pthread_atfork."
...
* commit '7310a1c4326bc875aeea2ce091a4b6558d183b2d':
Avoid malloc lock while calling pthread_atfork.
2012-09-05 07:52:12 -07:00
Ian Rogers
7310a1c432
am 82978cae: Merge "Avoid malloc lock while calling pthread_atfork."
...
* commit '82978cae4eec238a9d631d2b61b8985daa02516e':
Avoid malloc lock while calling pthread_atfork.
2012-09-05 07:48:14 -07:00
Ian Rogers
82978cae4e
Merge "Avoid malloc lock while calling pthread_atfork."
2012-09-05 07:41:32 -07:00
The Android Automerger
3a8807df34
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-05 06:33:22 -07:00
Elliott Hughes
3ee5775a0f
am 9deb460a: am ab558163: am b9f0a6eb: am be19a367: Merge "termios: add tcdrain"
...
* commit '9deb460a26b8d5f6c74b5935e35b6f419775a1e5':
termios: add tcdrain
2012-09-04 18:18:01 -07:00
Elliott Hughes
9deb460a26
am ab558163: am b9f0a6eb: am be19a367: Merge "termios: add tcdrain"
...
* commit 'ab558163a3f79834d4aa3107f4fed20bb242860b':
termios: add tcdrain
2012-09-04 18:15:48 -07:00
Elliott Hughes
ab558163a3
am b9f0a6eb: am be19a367: Merge "termios: add tcdrain"
...
* commit 'b9f0a6eb75aa8f1eec95fb5718d84cef1d0f61b8':
termios: add tcdrain
2012-09-04 18:13:50 -07:00
Elliott Hughes
b9f0a6eb75
am be19a367: Merge "termios: add tcdrain"
...
* commit 'be19a3671709879ccc0156b94f7ef7540027dc37':
termios: add tcdrain
2012-09-04 18:10:07 -07:00
Elliott Hughes
be19a36717
Merge "termios: add tcdrain"
2012-09-04 17:52:40 -07:00
Elliott Hughes
6b08ed7937
am fe7ac11a: am f34c6d77: am bc374078: am 5ff23471: Merge "Add getsid system call to bionic"
...
* commit 'fe7ac11afa1c3a64c12e7e632e12b5c853ca3d89':
Add getsid system call to bionic
2012-09-04 16:52:05 -07:00
Elliott Hughes
fe7ac11afa
am f34c6d77: am bc374078: am 5ff23471: Merge "Add getsid system call to bionic"
...
* commit 'f34c6d7796102cf33bd8887efd0ba3f70884acd9':
Add getsid system call to bionic
2012-09-04 16:49:27 -07:00
Elliott Hughes
f34c6d7796
am bc374078: am 5ff23471: Merge "Add getsid system call to bionic"
...
* commit 'bc3740787ac4108c2e0e247bc7ca2ea66329c5ab':
Add getsid system call to bionic
2012-09-04 16:47:44 -07:00
Elliott Hughes
bc3740787a
am 5ff23471: Merge "Add getsid system call to bionic"
...
* commit '5ff23471303a1b99ddc1e1751662aa45f34b5e21':
Add getsid system call to bionic
2012-09-04 16:44:54 -07:00
Elliott Hughes
5ff2347130
Merge "Add getsid system call to bionic"
2012-09-04 16:36:27 -07:00
Elliott Hughes
5f517ce256
am ad639c1d: am 877ad30f: am 507bcabb: am e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."
...
* commit 'ad639c1d2bf0c12a77c24a3247cedf86cc719d6e':
Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.
2012-09-04 16:05:33 -07:00
Elliott Hughes
ad639c1d2b
am 877ad30f: am 507bcabb: am e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."
...
* commit '877ad30fd6e8745b43063947a9220d1f1398ee02':
Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.
2012-09-04 16:03:30 -07:00
Elliott Hughes
877ad30fd6
am 507bcabb: am e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."
...
* commit '507bcabb3565d20541242ad61f987bc1a6483ba1':
Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.
2012-09-04 16:00:20 -07:00
Elliott Hughes
507bcabb35
am e03ab936: Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."
...
* commit 'e03ab936996a1a46d461cdad463d7f5bca10b051':
Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.
2012-09-04 15:56:12 -07:00
Elliott Hughes
e03ab93699
Merge "Add missing MALLOC_FAILURE_ACTION calls to dlmalloc."
2012-09-04 15:51:55 -07:00
Elliott Hughes
63deae5e4f
Add missing MALLOC_FAILURE_ACTION calls to dlmalloc.
...
Without these, sometimes malloc(3) returns NULL without setting errno.
Change-Id: I4708c3f675bf2c878ddcaf012fde7848b255826b
2012-09-04 15:42:23 -07:00
Elliott Hughes
839ae785d8
am 1d07eda8: am c0e3b9dd: am b438c54d: am 1db615b4: Merge "bionic: Fix TINY_ANDROID build"
...
* commit '1d07eda8db4a8a8986b0e2681eef0d839c9901df':
bionic: Fix TINY_ANDROID build
2012-09-04 13:53:51 -07:00
Elliott Hughes
1d07eda8db
am c0e3b9dd: am b438c54d: am 1db615b4: Merge "bionic: Fix TINY_ANDROID build"
...
* commit 'c0e3b9ddd6c7dae0a402067c79609ddefcde125b':
bionic: Fix TINY_ANDROID build
2012-09-04 13:51:57 -07:00
Elliott Hughes
c0e3b9ddd6
am b438c54d: am 1db615b4: Merge "bionic: Fix TINY_ANDROID build"
...
* commit 'b438c54d02b722a93a72ff6e834ab78053ca3add':
bionic: Fix TINY_ANDROID build
2012-09-04 13:49:41 -07:00
Elliott Hughes
b438c54d02
am 1db615b4: Merge "bionic: Fix TINY_ANDROID build"
...
* commit '1db615b4ae469c9f33dc1d88b24924ca8efc10ef':
bionic: Fix TINY_ANDROID build
2012-09-04 13:46:46 -07:00
Elliott Hughes
1db615b4ae
Merge "bionic: Fix TINY_ANDROID build"
2012-09-04 13:42:57 -07:00
Benoit Goby
5ac9eee1d3
bionic: Fix TINY_ANDROID build
...
(cherry-pick of 545d5dbbcb0dc9e44323c4f2e687a3aace75a483.)
Change-Id: Ifc91e84ffed5a3a287accabd7f08b02752688db6
2012-09-04 13:36:54 -07:00
Vitaly Wool
954923858b
termios: add tcdrain
...
Change-Id: I05c0007f7bcc6ef5295c32f86fafbf1ad31e07fa
2012-09-04 14:11:28 +02:00
The Android Automerger
2b49277d84
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-09-03 06:33:17 -07:00
Irina Tirdea
1ad10a566e
Add getsid system call to bionic
...
Add getsid() system call to bionic for
all architectures. This is needed for various tools
(e.g. perf).
Adding the getsid system call was done in 3 steps:
() add getsid system call (function name and syscall
number) to libc/SYSCALLS.TXT
() generate all necessary headers by calling
libc/tools/gensyscalls.py. This patch is adding
the generated files since the build system
does not call gensyscalls.py.
() add the system call signature to libc/include/unistd.h
Change-Id: Id69a257e13ec02e1a44085a6b217a3f19ab025b1
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com >
2012-09-03 01:38:34 +03:00
Kirill Artamonov
3e2d2936b0
Avoid malloc lock while calling pthread_atfork.
...
Expecting the memory in a forked child process to be sane wrt threading
is a bad idea. An example of a problem is when the parent process has
the malloc lock and a child process is forked. The malloc lock in the
child will appear locked by a thread that doesn't exist.
This change aims to make bionic more compatible with glibc by reseting
the malloc lock in the child forked process, as well as holding it
during the fork. This is a feature in dlmalloc 2.8.6 called
LOCK_AT_FORK. In general this feature isn't necessary as a forked
process will then exec. Some bad applications rely on being able to use
features like malloc before the exec and having multiple threads running
in the parent program. This isn't a problem with glibc and this patch
makes it not a problem for bionic.
Unfortunately for use in bionic, LOCK_AT_FORK has an issue as internally
it uses pthread_atfork that in bionic uses malloc. This leads to the
LOCK_AT_FORK initialization deadlocking with pthread_atfork's call to
malloc due to the malloc lock. This change moves the pthread_atfork logic
in LOCK_AT_FORK to be called without the malloc lock held.
Change-Id: Id68175a564a6abb936ee4488b44d9479f7311f69
2012-08-31 11:11:40 -07:00
Ian Rogers
a4e3391db2
am 5b0e2de6: am b9ad1a1e: am 6abab301: am 6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."
...
* commit '5b0e2de6aef96e10c26034d9b447208a56df82d9':
Upgrade to dlmalloc 2.8.6.
2012-08-31 09:03:23 -07:00
Ian Rogers
5b0e2de6ae
am b9ad1a1e: am 6abab301: am 6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."
...
* commit 'b9ad1a1e001cc06db121994ca0da7deb4c60914a':
Upgrade to dlmalloc 2.8.6.
2012-08-31 09:01:07 -07:00
Ian Rogers
b9ad1a1e00
am 6abab301: am 6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."
...
* commit '6abab301db84af7c98a4873fbf49997078aa19cc':
Upgrade to dlmalloc 2.8.6.
2012-08-31 08:58:33 -07:00
Ian Rogers
6abab301db
am 6fe901ef: Merge "Upgrade to dlmalloc 2.8.6."
...
* commit '6fe901ef38898d9cb6007720940e915f7180fc11':
Upgrade to dlmalloc 2.8.6.
2012-08-31 08:55:41 -07:00
Ian Rogers
6fe901ef38
Merge "Upgrade to dlmalloc 2.8.6."
2012-08-31 08:42:41 -07:00
The Android Automerger
83d5e567d6
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-30 06:33:17 -07:00
Ian Rogers
c6d95add30
Upgrade to dlmalloc 2.8.6.
...
This fixes a bug and enables the use of MORECORE_CONTIGUOUS.
Change-Id: Ia7c5d32bdc46e99b3ecb92ee94d1f702c4385d5d
2012-08-29 18:18:29 -07:00
Elliott Hughes
6709aba126
am 418ecb7e: am 8c368b5d: am dde94f4c: am 8b4e8a93: Merge "Improve the dynamic linker diagnostics."
...
* commit '418ecb7ec800d8caa97b01a84d7403272fab4e28':
Improve the dynamic linker diagnostics.
2012-08-29 14:11:52 -07:00
Nick Kralevich
35c3408b0d
am 29e52652: am fe7d7d46: am 92133ca4: am 17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"
...
* commit '29e526527c10f92d0a563d1cdec5f4eab0b33875':
disable _FORTIFY_SOURCE under clang
2012-08-29 14:11:52 -07:00
Elliott Hughes
418ecb7ec8
am 8c368b5d: am dde94f4c: am 8b4e8a93: Merge "Improve the dynamic linker diagnostics."
...
* commit '8c368b5d1d43bf5d9fdf1f6e99190437da882f95':
Improve the dynamic linker diagnostics.
2012-08-29 14:09:36 -07:00
Nick Kralevich
29e526527c
am fe7d7d46: am 92133ca4: am 17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"
...
* commit 'fe7d7d4693463945155b8548f9c33db5b3c90377':
disable _FORTIFY_SOURCE under clang
2012-08-29 14:09:32 -07:00
Elliott Hughes
8c368b5d1d
am dde94f4c: am 8b4e8a93: Merge "Improve the dynamic linker diagnostics."
...
* commit 'dde94f4c1664c6908d9a2944aff84e8667557d02':
Improve the dynamic linker diagnostics.
2012-08-29 14:06:58 -07:00
Nick Kralevich
fe7d7d4693
am 92133ca4: am 17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"
...
* commit '92133ca427b9c697d5afb59b74cb2cff50840c8e':
disable _FORTIFY_SOURCE under clang
2012-08-29 14:06:57 -07:00
Elliott Hughes
dde94f4c16
am 8b4e8a93: Merge "Improve the dynamic linker diagnostics."
...
* commit '8b4e8a937be2e7ac94e52d596813095ef16c9ec8':
Improve the dynamic linker diagnostics.
2012-08-29 14:04:25 -07:00
Nick Kralevich
92133ca427
am 17d9be8a: Merge "disable _FORTIFY_SOURCE under clang"
...
* commit '17d9be8ad73170275f25ffe8795a0d04b3e2cd8b':
disable _FORTIFY_SOURCE under clang
2012-08-29 14:04:24 -07:00
Elliott Hughes
8b4e8a937b
Merge "Improve the dynamic linker diagnostics."
2012-08-29 13:56:40 -07:00
Nick Kralevich
17d9be8ad7
Merge "disable _FORTIFY_SOURCE under clang"
2012-08-29 13:54:49 -07:00
Elliott Hughes
5fe555ecac
am b3732862: am 8900e2de: am e5b85f45: am 0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."
...
* commit 'b37328627be403b9c2a2896765a7bc7a357cb073':
Clean up warnings in the malloc_debug_* files.
2012-08-29 13:23:34 -07:00
Elliott Hughes
b37328627b
am 8900e2de: am e5b85f45: am 0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."
...
* commit '8900e2de450726982de466bfc3639dd71630178c':
Clean up warnings in the malloc_debug_* files.
2012-08-29 13:22:18 -07:00
Elliott Hughes
8900e2de45
am e5b85f45: am 0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."
...
* commit 'e5b85f45f9b23b4adbea5a9bb0bc29099880ed69':
Clean up warnings in the malloc_debug_* files.
2012-08-29 13:19:58 -07:00
Elliott Hughes
e5b85f45f9
am 0d7177c0: Merge "Clean up warnings in the malloc_debug_* files."
...
* commit '0d7177c0d47517514c81713427fc28e04dc3cd37':
Clean up warnings in the malloc_debug_* files.
2012-08-29 13:15:10 -07:00
Elliott Hughes
e9b6fc6f82
Improve the dynamic linker diagnostics.
...
Lose the pid, only show the name of the function (not its whole signature),
and include the name of the library we failed to load. (I hadn't noticed
that the library name was missing before because in Java we add that into
the UnsatisfiedLinkError detail message.)
The new output looks like this:
Cannot load library: soinfo_relocate(linker.cpp:968): cannot locate symbol "__libc_malloc_default_dispatch" referenced by "libc_malloc_debug_leak.so"...
Change-Id: I3bb5c9780d9aaf3a9e4418ea55bc98122a81f80f
2012-08-29 13:10:54 -07:00
Elliott Hughes
0d7177c0d4
Merge "Clean up warnings in the malloc_debug_* files."
2012-08-29 13:08:50 -07:00
Nick Kralevich
829c089f83
disable _FORTIFY_SOURCE under clang
...
Clang and _FORTIFY_SOURCE are just plain incompatible with
each other. First of all, clang doesn't understand the
__attribute__((gnu_inline)) header. Second of all,
Clang doesn't have support for __builtin_va_arg_pack()
and __builtin_va_arg_pack_len() (see
http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc )
Until we can resolve these issues, don't even try using
_FORTIFY_SOURCE under clang.
Change-Id: I81c2b8073bb3276fa9a4a6b93c427b641038356a
2012-08-29 12:47:41 -07:00
Elliott Hughes
c4d1fecc10
Clean up warnings in the malloc_debug_* files.
...
Also clean up cpplint.py-detected lint.
Change-Id: Ia18e89c4c6878764f8d7ed34b8247e7a8d8fe88b
2012-08-29 12:08:13 -07:00
Ian Rogers
72758a138e
am 71258e0d: am 15afed42: Merge "Revert "Revert "Restore posix_memalign""" into jb-mr1-dev
...
* commit '71258e0d207b9b51f1295808837df95e4dd2711a':
Revert "Revert "Restore posix_memalign""
2012-08-29 08:57:50 -07:00
Ian Rogers
31abfc3a98
am 1df8fe33: am f71fa083: Merge "Revert "Revert "Upgrade to dlmalloc 2.8.5.""" into jb-mr1-dev
...
* commit '1df8fe33d59df1be3b1d33db033e379a32416a68':
Revert "Revert "Upgrade to dlmalloc 2.8.5.""
2012-08-29 08:57:49 -07:00
Ian Rogers
71258e0d20
am 15afed42: Merge "Revert "Revert "Restore posix_memalign""" into jb-mr1-dev
...
* commit '15afed42ca0b9e5954b121d1a6ca1bdb6b5dc55c':
Revert "Revert "Restore posix_memalign""
2012-08-29 08:55:24 -07:00
Ian Rogers
1df8fe33d5
am f71fa083: Merge "Revert "Revert "Upgrade to dlmalloc 2.8.5.""" into jb-mr1-dev
...
* commit 'f71fa0830a1d1280174f25309b05612af4f20fb3':
Revert "Revert "Upgrade to dlmalloc 2.8.5.""
2012-08-29 08:55:23 -07:00
Ian Rogers
15afed42ca
Merge "Revert "Revert "Restore posix_memalign""" into jb-mr1-dev
2012-08-29 08:53:41 -07:00
Ian Rogers
f71fa0830a
Merge "Revert "Revert "Upgrade to dlmalloc 2.8.5.""" into jb-mr1-dev
2012-08-29 08:53:26 -07:00
The Android Automerger
b2d46d3632
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-29 06:33:16 -07:00
Iliyan Malchev
230752b861
am 7e585192: am 66edcd9d: msm_ion: switch to using legacy_ion.h
...
* commit '7e5851922ce5430ea55e3c9325386846fbedf16c':
msm_ion: switch to using legacy_ion.h
2012-08-29 01:39:28 -07:00
Iliyan Malchev
e59f4c31cb
am ba13ae76: am 5f1d206d: add legacy_ion.h
...
* commit 'ba13ae767207d50dd2214cd5e8a941ab4da74d56':
add legacy_ion.h
2012-08-29 01:39:28 -07:00
Iliyan Malchev
7e5851922c
am 66edcd9d: msm_ion: switch to using legacy_ion.h
...
* commit '66edcd9dad6a10622015f6350ea9bc11a358801a':
msm_ion: switch to using legacy_ion.h
2012-08-29 01:37:21 -07:00
Iliyan Malchev
ba13ae7672
am 5f1d206d: add legacy_ion.h
...
* commit '5f1d206de357684365a98c53b505491e18b6694a':
add legacy_ion.h
2012-08-29 01:37:20 -07:00
Iliyan Malchev
66edcd9dad
msm_ion: switch to using legacy_ion.h
...
Change-Id: I0fa64cb9684062f371bd21a1f94f6c7dad8d854d
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-08-29 01:31:34 -07:00
Iliyan Malchev
5f1d206de3
add legacy_ion.h
...
legacy_ion.h is a pre android-3.4 copy of the ion.h header, for backwards
compatibility
Change-Id: Iaf2f1659f19a3b55334df929d9500069bf8acbdd
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-08-29 01:24:49 -07:00
Ian Rogers
e0d680176f
Revert "Revert "Restore posix_memalign""
...
This reverts commit 78a3069f82 .
2012-08-28 16:36:08 -07:00
Ian Rogers
2c344d3631
Revert "Revert "Upgrade to dlmalloc 2.8.5.""
...
This reverts commit f72ee26927 .
2012-08-28 15:53:10 -07:00
Nick Kralevich
9416782be5
am 2868bbab: am 4f90a093: am d3d09f7d: am 069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"
...
* commit '2868bbabf3a3146e682f314794b8803bfd60963b':
ARM: make sure __on_dlclose() actually gets called
2012-08-28 13:46:31 -07:00
Nick Kralevich
2868bbabf3
am 4f90a093: am d3d09f7d: am 069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"
...
* commit '4f90a0932c087e4bb13dab2d30a424c04c1f9f80':
ARM: make sure __on_dlclose() actually gets called
2012-08-28 13:43:57 -07:00
Nick Kralevich
4f90a0932c
am d3d09f7d: am 069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"
...
* commit 'd3d09f7d75726dbe7cd9dfae211427f8bebe1397':
ARM: make sure __on_dlclose() actually gets called
2012-08-28 13:41:10 -07:00
Nick Kralevich
d3d09f7d75
am 069c64cd: Merge "ARM: make sure __on_dlclose() actually gets called"
...
* commit '069c64cdf2d3da7b7ff6ea5d1041f982fb10ab22':
ARM: make sure __on_dlclose() actually gets called
2012-08-28 13:17:00 -07:00
Nick Kralevich
97b9643c5b
am 036fa6e6: am 54662dd4: am 1389db8b: am e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"
...
* commit '036fa6e66958a05fbde9fddefc5fc8e31741fe80':
ARM: remove dummy entries from .so init_array/fini_array
2012-08-28 13:09:40 -07:00
Nick Kralevich
c64bb00cdf
am 773a7832: am d7440f37: am 7cab2188: am ad180738: Merge "linker: Fix ARM_R_COPY relocations"
...
* commit '773a783295e758bdef1a7e205761bcc1f832af95':
linker: Fix ARM_R_COPY relocations
2012-08-28 13:09:39 -07:00
Nick Kralevich
036fa6e669
am 54662dd4: am 1389db8b: am e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"
...
* commit '54662dd4de8151383be4b518f4161f171359186f':
ARM: remove dummy entries from .so init_array/fini_array
2012-08-28 13:06:48 -07:00
Nick Kralevich
773a783295
am d7440f37: am 7cab2188: am ad180738: Merge "linker: Fix ARM_R_COPY relocations"
...
* commit 'd7440f3725b196f6624f74d2cee50dbdac647372':
linker: Fix ARM_R_COPY relocations
2012-08-28 13:06:47 -07:00
Nick Kralevich
54662dd4de
am 1389db8b: am e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"
...
* commit '1389db8b94ca0cff4744dc070d99f48c6cf53b07':
ARM: remove dummy entries from .so init_array/fini_array
2012-08-28 13:04:47 -07:00
Nick Kralevich
d7440f3725
am 7cab2188: am ad180738: Merge "linker: Fix ARM_R_COPY relocations"
...
* commit '7cab21885ac039375264a45b2c774106415be664':
linker: Fix ARM_R_COPY relocations
2012-08-28 13:04:46 -07:00
Nick Kralevich
069c64cdf2
Merge "ARM: make sure __on_dlclose() actually gets called"
2012-08-28 13:04:22 -07:00
Nick Kralevich
953de64819
am 88160880: am 3ffdef19: am c7d9c400: am c410a961: Merge "libc: remove ctors/dtors sections"
...
* commit '88160880953e01f4fa7523938b6448f194f598a0':
libc: remove ctors/dtors sections
2012-08-28 13:02:10 -07:00
Nick Kralevich
1389db8b94
am e026b1d8: Merge "ARM: remove dummy entries from .so init_array/fini_array"
...
* commit 'e026b1d89a0dcada499da186d4d94cc3ce5d3ef3':
ARM: remove dummy entries from .so init_array/fini_array
2012-08-28 13:01:22 -07:00
Nick Kralevich
7cab21885a
am ad180738: Merge "linker: Fix ARM_R_COPY relocations"
...
* commit 'ad18073897378d3a13aaa6a7e7005f254ab8c1c8':
linker: Fix ARM_R_COPY relocations
2012-08-28 13:01:21 -07:00
Nick Kralevich
e026b1d89a
Merge "ARM: remove dummy entries from .so init_array/fini_array"
2012-08-28 12:49:46 -07:00
Nick Kralevich
ad18073897
Merge "linker: Fix ARM_R_COPY relocations"
2012-08-28 12:48:01 -07:00
The Android Automerger
6fa20f8296
Revert "Update ion header"
...
This reverts commit eb75db7d83 .
2012-08-28 11:49:35 -07:00
Nick Kralevich
d39c3abd5a
linker: Fix ARM_R_COPY relocations
...
Per http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf
Section 4.7.1.10, ARM_R_COPY relocations are only suppose to reference shared
libraries, not the executable itself. When resolving an R_ARM_COPY symbol,
ensure we don't look in our own symbol.
This partially addresses
http://code.google.com/p/android/issues/detail?id=28598 . After this
patch, the printfs generated by the test program are:
global = 0x42 (0x401c7000)
global = 0x42 (0x11000)
before, the output was:
global = 0x42 (0x40071000)
global = 0x0 (0x11000)
I'm still not very happy with this patch, but I think it's an improvement
over where we were at before.
This change was modeled after https://android-review.googlesource.com/38871
Change-Id: Id7ad921e58395e76a36875bcc742ec5eeba53f08
2012-08-28 11:48:32 -07:00
Nick Kralevich
8816088095
am 3ffdef19: am c7d9c400: am c410a961: Merge "libc: remove ctors/dtors sections"
...
* commit '3ffdef19b4e9c8bae4fb0591afc0074eab0e5ac6':
libc: remove ctors/dtors sections
2012-08-28 10:40:58 -07:00
Nick Kralevich
3ffdef19b4
am c7d9c400: am c410a961: Merge "libc: remove ctors/dtors sections"
...
* commit 'c7d9c400126f1d1159025d1005248ab556dbdb7e':
libc: remove ctors/dtors sections
2012-08-28 10:38:28 -07:00
Nick Kralevich
c7d9c40012
am c410a961: Merge "libc: remove ctors/dtors sections"
...
* commit 'c410a9613a837790d2ea13aee3f88881e0d54c17':
libc: remove ctors/dtors sections
2012-08-28 10:34:14 -07:00
Nick Kralevich
c410a9613a
Merge "libc: remove ctors/dtors sections"
2012-08-28 10:20:27 -07:00
The Android Automerger
4be256b50b
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-28 06:33:16 -07:00
Ard Biesheuvel
144c291866
ARM: warn about atexit() calls from legacy shared libraries
...
Legacy ARM shared libraries use this generic version of atexit(),
which queues exit functions for invocation at program exit, at
which time the library may have been dlclose()'d, causing the
program to crash.
Change-Id: I41ae153c23268daa65ede7fb8966fc3e9caec369
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-28 11:23:06 +02:00
Ard Biesheuvel
f3cfcd869d
ARM: make CRT_LEGACY_WORKAROUND work as intended
...
To properly support legacy ARM shared libraries, libc.so needs
to export the symbols __dso_handle and atexit, even though
these are now supplied by the crt startup code.
This patch reshuffles the existing CRT_LEGACY_WORKAROUND
conditionally compiled code slightly so it works as the
original author likely intended.
Change-Id: Id6c0e94dc65b7928324a5f0bad7eba6eb2f464b9
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-28 10:27:02 +02:00
Ard Biesheuvel
c23092887f
ARM: remove dummy entries from .so init_array/fini_array
...
The runtime linker parses the ELF section headers to
discover the size of the init_array and fini_array, so
there is no point in putting NULL terminators at the end.
Change-Id: I3246cd585efce9314155600277dd829e9f37d04f
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-28 09:55:51 +02:00
Nick Kralevich
47cac977f5
am 5443561d: am 48c88804: am 775dabd4: am 9dfaa63a: Merge "Allow linker to compile with -DLINKER_DEBUG=1"
...
* commit '5443561d5d9fd8ababac989116a036b3ab7b15b0':
Allow linker to compile with -DLINKER_DEBUG=1
2012-08-27 16:12:39 -07:00
Nick Kralevich
5443561d5d
am 48c88804: am 775dabd4: am 9dfaa63a: Merge "Allow linker to compile with -DLINKER_DEBUG=1"
...
* commit '48c88804293c8ebebe8c6035b0e077f4d55fe625':
Allow linker to compile with -DLINKER_DEBUG=1
2012-08-27 16:09:49 -07:00
Nick Kralevich
48c8880429
am 775dabd4: am 9dfaa63a: Merge "Allow linker to compile with -DLINKER_DEBUG=1"
...
* commit '775dabd4d7f1c08d4229a3578d15990e86dd9c92':
Allow linker to compile with -DLINKER_DEBUG=1
2012-08-27 16:08:12 -07:00
Nick Kralevich
775dabd4d7
am 9dfaa63a: Merge "Allow linker to compile with -DLINKER_DEBUG=1"
...
* commit '9dfaa63a1c0d1b8e75dd9d7077a8103a19821fa9':
Allow linker to compile with -DLINKER_DEBUG=1
2012-08-27 16:06:34 -07:00
Nick Kralevich
9dfaa63a1c
Merge "Allow linker to compile with -DLINKER_DEBUG=1"
2012-08-27 16:00:50 -07:00
Elliott Hughes
80921057d4
am ea108d8a: am 8c7f4777: am d2d8031d: am bc366292: Merge "Added missing cache failed notification"
...
* commit 'ea108d8a665aa708e878432ab1cdab959809ef9b':
Added missing cache failed notification
2012-08-27 15:27:46 -07:00
Elliott Hughes
ea108d8a66
am 8c7f4777: am d2d8031d: am bc366292: Merge "Added missing cache failed notification"
...
* commit '8c7f4777ec2127a95f7f0aea3bf32fe9309a6ada':
Added missing cache failed notification
2012-08-27 15:25:02 -07:00
Elliott Hughes
8c7f4777ec
am d2d8031d: am bc366292: Merge "Added missing cache failed notification"
...
* commit 'd2d8031df16c78b4d5bdbe481ebe6856caa69fd1':
Added missing cache failed notification
2012-08-27 15:22:35 -07:00
Elliott Hughes
d2d8031df1
am bc366292: Merge "Added missing cache failed notification"
...
* commit 'bc366292ff47ad9a5053e213ec253992baeee648':
Added missing cache failed notification
2012-08-27 15:18:52 -07:00
Iliyan Malchev
5006660be8
am c9008991: am 3ad36e52: bionic: update sanitized MSM, V4L2 kernel headers
...
* commit 'c9008991f33b95831f94e0cc970c94a6ea6f4199':
bionic: update sanitized MSM, V4L2 kernel headers
2012-08-27 15:17:31 -07:00
Iliyan Malchev
c9008991f3
am 3ad36e52: bionic: update sanitized MSM, V4L2 kernel headers
...
* commit '3ad36e525f1e0c5c35c9e854e542acff48e515a8':
bionic: update sanitized MSM, V4L2 kernel headers
2012-08-27 15:13:48 -07:00
Elliott Hughes
bc366292ff
Merge "Added missing cache failed notification"
2012-08-27 15:00:51 -07:00
The Android Automerger
19c0b800a3
:Revert "Update ion header"
...
This reverts commit eb75db7d83 .
2012-08-27 12:46:37 -07:00
Iliyan Malchev
3ad36e525f
bionic: update sanitized MSM, V4L2 kernel headers
...
Change-Id: I4ca8835ff7a1d21f80a139b1d76ceacf82b48502
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-08-27 12:11:41 -07:00
The Android Automerger
eeddc30e7e
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-27 06:33:20 -07:00
The Android Open Source Project
99696a9373
am 75f3d25c: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '75f3d25cef30dfa4578b1bb7562222ad51a75de5':
2012-08-25 07:16:49 -07:00
The Android Open Source Project
75f3d25cef
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I81e9084dd1f51185ecced85fecd1439a72f8c82c
2012-08-25 07:15:24 -07:00
Nick Kralevich
3697b52605
Allow linker to compile with -DLINKER_DEBUG=1
...
Change-Id: I27e734048cbcb9ed936369115582b3c734de1280
2012-08-24 17:11:45 -07:00
Ian Rogers
995f8c925f
am 1f84a4e4: am a190cbb8: am 05fddb41: am a37ce7fa: Merge "Add missing va_end() to prevent stack corruptions"
...
* commit '1f84a4e426aca34ad17b6d626bd725e86a7c97b8':
Add missing va_end() to prevent stack corruptions
2012-08-24 15:27:30 -07:00
Ian Rogers
1f84a4e426
am a190cbb8: am 05fddb41: am a37ce7fa: Merge "Add missing va_end() to prevent stack corruptions"
...
* commit 'a190cbb825c690e9e2423e022cabb844a0cd8a5a':
Add missing va_end() to prevent stack corruptions
2012-08-24 15:25:44 -07:00
Ian Rogers
a190cbb825
am 05fddb41: am a37ce7fa: Merge "Add missing va_end() to prevent stack corruptions"
...
* commit '05fddb41d00710a31181693cebed570d711acd37':
Add missing va_end() to prevent stack corruptions
2012-08-24 15:23:11 -07:00
Ian Rogers
05fddb41d0
am a37ce7fa: Merge "Add missing va_end() to prevent stack corruptions"
...
* commit 'a37ce7faa6d6c7355e3c6f6e09e5268cbf29c291':
Add missing va_end() to prevent stack corruptions
2012-08-24 15:21:12 -07:00
Ian Rogers
a37ce7faa6
Merge "Add missing va_end() to prevent stack corruptions"
2012-08-24 15:10:07 -07:00
Rebecca Schultz Zavin
bbe3d3916f
am fa5942cc: am cbd76d15: Merge "Update ion header" into jb-mr1-dev
...
* commit 'fa5942cc081f3aef1ceb8cf6f0d8c0984d18bf82':
Update ion header
2012-08-23 16:34:33 -07:00
Rebecca Schultz Zavin
fa5942cc08
am cbd76d15: Merge "Update ion header" into jb-mr1-dev
...
* commit 'cbd76d15aff86ed63747d2a3b41a999e0cf9302f':
Update ion header
2012-08-23 16:33:19 -07:00
Rebecca Schultz Zavin
cbd76d15af
Merge "Update ion header" into jb-mr1-dev
2012-08-23 16:31:45 -07:00
Rebecca Schultz Zavin
eb75db7d83
Update ion header
...
Change-Id: Ib06a2c63070c9f507c14a43a0a0ac4d362f68d22
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2012-08-23 16:29:23 -07:00
Nick Kralevich
b46a1d8890
am dd5d865d: am 81af404b: am e8198b97: am 26facba2: Merge "hardening: remove pointless ARM __get_pc() function"
...
* commit 'dd5d865d92c21105d28dd931d56c2f5e2f4df275':
hardening: remove pointless ARM __get_pc() function
2012-08-23 12:37:19 -07:00
Nick Kralevich
dd5d865d92
am 81af404b: am e8198b97: am 26facba2: Merge "hardening: remove pointless ARM __get_pc() function"
...
* commit '81af404b634dc75581ab2dedf0c3d68b8666aee4':
hardening: remove pointless ARM __get_pc() function
2012-08-23 12:35:53 -07:00
Nick Kralevich
81af404b63
am e8198b97: am 26facba2: Merge "hardening: remove pointless ARM __get_pc() function"
...
* commit 'e8198b97c369292a3ea97e5a2009bfba8229ddb5':
hardening: remove pointless ARM __get_pc() function
2012-08-23 12:34:21 -07:00
The Android Automerger
21120f6d7b
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-23 06:33:25 -07:00
The Android Open Source Project
e2862bb984
am b1d43872: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'b1d43872224837a85f593d9f946686c7272c7d0e':
Revert "Upgrade to dlmalloc 2.8.5."
Revert "Restore posix_memalign"
2012-08-22 15:35:50 -07:00
The Android Open Source Project
b1d4387222
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I3a81059b919617b639d4b39c40235301db4dd86a
2012-08-22 15:34:31 -07:00
Brian Carlstrom
561bf16be5
Revert "Upgrade to dlmalloc 2.8.5."
...
This reverts commit 999089181e .
2012-08-22 14:56:19 -07:00
Brian Carlstrom
453294d1da
Revert "Restore posix_memalign"
...
This reverts commit bfc1d97531 .
2012-08-22 14:56:13 -07:00
Brian Carlstrom
2bdfdfbf09
am 4a56211b: am f72ee269: Revert "Upgrade to dlmalloc 2.8.5."
...
* commit '4a56211b0b30757c8a5d64a59976a3a97d300a18':
Revert "Upgrade to dlmalloc 2.8.5."
2012-08-22 13:56:16 -07:00
Brian Carlstrom
3985fbb348
am 71633454: am 78a3069f: Revert "Restore posix_memalign"
...
* commit '716334543788fe564b7d91055d6122657d409efd':
Revert "Restore posix_memalign"
2012-08-22 13:56:16 -07:00
Brian Carlstrom
4a56211b0b
am f72ee269: Revert "Upgrade to dlmalloc 2.8.5."
...
* commit 'f72ee269274170cd46af2844a2fe88767fb6e43c':
Revert "Upgrade to dlmalloc 2.8.5."
2012-08-22 13:55:11 -07:00
Brian Carlstrom
7163345437
am 78a3069f: Revert "Restore posix_memalign"
...
* commit '78a3069f827386df6166ccf9366a89be782f1dde':
Revert "Restore posix_memalign"
2012-08-22 13:55:10 -07:00
Brian Carlstrom
f72ee26927
Revert "Upgrade to dlmalloc 2.8.5."
...
This reverts commit 999089181e .
2012-08-22 12:07:33 -07:00
Brian Carlstrom
78a3069f82
Revert "Restore posix_memalign"
...
This reverts commit bfc1d97531 .
2012-08-22 12:07:26 -07:00
Nick Kralevich
e8198b97c3
am 26facba2: Merge "hardening: remove pointless ARM __get_pc() function"
...
* commit '26facba288df013fd898f8df12d84e5669ece6eb':
hardening: remove pointless ARM __get_pc() function
2012-08-22 11:55:59 -07:00
Ard Biesheuvel
0a150ead18
libc: remove ctors/dtors sections
...
None of the supported ARCHs actually populate these sections,
so there is no point in keeping them in the binaries.
Change-Id: I21a364f510118ac1114e1b49c53ec8c895c6bc6b
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-22 20:45:26 +02:00
Nick Kralevich
26facba288
Merge "hardening: remove pointless ARM __get_pc() function"
2012-08-22 11:41:53 -07:00
Ard Biesheuvel
404e28ff8c
hardening: remove pointless ARM __get_pc() function
...
Useful if you're trying to defeat ASLR, otherwise not
so much ...
Change-Id: I17ebb50bb490a3967db9c3038f049adafe2b8ea7
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-22 20:38:54 +02:00
Jean-Baptiste Queru
3487c9b4a8
am 2400c7a6: am e49df020: am 170ad354: am c7de0225: Merge "Use unambiguous mnemonics"
...
* commit '2400c7a60edb18ab62fedcad86ce0d709895e26d':
Use unambiguous mnemonics
2012-08-22 07:35:31 -07:00
Jean-Baptiste Queru
2400c7a60e
am e49df020: am 170ad354: am c7de0225: Merge "Use unambiguous mnemonics"
...
* commit 'e49df0203c112bf44b166cde733554072b115ec5':
Use unambiguous mnemonics
2012-08-22 07:33:51 -07:00
Jean-Baptiste Queru
e49df0203c
am 170ad354: am c7de0225: Merge "Use unambiguous mnemonics"
...
* commit '170ad35419620b428c15a8945416ce8cedef3e81':
Use unambiguous mnemonics
2012-08-22 07:32:21 -07:00
Jean-Baptiste Queru
170ad35419
am c7de0225: Merge "Use unambiguous mnemonics"
...
* commit 'c7de02259052b1eeebbfd3a0c21acf56a7e84357':
Use unambiguous mnemonics
2012-08-22 07:30:56 -07:00
Jean-Baptiste Queru
c7de022590
Merge "Use unambiguous mnemonics"
2012-08-22 07:18:50 -07:00
The Android Automerger
6773054eb3
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-22 06:33:14 -07:00
Erik Gilling
98b62860cf
am fed12112: am 974e16cd: update linux/sync.h
...
* commit 'fed121126afa91eb04a073ecc1e42535b1b52d27':
update linux/sync.h
2012-08-21 19:14:12 -07:00
Erik Gilling
fed121126a
am 974e16cd: update linux/sync.h
...
* commit '974e16cd829b6f75a5861759e86c1c09768272f2':
update linux/sync.h
2012-08-21 19:11:07 -07:00
Erik Gilling
974e16cd82
update linux/sync.h
...
Change-Id: Ic2133976b675cdcd3ca88f4845180a7ff1c79e34
Signed-off-by: Erik Gilling <konkers@android.com >
2012-08-21 18:17:24 -07:00
The Android Open Source Project
92042e8b91
am a5b7d6dd: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'a5b7d6dd00914651f77c4ff6604a2c16df6d73b9':
2012-08-21 16:07:05 -07:00
The Android Open Source Project
a5b7d6dd00
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I559e0ba590f5beee87871ecfbdfc185566d40f9f
2012-08-21 16:04:39 -07:00
Kevin Schoedel
c0b4d18d7d
Use unambiguous mnemonics
...
Change-Id: I8da0af54cc3cbf69d9e485eb71bc44a6976b1adc
Author: Kevin P Schoedel <kevin.p.schoedel@intel.com >
Reviewed-by: Edwin Vane <edwin.vane@intel.com >
2012-08-21 15:28:23 -04:00
The Android Automerger
5d8cfb3e66
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-21 06:33:32 -07:00
Ard Biesheuvel
5ed48a4d7f
ARM: make sure __on_dlclose() actually gets called
...
Change-Id: I280e5428b0543cccf17ca36baee4865395928cdb
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-21 12:56:05 +02:00
Andrew Hsieh
0b8770ccbd
am 5e2aa357: am f861705f: am 5cd1efb2: am 1bd035cf: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
...
* commit '5e2aa357d2f76a01c403a208524137c6fccf7304':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
2012-08-21 03:34:44 -07:00
Andrew Hsieh
5e2aa357d2
am f861705f: am 5cd1efb2: am 1bd035cf: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
...
* commit 'f861705f8c64af968b542c23932994cd17bb5db9':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
2012-08-21 03:33:02 -07:00
Andrew Hsieh
f861705f8c
am 5cd1efb2: am 1bd035cf: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
...
* commit '5cd1efb2ba68cdde13682ee37a3499b7bd974bdb':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
2012-08-21 03:31:02 -07:00
Andrew Hsieh
5cd1efb2ba
am 1bd035cf: Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
...
* commit '1bd035cf119a2e4a667f07907c7860e5ec223cee':
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
2012-08-21 03:29:14 -07:00
Andrew Hsieh
1bd035cf11
Merge "Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS"
2012-08-21 03:25:46 -07:00
Andrew Hsieh
2f7d7c6538
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
...
Those are C funcitons
Related CL: https://android-review.googlesource.com/#/c/41833/
Change-Id: I4386bcf948ad31c3690c9b7a145103088133d041
2012-08-21 15:41:34 +08:00
Ian Rogers
6acc9d10e2
am 7c6cc4df: am 4ac3b0a1: am 8af726b2: am 7b0d9b79: Merge "Restore posix_memalign"
...
* commit '7c6cc4dffdcfad48733ac3c3001f5d9b137182b1':
Restore posix_memalign
2012-08-20 19:47:21 -07:00
Ian Rogers
7c6cc4dffd
am 4ac3b0a1: am 8af726b2: am 7b0d9b79: Merge "Restore posix_memalign"
...
* commit '4ac3b0a1487cc97e86bd98959e23bf2303942945':
Restore posix_memalign
2012-08-20 19:46:25 -07:00
Ian Rogers
4ac3b0a148
am 8af726b2: am 7b0d9b79: Merge "Restore posix_memalign"
...
* commit '8af726b24fbb9ab545719bd3980a4f0ad9bcb8a8':
Restore posix_memalign
2012-08-20 19:45:12 -07:00
Ian Rogers
8af726b24f
am 7b0d9b79: Merge "Restore posix_memalign"
...
* commit '7b0d9b798474ab62d4bf67c79ae901f4c4789f27':
Restore posix_memalign
2012-08-20 19:43:15 -07:00
Ian Rogers
7b0d9b7984
Merge "Restore posix_memalign"
2012-08-20 19:35:25 -07:00
Brian Carlstrom
bfc1d97531
Restore posix_memalign
...
Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
2012-08-20 19:25:39 -07:00
Brian Carlstrom
4beae98ae0
am 638b0fd9: am cc1f4acb: Restore posix_memalign
...
* commit '638b0fd95346c8930aabcdec933e8caa6d6b4c7c':
Restore posix_memalign
2012-08-20 18:38:50 -07:00
Brian Carlstrom
638b0fd953
am cc1f4acb: Restore posix_memalign
...
* commit 'cc1f4acbda8f12c2020c2e5f1f8a03221c9ae4e9':
Restore posix_memalign
2012-08-20 18:36:44 -07:00
Brian Carlstrom
cc1f4acbda
Restore posix_memalign
...
Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
2012-08-20 18:28:20 -07:00
Brian Carlstrom
d03266b2b7
am 94c82633: am 76f60e2e: am fe87596a: am c37dcd3d: Merge "Upgrade to dlmalloc 2.8.5."
...
* commit '94c82633c72acae0eb7a3390167b35eb3008b4ff':
Upgrade to dlmalloc 2.8.5.
2012-08-20 16:36:05 -07:00
Brian Carlstrom
94c82633c7
am 76f60e2e: am fe87596a: am c37dcd3d: Merge "Upgrade to dlmalloc 2.8.5."
...
* commit '76f60e2ebd8750c4e4594158745e752b6a10ea0b':
Upgrade to dlmalloc 2.8.5.
2012-08-20 16:34:22 -07:00
Brian Carlstrom
76f60e2ebd
am fe87596a: am c37dcd3d: Merge "Upgrade to dlmalloc 2.8.5."
...
* commit 'fe87596a5ba5a5b0773b2854f9fce85f49367611':
Upgrade to dlmalloc 2.8.5.
2012-08-20 16:31:29 -07:00
Brian Carlstrom
fe87596a5b
am c37dcd3d: Merge "Upgrade to dlmalloc 2.8.5."
...
* commit 'c37dcd3d3ab8e32c37ce034b8d1772b4a7b9add9':
Upgrade to dlmalloc 2.8.5.
2012-08-20 16:29:48 -07:00
Brian Carlstrom
c37dcd3d3a
Merge "Upgrade to dlmalloc 2.8.5."
2012-08-20 16:12:33 -07:00
Ian Rogers
999089181e
Upgrade to dlmalloc 2.8.5.
...
Move dlmalloc code to upstream-dlmalloc to make pulling upstream changes
easier.
Declare pvalloc and malloc_usable_size routines present in malloc.h but with
missing implementations. Remove other functions from malloc.h that have
no implementation nor use in Android.
Change-Id: Ia6472ec6cbebc9ad1ef99f4669de9d33fcc2efb4
2012-08-20 14:12:20 -07:00
The Android Automerger
f706b3dfcf
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-20 06:33:38 -07:00
Elliott Hughes
758b1c46fb
am 98f26893: am dd0e991c: am 2651d6c6: am 9417a80e: Merge "Always define the 64-bit int types."
...
* commit '98f26893a6a8811df1fe7e012f6cf8885e6c560e':
Always define the 64-bit int types.
2012-08-17 17:01:23 -07:00
Elliott Hughes
98f26893a6
am dd0e991c: am 2651d6c6: am 9417a80e: Merge "Always define the 64-bit int types."
...
* commit 'dd0e991c6a0d4d71f1698fd57608a7d42401b6da':
Always define the 64-bit int types.
2012-08-17 17:00:03 -07:00
Elliott Hughes
dd0e991c6a
am 2651d6c6: am 9417a80e: Merge "Always define the 64-bit int types."
...
* commit '2651d6c6cbd0fafff83aafb61ab7bc9cbab413d2':
Always define the 64-bit int types.
2012-08-17 16:58:10 -07:00
Elliott Hughes
2651d6c6cb
am 9417a80e: Merge "Always define the 64-bit int types."
...
* commit '9417a80e48d3bba4bea814178aaa79b905ebab8c':
Always define the 64-bit int types.
2012-08-17 16:56:14 -07:00
Elliott Hughes
9417a80e48
Merge "Always define the 64-bit int types."
2012-08-17 16:48:14 -07:00
Elliott Hughes
230df050ed
am ea5dea8e: am db2903fa: am cbeccc84: am 200de748: Merge "Fix race condition in pthread_create()"
...
* commit 'ea5dea8edb4217da7798ef29759c2b5d27f7dcfb':
Fix race condition in pthread_create()
2012-08-17 16:30:02 -07:00
Elliott Hughes
ea5dea8edb
am db2903fa: am cbeccc84: am 200de748: Merge "Fix race condition in pthread_create()"
...
* commit 'db2903fac3d4548de1fd0fda1d3b7460c723282e':
Fix race condition in pthread_create()
2012-08-17 16:28:00 -07:00
Elliott Hughes
db2903fac3
am cbeccc84: am 200de748: Merge "Fix race condition in pthread_create()"
...
* commit 'cbeccc849a45ac9adc124a6d1781c1ddc7bad54e':
Fix race condition in pthread_create()
2012-08-17 16:26:37 -07:00
Elliott Hughes
cbeccc849a
am 200de748: Merge "Fix race condition in pthread_create()"
...
* commit '200de748b91d7638a2c434584abcb3840704494b':
Fix race condition in pthread_create()
2012-08-17 16:23:53 -07:00
Elliott Hughes
200de748b9
Merge "Fix race condition in pthread_create()"
2012-08-17 16:19:56 -07:00
Jurijs Oniscuks
2932f04832
Fix race condition in pthread_create()
...
Save thread id to *thread_out before new
thread is allowed to run else there's a
risk that the thread has finished and
been deleted when *thread_out is assigned.
Change-Id: I6b84c61a8df06840877d4ab036f26feace3192d8
2012-08-17 16:18:32 -07:00
Elliott Hughes
6d6731adc0
Always define the 64-bit int types.
...
These preprocessor tricks have caused trouble for -std=gnu99 and -ansi, and
both netbsd's libc and glibc seem to unconditionally define these types.
Change-Id: Ib8dffa341a8ca88f80d275ba2b7f93a4c910ee32
2012-08-17 14:30:06 -07:00
Elliott Hughes
1f6639a1bf
am d060b824: am efd39834: am e5242bfd: am 1771a33d: Merge "Add link.h for all platforms with dl_phdr_info"
...
* commit 'd060b824dd293bf1ecd7814cd2e75a77186cefcb':
Add link.h for all platforms with dl_phdr_info
2012-08-17 14:04:52 -07:00
Elliott Hughes
d060b824dd
am efd39834: am e5242bfd: am 1771a33d: Merge "Add link.h for all platforms with dl_phdr_info"
...
* commit 'efd3983446c6574c9662b01f441776cf299c0c80':
Add link.h for all platforms with dl_phdr_info
2012-08-17 14:03:53 -07:00
Elliott Hughes
efd3983446
am e5242bfd: am 1771a33d: Merge "Add link.h for all platforms with dl_phdr_info"
...
* commit 'e5242bfdd731a67282389ece515f094d57bb7300':
Add link.h for all platforms with dl_phdr_info
2012-08-17 14:01:53 -07:00
Elliott Hughes
e5242bfdd7
am 1771a33d: Merge "Add link.h for all platforms with dl_phdr_info"
...
* commit '1771a33d11a24f1c47b1ef75e3726c5d9e751f5b':
Add link.h for all platforms with dl_phdr_info
2012-08-17 14:00:11 -07:00
Elliott Hughes
1771a33d11
Merge "Add link.h for all platforms with dl_phdr_info"
2012-08-17 13:54:43 -07:00
Pavel Chupin
b7beb69075
Add link.h for all platforms with dl_phdr_info
...
This header is used on bionic build and should be propagated into
sysroot on toolchain rebuild. Discussion re. this header is here:
http://gcc.gnu.org/ml/gcc-patches/2012-08/msg00936.html
It is available already in mips NDK platforms:
development/ndk/platforms/android-9/arch-mips/include/link.h
Change-Id: I39ff467cdac9f448e31c11ee3e14a6200e82ab57
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
2012-08-17 12:44:23 -07:00
Henrik Engström
ce5ba8bfcd
Added missing cache failed notification
...
Added a missing call to _resolv_cache_query_failed for another fail
case where it was missing (it doesn't go through the error handling
under the "fail" label). This missing notification caused requests to
have to wait for timeout instead of beeing notified on some failed
requests.
Change-Id: I904d60269c59b926784e3a397d2a860329f55142
2012-08-17 09:18:47 +02:00
Joe Onorato
342e174b24
am 947f2e61: am 28ae6f5d: am cefb93b6: am 6c98cdb1: Merge "Don\'t over-generalize makefiles. Host modules always build. This isn\'t needed on eng builds."
...
* commit '947f2e610a89931b20a4ddd678e89df12c76e058':
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
2012-08-17 00:18:26 -07:00
Joe Onorato
947f2e610a
am 28ae6f5d: am cefb93b6: am 6c98cdb1: Merge "Don\'t over-generalize makefiles. Host modules always build. This isn\'t needed on eng builds."
...
* commit '28ae6f5dfd024dd3f860b134ebed56a0248a1097':
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
2012-08-17 00:14:21 -07:00
Joe Onorato
28ae6f5dfd
am cefb93b6: am 6c98cdb1: Merge "Don\'t over-generalize makefiles. Host modules always build. This isn\'t needed on eng builds."
...
* commit 'cefb93b632fc5a65bf7620095155cc1c314e29f2':
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
2012-08-17 00:11:56 -07:00
Joe Onorato
cefb93b632
am 6c98cdb1: Merge "Don\'t over-generalize makefiles. Host modules always build. This isn\'t needed on eng builds."
...
* commit '6c98cdb1924afd3e71d39904557933fa10adaebf':
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
2012-08-16 23:50:35 -07:00
Joe Onorato
6c98cdb192
Merge "Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds."
2012-08-16 23:37:50 -07:00
Joe Onorato
7b841f3b4a
Don't over-generalize makefiles. Host modules always build. This isn't needed on eng builds.
...
Change-Id: I5821ced7a8a9042fd2094204e07470d8002263ca
2012-08-16 22:36:36 -07:00
The Android Open Source Project
cd6fd2f14d
am 89a4090e: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '89a4090ecae61053e3ac6c9b96a8ee469495cf01':
2012-08-16 19:11:21 -07:00
The Android Open Source Project
89a4090eca
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I56a0568d05e01d6ca908c97af3036ffe5a057df0
2012-08-16 19:09:40 -07:00
Elliott Hughes
4b027b381f
am 12911624: am a7d8f3d5: am c80ca54f: am 60ef95e1: Merge "Enhance getcwd(3) to handle NULL like glibc."
...
* commit '129116241022d51ca915ef1d6b94d131a3f5569f':
Enhance getcwd(3) to handle NULL like glibc.
2012-08-16 17:09:35 -07:00
Elliott Hughes
1291162410
am a7d8f3d5: am c80ca54f: am 60ef95e1: Merge "Enhance getcwd(3) to handle NULL like glibc."
...
* commit 'a7d8f3d50e6b0858b3b6494d772167286cdeb986':
Enhance getcwd(3) to handle NULL like glibc.
2012-08-16 17:07:18 -07:00
Elliott Hughes
a7d8f3d50e
am c80ca54f: am 60ef95e1: Merge "Enhance getcwd(3) to handle NULL like glibc."
...
* commit 'c80ca54f3cd2d7e20770e286f4478fb589742478':
Enhance getcwd(3) to handle NULL like glibc.
2012-08-16 17:05:40 -07:00
Elliott Hughes
c80ca54f3c
am 60ef95e1: Merge "Enhance getcwd(3) to handle NULL like glibc."
...
* commit '60ef95e1c1b171635adb4d11289347674b1b8987':
Enhance getcwd(3) to handle NULL like glibc.
2012-08-16 17:04:11 -07:00
Elliott Hughes
60ef95e1c1
Merge "Enhance getcwd(3) to handle NULL like glibc."
2012-08-16 16:58:34 -07:00
Elliott Hughes
04a83a48ed
Enhance getcwd(3) to handle NULL like glibc.
...
Bug: http://code.google.com/p/android/issues/detail?id=36085
Change-Id: I960a1b585887eb66176c61d29c5c61c239a4003f
2012-08-16 15:59:12 -07:00
Elliott Hughes
0a14d9f5c8
am ca82e1f3: am 820ad428: am 74438bb2: am 449d4634: Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
...
* commit 'ca82e1f3d17b57b1d5bbf0527cae58be1861e9ae':
bionic: add macro protection for MALLOC_ALIGNMENT
2012-08-16 14:28:52 -07:00
Elliott Hughes
ca82e1f3d1
am 820ad428: am 74438bb2: am 449d4634: Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
...
* commit '820ad4283d71c4f2303f80d8ccbe6c90a6ec5407':
bionic: add macro protection for MALLOC_ALIGNMENT
2012-08-16 14:27:28 -07:00
Elliott Hughes
820ad4283d
am 74438bb2: am 449d4634: Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
...
* commit '74438bb22505b55ec72224932ae9982fbf9b4b65':
bionic: add macro protection for MALLOC_ALIGNMENT
2012-08-16 14:23:56 -07:00
Elliott Hughes
74438bb225
am 449d4634: Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
...
* commit '449d4634bea0ff8f6b29a2826871279dd654f941':
bionic: add macro protection for MALLOC_ALIGNMENT
2012-08-16 12:27:47 -07:00
Elliott Hughes
449d4634be
Merge "bionic: add macro protection for MALLOC_ALIGNMENT"
2012-08-16 12:09:13 -07:00
Jin Wei
9862f5e08b
bionic: add macro protection for MALLOC_ALIGNMENT
...
In previous commit: 2fd81ef7 , .mk file has been modified to
configure MALLOC_ALIGNMENT dynamicly according to board config.
Add the missing macor protection here.
Change-Id: I703cca2ce0504ab3e11aab226b2c61fcc0c6afa1
Author: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com >
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
2012-08-16 12:08:36 -07:00
Scott Anderson
4628d2f6bb
am cc8165ae: am 09d9dd3a: Merge "Add clean kernel header for uhid." into jb-mr1-dev
...
* commit 'cc8165aea50294c6a86ad456967a7a741ac85a65':
Add clean kernel header for uhid.
2012-08-16 12:07:53 -07:00
Scott Anderson
cc8165aea5
am 09d9dd3a: Merge "Add clean kernel header for uhid." into jb-mr1-dev
...
* commit '09d9dd3acdf74630eb7eb6896007e803085f45c6':
Add clean kernel header for uhid.
2012-08-16 12:05:44 -07:00
Scott Anderson
09d9dd3acd
Merge "Add clean kernel header for uhid." into jb-mr1-dev
2012-08-16 12:03:25 -07:00
Scott Anderson
52bf2d5659
Add clean kernel header for uhid.
...
The original kernel header was submitted in this change:
commit 45b515c106161bb3b00d2c097504b9d44505f2d9
Author: Scott Anderson <saa@android.com >
Date: Wed Aug 15 14:52:27 2012 -0700
Add uhid original header.
This header was cherry-picked from the upstream series that ends
with patch adefb69b1b94df29ea2df05cd838c0e032b2c473.
Change-Id: If516e41b6b14754e7feebdf062461dd38a31900a
Signed-off-by: Scott Anderson <saa@android.com >
Change-Id: I088a0df4449df859835f8267d0d2e6cd4ed3c478
Signed-off-by: Scott Anderson <saa@android.com >
2012-08-16 11:56:11 -07:00
The Android Automerger
e20afb140c
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-16 06:33:16 -07:00
Elliott Hughes
26145cfc18
am 949d6faa: am a626bbdb: am 4af9141c: am ae728099: Merge "enable clone system call for x86"
...
* commit '949d6faa96e25170293d2a9ebe6f76cc91b77a6e':
enable clone system call for x86
2012-08-15 17:26:44 -07:00
Elliott Hughes
949d6faa96
am a626bbdb: am 4af9141c: am ae728099: Merge "enable clone system call for x86"
...
* commit 'a626bbdb361539d6667932027ea9ffa26ef1faf4':
enable clone system call for x86
2012-08-15 17:25:35 -07:00
Elliott Hughes
a626bbdb36
am 4af9141c: am ae728099: Merge "enable clone system call for x86"
...
* commit '4af9141c5cc0989df6a1efcb10b2cfd484f2d9d2':
enable clone system call for x86
2012-08-15 17:24:21 -07:00
Elliott Hughes
4af9141c5c
am ae728099: Merge "enable clone system call for x86"
...
* commit 'ae7280994e7845037b667fd6ebdcb6f299ba1aab':
enable clone system call for x86
2012-08-15 17:22:50 -07:00
Elliott Hughes
1d16b89289
am 31041a01: am 29af938c: am ab8850f7: am 07cd1125: Merge "Fix comment typos."
...
* commit '31041a0138d62879257d6980abd1e006c299752b':
Fix comment typos.
2012-08-15 17:11:48 -07:00
Elliott Hughes
b8d2695c82
am cdbd3406: am 4d63f33c: am 76aad1d2: am e1cd69a7: Merge "Regenerate all NOTICE files with the latest version of the script."
...
* commit 'cdbd3406f51d7f21326fe99df21e48a9191dddc1':
Regenerate all NOTICE files with the latest version of the script.
2012-08-15 17:11:47 -07:00
Elliott Hughes
31041a0138
am 29af938c: am ab8850f7: am 07cd1125: Merge "Fix comment typos."
...
* commit '29af938cbd9b898c92f44c022dc7f5d3ab9782a7':
Fix comment typos.
2012-08-15 17:09:39 -07:00
Elliott Hughes
cdbd3406f5
am 4d63f33c: am 76aad1d2: am e1cd69a7: Merge "Regenerate all NOTICE files with the latest version of the script."
...
* commit '4d63f33cdc74c340c13b96143833f669835764f2':
Regenerate all NOTICE files with the latest version of the script.
2012-08-15 17:09:38 -07:00
Elliott Hughes
29af938cbd
am ab8850f7: am 07cd1125: Merge "Fix comment typos."
...
* commit 'ab8850f7e2b79914af4cf83816e9a263b9e6dec3':
Fix comment typos.
2012-08-15 17:08:01 -07:00
Elliott Hughes
4d63f33cdc
am 76aad1d2: am e1cd69a7: Merge "Regenerate all NOTICE files with the latest version of the script."
...
* commit '76aad1d2746f62aaaacdf717b4f51fa45560521d':
Regenerate all NOTICE files with the latest version of the script.
2012-08-15 17:07:59 -07:00
Elliott Hughes
ab8850f7e2
am 07cd1125: Merge "Fix comment typos."
...
* commit '07cd11251f52ff8a8a98dba795f69aaa75199473':
Fix comment typos.
2012-08-15 17:06:53 -07:00
Elliott Hughes
76aad1d274
am e1cd69a7: Merge "Regenerate all NOTICE files with the latest version of the script."
...
* commit 'e1cd69a708d30fbc3b9e0e8d4db67f67fc123b65':
Regenerate all NOTICE files with the latest version of the script.
2012-08-15 17:06:51 -07:00
Elliott Hughes
ae7280994e
Merge "enable clone system call for x86"
2012-08-15 17:05:47 -07:00
Jin Wei
22d366cc09
enable clone system call for x86
...
Add __bionic_clone function for x86, which will be
used for clone system call.
Change-Id: I889dc9bf4b7ebb4358476e17e6f3233e26491f4d
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com >
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Author-tracking-BZ: 51414
2012-08-15 17:04:50 -07:00
Elliott Hughes
07cd11251f
Merge "Fix comment typos."
2012-08-15 16:59:21 -07:00
Elliott Hughes
105bc26fa6
Fix comment typos.
...
Change-Id: I8feeec1ee9935a6d6baebe57f1c0043ff90ff94f
2012-08-15 16:56:00 -07:00
Elliott Hughes
e1cd69a708
Merge "Regenerate all NOTICE files with the latest version of the script."
2012-08-15 16:51:56 -07:00
Elliott Hughes
0681b2e477
am f53c75e5: am 2e3756b4: am 9b3bbcda: am fe43c768: Merge "Switch to the current NetBSD regex implementation."
...
* commit 'f53c75e513cb088d712badc32b89a8792a329d63':
Switch to the current NetBSD regex implementation.
2012-08-15 16:03:03 -07:00
Elliott Hughes
f53c75e513
am 2e3756b4: am 9b3bbcda: am fe43c768: Merge "Switch to the current NetBSD regex implementation."
...
* commit '2e3756b4d36c9b7f6a892b87757d41b3201b9773':
Switch to the current NetBSD regex implementation.
2012-08-15 16:01:22 -07:00
Elliott Hughes
2e3756b4d3
am 9b3bbcda: am fe43c768: Merge "Switch to the current NetBSD regex implementation."
...
* commit '9b3bbcda8478a31fa2c3865e0bd8cb3011dfc26e':
Switch to the current NetBSD regex implementation.
2012-08-15 15:59:44 -07:00
Elliott Hughes
9b3bbcda84
am fe43c768: Merge "Switch to the current NetBSD regex implementation."
...
* commit 'fe43c768ec803a1febde0424bb5e69c343dd7ae9':
Switch to the current NetBSD regex implementation.
2012-08-15 15:58:39 -07:00
Elliott Hughes
32dbc03c73
Regenerate all NOTICE files with the latest version of the script.
...
This sorts every entry, so we should have more stability and fewer
merge conflicts in future.
Change-Id: Ifc5347dc53352da22c82d41ca59b483966fcfc6b
2012-08-15 15:43:13 -07:00
Elliott Hughes
fe43c768ec
Merge "Switch to the current NetBSD regex implementation."
2012-08-15 15:39:49 -07:00
Elliott Hughes
cc213f871b
Switch to the current NetBSD regex implementation.
...
Change-Id: If32b28dd85d6a7ab8957ab81d19fa4c0de9499d5
2012-08-15 15:39:11 -07:00
The Android Open Source Project
c05ca5f058
am e24cde44: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'e24cde4406792ee57f5dbfaa1efc35131f289063':
2012-08-15 08:29:17 -07:00
The Android Open Source Project
e24cde4406
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I2f6d32a6bc10f17d85930b21c2ac55c91d5e252e
2012-08-15 08:26:11 -07:00
The Android Automerger
46bb2a222e
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-15 06:33:26 -07:00
Elliott Hughes
cc9f4d56c0
am ff45d5cd: am 82259117: am 008a0a5d: am 53493a9b: Merge "Sort NOTICE entries."
...
* commit 'ff45d5cdbfc4117d69fc688f12ec251297eb8751':
Sort NOTICE entries.
2012-08-14 15:47:31 -07:00
Elliott Hughes
ff45d5cdbf
am 82259117: am 008a0a5d: am 53493a9b: Merge "Sort NOTICE entries."
...
* commit '82259117753adffdab3ce74efb12d30a5289ad2b':
Sort NOTICE entries.
2012-08-14 15:46:26 -07:00
Elliott Hughes
8225911775
am 008a0a5d: am 53493a9b: Merge "Sort NOTICE entries."
...
* commit '008a0a5d50965f73d5954607a0b17b95a7f1fd0e':
Sort NOTICE entries.
2012-08-14 15:43:57 -07:00
Iliyan Malchev
422bb8b5c4
am 912dd712: am df88d88f: Merge changes I2e8af44e,Ie9250a0e into jb-mr1-dev
...
* commit '912dd71259959a259478465296438e83d0ad8e64':
update msm_mdp.h header to support vsync
update processed msm_camera.h and msm_isp.h
2012-08-14 15:43:18 -07:00
Elliott Hughes
008a0a5d50
am 53493a9b: Merge "Sort NOTICE entries."
...
* commit '53493a9b26e9fb665de590abf3502af94eaf3f44':
Sort NOTICE entries.
2012-08-14 15:42:36 -07:00
Iliyan Malchev
912dd71259
am df88d88f: Merge changes I2e8af44e,Ie9250a0e into jb-mr1-dev
...
* commit 'df88d88f56f37cdf75ab03c6b68a42010d9ac6c7':
update msm_mdp.h header to support vsync
update processed msm_camera.h and msm_isp.h
2012-08-14 15:41:38 -07:00
Iliyan Malchev
df88d88f56
Merge changes I2e8af44e,Ie9250a0e into jb-mr1-dev
...
* changes:
update msm_mdp.h header to support vsync
update processed msm_camera.h and msm_isp.h
2012-08-14 15:40:21 -07:00
Elliott Hughes
53493a9b26
Merge "Sort NOTICE entries."
2012-08-14 15:31:18 -07:00
Elliott Hughes
ea4900b89a
am 0a3f66e9: am fdbecf3b: am 63696738: am b6a97196: Merge "More cleanup."
...
* commit '0a3f66e9a0ef47dc2f751292a69434405221ef90':
More cleanup.
2012-08-14 15:14:56 -07:00
Elliott Hughes
0a3f66e9a0
am fdbecf3b: am 63696738: am b6a97196: Merge "More cleanup."
...
* commit 'fdbecf3b5a16f8e35e1ad67ec9c807eb66e2ac3b':
More cleanup.
2012-08-14 15:13:10 -07:00
Elliott Hughes
fdbecf3b5a
am 63696738: am b6a97196: Merge "More cleanup."
...
* commit '63696738e5d0684fb1e769c541fba2e552c5110a':
More cleanup.
2012-08-14 15:10:51 -07:00
Elliott Hughes
63696738e5
am b6a97196: Merge "More cleanup."
...
* commit 'b6a971962acdf2684fd98658ec6fe6aa9952d84b':
More cleanup.
2012-08-14 15:08:38 -07:00
Elliott Hughes
261e2232c1
Sort NOTICE entries.
...
Also make sure we get the whole of any copyright header, in case
there's text before the "Copyright" line.
Change-Id: Iabcc5e0931a39c0107b833539fec7c5a3d134592
2012-08-14 15:04:05 -07:00
Elliott Hughes
b6a971962a
Merge "More cleanup."
2012-08-14 15:02:40 -07:00
Elliott Hughes
bedfe38b8b
More cleanup.
...
Make more stuff static, remove some dead code, and fix a few typos.
Change-Id: I010b0eadeaf61e2899c37014ad1e7082c70bd510
2012-08-14 14:07:59 -07:00
Naseer Ahmed
056b4bc499
update msm_mdp.h header to support vsync
...
Change-Id: I2e8af44e430ff4955615d166bd25d7a2102ccc0f
2012-08-14 12:51:42 -07:00
Ajay Dudani
77b25702ba
update processed msm_camera.h and msm_isp.h
...
Change-Id: Ie9250a0ef888a2d1ba0b736b19fede369daeef84
2012-08-14 12:51:42 -07:00
Elliott Hughes
8af9d9a7d0
am 7bb37492: am 89a35435: am 16a0cbaa: am b7c6991c: Merge "Update MS_ mount flags, define unshare() syscall."
...
* commit '7bb37492cc371e9bbca68406af1b94ae1348fe3c':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:33:05 -07:00
Elliott Hughes
7bb37492cc
am 89a35435: am 16a0cbaa: am b7c6991c: Merge "Update MS_ mount flags, define unshare() syscall."
...
* commit '89a3543568ffedb54473f961f36f17d211d9c7e1':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:31:15 -07:00
Elliott Hughes
89a3543568
am 16a0cbaa: am b7c6991c: Merge "Update MS_ mount flags, define unshare() syscall."
...
* commit '16a0cbaa83dc653a5b6a0fa62088f08cdfa4dedc':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:29:01 -07:00
Elliott Hughes
16a0cbaa83
am b7c6991c: Merge "Update MS_ mount flags, define unshare() syscall."
...
* commit 'b7c6991c9af3882bd13cbf6bc42da85c884aa5f5':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:27:44 -07:00
Elliott Hughes
6bdc30e923
am 028ed539: am dc320d99: am 82b69fcb: am b9c6854c: Merge "linker: avoid clobbering the .dynamic section of shared libs"
...
* commit '028ed539ddbe577687ac9778382c98aab3bf279f':
linker: avoid clobbering the .dynamic section of shared libs
2012-08-14 12:21:21 -07:00
Elliott Hughes
a10b277de2
am bfcd5525: am b6d6ec53: am 370a7094: am c50e0197: Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
...
* commit 'bfcd55250058e927e0c6d0b94337c89fc2d86fa2':
Switch to upstream NetBSD tdelete/tfind/tsearch.
2012-08-14 12:21:20 -07:00
Elliott Hughes
028ed539dd
am dc320d99: am 82b69fcb: am b9c6854c: Merge "linker: avoid clobbering the .dynamic section of shared libs"
...
* commit 'dc320d99f1e09c0e42fc86f3cb28c15b77d7701b':
linker: avoid clobbering the .dynamic section of shared libs
2012-08-14 12:17:27 -07:00
Elliott Hughes
bfcd552500
am b6d6ec53: am 370a7094: am c50e0197: Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
...
* commit 'b6d6ec5326a016e60d2bd82edf857aaec6d5ce95':
Switch to upstream NetBSD tdelete/tfind/tsearch.
2012-08-14 12:17:26 -07:00
Elliott Hughes
b7c6991c9a
Merge "Update MS_ mount flags, define unshare() syscall."
2012-08-14 12:14:29 -07:00
Elliott Hughes
dc320d99f1
am 82b69fcb: am b9c6854c: Merge "linker: avoid clobbering the .dynamic section of shared libs"
...
* commit '82b69fcbb3cc94bcde82c72d5c66fb3b504cdb6e':
linker: avoid clobbering the .dynamic section of shared libs
2012-08-14 12:14:13 -07:00
Elliott Hughes
b6d6ec5326
am 370a7094: am c50e0197: Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
...
* commit '370a70948ad56046f685ffda34ead8ae88dcad2a':
Switch to upstream NetBSD tdelete/tfind/tsearch.
2012-08-14 12:14:12 -07:00
Elliott Hughes
82b69fcbb3
am b9c6854c: Merge "linker: avoid clobbering the .dynamic section of shared libs"
...
* commit 'b9c6854cd9d5286f991aec66be3a8a57f5e3e7be':
linker: avoid clobbering the .dynamic section of shared libs
2012-08-14 12:11:54 -07:00
Elliott Hughes
370a70948a
am c50e0197: Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
...
* commit 'c50e019734fb379e2efc1d50e188dd51cf085b96':
Switch to upstream NetBSD tdelete/tfind/tsearch.
2012-08-14 12:11:53 -07:00
Jeff Sharkey
0febe091a5
am 21f7ef9e: am d8450043: Merge "Update MS_ mount flags, define unshare() syscall." into jb-mr1-dev
...
* commit '21f7ef9eb269f75d7c291b4c574eabc865bf4362':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:11:01 -07:00
Jeff Sharkey
74c0464006
Update MS_ mount flags, define unshare() syscall.
...
(cherry-pick of 82393decdfc6b0383054fb5d2f54725bbee88b8c.)
Bug: 6925012
Change-Id: I4f962d8975ad62ff4b9983150f9e481796092b9d
2012-08-14 12:09:25 -07:00
Elliott Hughes
b9c6854cd9
Merge "linker: avoid clobbering the .dynamic section of shared libs"
2012-08-14 12:07:18 -07:00
Jeff Sharkey
21f7ef9eb2
am d8450043: Merge "Update MS_ mount flags, define unshare() syscall." into jb-mr1-dev
...
* commit 'd8450043b060358e1235a1f052d63aa4527b2400':
Update MS_ mount flags, define unshare() syscall.
2012-08-14 12:06:36 -07:00
Jeff Sharkey
d8450043b0
Merge "Update MS_ mount flags, define unshare() syscall." into jb-mr1-dev
2012-08-14 12:05:46 -07:00
Elliott Hughes
c50e019734
Merge "Switch to upstream NetBSD tdelete/tfind/tsearch."
2012-08-14 11:56:30 -07:00
Jeff Sharkey
82393decdf
Update MS_ mount flags, define unshare() syscall.
...
Bug: 6925012
Change-Id: I4ad79b4bccb7737d4dc704476cdb5795d124f53e
2012-08-14 11:45:12 -07:00
Ard Biesheuvel
12c78bbded
linker: avoid clobbering the .dynamic section of shared libs
...
This patch removes the DT_NEEDED hack which stores pointers
to soinfo structs in the .dynamic section of the library
being loaded.
Instead, it caches the soinfo struct pointers on the stack
during relocation time. After relocation time, i.e. when
calling constructors and destructors of the shared library
and its dependencies, uncached access is used instead,
doing lookups using the string table entries pointed to by
the DT_NEEDED entries.
By removing this hack, it is no longer needed to undo the
PT_GNURELRO protection, i.e., all non-writable mappings
can remain non-writable during their entire lifespan.
Even though, strictly speaking, the algorithmic complexity
has increased somewhat, the real-world adverse effect
is negligible on the systems I have tested.
Change-Id: I2361502560b96b5878f7f94a8e8a215350d70d64
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com >
2012-08-14 19:38:28 +02:00
The Android Automerger
59b222ac75
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-14 07:06:10 -07:00
Elliott Hughes
409302f0f9
Switch to upstream NetBSD tdelete/tfind/tsearch.
...
tdestroy is a GNU extension, so that stays.
Change-Id: Iedebaff25ea7e92b1ab1dd4440da12b67b99aa40
2012-08-13 17:41:49 -07:00
Elliott Hughes
d52075bd97
am 2bc1cade: am 93a9d534: am d544bdfa: am 54655eaf: Merge "Fix nice..."
...
* commit '2bc1cadeff4b7d41c889b8f1b965028ec575bed6':
Fix nice...
2012-08-13 17:16:55 -07:00
Elliott Hughes
2bc1cadeff
am 93a9d534: am d544bdfa: am 54655eaf: Merge "Fix nice..."
...
* commit '93a9d53485677fb5b897a127b27e6bdbc40911c7':
Fix nice...
2012-08-13 17:15:40 -07:00
Elliott Hughes
93a9d53485
am d544bdfa: am 54655eaf: Merge "Fix nice..."
...
* commit 'd544bdfac8da8aa7052aab47468acb3baf8e461a':
Fix nice...
2012-08-13 17:14:40 -07:00
Elliott Hughes
d544bdfac8
am 54655eaf: Merge "Fix nice..."
...
* commit '54655eaf92ca91bfe2fa293896059a181e27b6eb':
Fix nice...
2012-08-13 17:12:48 -07:00
Elliott Hughes
54655eaf92
Merge "Fix nice..."
2012-08-13 16:56:18 -07:00
Elliott Hughes
3d2d448af1
Fix nice...
...
...by switching to the NetBSD implementation.
Change-Id: I562b27b237a24ded95804035cc322c7bff12ff59
2012-08-13 16:38:29 -07:00
Elliott Hughes
50b4523380
am aa29740c: am 69fc1522: am aa6c8994: am b66bc514: Merge "Clean up warnings in stubs.cpp."
...
* commit 'aa29740ce252113071f96872b7b99c8528bd1637':
Clean up warnings in stubs.cpp.
2012-08-13 16:28:44 -07:00
Elliott Hughes
aa29740ce2
am 69fc1522: am aa6c8994: am b66bc514: Merge "Clean up warnings in stubs.cpp."
...
* commit '69fc1522a30df39fcf115f09f7665b590677ba27':
Clean up warnings in stubs.cpp.
2012-08-13 16:27:05 -07:00
Elliott Hughes
69fc1522a3
am aa6c8994: am b66bc514: Merge "Clean up warnings in stubs.cpp."
...
* commit 'aa6c8994b7c40ea637d60fa4413928e62b5d814a':
Clean up warnings in stubs.cpp.
2012-08-13 16:24:38 -07:00
Elliott Hughes
aa6c8994b7
am b66bc514: Merge "Clean up warnings in stubs.cpp."
...
* commit 'b66bc51423a1f3969d0e70e035126ac4c4898b50':
Clean up warnings in stubs.cpp.
2012-08-13 16:22:43 -07:00
Elliott Hughes
b66bc51423
Merge "Clean up warnings in stubs.cpp."
2012-08-13 16:17:55 -07:00
Elliott Hughes
71c9a05614
am c37b31d8: am eab7bddd: am ca09412a: am 222eec2e: Merge "Handle naming for system uids running as secondary users"
...
* commit 'c37b31d848050b6bc534984556641f738fa0324b':
Handle naming for system uids running as secondary users
2012-08-13 16:10:32 -07:00
Elliott Hughes
66c033868f
am c64c1b49: am ad8ff472: am c1eb7619: am 440e417d: Merge "Add dependencies on all the makefiles."
...
* commit 'c64c1b49fd5c51b1b6e87d88b233d23fa172d372':
Add dependencies on all the makefiles.
2012-08-13 16:10:31 -07:00
Elliott Hughes
4a5ab7a191
am 141a3b10: am cfd0345f: am 35dcf19b: am 66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
...
* commit '141a3b109c32acb0d7279ea85706db781bfc0594':
Update arch-mips/asm/unistd.h for the newer syscalls
2012-08-13 16:10:30 -07:00
Elliott Hughes
de727caee2
Clean up warnings in stubs.cpp.
...
Switch to C++ to get extra warnings, and format the code Google style.
Change-Id: Ifc0131bf297a6ee8a8a6b8d049a02518b0b1a4b7
2012-08-13 16:10:19 -07:00
Elliott Hughes
c37b31d848
am eab7bddd: am ca09412a: am 222eec2e: Merge "Handle naming for system uids running as secondary users"
...
* commit 'eab7bddd9eb585ce3992314c9e411b909c05e87b':
Handle naming for system uids running as secondary users
2012-08-13 16:07:46 -07:00
Elliott Hughes
c64c1b49fd
am ad8ff472: am c1eb7619: am 440e417d: Merge "Add dependencies on all the makefiles."
...
* commit 'ad8ff472b6d80561629db4826452fddf3007bdce':
Add dependencies on all the makefiles.
2012-08-13 16:07:45 -07:00
Elliott Hughes
141a3b109c
am cfd0345f: am 35dcf19b: am 66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
...
* commit 'cfd0345fe056cf945f5b6f61d4316536781697b4':
Update arch-mips/asm/unistd.h for the newer syscalls
2012-08-13 16:07:44 -07:00
Elliott Hughes
eab7bddd9e
am ca09412a: am 222eec2e: Merge "Handle naming for system uids running as secondary users"
...
* commit 'ca09412a1f13c6e2df72c1efccdad1d9960ba99b':
Handle naming for system uids running as secondary users
2012-08-13 16:03:27 -07:00
Elliott Hughes
ad8ff472b6
am c1eb7619: am 440e417d: Merge "Add dependencies on all the makefiles."
...
* commit 'c1eb76198ec81802f69b52a8c6fbf97765d46f53':
Add dependencies on all the makefiles.
2012-08-13 16:03:26 -07:00
Elliott Hughes
cfd0345fe0
am 35dcf19b: am 66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
...
* commit '35dcf19b2bcf388cda7f4c9baacb159c15c9b03f':
Update arch-mips/asm/unistd.h for the newer syscalls
2012-08-13 16:03:16 -07:00
Elliott Hughes
ca09412a1f
am 222eec2e: Merge "Handle naming for system uids running as secondary users"
...
* commit '222eec2ecfc4afcbd5cf0f08e16f69f6c3c424fa':
Handle naming for system uids running as secondary users
2012-08-13 15:00:55 -07:00
Elliott Hughes
222eec2ecf
Merge "Handle naming for system uids running as secondary users"
2012-08-13 14:45:27 -07:00
Elliott Hughes
c1eb76198e
am 440e417d: Merge "Add dependencies on all the makefiles."
...
* commit '440e417d5f8fb3ab3b5296eaea3720be52086730':
Add dependencies on all the makefiles.
2012-08-13 14:30:35 -07:00
Amith Yamasani
bf9441efb8
Handle naming for system uids running as secondary users
...
Allow naming such as u1_system, u2_radio, u2_media.
Forward and reverse mapping for the above.
(cherry-pick of c60a0027b1ef3bc4929d2023e7083fbce12fafe7.)
Change-Id: I46eeb23fee4f57b2907640570504123d3ce99985
2012-08-13 14:19:16 -07:00
Elliott Hughes
440e417d5f
Merge "Add dependencies on all the makefiles."
2012-08-13 14:12:02 -07:00
Elliott Hughes
ae5c64413b
Add dependencies on all the makefiles.
...
This should help prevent broken builds next time I'm messing with
assembler/compiler/linker flags...
Change-Id: I30f15a3ce3c3f3c60cad7bc59aaba9f42d792224
2012-08-13 14:06:05 -07:00
Amith Yamasani
79f3698f39
am c6c26a08: am ca7ee8a9: Merge "Handle naming for system uids running as secondary users" into jb-mr1-dev
...
* commit 'c6c26a08c8ffd431824e13c40328c35394fb4148':
Handle naming for system uids running as secondary users
2012-08-13 13:53:55 -07:00
Amith Yamasani
c6c26a08c8
am ca7ee8a9: Merge "Handle naming for system uids running as secondary users" into jb-mr1-dev
...
* commit 'ca7ee8a9e50d99f3d014a523460191b1e67e9c9f':
Handle naming for system uids running as secondary users
2012-08-13 13:52:07 -07:00
Amith Yamasani
ca7ee8a9e5
Merge "Handle naming for system uids running as secondary users" into jb-mr1-dev
2012-08-13 13:49:51 -07:00
Amith Yamasani
c60a0027b1
Handle naming for system uids running as secondary users
...
Allow naming such as u1_system, u2_radio, u2_media.
Forward and reverse mapping for the above.
Change-Id: Iebe6e5702fc1ed83aa67769a12f693c1be7968ed
2012-08-13 13:35:31 -07:00
Elliott Hughes
35dcf19b2b
am 66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
...
* commit '66fba00991f03d07c72f809d033b88748f839bda':
Update arch-mips/asm/unistd.h for the newer syscalls
2012-08-13 12:47:13 -07:00
Elliott Hughes
66fba00991
Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
2012-08-13 12:42:01 -07:00
Raghu Gandham
7d9f1c46bb
Update arch-mips/asm/unistd.h for the newer syscalls
...
Change-Id: Ie292c091cbf4b972e1b5faa7d779645c6e4442f0
2012-08-13 11:54:53 -07:00
Elliott Hughes
5dcf871abb
am 94d7f701: am 71c0366f: am e135d7f3: am a61ac525: Merge "Fix module constructor order."
...
* commit '94d7f701d1b5cda0621eb46160e11ccbeb85cdd3':
Fix module constructor order.
2012-08-13 11:15:25 -07:00
Elliott Hughes
94d7f701d1
am 71c0366f: am e135d7f3: am a61ac525: Merge "Fix module constructor order."
...
* commit '71c0366fc7f5436c6cffc2f43637f487dd734444':
Fix module constructor order.
2012-08-13 11:13:18 -07:00
Elliott Hughes
71c0366fc7
am e135d7f3: am a61ac525: Merge "Fix module constructor order."
...
* commit 'e135d7f305c00272ce1544b8243f999bb99979ec':
Fix module constructor order.
2012-08-13 11:11:58 -07:00
Elliott Hughes
e135d7f305
am a61ac525: Merge "Fix module constructor order."
...
* commit 'a61ac5257bea15d6cbfc640c03f18c2fb808b139':
Fix module constructor order.
2012-08-13 11:10:32 -07:00
Elliott Hughes
a61ac5257b
Merge "Fix module constructor order."
2012-08-13 11:06:53 -07:00
Evgeniy Stepanov
9181a5dcfe
Fix module constructor order.
...
.preinit_array goes before the constructors of LD_PRELOAD-ed libraries.
Change-Id: I1af32ce29eaf3ca4351ae8a0f7f5da5165853216
2012-08-13 11:05:47 -07:00
Nick Kralevich
f574ce603a
am 34e52129: am 19b10419: am 89fd9ecc: am 20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
...
* commit '34e5212961cb64cf690289bc94c59b3b6245694c':
linker: don't perform unnecessary mprotects
2012-08-13 09:51:48 -07:00
Nick Kralevich
34e5212961
am 19b10419: am 89fd9ecc: am 20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
...
* commit '19b104193067a42806dd291a20af29ebbd1c37f0':
linker: don't perform unnecessary mprotects
2012-08-13 09:50:30 -07:00
Nick Kralevich
19b1041930
am 89fd9ecc: am 20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
...
* commit '89fd9eccdca0eb5aed296bd7a2003424defe970c':
linker: don't perform unnecessary mprotects
2012-08-13 09:48:17 -07:00
Nick Kralevich
89fd9eccdc
am 20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
...
* commit '20b94c0ce99ea3d2315535091c8bcd02f831d252':
linker: don't perform unnecessary mprotects
2012-08-13 09:46:43 -07:00
Nick Kralevich
20b94c0ce9
Merge "linker: don't perform unnecessary mprotects"
2012-08-13 09:28:54 -07:00
Nick Kralevich
5135b3ae6e
linker: don't perform unnecessary mprotects
...
The linker only needs to mark the text segment as
writable iff the file has text relocations. Unnecessarily
calling mprotect when it isn't necessary is slow, and some
security enhanced kernels don't like it. Pages which are
simultaneously writable and executable are considered a no-no.
The vast majority of executables / shared libraries on Android
do NOT have text relocations.
Change-Id: Ic38ce30a99b7e33ecf21efd9c108547a58eafa35
2012-08-13 08:50:11 -07:00
The Android Automerger
df0cf64781
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-13 08:09:08 -07:00
Elliott Hughes
259f4a1503
am 7261264c: am 2a22a69e: am 877dc946: am 072a7e6c: Merge "MIPS support to the libc Makefile"
...
* commit '7261264c3a336bfb6e52241c2ba80679cbba68c8':
MIPS support to the libc Makefile
2012-08-11 15:19:34 -07:00
Ben Cheng
dd8cd5d6bc
am daedcfc5: am 9eeaa4bd: am 7e3918eb: am 0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
...
* commit 'daedcfc595f51b1fe22b53d272cee1a142305a11':
Set the dynamic field in the link map for the linker itself.
2012-08-11 15:19:33 -07:00
Elliott Hughes
7261264c3a
am 2a22a69e: am 877dc946: am 072a7e6c: Merge "MIPS support to the libc Makefile"
...
* commit '2a22a69e942cde007a1253e82be44548cfc018f8':
MIPS support to the libc Makefile
2012-08-11 15:18:04 -07:00
Ben Cheng
daedcfc595
am 9eeaa4bd: am 7e3918eb: am 0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
...
* commit '9eeaa4bd17b7131e20ad2e36f1372605e80a1332':
Set the dynamic field in the link map for the linker itself.
2012-08-11 15:18:03 -07:00
Elliott Hughes
2a22a69e94
am 877dc946: am 072a7e6c: Merge "MIPS support to the libc Makefile"
...
* commit '877dc946090749ba7a71f7ae07f51aa32f966083':
MIPS support to the libc Makefile
2012-08-11 15:16:34 -07:00
Ben Cheng
9eeaa4bd17
am 7e3918eb: am 0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
...
* commit '7e3918eb62d31224fc5d1cff44d591fecd31e9d0':
Set the dynamic field in the link map for the linker itself.
2012-08-11 15:16:33 -07:00
Ying Wang
c97c5fc788
Split out LOCAL_ASFLAGS.
...
Bug: 6967574
Change-Id: I5be50d582c1cb8075039b06292cf0745a996c3c4
2012-08-11 14:23:19 -07:00
Elliott Hughes
877dc94609
am 072a7e6c: Merge "MIPS support to the libc Makefile"
...
* commit '072a7e6ced29d9be29e38721d0ab7de0ba3f7377':
MIPS support to the libc Makefile
2012-08-11 11:51:37 -07:00
Ben Cheng
7e3918eb62
am 0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
...
* commit '0bf5cf87c6b7d3de8962ba132ecfb6f0e4b84f06':
Set the dynamic field in the link map for the linker itself.
2012-08-11 11:51:36 -07:00
Elliott Hughes
072a7e6ced
Merge "MIPS support to the libc Makefile"
2012-08-11 09:36:05 -07:00
Raghu Gandham
a4c7933b49
MIPS support to the libc Makefile
...
Change-Id: Ia1f3f545ca61a5abb235e99046cb3cdaf24d4205
2012-08-10 17:24:02 -07:00
Ben Cheng
0bf5cf87c6
Merge "Set the dynamic field in the link map for the linker itself."
2012-08-10 16:46:09 -07:00
Ben Cheng
06f0e74a2b
Set the dynamic field in the link map for the linker itself.
...
Otherwise gdb will print a spurious warning each time gdb is used:
warning: .dynamic section for "/system/bin/linker" is not at the expected
address (wrong library or version mismatch?)
BUG:6946614
Change-Id: Ib21b8db0615751189c1601140deb43bc089289b6
2012-08-10 16:07:02 -07:00
Elliott Hughes
6a80cc9e08
am 516b26f2: am 0837c69a: am edf09bf9: am 316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
...
* commit '516b26f2bf755879feb51d06dcd9511903d0a9bd':
MIPS support to sigsuspend and sigwait routines
2012-08-10 15:20:58 -07:00
Elliott Hughes
516b26f2bf
am 0837c69a: am edf09bf9: am 316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
...
* commit '0837c69a63439b0c1bf3fbf1b93f3003fc5c9a2d':
MIPS support to sigsuspend and sigwait routines
2012-08-10 15:18:59 -07:00
Elliott Hughes
0837c69a63
am edf09bf9: am 316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
...
* commit 'edf09bf990c8b011a084dbdb92050879e08ad8a9':
MIPS support to sigsuspend and sigwait routines
2012-08-10 15:17:05 -07:00
Elliott Hughes
edf09bf990
am 316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
...
* commit '316ee626b729e3f66a5505a20128af26440cfd19':
MIPS support to sigsuspend and sigwait routines
2012-08-10 15:15:23 -07:00
Elliott Hughes
316ee626b7
Merge "MIPS support to sigsuspend and sigwait routines"
2012-08-10 15:05:36 -07:00
Nick Kralevich
d7a941f210
am 17f65bf4: am 73d99958: am fabeb736: am 38a02b4b: Merge "crtend*: Add GNU_STACK note"
...
* commit '17f65bf468074083624aa7546da024193d70c50a':
crtend*: Add GNU_STACK note
2012-08-10 14:50:02 -07:00
Nick Kralevich
17f65bf468
am 73d99958: am fabeb736: am 38a02b4b: Merge "crtend*: Add GNU_STACK note"
...
* commit '73d99958bb8bb4cd8f8a7632aeb7e6afaa1e38f1':
crtend*: Add GNU_STACK note
2012-08-10 14:48:44 -07:00
Nick Kralevich
73d99958bb
am fabeb736: am 38a02b4b: Merge "crtend*: Add GNU_STACK note"
...
* commit 'fabeb736e91d4f4f79a1cbbed696cffb50a860a9':
crtend*: Add GNU_STACK note
2012-08-10 14:46:56 -07:00
Nick Kralevich
fabeb736e9
am 38a02b4b: Merge "crtend*: Add GNU_STACK note"
...
* commit '38a02b4b80f50aa1b3e2ee39e9e98146cf42be3d':
crtend*: Add GNU_STACK note
2012-08-10 14:42:11 -07:00
Nick Kralevich
38a02b4b80
Merge "crtend*: Add GNU_STACK note"
2012-08-10 14:29:27 -07:00
Elliott Hughes
4a20a7f77c
am 623ed02e: am d71ada63: am 535477ca: am 3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
...
* commit '623ed02e35fb8c5b8c868b11f53c005e39707f74':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
2012-08-10 14:16:50 -07:00
Elliott Hughes
623ed02e35
am d71ada63: am 535477ca: am 3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
...
* commit 'd71ada630d5390b7fb6838cb48cb79a1581df1b1':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
2012-08-10 14:14:29 -07:00
Elliott Hughes
d71ada630d
am 535477ca: am 3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
...
* commit '535477ca5e29f3c14dff11ac362423156b5971ec':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
2012-08-10 14:12:08 -07:00
Nick Kralevich
6eee1fc68f
crtend*: Add GNU_STACK note
...
Add a GNU_STACK marker to crtend* files. This tells the linker
that these files do not require an executable stack.
When linking, a missing GNU_STACK marker in any .o file can prevent
the compiler from automatically marking the final executable as NX
safe (executable stack not required). In Android, we normally work
around this by adding -Wa,--noexecstack / -Wl,-z,noexecstack.
For files like crtend.S / crtend_so.S, which are included in every
executable / shared library, it's better to add the GNU_STACK note
directly to the assembly file. This allows the compiler to
automatically mark the final executable as NX safe without any
special command line options.
References: http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
Change-Id: I07bd058f9f60ddd8b146e0fb36ba26ff84c0357d
2012-08-10 14:12:00 -07:00
Elliott Hughes
535477ca5e
am 3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
...
* commit '3ede900b644c2a7c2fa41177b81735c8a09bd14a':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
2012-08-10 14:10:03 -07:00
Elliott Hughes
3ede900b64
Merge "Revert "Revert "Switch to NetBSD's strxfrm(3)."""
2012-08-10 14:03:06 -07:00
Elliott Hughes
63c16f85c5
am be01adce: am 5adc7fdc: am b54e5f2a: am a1822dce: Merge "Add unshare() syscall."
...
* commit 'be01adce3653912644b33e34a3c7894cf42c71e9':
Add unshare() syscall.
2012-08-10 13:10:22 -07:00
Elliott Hughes
be01adce36
am 5adc7fdc: am b54e5f2a: am a1822dce: Merge "Add unshare() syscall."
...
* commit '5adc7fdc2bc8e6e513c3dd9cd0c5cb7617d08d14':
Add unshare() syscall.
2012-08-10 13:08:05 -07:00
Elliott Hughes
5adc7fdc2b
am b54e5f2a: am a1822dce: Merge "Add unshare() syscall."
...
* commit 'b54e5f2a2fd014a5cbf105daea7b2eb8b59dec29':
Add unshare() syscall.
2012-08-10 13:06:35 -07:00
Elliott Hughes
b54e5f2a2f
am a1822dce: Merge "Add unshare() syscall."
...
* commit 'a1822dced3ed8625438b3cbf1c53f907f78a3a48':
Add unshare() syscall.
2012-08-10 13:04:22 -07:00
Elliott Hughes
a1822dced3
Merge "Add unshare() syscall."
2012-08-10 12:59:49 -07:00
Jeff Sharkey
e36c826f7a
Add unshare() syscall.
...
(cherry-pick of 5467f25f82934d611c60f8bc57a05114f3c1bea0.)
Bug: 6925012
Change-Id: Ic5ea2fbd606311087de05d7a3594df2fa9b2fef9
2012-08-10 12:57:43 -07:00
Elliott Hughes
c383a32926
am 4fc5f6c3: am 5140b785: am f6922be2: am f91e2f72: Merge "Fix typo in SIGTTOU description."
...
* commit '4fc5f6c366dac9c3c264b94b413b1f162a60a53d':
Fix typo in SIGTTOU description.
2012-08-10 12:54:39 -07:00
Elliott Hughes
1bb1aea178
am 7186a132: am 55206504: am a618ea30: am 4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
...
* commit '7186a13284bd70840b396aaec2090804e461869c':
Revert "Switch to NetBSD's strxfrm(3)."
2012-08-10 12:54:38 -07:00
Elliott Hughes
c2817899e4
am 731ecf0a: am 29b8fb3d: am 3e83da43: am 9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
...
* commit '731ecf0a317b46e12a71542fdaa289d31898f3c0':
Switch to NetBSD's strxfrm(3).
2012-08-10 12:54:37 -07:00
Elliott Hughes
4fc5f6c366
am 5140b785: am f6922be2: am f91e2f72: Merge "Fix typo in SIGTTOU description."
...
* commit '5140b785a04827d34225241f99f17e49aadbf3bb':
Fix typo in SIGTTOU description.
2012-08-10 12:52:23 -07:00
Elliott Hughes
7186a13284
am 55206504: am a618ea30: am 4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
...
* commit '552065048334cc893dadbc926701d08dc6c66fcc':
Revert "Switch to NetBSD's strxfrm(3)."
2012-08-10 12:52:22 -07:00
Elliott Hughes
731ecf0a31
am 29b8fb3d: am 3e83da43: am 9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
...
* commit '29b8fb3d5ea06d05fcd36e298b464dce7dc06803':
Switch to NetBSD's strxfrm(3).
2012-08-10 12:52:20 -07:00
Elliott Hughes
5140b785a0
am f6922be2: am f91e2f72: Merge "Fix typo in SIGTTOU description."
...
* commit 'f6922be2a5e30fc594f48ec435d92b5386648061':
Fix typo in SIGTTOU description.
2012-08-10 12:49:12 -07:00
Elliott Hughes
5520650483
am a618ea30: am 4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
...
* commit 'a618ea30e1c9d4f06031fb4ecdae31666db92993':
Revert "Switch to NetBSD's strxfrm(3)."
2012-08-10 12:49:10 -07:00
Elliott Hughes
29b8fb3d5e
am 3e83da43: am 9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
...
* commit '3e83da435b3ad7bee739972fca53dbfb692e6438':
Switch to NetBSD's strxfrm(3).
2012-08-10 12:49:08 -07:00
Elliott Hughes
75501a17f2
am d18b181a: am b6c1e34d: am dc6d5327: am 0836a7ff: Merge "Auto-generate a complete NOTICE file."
...
* commit 'd18b181a25b2fa21c20ecd4faaf5c8e6e50fb35b':
Auto-generate a complete NOTICE file.
2012-08-10 12:40:35 -07:00
Elliott Hughes
d18b181a25
am b6c1e34d: am dc6d5327: am 0836a7ff: Merge "Auto-generate a complete NOTICE file."
...
* commit 'b6c1e34dca58734c949b6c80d68c74104e1190e0':
Auto-generate a complete NOTICE file.
2012-08-10 12:38:37 -07:00
Elliott Hughes
b6c1e34dca
am dc6d5327: am 0836a7ff: Merge "Auto-generate a complete NOTICE file."
...
* commit 'dc6d5327bb6b030d154675f753d3e4f96dfa5e14':
Auto-generate a complete NOTICE file.
2012-08-10 12:36:22 -07:00
Elliott Hughes
f6922be2a5
am f91e2f72: Merge "Fix typo in SIGTTOU description."
...
* commit 'f91e2f72861643e1d31ffc3e6c374b52d33d2423':
Fix typo in SIGTTOU description.
2012-08-10 12:34:17 -07:00
Elliott Hughes
f91e2f7286
Merge "Fix typo in SIGTTOU description."
2012-08-10 12:27:06 -07:00
Elliott Hughes
01030e6388
Fix typo in SIGTTOU description.
...
Change-Id: Ie0db3e7df3e1f17b43f5645d027a90603139be2f
2012-08-10 12:23:58 -07:00
Elliott Hughes
f8b3a920a8
Revert "Revert "Switch to NetBSD's strxfrm(3).""
...
This reverts commit 8793e7c7d2 ,
and fixes the build by building upstream NetBSD source as a
separate library that's then swallowed whole into libc_common.
Change-Id: I6c9317d8c48b5ccaf85a7b185bc07fb31176ff97
2012-08-10 12:10:10 -07:00
Elliott Hughes
a618ea30e1
am 4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
...
* commit '4ec9e343cf445c5032d9a782d2e92b1dba713e61':
Revert "Switch to NetBSD's strxfrm(3)."
2012-08-10 11:44:29 -07:00
Elliott Hughes
4ec9e343cf
Merge "Revert "Switch to NetBSD's strxfrm(3).""
2012-08-10 11:36:31 -07:00
Elliott Hughes
8793e7c7d2
Revert "Switch to NetBSD's strxfrm(3)."
...
This reverts commit be1d78b0dc
Change-Id: I11a95db474796f3da004f27652b081d5ba4ec9b4
2012-08-10 11:36:17 -07:00
Jeff Sharkey
b17cd156b5
am 9a477de2: am 6ccc2c8f: Merge "Add unshare() syscall." into jb-mr1-dev
...
* commit '9a477de2f54922ba28dbc4789b12b83e64bd1474':
Add unshare() syscall.
2012-08-10 11:33:26 -07:00
Jeff Sharkey
9a477de2f5
am 6ccc2c8f: Merge "Add unshare() syscall." into jb-mr1-dev
...
* commit '6ccc2c8f435e42db3d844698f82ab6884798624a':
Add unshare() syscall.
2012-08-10 11:31:20 -07:00
Jeff Sharkey
6ccc2c8f43
Merge "Add unshare() syscall." into jb-mr1-dev
2012-08-10 11:29:53 -07:00
Elliott Hughes
3e83da435b
am 9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
...
* commit '9ad1d6f58ccbc830ce87e3ddf35708e519a8f23e':
Switch to NetBSD's strxfrm(3).
2012-08-10 11:28:40 -07:00
Elliott Hughes
9ad1d6f58c
Merge "Switch to NetBSD's strxfrm(3)."
2012-08-10 11:23:30 -07:00
Jeff Sharkey
5467f25f82
Add unshare() syscall.
...
Bug: 6925012
Change-Id: I2530a8f6cea49eb32b60f8f9c4d86963773456ca
2012-08-10 11:17:59 -07:00
Elliott Hughes
be1d78b0dc
Switch to NetBSD's strxfrm(3).
...
There were two bugs in our implementation. Intel found one, but another
remainined, and tracking upstream is the way forward for functions where
we add no value.
Change-Id: Ida9bac0293fb2c4cbc942b1e0515ee0477c6538b
2012-08-10 11:03:02 -07:00
The Android Open Source Project
cb221a5cbe
am 1551f18a: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '1551f18af0c75c2b2c3ca61168fe4284b54f1a2e':
2012-08-10 08:53:33 -07:00
The Android Open Source Project
1551f18af0
Reconcile with jb-mr1-release - do not merge
...
Change-Id: Idae4db637990d9326dffba6d0679f520f7c69da0
2012-08-10 08:51:39 -07:00
Raghu Gandham
abd10011a7
MIPS support to sigsuspend and sigwait routines
...
Change-Id: I870e798ed7eac5a8c74e5784a670f3a4f24331a9
2012-08-09 18:51:19 -07:00
Elliott Hughes
dc6d5327bb
am 0836a7ff: Merge "Auto-generate a complete NOTICE file."
...
* commit '0836a7ffb13890558fe568119b023007cce66373':
Auto-generate a complete NOTICE file.
2012-08-09 16:39:15 -07:00
Elliott Hughes
0836a7ffb1
Merge "Auto-generate a complete NOTICE file."
2012-08-09 16:25:19 -07:00
Elliott Hughes
387d4b7de9
Auto-generate a complete NOTICE file.
...
Remove the hand-collated ones, and switch to a script that pulls the
copyright headers out of every file and collects the unique ones.
Change-Id: Ied3b98b3f56241df97166c410ff81de4e0157c9d
2012-08-09 16:05:31 -07:00
Elliott Hughes
444a2bf314
am 8e1e66da: am 31ab6ac0: am 8cc8f7e0: am 709bb0f7: Merge "Remove ThirdPartyProject.prop."
...
* commit '8e1e66da21398b9ccd4ce68d855909e5eb53f6f0':
Remove ThirdPartyProject.prop.
2012-08-09 14:51:21 -07:00
Elliott Hughes
8e1e66da21
am 31ab6ac0: am 8cc8f7e0: am 709bb0f7: Merge "Remove ThirdPartyProject.prop."
...
* commit '31ab6ac05ebbf29f767a15525f6f7fa2054cc8e3':
Remove ThirdPartyProject.prop.
2012-08-09 14:49:14 -07:00
Elliott Hughes
31ab6ac05e
am 8cc8f7e0: am 709bb0f7: Merge "Remove ThirdPartyProject.prop."
...
* commit '8cc8f7e0d566aaa4c4fbf9d9c8da72b268250617':
Remove ThirdPartyProject.prop.
2012-08-09 14:47:24 -07:00
Elliott Hughes
8cc8f7e0d5
am 709bb0f7: Merge "Remove ThirdPartyProject.prop."
...
* commit '709bb0f79ced522e5fb145182472ee4063b85368':
Remove ThirdPartyProject.prop.
2012-08-09 14:46:00 -07:00
Elliott Hughes
709bb0f79c
Merge "Remove ThirdPartyProject.prop."
2012-08-09 14:31:27 -07:00
Elliott Hughes
df675370d7
Remove ThirdPartyProject.prop.
...
These are dead. I cleaned up external/ a long time ago, but didn't
realize there were any in the main tree.
Change-Id: I5f35b2da132558e2763164285eb38629cd68ffda
2012-08-09 14:29:23 -07:00
Elliott Hughes
f1e95d935f
am 9550a7c5: am 3fc21198: am 531d348d: am a17b85d9: Merge "Remove the last .jam file."
...
* commit '9550a7c57c7f2ed98a5266843e1929cfd92c4a16':
Remove the last .jam file.
2012-08-09 12:15:02 -07:00
Elliott Hughes
9550a7c57c
am 3fc21198: am 531d348d: am a17b85d9: Merge "Remove the last .jam file."
...
* commit '3fc211983eb447dd4309c2f8d0e8c33ae685f02f':
Remove the last .jam file.
2012-08-09 12:13:27 -07:00
Elliott Hughes
3fc211983e
am 531d348d: am a17b85d9: Merge "Remove the last .jam file."
...
* commit '531d348d6e37deb751efbefc0613934c5a80de1d':
Remove the last .jam file.
2012-08-09 12:11:08 -07:00
Elliott Hughes
531d348d6e
am a17b85d9: Merge "Remove the last .jam file."
...
* commit 'a17b85d97b16583ba922a88346cc54976a0bfa28':
Remove the last .jam file.
2012-08-09 12:08:53 -07:00
Elliott Hughes
a17b85d97b
Merge "Remove the last .jam file."
2012-08-09 11:59:20 -07:00
Elliott Hughes
a554212992
Remove the last .jam file.
...
How did I miss this before?
Change-Id: I2e582133fc4800656fdd81104f8dfc7ee8f5b580
2012-08-09 11:54:23 -07:00
The Android Automerger
536b1daf00
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-09 09:29:41 -07:00
Elliott Hughes
1ab6f486de
am 0ac6d235: am b13ad93f: am 3820229b: am d504eee9: Merge "MIPS support to sys/ headers"
...
* commit '0ac6d23515cbeb8462b62be713119edb8718cd70':
MIPS support to sys/ headers
2012-08-08 17:49:39 -07:00
Elliott Hughes
a8e76ddf9e
am 1afca3f6: am 73ac7d94: am d2040cb2: am f655ce7e: Merge "Fix x86 build."
...
* commit '1afca3f69887d9c761d448ddc0c4031176351fe1':
Fix x86 build.
2012-08-08 17:49:38 -07:00
Elliott Hughes
0ac6d23515
am b13ad93f: am 3820229b: am d504eee9: Merge "MIPS support to sys/ headers"
...
* commit 'b13ad93f4a452b1ec7a37e1426f664787b83836f':
MIPS support to sys/ headers
2012-08-08 17:47:30 -07:00
Elliott Hughes
1afca3f698
am 73ac7d94: am d2040cb2: am f655ce7e: Merge "Fix x86 build."
...
* commit '73ac7d94b7cf627524be97da7704206b5ffd4fcf':
Fix x86 build.
2012-08-08 17:47:29 -07:00
Elliott Hughes
b13ad93f4a
am 3820229b: am d504eee9: Merge "MIPS support to sys/ headers"
...
* commit '3820229b46ed3012f19a32cea70b6007ad54b746':
MIPS support to sys/ headers
2012-08-08 17:44:20 -07:00
Elliott Hughes
73ac7d94b7
am d2040cb2: am f655ce7e: Merge "Fix x86 build."
...
* commit 'd2040cb2244bbd253951b5ff808efe67246e5154':
Fix x86 build.
2012-08-08 17:44:14 -07:00
Elliott Hughes
3820229b46
am d504eee9: Merge "MIPS support to sys/ headers"
...
* commit 'd504eee9fa7dda59a41eb3e12ef973f32ee1169f':
MIPS support to sys/ headers
2012-08-08 16:51:01 -07:00
Elliott Hughes
d504eee9fa
Merge "MIPS support to sys/ headers"
2012-08-08 16:32:55 -07:00
Elliott Hughes
d2040cb224
am f655ce7e: Merge "Fix x86 build."
...
* commit 'f655ce7ef3df277442ccc47f91cb919c1cd9ebd6':
Fix x86 build.
2012-08-08 16:19:25 -07:00
Elliott Hughes
f655ce7ef3
Merge "Fix x86 build."
2012-08-08 16:07:27 -07:00
Elliott Hughes
57e6d9ab48
Fix x86 build.
...
Change-Id: Ice50ca71a19f3bf26de7cfd4c02075f1e6e0823f
2012-08-08 16:06:51 -07:00
Elliott Hughes
40805076f9
am b02f100f: am 366c0199: am f3ffb8fa: am 78129204: Merge "Clean up the linker a bit, remove prelinking support."
...
* commit 'b02f100fa41d1905013b571fa4092857b873d78d':
Clean up the linker a bit, remove prelinking support.
2012-08-08 15:34:04 -07:00
Elliott Hughes
b02f100fa4
am 366c0199: am f3ffb8fa: am 78129204: Merge "Clean up the linker a bit, remove prelinking support."
...
* commit '366c01992a73c40c1b6722bf9d51755c4a7ea83e':
Clean up the linker a bit, remove prelinking support.
2012-08-08 15:32:19 -07:00
Elliott Hughes
366c01992a
am f3ffb8fa: am 78129204: Merge "Clean up the linker a bit, remove prelinking support."
...
* commit 'f3ffb8fa6ecd9db2da19eb3144a5da7724a875bc':
Clean up the linker a bit, remove prelinking support.
2012-08-08 15:30:39 -07:00
Elliott Hughes
f3ffb8fa6e
am 78129204: Merge "Clean up the linker a bit, remove prelinking support."
...
* commit '7812920487070d392984f94c9f80006dad8c198a':
Clean up the linker a bit, remove prelinking support.
2012-08-08 15:29:27 -07:00
Elliott Hughes
7812920487
Merge "Clean up the linker a bit, remove prelinking support."
2012-08-08 15:17:23 -07:00
Elliott Hughes
baa35efba8
am 96fd6601: am 10e2d222: am d463f6e9: am 34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
...
* commit '96fd66018cff2e3a217abdc95aafbcaea94e4a4e':
Clean up libc/Android.mk a bit after the crtbrand changes.
2012-08-08 15:11:55 -07:00
Jean-Baptiste Queru
6dd6634bf6
am d0a7bc2f: am affd1b42: am 9f3a8aaf: am 7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
...
* commit 'd0a7bc2fd61c052801226a7b92f544ebed6eb59a':
Add a .note.android.ident section to Android ELF binaries.
2012-08-08 15:11:30 -07:00
Elliott Hughes
96fd66018c
am 10e2d222: am d463f6e9: am 34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
...
* commit '10e2d222ce3db0c310c00cd1a5cffdd2223b5dfe':
Clean up libc/Android.mk a bit after the crtbrand changes.
2012-08-08 14:43:55 -07:00
Elliott Hughes
10e2d222ce
am d463f6e9: am 34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
...
* commit 'd463f6e98011fe3b5a23cef2502705dedd702173':
Clean up libc/Android.mk a bit after the crtbrand changes.
2012-08-08 14:43:00 -07:00
Elliott Hughes
d463f6e980
am 34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
...
* commit '34959e0bd5c0d7c9d9b243adbf7752077436cbb5':
Clean up libc/Android.mk a bit after the crtbrand changes.
2012-08-08 14:40:54 -07:00
Elliott Hughes
34959e0bd5
Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
2012-08-08 14:32:24 -07:00
Jean-Baptiste Queru
d0a7bc2fd6
am affd1b42: am 9f3a8aaf: am 7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
...
* commit 'affd1b4243f37d32881e190302bd418000465c10':
Add a .note.android.ident section to Android ELF binaries.
2012-08-08 14:10:45 -07:00
Jean-Baptiste Queru
affd1b4243
am 9f3a8aaf: am 7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
...
* commit '9f3a8aaf926bb0439b7e6b7b62efab62f1900d02':
Add a .note.android.ident section to Android ELF binaries.
2012-08-08 14:08:29 -07:00
Elliott Hughes
76be660aae
Clean up libc/Android.mk a bit after the crtbrand changes.
...
Change-Id: Icfb95fffe70967418cd93da8cbeae22dcd68f8c9
2012-08-08 14:07:37 -07:00
Jean-Baptiste Queru
9f3a8aaf92
am 7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
...
* commit '7e248be76441daa0ee27cc461c806e6010405c25':
Add a .note.android.ident section to Android ELF binaries.
2012-08-08 14:04:19 -07:00
Jean-Baptiste Queru
7e248be764
Merge "Add a .note.android.ident section to Android ELF binaries."
2012-08-08 13:44:27 -07:00
Elliott Hughes
4688279db5
Clean up the linker a bit, remove prelinking support.
...
Also make the errors more readable, since none of us seemed to know
what they actually meant. The new style is still as verbose as the
old, but that's probably necessary in the absence of chained exceptions
in C. Here's what you'd see if you try to boot after removing
libsurfaceflinger.so:
32267 32267 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Cannot load library: (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsystem_server.so" needed by "libandroid_servers.so"; caused by (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsurfaceflinger.so" needed by "libsystem_server.so"; caused by (linker.c:709, pid 32259) load_library: library "libsurfaceflinger.so" not found
This patch also fixes almost all of the compiler warnings.
Change-Id: I64bb59aed6d4e039c15ea45be2367f319ef879f8
2012-08-07 11:41:10 -07:00
The Android Open Source Project
60ca41ebb7
am d9c2de10: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'd9c2de10d94b1c46e0e3dee41bd6d8de673d2267':
2012-08-07 11:04:10 -07:00
The Android Open Source Project
d9c2de10d9
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I753a2c0b3bfb42c526b954e58d8874daf31420ed
2012-08-07 11:02:30 -07:00
The Android Automerger
eeb321c54e
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-07 06:33:32 -07:00
The Android Open Source Project
fa844eff32
am 45193df5: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '45193df53aebb0764853aa21541e6f6ab73b9b9f':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
When compiling with clang, don't "fortify_source" the strlen.
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-06 13:35:38 -07:00
The Android Open Source Project
45193df53a
Reconcile with jb-mr1-release - do not merge
...
Change-Id: If9b215d19d88c3f1793013adc8cb81c8c890faa0
2012-08-06 13:34:18 -07:00
The Android Open Source Project
31096ceb79
am 1466b1aa: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '1466b1aad294138fc1e189c6fdce5eb7a2d06a42':
Update msm_camera.h to version that supports instance handle based lookup
2012-08-06 13:19:43 -07:00
The Android Open Source Project
1466b1aad2
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I801dd8874ff1b1b61858cac3bf716906825b214d
2012-08-06 13:17:46 -07:00
Shih-wei Liao
f4497e15b7
When compiling with clang, don't "fortify_source" the strlcpy and
...
strlcat.
Change-Id: I91f58322f28e425ab9d22b51c23fcd6b772ede97
2012-08-06 13:17:05 -07:00
Shih-wei Liao
a72246d67e
When compiling with clang, don't "fortify_source" the strlen.
...
At this point, FORTIFY_SOURCE and clang are just plain incompatible.
Need to solve the underlying incompatibility first.
Change-Id: I3366477d19461e1ec93b1c30e0c7e8145b391b9b
2012-08-06 13:16:56 -07:00
Shih-wei Liao
5fec211f60
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
...
This reverts commit 4f1f149c37 .
2012-08-06 13:16:48 -07:00
Shih-wei Liao
6f2e8f9878
am 25ef2bbf: am 3b4c9db2: am df523880: am e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
...
* commit '25ef2bbf01bf6f8e934a07bd1304cba35ae5a38e':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
2012-08-06 11:12:30 -07:00
Shih-wei Liao
25ef2bbf01
am 3b4c9db2: am df523880: am e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
...
* commit '3b4c9db2561233fb81ac0c42b3976deb2e648df0':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
2012-08-06 11:10:41 -07:00
Shih-wei Liao
3b4c9db256
am df523880: am e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
...
* commit 'df523880b59604ef36e212cb7ba30d663eeea179':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
2012-08-06 11:09:35 -07:00
Shih-wei Liao
df523880b5
am e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
...
* commit 'e2731d98c1f0cd32d94b34cc4ee77148d6d52647':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
2012-08-06 11:08:40 -07:00
Shih-wei Liao
e2731d98c1
Merge "When compiling with clang, don't "fortify_source" the strlcpy and strlcat."
2012-08-06 11:02:19 -07:00
Shih-wei Liao
d600617645
When compiling with clang, don't "fortify_source" the strlcpy and
...
strlcat.
Change-Id: I91f58322f28e425ab9d22b51c23fcd6b772ede97
2012-08-06 10:57:37 -07:00
Shih-wei Liao
dec42d9112
am 42bfbd1e: am 6ff66601: am ce4a5cd5: am 8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
...
* commit '42bfbd1e617b7430fd5c62cb9162ab5c79655e3d':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-06 10:23:24 -07:00
Shih-wei Liao
839c4f1eb6
am ed33635d: am cddedade: am 924fd920: am 601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
...
* commit 'ed33635da7d8cfc6f5c61c5d7ab9bc42ab5b3916':
When compiling with clang, don't "fortify_source" the strlen.
2012-08-06 10:23:23 -07:00
Shih-wei Liao
42bfbd1e61
am 6ff66601: am ce4a5cd5: am 8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
...
* commit '6ff66601a47d7b74544310e4a5535d572e23d68e':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-06 10:20:48 -07:00
Shih-wei Liao
ed33635da7
am cddedade: am 924fd920: am 601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
...
* commit 'cddedade5b1138d5ddafe5b084923f21bba75526':
When compiling with clang, don't "fortify_source" the strlen.
2012-08-06 10:20:47 -07:00
Shih-wei Liao
6ff66601a4
am ce4a5cd5: am 8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
...
* commit 'ce4a5cd5f3ee09fbc8dea7ffdfcd4fd097f8ed34':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-06 10:18:21 -07:00
Shih-wei Liao
cddedade5b
am 924fd920: am 601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
...
* commit '924fd920137135729483d0beacea20d5a0552c15':
When compiling with clang, don't "fortify_source" the strlen.
2012-08-06 10:18:20 -07:00
Shih-wei Liao
ce4a5cd5f3
am 8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
...
* commit '8173d76740cafc2ceb49d2fddf1ceabfaa823236':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-06 10:17:09 -07:00
Shih-wei Liao
924fd92013
am 601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
...
* commit '601a49d39829005803670088da02179e61719551':
When compiling with clang, don't "fortify_source" the strlen.
2012-08-06 10:17:08 -07:00
Shih-wei Liao
8173d76740
Merge "Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute""
2012-08-06 10:05:15 -07:00
Shih-wei Liao
601a49d398
Merge "When compiling with clang, don't "fortify_source" the strlen."
2012-08-06 10:04:22 -07:00
Shih-wei Liao
9a3d53fad0
When compiling with clang, don't "fortify_source" the strlen.
...
At this point, FORTIFY_SOURCE and clang are just plain incompatible.
Need to solve the underlying incompatibility first.
Change-Id: I3366477d19461e1ec93b1c30e0c7e8145b391b9b
2012-08-06 09:50:56 -07:00
Elliott Hughes
b11eaaed35
am a870ded2: am eaac1e5a: am 94ce1356: am 7c92b6ca: Merge "Remove an awkward #include that is no longer upstream."
...
* commit 'a870ded21ac2e8b792ddc1fe1c5d71c421f0d8a1':
Remove an awkward #include that is no longer upstream.
2012-08-06 08:09:25 -07:00
Elliott Hughes
a870ded21a
am eaac1e5a: am 94ce1356: am 7c92b6ca: Merge "Remove an awkward #include that is no longer upstream."
...
* commit 'eaac1e5a1c62a9dc9edd3a858a367bbb16194272':
Remove an awkward #include that is no longer upstream.
2012-08-06 08:08:05 -07:00
Elliott Hughes
eaac1e5a1c
am 94ce1356: am 7c92b6ca: Merge "Remove an awkward #include that is no longer upstream."
...
* commit '94ce135693a73ac09116dabc0f2440604bba5c87':
Remove an awkward #include that is no longer upstream.
2012-08-06 08:06:27 -07:00
Elliott Hughes
94ce135693
am 7c92b6ca: Merge "Remove an awkward #include that is no longer upstream."
...
* commit '7c92b6ca409f514e7ff67ac8c10d73ce92ff38d2':
Remove an awkward #include that is no longer upstream.
2012-08-06 08:04:33 -07:00
Elliott Hughes
7c92b6ca40
Merge "Remove an awkward #include that is no longer upstream."
2012-08-06 07:57:59 -07:00
The Android Automerger
7bf1c31cac
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-06 06:27:31 -07:00
Shih-wei Liao
2b7f68c03d
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
...
This reverts commit 4f1f149c37 .
2012-08-03 17:44:08 -07:00
Elliott Hughes
15b3aef581
am 8ccbc90a: am 4bac8f68: am 7e81ee04: am 1c861728: Merge "Remove yet more SH4 cruft."
...
* commit '8ccbc90a3b6071dff015bff284b0a11d95a00349':
Remove yet more SH4 cruft.
2012-08-03 15:17:14 -07:00
Elliott Hughes
8ccbc90a3b
am 4bac8f68: am 7e81ee04: am 1c861728: Merge "Remove yet more SH4 cruft."
...
* commit '4bac8f689efd8f10850e60c52c206b20e4a90fd7':
Remove yet more SH4 cruft.
2012-08-03 15:14:16 -07:00
Elliott Hughes
4bac8f689e
am 7e81ee04: am 1c861728: Merge "Remove yet more SH4 cruft."
...
* commit '7e81ee04532e9c26f90d73061d9a53f09e2c3fa1':
Remove yet more SH4 cruft.
2012-08-03 15:12:39 -07:00
Elliott Hughes
7e81ee0453
am 1c861728: Merge "Remove yet more SH4 cruft."
...
* commit '1c861728e5c8dda7589e6595f4850d77ec21a236':
Remove yet more SH4 cruft.
2012-08-03 15:09:55 -07:00
Elliott Hughes
1c861728e5
Merge "Remove yet more SH4 cruft."
2012-08-03 15:05:15 -07:00
Ajay Dudani
5f0701c9fa
Update msm_camera.h to version that supports instance handle based lookup
...
Change-Id: If33a45f378e2cbbfe28b51643808df94e8d1f5e7
2012-08-03 15:02:07 -07:00
Elliott Hughes
bbf094fdf5
Remove yet more SH4 cruft.
...
Surely this is the last piece?
Change-Id: I4bd43afb102334ec34d0e14a65c2b319826473d7
2012-08-03 14:58:18 -07:00
Elliott Hughes
031226a9fd
am 9f8c7daf: am c9dbebe3: am f5385754: am aea5f00d: Merge "bionic: modify syscall to use 6 registers to pass parameter."
...
* commit '9f8c7daf402738beda56868692e62a90e095481d':
bionic: modify syscall to use 6 registers to pass parameter.
2012-08-03 14:34:57 -07:00
Elliott Hughes
9f8c7daf40
am c9dbebe3: am f5385754: am aea5f00d: Merge "bionic: modify syscall to use 6 registers to pass parameter."
...
* commit 'c9dbebe344d2f6a4623a67d1c005bcb6137642c4':
bionic: modify syscall to use 6 registers to pass parameter.
2012-08-03 14:33:20 -07:00
Elliott Hughes
c9dbebe344
am f5385754: am aea5f00d: Merge "bionic: modify syscall to use 6 registers to pass parameter."
...
* commit 'f5385754e29dcb093cb9445c40b69e45bd71d685':
bionic: modify syscall to use 6 registers to pass parameter.
2012-08-03 14:29:45 -07:00
Elliott Hughes
f5385754e2
am aea5f00d: Merge "bionic: modify syscall to use 6 registers to pass parameter."
...
* commit 'aea5f00df4704a618331e16473b552e54bed269b':
bionic: modify syscall to use 6 registers to pass parameter.
2012-08-03 14:27:08 -07:00
Elliott Hughes
aea5f00df4
Merge "bionic: modify syscall to use 6 registers to pass parameter."
2012-08-03 13:55:56 -07:00
Jin Wei
c164f2a969
bionic: modify syscall to use 6 registers to pass parameter.
...
Kernel allows to use 6 registers(exclude eax) to pass parameter.
But in syscall's implementation, it only uses five registers.
It will lead to error when 6 parameters passed.
Change-Id: I92d663194e6334c3847f0c0c257ca3b9dee0edef
Author: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com >
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Author-tracking-BZ: 30838
2012-08-03 13:54:29 -07:00
Elliott Hughes
7478b0bfa6
am 58234e78: am 48955d24: am c6f15ecf: am 1510795f: Merge "Upgrade to tzdata2012e."
...
* commit '58234e788be30a16e6ba745adc21cbfd6d9828ec':
Upgrade to tzdata2012e.
2012-08-03 13:41:39 -07:00
Elliott Hughes
58234e788b
am 48955d24: am c6f15ecf: am 1510795f: Merge "Upgrade to tzdata2012e."
...
* commit '48955d24b9f3e8c15028a6dbb54e2e96fd41780a':
Upgrade to tzdata2012e.
2012-08-03 13:39:38 -07:00
Elliott Hughes
48955d24b9
am c6f15ecf: am 1510795f: Merge "Upgrade to tzdata2012e."
...
* commit 'c6f15ecf76842801db653d58a262c7d342be2a93':
Upgrade to tzdata2012e.
2012-08-03 13:33:15 -07:00
Elliott Hughes
c6f15ecf76
am 1510795f: Merge "Upgrade to tzdata2012e."
...
* commit '1510795fec5aa8b8700a08200f37f6e57dea8d04':
Upgrade to tzdata2012e.
2012-08-03 13:30:44 -07:00
Elliott Hughes
1510795fec
Merge "Upgrade to tzdata2012e."
2012-08-03 12:30:18 -07:00
Elliott Hughes
094651335e
Upgrade to tzdata2012e.
...
Includes this change:
* australasia (Pacific/Fakaofo): Tokelau is UTC+13, not UTC+14.
(Thanks to Steffen Thorsen.)
Change-Id: I51bfab759f424b90daeb1960c6cfb2b55b78ff46
2012-08-03 12:26:06 -07:00
David Turner
65f12237b8
am c7813c08: am d7552a31: am 2f2b7212: am 16d40217: Merge "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute"
...
* commit 'c7813c08570a5e6ef3e410973d7f4b4befebee77':
Fix the clang build: this compiler doesn't support the gnu_inline function attribute
2012-08-03 05:04:06 -07:00
David Turner
c7813c0857
am d7552a31: am 2f2b7212: am 16d40217: Merge "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute"
...
* commit 'd7552a3101affbc531f3c33deca10c28417a864c':
Fix the clang build: this compiler doesn't support the gnu_inline function attribute
2012-08-03 05:02:00 -07:00
David Turner
d7552a3101
am 2f2b7212: am 16d40217: Merge "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute"
...
* commit '2f2b72120489d9e7e67a97a059a731aa72a34f72':
Fix the clang build: this compiler doesn't support the gnu_inline function attribute
2012-08-03 05:00:03 -07:00
David Turner
2f2b721204
am 16d40217: Merge "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute"
...
* commit '16d40217d05a1d9ad8ec475ce5f68c35bbef7029':
Fix the clang build: this compiler doesn't support the gnu_inline function attribute
2012-08-03 04:57:56 -07:00
David Turner
16d40217d0
Merge "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
2012-08-03 04:40:37 -07:00
Shih-wei Liao
4f1f149c37
Fix the clang build: this compiler doesn't support the gnu_inline function attribute
...
Recent clang compiler doesn't have gnu_inline working. When frameworks/rs
is compiled with clang instead of gcc, it no longer works. Will be fixed
by this patch.
Change-Id: I8b281a1305151909e18958b73914ea27343cb4cd
2012-08-03 04:38:15 -07:00
Elliott Hughes
889a706637
am df7aa950: am 9b6a4538: am 0ce92b96: am 1e304a3b: Merge "[MIPS] Support for TLS register"
...
* commit 'df7aa95031f5f99ba3fc95956c38bf7ffd037ab4':
[MIPS] Support for TLS register
2012-08-02 18:51:38 -07:00
Elliott Hughes
df7aa95031
am 9b6a4538: am 0ce92b96: am 1e304a3b: Merge "[MIPS] Support for TLS register"
...
* commit '9b6a45386555a11aa1c7f473b21c480b4a158ea7':
[MIPS] Support for TLS register
2012-08-02 18:49:12 -07:00
Elliott Hughes
9b6a453865
am 0ce92b96: am 1e304a3b: Merge "[MIPS] Support for TLS register"
...
* commit '0ce92b9625c5d0cc4e72047e6c8759c4cc079dcb':
[MIPS] Support for TLS register
2012-08-02 18:48:04 -07:00
Elliott Hughes
0ce92b9625
am 1e304a3b: Merge "[MIPS] Support for TLS register"
...
* commit '1e304a3bce347da08f0f9409829d911493bad1bb':
[MIPS] Support for TLS register
2012-08-02 18:45:56 -07:00
Elliott Hughes
1e304a3bce
Merge "[MIPS] Support for TLS register"
2012-08-02 18:33:20 -07:00
Elliott Hughes
bdcc14d721
Remove an awkward #include that is no longer upstream.
...
This was causing trouble in https://android-review.googlesource.com/#/c/37590/ .
Change-Id: Ib7cb4fbaef6e9c1470c59f67d24bd24c7ce90bcc
2012-08-02 18:12:36 -07:00
Raghu Gandham
6437eac15a
MIPS support to sys/ headers
...
Change-Id: I32207a1d918e4842da341f6b242ae39c69a83b03
2012-08-02 18:03:54 -07:00
Raghu Gandham
1c30398143
[MIPS] Support for TLS register
...
Change-Id: I6b5194e5e379b573e3b1203d8015e20fb3edd647
Signed-off-by: Chris Dearman <chris@mips.com >
2012-08-02 18:01:05 -07:00
Elliott Hughes
855a3779be
am e5bd6efa: am f94effda: am fd4685be: am 52f3ee96: Merge "MIPS support for libc."
...
* commit 'e5bd6efa0805a743ed6c2022c65c5a8ff79d7310':
MIPS support for libc.
2012-08-02 16:39:18 -07:00
Elliott Hughes
e5bd6efa08
am f94effda: am fd4685be: am 52f3ee96: Merge "MIPS support for libc."
...
* commit 'f94effdab27f2bbe3f079d454e71ca9e60166318':
MIPS support for libc.
2012-08-02 16:37:07 -07:00
Elliott Hughes
f94effdab2
am fd4685be: am 52f3ee96: Merge "MIPS support for libc."
...
* commit 'fd4685be87fa2c957d4f95deb75a6ba763fd7339':
MIPS support for libc.
2012-08-02 16:34:57 -07:00
Elliott Hughes
fd4685be87
am 52f3ee96: Merge "MIPS support for libc."
...
* commit '52f3ee962b384bf247638adb653f0024ce92a895':
MIPS support for libc.
2012-08-02 16:32:47 -07:00
Elliott Hughes
52f3ee962b
Merge "MIPS support for libc."
2012-08-02 16:14:47 -07:00
Elliott Hughes
36c27b547e
am 79d834b5: am 82dcfee5: am 19e30fc4: am a1c0f08d: Merge "Fix a ENOTUP/ENOTSUP typo."
...
* commit '79d834b5aba80407046ece1377033c8d48fbd427':
Fix a ENOTUP/ENOTSUP typo.
2012-08-02 16:13:40 -07:00
Elliott Hughes
967c9f7fcb
am 422067eb: am c0719660: am 670766c5: am 994935f6: Merge "Error numbers are target specific."
...
* commit '422067eb3ceba3c39903df5562cb8997b40d61c4':
Error numbers are target specific.
2012-08-02 16:13:38 -07:00
Elliott Hughes
79d834b5ab
am 82dcfee5: am 19e30fc4: am a1c0f08d: Merge "Fix a ENOTUP/ENOTSUP typo."
...
* commit '82dcfee5fcd5243ff9df2aa7497e83dd567b6f95':
Fix a ENOTUP/ENOTSUP typo.
2012-08-02 16:10:34 -07:00
Elliott Hughes
422067eb3c
am c0719660: am 670766c5: am 994935f6: Merge "Error numbers are target specific."
...
* commit 'c07196605cc9bb55af2173832536e342e902d2c5':
Error numbers are target specific.
2012-08-02 16:10:32 -07:00
Elliott Hughes
82dcfee5fc
am 19e30fc4: am a1c0f08d: Merge "Fix a ENOTUP/ENOTSUP typo."
...
* commit '19e30fc41030ab0524134b097dfef88baea14f4a':
Fix a ENOTUP/ENOTSUP typo.
2012-08-02 16:07:41 -07:00
Elliott Hughes
c07196605c
am 670766c5: am 994935f6: Merge "Error numbers are target specific."
...
* commit '670766c5649086ad5ffe26c0deadeb460139202f':
Error numbers are target specific.
2012-08-02 16:07:40 -07:00
Raghu Gandham
405b8029a6
MIPS support for libc.
...
Change-Id: I2864dea04b3faf2d919165dcaa600af5b16c41c8
Signed-off-by: Chris Dearman <chris@mips.com >
Signed-off-by: Raghu Gandham <raghu@mips.com >
2012-08-02 16:07:26 -07:00
Elliott Hughes
19e30fc410
am a1c0f08d: Merge "Fix a ENOTUP/ENOTSUP typo."
...
* commit 'a1c0f08d3ccbe5c40be53903615e59113ade4922':
Fix a ENOTUP/ENOTSUP typo.
2012-08-02 15:59:22 -07:00
Elliott Hughes
670766c564
am 994935f6: Merge "Error numbers are target specific."
...
* commit '994935f64cdbd7553ecbfbd15d4e4dd429277409':
Error numbers are target specific.
2012-08-02 15:59:21 -07:00
Elliott Hughes
a1c0f08d3c
Merge "Fix a ENOTUP/ENOTSUP typo."
2012-08-02 15:46:44 -07:00
Elliott Hughes
fccadc38bd
am 0b8dda0e: am 673c092e: am 54830578: am f34ecbff: Merge "MIPS support to the linker"
...
* commit '0b8dda0e422e9669af06d9e6d264fb14652b23b5':
MIPS support to the linker
2012-08-02 15:45:45 -07:00
Elliott Hughes
ecb53eab4b
Fix a ENOTUP/ENOTSUP typo.
...
Change-Id: Ifa347a09a2aa1f505965ae7c1383fd0caf95793c
2012-08-02 15:45:04 -07:00
Elliott Hughes
0b8dda0e42
am 673c092e: am 54830578: am f34ecbff: Merge "MIPS support to the linker"
...
* commit '673c092e0fc40afa291086d06ab39a6d22e7f894':
MIPS support to the linker
2012-08-02 15:43:44 -07:00
Elliott Hughes
994935f64c
Merge "Error numbers are target specific."
2012-08-02 15:42:48 -07:00
Elliott Hughes
673c092e0f
am 54830578: am f34ecbff: Merge "MIPS support to the linker"
...
* commit '5483057817d071140d94299452b31881c4a6e748':
MIPS support to the linker
2012-08-02 15:39:45 -07:00
Brian Muramatsu
963a8fc036
am fa22fd9f: am 402ec708: Merge "Update msm_camera.h to version that supports instance handle based lookup" into jb-mr1-dev
...
* commit 'fa22fd9f817e0fe49e0f7524f5589710f1140d8f':
Update msm_camera.h to version that supports instance handle based lookup
2012-08-02 15:24:34 -07:00
Brian Muramatsu
fa22fd9f81
am 402ec708: Merge "Update msm_camera.h to version that supports instance handle based lookup" into jb-mr1-dev
...
* commit '402ec70899909f0b32c1ac304e3f26434424a3b3':
Update msm_camera.h to version that supports instance handle based lookup
2012-08-02 15:22:34 -07:00
Brian Muramatsu
402ec70899
Merge "Update msm_camera.h to version that supports instance handle based lookup" into jb-mr1-dev
2012-08-02 15:20:58 -07:00
The Android Open Source Project
3a6e56534d
am d7b3cc0c: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit 'd7b3cc0c69b02cad4090a0068349f1ab83e3112f':
2012-08-02 15:09:18 -07:00
Elliott Hughes
5483057817
am f34ecbff: Merge "MIPS support to the linker"
...
* commit 'f34ecbff0dd2b8e6961020b8c91260f33d4cf3ea':
MIPS support to the linker
2012-08-02 14:57:52 -07:00
Elliott Hughes
f34ecbff0d
Merge "MIPS support to the linker"
2012-08-02 14:43:55 -07:00
Raghu Gandham
d7daacb463
MIPS support to the linker
...
Change-Id: I37ec2d6c51d82bb9e9dbfef4b38c85366bead255
Signed-off-by: Chris Dearman <chris@mips.com >
Signed-off-by: Raghu Gandham <raghu@mips.com >
Signed-off-by: Bhanu Chetlapalli <bhanu@mips.com >
2012-08-02 14:39:50 -07:00
The Android Open Source Project
d7b3cc0c69
Reconcile with jb-mr1-release - do not merge
...
Change-Id: Ia1f59a486efa98614b8f97f9432e1040c90d2ec7
2012-08-02 11:26:02 -07:00
The Android Automerger
248321bb6f
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-02 07:41:45 -07:00
Chris Dearman
da2611084f
Error numbers are target specific.
...
Use the system supplied error numbers when mapping error numbers to messages.
Change-Id: I520556fa3e2ff668fdc4eda36ad31491fbb48ea8
Signed-off-by: Chris Dearman <chris@mips.com >
Signed-off-by: Raghu Gandham <raghu@mips.com >
2012-08-01 17:53:07 -07:00
The Android Open Source Project
2a258c9f2d
am 8f2f2466: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '8f2f24661870c349a19bff71d85ed5eb897c7c9f':
2012-08-01 14:50:42 -07:00
The Android Open Source Project
8f2f246618
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I2295284f2cccfc72a25c2675762cc613faa337a4
2012-08-01 13:11:49 -07:00
The Android Automerger
617a5ee417
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-08-01 07:10:06 -07:00
Ajay Dudani
cbbe9528ca
Update msm_camera.h to version that supports instance handle based lookup
...
Change-Id: If33a45f378e2cbbfe28b51643808df94e8d1f5e7
2012-07-31 21:32:50 -07:00
Shih-wei Liao
543960121c
am cfc8b93c: am 4f13bdd4: am 7565d5b1: am 0ca9d074: Merge "Had include/arm/fenv.h, but missed include/mips/fenv.h."
...
* commit 'cfc8b93c4e223f72a2e419f4571f55f7eb819df3':
Had include/arm/fenv.h, but missed include/mips/fenv.h.
2012-07-31 21:07:50 -07:00
Shih-wei Liao
cfc8b93c4e
am 4f13bdd4: am 7565d5b1: am 0ca9d074: Merge "Had include/arm/fenv.h, but missed include/mips/fenv.h."
...
* commit '4f13bdd45c73194a49d3a5844746248c7dcd9432':
Had include/arm/fenv.h, but missed include/mips/fenv.h.
2012-07-31 21:05:09 -07:00
Shih-wei Liao
4f13bdd45c
am 7565d5b1: am 0ca9d074: Merge "Had include/arm/fenv.h, but missed include/mips/fenv.h."
...
* commit '7565d5b118420cc0dff2d59cf3542e99f415601a':
Had include/arm/fenv.h, but missed include/mips/fenv.h.
2012-07-31 21:02:52 -07:00
Shih-wei Liao
7565d5b118
am 0ca9d074: Merge "Had include/arm/fenv.h, but missed include/mips/fenv.h."
...
* commit '0ca9d0748e3229c849e3ee17259e0e55d7214800':
Had include/arm/fenv.h, but missed include/mips/fenv.h.
2012-07-31 21:00:39 -07:00
Shih-wei Liao
0ca9d0748e
Merge "Had include/arm/fenv.h, but missed include/mips/fenv.h."
2012-07-31 20:54:18 -07:00
Elliott Hughes
96ca71a7a6
am 029cf34c: am 81f1617a: am 8d2c5b24: am b910b6f8: Merge "Updated the cleaned header file mman.h for MIPS."
...
* commit '029cf34cfd3fc50fe373527c82855924a1db41ad':
Updated the cleaned header file mman.h for MIPS.
2012-07-31 15:35:53 -07:00
Elliott Hughes
029cf34cfd
am 81f1617a: am 8d2c5b24: am b910b6f8: Merge "Updated the cleaned header file mman.h for MIPS."
...
* commit '81f1617a689931388c0b223ec729297b3a2bc792':
Updated the cleaned header file mman.h for MIPS.
2012-07-31 15:33:45 -07:00
Elliott Hughes
81f1617a68
am 8d2c5b24: am b910b6f8: Merge "Updated the cleaned header file mman.h for MIPS."
...
* commit '8d2c5b247e701f51ce3d750e9ee3ff37009630c3':
Updated the cleaned header file mman.h for MIPS.
2012-07-31 15:32:45 -07:00
Elliott Hughes
8d2c5b247e
am b910b6f8: Merge "Updated the cleaned header file mman.h for MIPS."
...
* commit 'b910b6f8dee14e379664635f4cd7343b3acc7b27':
Updated the cleaned header file mman.h for MIPS.
2012-07-31 15:31:53 -07:00
Elliott Hughes
b910b6f8de
Merge "Updated the cleaned header file mman.h for MIPS."
2012-07-31 15:16:07 -07:00
The Android Open Source Project
338d3fbc8b
am 6ac55791: (-s ours) Reconcile with jb-mr1-release - do not merge
...
* commit '6ac557918a1a5703f0376f659e5cb1a9af6a2901':
2012-07-31 15:05:49 -07:00
The Android Open Source Project
6ac557918a
Reconcile with jb-mr1-release - do not merge
...
Change-Id: Icba591905e72d5567b361d7e994cafc65e6f932a
2012-07-31 15:02:24 -07:00
Raghu Gandham
c29f295d39
Updated the cleaned header file mman.h for MIPS.
...
Change-Id: I8b3734e535711ca07fbf4066e6d967d1ce0f30eb
2012-07-31 14:47:51 -07:00
Elliott Hughes
0f004be596
am 494e534b: am f1997971: am 7645355e: am a513f70b: Merge "bionic: Stack pointer/signal race condition."
...
* commit '494e534b003a45c32e06d225cd89ad84777d28f7':
bionic: Stack pointer/signal race condition.
2012-07-31 10:43:46 -07:00
Elliott Hughes
120e7fbeb9
am ad2e065d: am b78aa539: am bf397b60: am 21372896: Merge "fix __cxa_finalize() implementation to be thread safe."
...
* commit 'ad2e065de11748e1c33562cd2005ce14843d64f0':
fix __cxa_finalize() implementation to be thread safe.
2012-07-31 10:43:45 -07:00
Elliott Hughes
494e534b00
am f1997971: am 7645355e: am a513f70b: Merge "bionic: Stack pointer/signal race condition."
...
* commit 'f19979710a2f34e5a6ef5cc6f900c40690d65db4':
bionic: Stack pointer/signal race condition.
2012-07-31 10:41:41 -07:00
Elliott Hughes
ad2e065de1
am b78aa539: am bf397b60: am 21372896: Merge "fix __cxa_finalize() implementation to be thread safe."
...
* commit 'b78aa5390492cfe288d0128b749b18d2c740635e':
fix __cxa_finalize() implementation to be thread safe.
2012-07-31 10:41:40 -07:00
Elliott Hughes
f19979710a
am 7645355e: am a513f70b: Merge "bionic: Stack pointer/signal race condition."
...
* commit '7645355ecdf29301bdc65f9ea8e00c20e51da3f5':
bionic: Stack pointer/signal race condition.
2012-07-31 10:40:06 -07:00
Elliott Hughes
b78aa53904
am bf397b60: am 21372896: Merge "fix __cxa_finalize() implementation to be thread safe."
...
* commit 'bf397b601189f8a63c8a842e16af5ed004ef75f5':
fix __cxa_finalize() implementation to be thread safe.
2012-07-31 10:40:05 -07:00
Elliott Hughes
7645355ecd
am a513f70b: Merge "bionic: Stack pointer/signal race condition."
...
* commit 'a513f70b43e75136145d756388b50028ac4fc4b8':
bionic: Stack pointer/signal race condition.
2012-07-31 10:38:26 -07:00
Elliott Hughes
bf397b6011
am 21372896: Merge "fix __cxa_finalize() implementation to be thread safe."
...
* commit '21372896ea0f13938c130c8c82cdc3a6b9ccd297':
fix __cxa_finalize() implementation to be thread safe.
2012-07-31 10:38:25 -07:00
Elliott Hughes
a513f70b43
Merge "bionic: Stack pointer/signal race condition."
2012-07-31 10:32:59 -07:00
Elliott Hughes
21372896ea
Merge "fix __cxa_finalize() implementation to be thread safe."
2012-07-31 10:31:20 -07:00
The Android Automerger
15e0ca8186
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-07-31 07:35:13 -07:00
Srinavasa Nagaraju
2270dfa0c4
fix __cxa_finalize() implementation to be thread safe.
...
__cxa_finalize() modifies the access permissions of __atexit
global variable without acquiring _ATEXIT_LOCK(). Fix it prevent
any possible races.
Change-Id: I11939d0ebcbf6f360c14163222d40a449d96948e
2012-07-31 12:30:28 +02:00
Michael Hope
ea8fad11d9
Add a .note.android.ident section to Android ELF binaries.
...
This allows debugging tools to know they are working with Android
binaries and adapt accordingly.
Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org >
Signed-off-by: Michael Hope <michael.hope@linaro.org >
Change-Id: Ic906992fcad61c028bb765821637a3e1333bf52b
2012-07-31 16:18:22 +12:00
Shih-wei Liao
4e86ebb4b6
Had include/arm/fenv.h, but missed include/mips/fenv.h.
...
Needed for the device-build for LLVM's constant folding pass.
Change-Id: I412a98d52458231650801a8b59fe3159a789b8b9
Author: fu@mips.com
2012-07-30 20:12:46 -07:00
The Android Open Source Project
d8b46b7bc4
am 0531d199: Reconcile with jb-mr1-release
...
* commit '0531d199dca9d70ccfd4642f845de02736ecf87f':
2012-07-30 15:10:37 -07:00
The Android Open Source Project
0531d199dc
Reconcile with jb-mr1-release
...
Change-Id: Ib68b14addd9f82526c451c988ae2e307cd7add19
2012-07-30 15:03:20 -07:00
Shih-wei Liao
a68c57ee5f
am 0c2d3188: am 18421669: am 1ee6e3b7: Merge "Install crt(begin|end)_so.o to target library path."
...
* commit '0c2d3188373d7386b5946d1cf70155188cd616cd':
Install crt(begin|end)_so.o to target library path.
2012-07-30 13:17:01 -07:00
Shih-wei Liao
0c2d318837
am 18421669: am 1ee6e3b7: Merge "Install crt(begin|end)_so.o to target library path."
...
* commit '184216696a9945a5bf6cb186b4d3a42ffe582818':
Install crt(begin|end)_so.o to target library path.
2012-07-30 13:13:26 -07:00
Shih-wei Liao
184216696a
am 1ee6e3b7: Merge "Install crt(begin|end)_so.o to target library path."
...
* commit '1ee6e3b7370b36ac72a14c0e31c34963b1bdbbb2':
Install crt(begin|end)_so.o to target library path.
2012-07-30 13:10:11 -07:00
Shih-wei Liao
1ee6e3b737
Merge "Install crt(begin|end)_so.o to target library path."
2012-07-30 12:44:58 -07:00
Ed Heyl
e5b635c885
am 681ccffb: Merge jb-dev-mako plus fixes to libc/kernel/common/linux/fb.h
...
* commit '681ccffb4593875a3bcc2c17da9713a1215232d9':
bionic: Update MDP and rotator headers
Adding msm_dsps.h header
Update msm headers for audio, camera, ion, charm, rmnet
bionic: Update msm_mdp.h from the kernel
update linux/fb.h to support fb ioctl in kernel 3.4
Use sanitized video decode/encode header files
bionic: Update MDP and KGSL headers
add processed sound/tlv.h header
add processed genlock.h for qualcomm
2012-07-29 22:40:26 -07:00
Ed Heyl
681ccffb45
Merge jb-dev-mako plus fixes to libc/kernel/common/linux/fb.h
...
Change-Id: I1fbe64653db7b8e9bfc6e10fa42deb295aa15a09
2012-07-29 08:22:16 -07:00
Shih-wei Liao
fc0725ec5c
Install crt(begin|end)_so.o to target library path.
...
BUG=6886348.
Change-Id: I176b2c4963d9731b06d10d4e0b92c010a0006b59
2012-07-28 00:33:28 -07:00
Elliott Hughes
b7dd54f0c7
am d6c3369c: am 7a450b4d: am 643e5722: Merge "Report errors to the log, not just stderr."
...
* commit 'd6c3369cec68de60dec0d9ab7469457d817539e1':
Report errors to the log, not just stderr.
2012-07-27 18:32:56 -07:00
Elliott Hughes
d6c3369cec
am 7a450b4d: am 643e5722: Merge "Report errors to the log, not just stderr."
...
* commit '7a450b4d9efc5457a987f5b5665ca7c6e7f57e34':
Report errors to the log, not just stderr.
2012-07-27 18:30:04 -07:00
Elliott Hughes
7a450b4d9e
am 643e5722: Merge "Report errors to the log, not just stderr."
...
* commit '643e5722338d303c0b5aac41107432d8fde4081c':
Report errors to the log, not just stderr.
2012-07-27 18:28:11 -07:00
Elliott Hughes
643e572233
Merge "Report errors to the log, not just stderr."
2012-07-27 18:16:17 -07:00
Elliott Hughes
52d6233296
Report errors to the log, not just stderr.
...
In particular this affects assert(3) and __cxa_pure_virtual, both of
which have managed to confuse people this week by apparently aborting
without reason. (Because stderr goes nowhere, normally.)
Bug: 6852995
Bug: 6840813
Change-Id: I7f5d17d5ddda439e217b7932096702dc013b9142
2012-07-27 17:43:38 -07:00
Elliott Hughes
65b48f892e
am c823b2c7: am 616f3680: am a7916509: Merge "Fix a TEMP_FAILURE_RETRY usage error in the linker."
...
* commit 'c823b2c74137230fc1a166527b5141e3a6bacd65':
Fix a TEMP_FAILURE_RETRY usage error in the linker.
2012-07-27 16:25:03 -07:00
Elliott Hughes
2eb46df63a
am d7dfcb0c: am 514ace95: am 9061c6e7: Merge "Replace ALL_PREBUILTS with BUILD_PREBUILT"
...
* commit 'd7dfcb0cb07bc1bb2b716075697f86de1b4d8e54':
Replace ALL_PREBUILTS with BUILD_PREBUILT
2012-07-27 16:24:50 -07:00
The Android Open Source Project
a1d1abbc26
am 22bd479e: am e35ae86e: Reconcile with jb-release
...
* commit '22bd479e2e8454ed726f8c650e52b78702262d34':
2012-07-27 16:24:00 -07:00
Elliott Hughes
c823b2c741
am 616f3680: am a7916509: Merge "Fix a TEMP_FAILURE_RETRY usage error in the linker."
...
* commit '616f368076c9d7f0fc4459b79ba26c1d1ec0a247':
Fix a TEMP_FAILURE_RETRY usage error in the linker.
2012-07-27 16:00:36 -07:00
Elliott Hughes
616f368076
am a7916509: Merge "Fix a TEMP_FAILURE_RETRY usage error in the linker."
...
* commit 'a7916509a3446afd0e863b03e4204cee73e81555':
Fix a TEMP_FAILURE_RETRY usage error in the linker.
2012-07-27 15:58:57 -07:00
Elliott Hughes
d7dfcb0cb0
am 514ace95: am 9061c6e7: Merge "Replace ALL_PREBUILTS with BUILD_PREBUILT"
...
* commit '514ace9534233aa7ef5ff3f9d9c614c94eeefc1f':
Replace ALL_PREBUILTS with BUILD_PREBUILT
2012-07-27 15:51:24 -07:00
Elliott Hughes
514ace9534
am 9061c6e7: Merge "Replace ALL_PREBUILTS with BUILD_PREBUILT"
...
* commit '9061c6e7ae1d9b0e4d2f8a62b3682a565282f9b9':
Replace ALL_PREBUILTS with BUILD_PREBUILT
2012-07-27 15:47:37 -07:00
The Android Open Source Project
22bd479e2e
am e35ae86e: Reconcile with jb-release
...
* commit 'e35ae86e70b1e728c220867d5a2aa66955c87c34':
2012-07-27 15:45:49 -07:00
Elliott Hughes
a7916509a3
Merge "Fix a TEMP_FAILURE_RETRY usage error in the linker."
2012-07-27 15:43:11 -07:00
Elliott Hughes
8dfc073b14
Fix a TEMP_FAILURE_RETRY usage error in the linker.
...
Similar to the fix in c20d0f3993 .
grep(1) says this was the only other instance in bionic.
Change-Id: I1729038762ee1c7c4743a6bd11d5558afd6f5749
2012-07-27 15:30:51 -07:00
The Android Open Source Project
e35ae86e70
Reconcile with jb-release
...
Change-Id: I89a2498aeb91f29a70f1e100c41f03cf41a2e49e
2012-07-27 14:49:51 -07:00
Elliott Hughes
9061c6e7ae
Merge "Replace ALL_PREBUILTS with BUILD_PREBUILT"
2012-07-27 14:14:41 -07:00
Ying Wang
6171d11e72
Replace ALL_PREBUILTS with BUILD_PREBUILT
...
(cherry-picked from 186b36b65bdfbf2c89a661539bf530359364eac9.)
Bug: 6857263
Change-Id: If787d84415dd2ac07105fe0d0b7a27c9be75df64
2012-07-27 13:44:01 -07:00
Elliott Hughes
cb9ea8873a
am 408e3e50: am 45038ae4: am 12f411d9: Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"
...
* commit '408e3e5046ed030c464cdae6c95bc6a9d6de39cc':
Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
2012-07-27 10:21:45 -07:00
Elliott Hughes
408e3e5046
am 45038ae4: am 12f411d9: Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"
...
* commit '45038ae483313a5cc445a90fb0499d4c6ad69b1d':
Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
2012-07-27 10:16:50 -07:00
Elliott Hughes
45038ae483
am 12f411d9: Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"
...
* commit '12f411d9a696ca7a0fe490fb530a9accbda66a99':
Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
2012-07-27 10:14:50 -07:00
Elliott Hughes
12f411d9a6
Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"
2012-07-27 10:02:59 -07:00
Jens Gulin
c20d0f3993
Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
...
RETRY macro may retry command if result is -1. In this
case the command was "connect < 0" instead of just
connect. The comparison will not return -1 and thus
retry is never done. This is now corrected so that
interrupts will cause retry instead of fail.
(There was no other negative side effect of the bug.
The result code from RETRY was used in an if-statement
and it would be true for all negative connect results.
This was according to expectations.)
Change-Id: Ie206b39878e9befea4e3be9a4061ee39eb232d80
2012-07-27 15:18:23 +02:00
Peter Enderborg
3460db9490
bionic: Stack pointer/signal race condition.
...
Move the stackpointer so a captured signal does not corrupt
stack variables needed for __thread_entry.
Change-Id: I3e1e7b94a6d7cd3a07081f849043262743aa8064
2012-07-27 15:11:01 +02:00
Elliott Hughes
6320848df6
am c636ff19: am 9a9ca7c1: am 7d6c3f70: Merge "Remove the \'Factory\' time zone by not processing the \'factory\' file."
...
* commit 'c636ff1944ca9c67953e3162ba7a8c39e44fff42':
Remove the 'Factory' time zone by not processing the 'factory' file.
2012-07-26 22:56:12 -07:00
Elliott Hughes
c636ff1944
am 9a9ca7c1: am 7d6c3f70: Merge "Remove the \'Factory\' time zone by not processing the \'factory\' file."
...
* commit '9a9ca7c1e8079aaae6b1833bd06719e98ca0783e':
Remove the 'Factory' time zone by not processing the 'factory' file.
2012-07-26 22:34:57 -07:00
Elliott Hughes
9a9ca7c1e8
am 7d6c3f70: Merge "Remove the \'Factory\' time zone by not processing the \'factory\' file."
...
* commit '7d6c3f700b8089d31a33ba0f9f6eed9407724d0d':
Remove the 'Factory' time zone by not processing the 'factory' file.
2012-07-26 17:44:38 -07:00
Elliott Hughes
7d6c3f700b
Merge "Remove the 'Factory' time zone by not processing the 'factory' file."
2012-07-26 17:36:21 -07:00
Elliott Hughes
541c225320
Remove the 'Factory' time zone by not processing the 'factory' file.
...
The factory file (and Factory time zone) was meant as a way to say
"not configured" that would give a clear error when running date(1).
For us it would just look like UTC, so it is of no value.
Bug: 2997381
Change-Id: I1a4b85dce97d1d9370b22ba79e8fe5dafff56541
2012-07-26 16:19:46 -07:00
Ying Wang
186b36b65b
Replace ALL_PREBUILTS with BUILD_PREBUILT
...
Bug: 6857263
Change-Id: Ib639f1c4d572fec088298f95f6d5a2951d56cd12
2012-07-26 15:55:34 -07:00
Nick Kralevich
68c1f682ff
am b4fc64c9: am cc5edd83: Merge "vfprintf: fix spelling."
...
* commit 'b4fc64c96cad1be63b5c52af835c4a93b0e60204':
vfprintf: fix spelling.
2012-07-25 22:26:13 -07:00
Nick Kralevich
b4fc64c96c
am cc5edd83: Merge "vfprintf: fix spelling."
...
* commit 'cc5edd83ec0303ceb682c563073d98f8a592737d':
vfprintf: fix spelling.
2012-07-25 22:22:20 -07:00
Nick Kralevich
cc5edd83ec
Merge "vfprintf: fix spelling."
2012-07-25 16:09:34 -07:00
Nick Kralevich
9145ad3f0a
vfprintf: fix spelling.
...
Change-Id: I6dc611143fb1f3e9ccf0a77b40ee48a3c1d72ca9
2012-07-25 16:01:38 -07:00
The Android Automerger
f40c69c259
merge in master-release history after reset to master
2012-07-25 07:49:07 -07:00
The Android Automerger
a501f6c7e3
merge in jb-release history after reset to jb-dev
2012-07-24 20:23:07 -07:00
Elliott Hughes
edc5fe530f
am 9dbd4c06: am c27103d8: Merge "[MIPS] Use an aligned address to provoke SIGSEGV in abort()"
...
* commit '9dbd4c06fe143a4187d2d8d418c1a3b7c1ed39ba':
[MIPS] Use an aligned address to provoke SIGSEGV in abort()
2012-07-24 18:05:28 -07:00
Elliott Hughes
7c3323516b
am 860dc7e2: am c98e2365: Merge "Fix implementation of generic atomic operations"
...
* commit '860dc7e25d4ba64b5bd49fe123bae6e6105dd2e7':
Fix implementation of generic atomic operations
2012-07-24 18:05:27 -07:00
Elliott Hughes
9dbd4c06fe
am c27103d8: Merge "[MIPS] Use an aligned address to provoke SIGSEGV in abort()"
...
* commit 'c27103d84c124d40f3f4cff46d7cfa74342e0585':
[MIPS] Use an aligned address to provoke SIGSEGV in abort()
2012-07-24 18:03:22 -07:00
Elliott Hughes
860dc7e25d
am c98e2365: Merge "Fix implementation of generic atomic operations"
...
* commit 'c98e2365cdd0c2330711118b689171df143f6399':
Fix implementation of generic atomic operations
2012-07-24 18:03:12 -07:00
Elliott Hughes
c27103d84c
Merge "[MIPS] Use an aligned address to provoke SIGSEGV in abort()"
2012-07-24 17:42:51 -07:00
Chris Dearman
00a66a6fe8
[MIPS] Use an aligned address to provoke SIGSEGV in abort()
...
Change-Id: I269c9ccc07058773fb0f9d70673673157ab38f6a
2012-07-24 17:42:06 -07:00
Elliott Hughes
c98e2365cd
Merge "Fix implementation of generic atomic operations"
2012-07-24 17:21:47 -07:00
Chris Dearman
958dad705a
Fix implementation of generic atomic operations
...
Change-Id: Ie1ea5aacc561e2d6d40125d2952ed0e9116b7b0d
2012-07-24 13:56:38 -07:00
Elliott Hughes
0b82e1bd77
am d33ce20e: am 344aca8c: Merge "[MIPS] Add atomic routines"
...
* commit 'd33ce20e6dfbe5be081867c9ace538022991bb10':
[MIPS] Add atomic routines
2012-07-24 13:53:37 -07:00
Elliott Hughes
d33ce20e6d
am 344aca8c: Merge "[MIPS] Add atomic routines"
...
* commit '344aca8ced2522074f799439e201226377d02dba':
[MIPS] Add atomic routines
2012-07-24 13:51:10 -07:00
Elliott Hughes
344aca8ced
Merge "[MIPS] Add atomic routines"
2012-07-24 13:41:06 -07:00
Raghu Gandham
f7fb9e1ef1
[MIPS] Add atomic routines
...
Change-Id: I2cb20ce44dd230d222b7fc1ede2e1e3dce6e692b
2012-07-24 10:30:22 -07:00
The Android Automerger
1e52e79b70
merge in master-release history after reset to master
2012-07-24 07:49:06 -07:00
Elliott Hughes
7cfe2c5c07
am 5e2a2705: am b109e437: Merge "Upgrade to tzdata2012d."
...
* commit '5e2a2705f237130bc516b62ff1372e94ad508f12':
Upgrade to tzdata2012d.
2012-07-23 19:04:50 -07:00
Elliott Hughes
5e2a2705f2
am b109e437: Merge "Upgrade to tzdata2012d."
...
* commit 'b109e437fcbc1cbe09fce8ce2abb6f951d5a0274':
Upgrade to tzdata2012d.
2012-07-21 14:20:17 -07:00
Elliott Hughes
b109e437fc
Merge "Upgrade to tzdata2012d."
2012-07-21 14:09:24 -07:00
Elliott Hughes
5d967e43d0
Upgrade to tzdata2012d.
...
This upgrade involved rewriting the script; the data has moved to ftp.iana.org,
where it's slightly less convenient to access, so it's time to use something
that can talk FTP...
As for tzdata2012d, it's just updating Morocco for this weekend's changes, now
they've been decided at the last minute (as usual).
Change-Id: I772df57a6e09b3bf3d9541bfc08930d6f18633b4
2012-07-20 16:53:32 -07:00
Elliott Hughes
acda32c8f2
am a94c708a: am 654b1501: Merge "Update time.h for CLOCK_BOOTTIME."
...
* commit 'a94c708a15713535c0ece63ffc43d016eccfebe1':
Update time.h for CLOCK_BOOTTIME.
2012-07-20 10:00:47 -07:00
Naseer Ahmed
2730674ca9
bionic: Update MDP and rotator headers
...
Change-Id: I585e07b004dfa6b5113050211ca67e4c057f5531
2012-07-20 08:54:32 -07:00
The Android Automerger
aaba380787
merge in master-release history after reset to master
2012-07-20 07:59:22 -07:00
Elliott Hughes
a94c708a15
am 654b1501: Merge "Update time.h for CLOCK_BOOTTIME."
...
* commit '654b1501f7a936034d07f579c3d4a15d1319dac2':
Update time.h for CLOCK_BOOTTIME.
2012-07-19 17:37:33 -07:00
Elliott Hughes
654b1501f7
Merge "Update time.h for CLOCK_BOOTTIME."
2012-07-19 17:18:37 -07:00
Nick Pelly
0351955a68
Update time.h for CLOCK_BOOTTIME.
...
(cherry-pick of 8958a38329 )
Change-Id: Ie8de6b32fa81566db53ad7e9fd4b197f4cede628
2012-07-19 17:10:14 -07:00
Nick Pelly
8958a38329
Update time.h for CLOCK_BOOTTIME.
...
Change-Id: Iafbc6a2f57587feb68526e4eab67452aa0db5311
2012-07-19 16:33:58 -07:00
The Android Open Source Project
6591be6c52
Reconcile with jb-mr0-release
...
Change-Id: I5e181b92fbcc4b3d312396124a149f1c5224e55b
2012-07-19 08:35:39 -07:00
The Android Automerger
43ef6784df
merge in master-release history after reset to master
2012-07-19 07:49:05 -07:00
Ajay Dudani
3e210abf7d
Adding msm_dsps.h header
...
Change-Id: I7736a3a895b9c81d5184f7c97ac0ed5aeb138d25
2012-07-19 07:26:26 -07:00
The Android Automerger
59fae8abaf
merge in jb-release history after reset to jb-dev
2012-07-18 23:04:34 -07:00
Nick Kralevich
f6ee33cee7
Merge "linker: Fix LD_PRELOADS for calling constructors"
2012-07-18 14:02:22 -07:00
The Android Automerger
d18f341398
merge in master-release history after reset to master
2012-07-17 09:10:34 -07:00
Nick Kralevich
761ba27d62
Merge "FORTIFY_SOURCE: revert memcpy changes."
2012-07-16 15:18:43 -07:00
Elliott Hughes
3fd5e91e58
Merge "bionic: Report linker relocation address to gdb"
2012-07-16 11:38:23 -07:00
Elliott Hughes
05f03b8875
Merge "linker: cleanup of undefined state handling, which is really dead code"
2012-07-16 10:08:17 -07:00
Robin Burchell
8211bc6325
linker: cleanup of undefined state handling, which is really dead code
...
Given that _elf_lookup (and thus, _do_lookup) cannot possibly return an
undefined symbol (due to the check for SHN_UNDEF in _elf_lookup), there's
no need for spurious checks for SHN_UNDEF on its return value.
Conflicts:
linker/linker.c
Change-Id: Ic73cf439924b45f72d4d9ba3f64a888c96cbbd9b
2012-07-16 10:03:35 -07:00
Elliott Hughes
decb531ce2
Merge "linker: Use SHN_UNDEF instead of describing what it is trying to do."
2012-07-16 10:00:38 -07:00
Robin Burchell
439fa8ea8c
linker: Use SHN_UNDEF instead of describing what it is trying to do.
2012-07-16 09:51:17 -07:00
Elliott Hughes
8d7355ac2f
Merge "Use std=gnu99 for the dynamic linker as well as libc."
2012-07-16 09:45:27 -07:00
Elliott Hughes
856512ea9c
Use std=gnu99 for the dynamic linker as well as libc.
...
Change-Id: I76dd78576c5af6eb6282555f069647b6260edc31
2012-07-16 09:43:14 -07:00
Elliott Hughes
fabddfe833
Merge "limits.h: Include page.h when relying on PAGE_SIZE"
2012-07-16 09:39:24 -07:00
Nick Kralevich
b0f0d4276d
Merge "FORTIFY_SOURCE: revert memcpy changes."
2012-07-16 08:24:32 -07:00
Ryan V. Bissell
bb5c30a3ee
bionic: Report linker relocation address to gdb
...
GDB needs the runtime linker's base address in order to
locate the latter's ".text" and ".plt" sections, for the
purpose of detecting solib trampolines. It also can
potentially use this to calculate the relocated address
of rtld_db_dlactivity.
Bug: http://code.google.com/p/android/issues/detail?id=34856
Change-Id: I63d3e7ae4e20a684ceb25967f2241e7d58dd685d
Signed-off-by: Ryan V. Bissell <ryan@bissell.org >
2012-07-16 02:16:18 -05:00
Kito Cheng
326e85eca6
linker: Fix LD_PRELOADS for calling constructors
...
Change-Id: I1eae77a4c59e8a5acc009127d271455bb6fc01b6
2012-07-15 00:49:34 +08:00
Nick Kralevich
c37fc1ab6a
FORTIFY_SOURCE: revert memcpy changes.
...
Performance regressions. Hopefully this is a temporary
rollback.
Bug: 6821003
Change-Id: I84abbb89e1739d506b583f2f1668f31534127764
2012-07-13 17:58:37 -07:00
Nick Kralevich
e1d909f71e
Merge "FORTIFY_SOURCE: introduce __BIONIC_FORTIFY_UNKNOWN_SIZE macro"
2012-07-13 15:06:56 -07:00
Nick Kralevich
147b0690a9
Merge "FORTIFY_SOURCE: strlen check."
2012-07-13 15:06:41 -07:00
Nick Kralevich
ad7f966281
Merge "FORTIFY_SOURCE: restore __memcpy_chk()"
2012-07-13 14:52:26 -07:00
Nick Kralevich
9b6cc223a3
FORTIFY_SOURCE: introduce __BIONIC_FORTIFY_UNKNOWN_SIZE macro
...
Replace all occurances of "(size_t) -1" with a
__BIONIC_FORTIFY_UNKNOWN_SIZE macro.
Change-Id: I0b188f6cf31417d2dbef0e1bd759de3f9782873a
2012-07-13 14:49:33 -07:00
Nick Kralevich
260bf8cfe0
FORTIFY_SOURCE: strlen check.
...
This test is designed to detect code such as:
int main() {
char buf[10];
memcpy(buf, "1234567890", sizeof(buf));
size_t len = strlen(buf); // segfault here with _FORTIFY_SOURCE
printf("%d\n", len);
return 0;
}
or anytime strlen reads beyond an object boundary. This should
help address memory leakage vulnerabilities and make other
unrelated vulnerabilities harder to exploit.
Change-Id: I354b425be7bef4713c85f6bab0e9738445e00182
2012-07-13 13:49:59 -07:00
Nick Kralevich
b2060b027c
FORTIFY_SOURCE: restore __memcpy_chk()
...
In our previous FORTIFY_SOURCE change, we started using a custom
inline for memcpy(), rather than using GCC's __builtin_memcpy_chk().
This allowed us to delete our copy of __memcpy_chk(), and replace it
by __memcpy_chk2().
Apparently GCC uses __memcpy_chk() outside of __builtin_memcpy_chk().
Specifically, __memcpy_chk() is used by __builtin__memMOVE_chk() under
certain optimization levels.
Keep the old __memcpy_chk() function around, and have it call into
__memcpy_chk2().
Change-Id: I2453930b24b8a492a3b6ed860e18d92a6b762b80
2012-07-13 13:49:45 -07:00
Nick Kralevich
88bfc28ac4
Merge "FORTIFY_SOURCE: enhanced memcpy protections."
2012-07-13 07:57:58 -07:00
Yaroslav Miroshnychenko
c7dcd67d56
Add missing va_end() to prevent stack corruptions
...
Added va_end() for copied variable arguments lists
in __vfprintf() and __find_arguments().
This is by C standard.
Important for systems which pass arguments in registers.
Change-Id: I7ac42beaa6645bfe856c18132253352dae29ea37
2012-07-13 09:37:57 +02:00
Nick Kralevich
f3913b5b68
FORTIFY_SOURCE: enhanced memcpy protections.
...
Two changes:
1) Detect memory read overruns.
For example:
int main() {
char buf[10];
memcpy(buf, "abcde", sizeof(buf));
sprintf("%s\n", buf);
}
because "abcde" is only 6 bytes, copying 10 bytes from it is a bug.
This particular bug will be detected at compile time. Other similar
bugs may be detected at runtime.
2) Detect overlapping buffers on memcpy()
It is a bug to call memcpy() on buffers which overlap. For
example, the following code is buggy:
char buf3[0x800];
char *first_half = &buf3[0x400];
char *second_half = &buf3[1];
memset(buf3, 0, sizeof(buf3));
memcpy(first_half, second_half, 0x400);
printf("1: %s\n", buf3);
We now detect this at compile and run time.
Change-Id: I092bd89f11f18e08e8a9dda0ca903aaea8e06d91
2012-07-12 15:38:15 -07:00
Nick Kralevich
86a4fca0b4
Merge "memmove: Don't call memcpy if regions overlap"
2012-07-12 10:06:28 -07:00
The Android Automerger
e13338429f
merge in jb-mr0-release history after reset to jb-dev
2012-07-11 23:11:59 -07:00
Nick Kralevich
e64259e860
memmove: Don't call memcpy if regions overlap
...
memmove() unconditionally calls memcpy() if "dst" < "src". For
example, in the code below, memmove() would end up calling memcpy(),
even though the regions of memory overlap.
int main() {
char buf3[0x800];
char *dst = &buf3[1];
char *src = &buf3[0x400];
memset(buf3, 0, sizeof(buf3));
memmove(dst, src, 0x400);
printf("1: %s\n", buf3);
return 0;
}
Calling memcpy() on overlaping regions only works if you assume
that memcpy() copies from start to finish. On some architectures,
it's more efficient to call memcpy() from finish to start.
This is also triggering a failure in some of my code.
More reading:
* http://lwn.net/Articles/414467/
* https://bugzilla.redhat.com/show_bug.cgi?id=638477#c31 (comment 31)
Change-Id: I65a51ae3a52dd4af335fe5c278056b8c2cbd8948
2012-07-11 17:46:03 -07:00
Nick Kralevich
6334c662ca
Don't use -fstack-protector on ssp.c
...
libc's stack protector initialization routine (__guard_setup)
is in bionic/ssp.c. This code deliberately modifies the stack
canary. This code should never be compiled with -fstack-protector-all
otherwise it will crash (mismatched canary value).
Force bionic/ssp.c to be compiled with -fno-stack-protector
Change-Id: Ib95a5736e4bafe1a460d6b4e522ca660b417d8d6
2012-07-10 10:51:41 -07:00
Arun Raghavan
6331db3fd2
limits.h: Include page.h when relying on PAGE_SIZE
...
limits.h relies on PAGE_SIZE being defined without actually including
page.h. Make sure this is included to avoid compilation failures.
Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk >
2012-07-10 10:36:37 +05:30
Nick Kralevich
8f08e1c902
Merge "FORTIFY_SOURCE: Add openat, fix bug"
2012-07-09 12:55:32 -07:00
Nick Kralevich
a3e230d1fa
FORTIFY_SOURCE: Add openat, fix bug
...
Add fortify_source support for openat(). This change requires that
an argument be supplied when using O_CREAT.
Fix unnecessary call to __open_2. If, at compile time, we know that
"flags" is constant and DOESN'T contain O_CREAT, the call to __open_2
is useless.
Change-Id: Ifcd29c4fb25e25656961d7552d672e161f0cfdbd
2012-07-09 12:30:40 -07:00
Nick Kralevich
a099e8e7d3
Merge "FORTIFY_SOURCE: add fgets support."
2012-07-09 12:28:35 -07:00
Andrew Hsieh
793e6aedf2
am 67636eea: am 40e7ed58: Unhide rtld_db_dlactivity()
...
* commit '67636eea20f7789e6689ee8cf6017e7d48735ca1':
Unhide rtld_db_dlactivity()
2012-07-09 11:07:46 -07:00
Andrew Hsieh
b9462d5f88
am 40e7ed58: Unhide rtld_db_dlactivity()
...
* commit '40e7ed58d73eae59d0cf2fed61284d16692e307b':
Unhide rtld_db_dlactivity()
2012-07-09 11:05:49 -07:00
Andrew Hsieh
67636eea20
am 40e7ed58: Unhide rtld_db_dlactivity()
...
* commit '40e7ed58d73eae59d0cf2fed61284d16692e307b':
Unhide rtld_db_dlactivity()
2012-07-09 11:05:16 -07:00
Nick Kralevich
965dbc6405
FORTIFY_SOURCE: add fgets support.
...
Change-Id: I8c3410a90c71a3336c4ac8581618fa9330edf5e3
2012-07-09 09:57:18 -07:00
Ajay Dudani
3fc3b7fd94
Update msm headers for audio, camera, ion, charm, rmnet
...
Change-Id: I226a1c57b94ea542fa5f3ea081582d49b3b9a3d1
2012-07-08 23:53:32 -07:00
Naseer Ahmed
05ad617b5b
bionic: Update msm_mdp.h from the kernel
...
Adds more color formats that were missing
Change-Id: I4e247ab630d9afa3ba75444bde7cd2dcd39f2ab2
2012-07-06 12:03:26 -07:00
Andrew Hsieh
40e7ed58d7
Unhide rtld_db_dlactivity()
...
Since linker is built with -fvisibility=hidden rtld_db_dlactivity()
if hidden from gdb. Unhide it otherwise gdb may not know linker
activity and rescan solib
Change-Id: Ia8cd8d9738c6ea5696ba2ef0ebf2cf783f9ca70a
2012-07-02 11:17:04 -07:00
choongryeol.lee
402b93c16d
update linux/fb.h to support fb ioctl in kernel 3.4
...
Change-Id: I959e4f445360263a34f20b0ae1a8b42123710c13
2012-06-28 21:11:08 -07:00
Rebecca Schultz Zavin
2ddf77b377
Merge "Modify ion header"
2012-06-28 14:16:10 -07:00
Nick Kralevich
bd73eede46
Merge "FORTIFY_SOURCE: add open() checks"
2012-06-27 12:56:52 -07:00
Nick Kralevich
cb228fb4a9
libc: cleanups
...
Prefix private functions with underscores, to prevent name
conflicts.
Use __error__ instead of error, since occasionally programs will
create their own "#define error ...".
Change-Id: I7bb171df58aec5627e61896032a140db547fd95d
2012-06-26 16:05:19 -07:00
Nick Kralevich
8118f62a7d
FORTIFY_SOURCE: add open() checks
...
Add a FORTIFY_SOURCE check which requires that you pass a
"mode" argument when calling open(..., O_CREAT). If a mode isn't
passed, then the file is created with "undefined" permissions.
Change-Id: I4427be4f9ce170c69da01af5b00fb05b03613a28
2012-06-26 15:19:12 -07:00
David 'Digit' Turner
b52e4385c4
linker: improve loadable segment protection.
...
Use the functions in linker_phdr.c to load the PT_LOAD segments
in memory, and toggle their mapping's writable protection bit
as needed. In particular:
- when loading a library, load the segments then unprotected
them to allow relocations to work.
- when relocating the linker of the executable, unprotect
the segments loaded by the kernel to make relocations work
too.
- after all relocations are done, re-protect the segments,
and apply GNU RELRO protection if needed.
- just before calling the destructors, undo the GNU RELRO
protection.
Change-Id: I50e709f03958204b8d6140c0f51ebe24fe089a1b
2012-06-26 10:39:55 +02:00
David 'Digit' Turner
63f99f4a4e
linker: simplify code for dynamic and ARM exidx sections.
...
This moves the code that determines where the .dynamic and .ARM.exidx
sections are to a single place in soinfo_link_image().
Change-Id: I98adcb440577bed86442349f03f3c629c945efec
2012-06-26 10:39:55 +02:00
David 'Digit' Turner
8941cfa17a
Merge "linker: rename load_offset to load_bias."
2012-06-26 01:34:41 -07:00
David 'Digit' Turner
ff9ff758ad
Merge "linker: avoid mapping the whole library before load."
2012-06-26 01:34:31 -07:00
David 'Digit' Turner
48d6c8ed23
Merge "linker: Add PAGE_START/OFFSET/END convenience macros"
2012-06-26 01:34:18 -07:00
David 'Digit' Turner
c6025b6047
Merge "linker: New sources to manage the ELF program header table."
2012-06-26 01:34:07 -07:00
Elliott Hughes
0ff08d22f0
am 5af97ca8: am c7bab8cb: Merge "Enable sqrtf() x86 assembly code"
...
* commit '5af97ca8514d9fb4175bff3a79abf26889b94530':
Enable sqrtf() x86 assembly code
2012-06-25 14:09:42 -07:00
Elliott Hughes
5af97ca851
am c7bab8cb: Merge "Enable sqrtf() x86 assembly code"
...
* commit 'c7bab8cb8483e7869eabdbd4add7c9e5beeecc80':
Enable sqrtf() x86 assembly code
2012-06-25 14:06:06 -07:00
Elliott Hughes
c7bab8cb84
Merge "Enable sqrtf() x86 assembly code"
2012-06-25 10:46:41 -07:00
David 'Digit' Turner
bea23e59f7
linker: rename load_offset to load_bias.
...
This patch changes the definition of the 'load_offset' field
in struct soinfo. The field is renamed because it is not the
basic load bias to add to every p_vaddr value read from the ELF
file to get the corresponding memory address.
This also slightly simplifies the relocation code.
+ Fix for proper load_bias computation for relocatable executables.
Change-Id: I72502c75a70751cba324deee7d313ae61f96609e
2012-06-25 11:52:40 +02:00
David 'Digit' Turner
23363ed750
linker: avoid mapping the whole library before load.
...
This patch changes the load_library() function in the
dynamic linker to avoid reserving a huge read-only
address-space range just to read the ELF header and
program header (which are typically very small and easily
fit in the first page).
Instead, we use the functions in linker_phdr.c to only
load the data that we need in a temporary mmap-allocated
page of memory, which we release when the function exits.
This avoids issues when loading very large libraries, or
simply debug versions that only need to load a tiny percentage
of their overall file content in RAM.
Change-Id: Id3a189fad2119a870a1b3d43dd81380c54ea6044
2012-06-25 11:52:40 +02:00
David 'Digit' Turner
a6545f4678
linker: Add PAGE_START/OFFSET/END convenience macros
...
This patch adds a few macros related to memory pages to help
clarify some of the code in linker.c
Change-Id: I36c727132d257b1497398dd0a9e8a5a4505467ca
2012-06-25 11:52:40 +02:00
David 'Digit' Turner
c1bd559d5b
linker: New sources to manage the ELF program header table.
...
This patch introduces two new source files containing a set of functions
to manage the program header table in an ELF binary, including the ability
to load PT_LOAD segments, and apply PT_GNU_RELRO protection.
Note: the files are not used currently, this will appear in a series
of future patches that will gradually modify linker.c to use
the phdr_table_xxx functions properly.
Change-Id: Ia3d4c1ff5fc3e265d8258b64b492f4e643f51bdc
2012-06-25 11:52:40 +02:00
xqian6
29aa009924
Enable sqrtf() x86 assembly code
...
This patch can improve the sqrtf() performance.
Change-Id: Ic9d11d6a9ecd9b263f54d4878e13595e136b95ce
2012-06-25 16:20:09 +08:00
Evgeniy Stepanov
20bc061dc7
Add module base to main executable's ARM_exidx.
...
BUG:6697872
Change-Id: I448f4b86397307086231776da38a7af334a75fe5
2012-06-22 14:56:01 +04:00
Haynes Mathew George
3fad2b17b9
Use sanitized video decode/encode header files
...
Change-Id: Id4897181da94af51992c71cd49aff1f40970e6c7
2012-06-21 15:45:28 -07:00
Naseer Ahmed
240b3349fc
bionic: Update MDP and KGSL headers
...
Update headers for MSM MDP, MSM KGSL and MSM
rotator to match the version in the Linux
3.4 kernel baseline
Change-Id: I37052486be8c8862e65cac1f6934368ecc055a76
2012-06-21 11:50:01 -07:00
Andrew Hsieh
63d0ceec75
am fa136e8c: am a5948157: Merge "Define __stack_chk_fail_local.S"
...
* commit 'fa136e8ca71cb20956cd1792251869cac8bed257':
Define __stack_chk_fail_local.S
2012-06-20 19:00:55 -07:00
Andrew Hsieh
fa136e8ca7
am a5948157: Merge "Define __stack_chk_fail_local.S"
...
* commit 'a5948157fd34acb2b1d1bfaf129901af865ab5fc':
Define __stack_chk_fail_local.S
2012-06-20 18:58:18 -07:00
Andrew Hsieh
a5948157fd
Merge "Define __stack_chk_fail_local.S"
2012-06-20 18:37:48 -07:00
Andrew Hsieh
6973e3da87
Define __stack_chk_fail_local.S
...
With -fstack-protector, x86 -m32 needs __stack_chk_fail_local
defined in crtbegin_*.o.
Include __stack_chk_fail_local.S in begin.S otherwise linker
(which is built w/o crt*) may not link.
Change-Id: Id242fcf3eff157264afe3b04f27288ab7991220a
2012-06-21 09:26:33 +08:00
The Android Open Source Project
214feeba19
am effc607e: Reconcile with jb-release
...
* commit 'effc607e87add0aec14fefb4ac1c00d36559149a':
2012-06-20 08:28:23 -07:00
The Android Open Source Project
effc607e87
Reconcile with jb-release
...
Change-Id: Ia5de9692e507a605d3b6937ec65da26169a3ea8e
2012-06-20 08:25:32 -07:00
The Android Automerger
77093f2a8b
merge in jb-release history after reset to jb-dev
2012-06-20 06:59:21 -07:00
David 'Digit' Turner
823aeb9294
Merge "linker: reduce size by nearly 20KB"
2012-06-19 14:51:28 -07:00
Andy McFadden
f2ba5c9afa
am 63c4179f: am 4d0128f1: Merge "Minor tweak to get memory around corrupted heap chunks dumped." into jb-dev
...
* commit '63c4179f5951edc2d68700fe75659fbd34febe63':
Minor tweak to get memory around corrupted heap chunks dumped.
2012-06-19 11:33:19 -07:00
Andy McFadden
63c4179f59
am 4d0128f1: Merge "Minor tweak to get memory around corrupted heap chunks dumped." into jb-dev
...
* commit '4d0128f13a3ca9f7a0c81b6e69f7e20d28e9e6e3':
Minor tweak to get memory around corrupted heap chunks dumped.
2012-06-19 11:31:14 -07:00
Andy McFadden
5e94df8a4f
am 4d0128f1: Merge "Minor tweak to get memory around corrupted heap chunks dumped." into jb-dev
...
* commit '4d0128f13a3ca9f7a0c81b6e69f7e20d28e9e6e3':
Minor tweak to get memory around corrupted heap chunks dumped.
2012-06-19 11:31:06 -07:00
Andy McFadden
4d0128f13a
Merge "Minor tweak to get memory around corrupted heap chunks dumped." into jb-dev
2012-06-19 11:28:15 -07:00
Ben Cheng
ec2ab73b87
Minor tweak to get memory around corrupted heap chunks dumped.
...
Change-Id: I8f72c5c7e23960b13fc53e2354cd74aca8aac3c0
2012-06-19 07:11:38 -07:00
David 'Digit' Turner
166b7dbd4a
linker: reduce size by nearly 20KB
...
This patch adds a trivial implementation of snprintf() that calls
our internal vsnprintf().
Inspection of the generated machine code showed that the linker
contained a full implementation of stdio's vfprintf. It was pulled
in because the pthread implementation uses snprintf() somewhere.
ProTip: It's possible to see why specific objects files are included
in a final binary by adding the following to your Android.mk, then
looking at the content of /tmp/MAP.TXT:
LOCAL_LDFLAGS += -Wl,-Map=/tmp/MAP.TXT
Change-Id: I325e71b0cad1d01116a2e00c09e30a80cb716aa3
2012-06-19 10:53:11 +02:00
Arve Hjønnevåg
ece8f502ed
Merge "Add watchdog.h"
2012-06-14 16:13:16 -07:00
Nick Kralevich
70f6901c3d
libc: make atoi, atol, and atoll pure functions
...
Change-Id: Ib831c079c865929b6c91d42f35e117f2e974808f
2012-06-14 13:57:43 -07:00
Nick Kralevich
8df49ad246
FORTIFY_SOURCE: add strlcpy / strlcat support
...
Add strlcpy / strlcat support to FORTIFY_SOURCE. This allows
us to do consistency checks on to ensure we don't overflow buffers
when the compiler is able to tell us the size of the buffer we're
dealing with.
Unlike previous changes, this change DOES NOT use the compiler's
builtin support. Instead, we do everything the compiler would
normally do.
Change-Id: I47c099a911382452eafd711f8e9bfe7c2d0a0d22
2012-06-14 12:52:42 -07:00
Arve Hjønnevåg
420f4939b3
Add watchdog.h
...
Change-Id: Ib12d437151ccfbd634e9f01acd8556c79977ca04
2012-06-13 21:58:08 -07:00
David 'Digit' Turner
4442d512c6
Merge "linker: small code-cleanup"
2012-06-13 21:45:52 -07:00
Nick Kralevich
a5eaa02f62
Merge "Don't mark realloc with __attribute__((malloc))"
2012-06-13 16:13:32 -07:00
Nick Kralevich
b27631b9ae
Don't mark realloc with __attribute__((malloc))
...
According to
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
realloc should NOT be marked with __attribute__((malloc)). Quoting:
realloc-like functions do not have this property as the memory
pointed to does not have undefined content.
For reference, __mallocfunc is defined in sys/cdefs.h as:
#define __mallocfunc __attribute__((malloc))
Change-Id: I56083542ba92e4608dd7c55fb5596a138eb50cc9
2012-06-13 15:43:14 -07:00
David 'Digit' Turner
1608416811
linker: small code-cleanup
...
This patch adds to make the linker a little bit easier to understand
by making all functions that acts on a sofino object with a soinfo_
prefix.
This is to more easily distinguish functions that operate on global
state, and those that operate on individual libraries.
This should be purely stylistic, i.e. no feature/behaviour change.
Change-Id: Ie510d13d743aa4317644caefa9910b8af7e84f44
2012-06-13 22:47:20 +02:00
Nick Kralevich
8c54c56723
Merge "FORTIFY_SOURCE: add sprintf / vsprintf support"
2012-06-13 11:03:42 -07:00
Nick Kralevich
9b549c39c9
FORTIFY_SOURCE: add sprintf / vsprintf support
...
sprintf FORTIFY_SOURCE protections are not available
on clang.
Also add various __attribute__s to stdio functions.
Change-Id: I936d1f9e55fe53a68885c4524b7b59e68fed218d
2012-06-13 09:14:30 -07:00
Nick Kralevich
ca622f5748
Merge "update filter.h / prctl.h / seccomp.h"
2012-06-12 16:34:46 -07:00
Robert Greenwalt
8f88aa7d38
am c5cab345: am 028ccf5d: Merge "Avoid multiple dns lookups for the same query"
...
* commit 'c5cab3452d5ced55474e56497594579108670b51':
Avoid multiple dns lookups for the same query
2012-06-12 15:56:29 -07:00
Robert Greenwalt
c5cab3452d
am 028ccf5d: Merge "Avoid multiple dns lookups for the same query"
...
* commit '028ccf5d40dd9a945ea92aa79822c08c6f6aa1d2':
Avoid multiple dns lookups for the same query
2012-06-12 15:52:56 -07:00
Nick Kralevich
d1a6918508
update filter.h / prctl.h / seccomp.h
...
Pull in an updated version of filter.h / prctl.h / seccomp.h
from the linux kernel. Pulled from upstream kernel at
94fa83c424321189ca24fb6cb4c0d224cdedc72d
This file was generated using the following command:
cd bionic/libc/kernel/
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/seccomp.h
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/filter.h
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/prctl.h
Change-Id: I1ca996541d05b0d5927ab828a6ce49c09877ea01
2012-06-12 15:46:31 -07:00
Robert Greenwalt
028ccf5d40
Merge "Avoid multiple dns lookups for the same query"
2012-06-12 15:06:24 -07:00
Nick Kralevich
c2f1d215b1
Merge "FORTIFY_SOURCE: add snprintf, vsnprintf"
2012-06-12 08:50:57 -07:00
Elliott Hughes
f525fb525b
am 20afd4e7: am e0961445: Merge "Remove the meaningless on Linux if_dl.h header."
...
* commit '20afd4e70c2f346d7cd03a7a3049f8de2d176d5c':
Remove the meaningless on Linux if_dl.h header.
2012-06-11 17:42:44 -07:00
Elliott Hughes
c9142d4d8e
am 571da80c: am c75491e2: Merge "Remove an obsolete jamfile."
...
* commit '571da80c58e13eac4d4fb29d38342879e5dede13':
Remove an obsolete jamfile.
2012-06-11 17:42:43 -07:00
Elliott Hughes
20afd4e70c
am e0961445: Merge "Remove the meaningless on Linux if_dl.h header."
...
* commit 'e0961445124b5ff39412da32578e14e0d1f6afd6':
Remove the meaningless on Linux if_dl.h header.
2012-06-11 17:41:10 -07:00
Elliott Hughes
571da80c58
am c75491e2: Merge "Remove an obsolete jamfile."
...
* commit 'c75491e291586540c213ae088fc75b71fc4d3752':
Remove an obsolete jamfile.
2012-06-11 17:41:04 -07:00
Elliott Hughes
e096144512
Merge "Remove the meaningless on Linux if_dl.h header."
2012-06-11 16:49:57 -07:00
Nick Kralevich
cffdf6693f
FORTIFY_SOURCE: add snprintf, vsnprintf
...
Add _FORTIFY_SOURCE support for snprintf, vsnprintf
At this time, we opt out of these protections for clang, as clang
does not implement __builtin_va_arg_pack().
http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc
Change-Id: I73ebe5ec8dad1dca8898a76d6afb693a25f75375
2012-06-11 16:46:16 -07:00
Elliott Hughes
c75491e291
Merge "Remove an obsolete jamfile."
2012-06-11 16:29:46 -07:00
Elliott Hughes
4c19e4f64f
Remove an obsolete jamfile.
...
Was bionic ever built with jam? Weird!
Change-Id: Iea9a7af8bf46ee8319963e642da48e3bb49f6c60
2012-06-11 16:17:45 -07:00
Nick Kralevich
0f5b48ce28
Merge "inet_ntop: pass the size of tmp to snprintf()"
2012-06-11 16:11:20 -07:00
Nick Kralevich
85b06f9365
inet_ntop: pass the size of tmp to snprintf()
...
Fix runtime error when snprintf() FORTIFY_SOURCE protections are
applied. The size passed to snprintf() is larger than the tmp
buffer size, which results in a runtime assertion failure.
Even though the size passed to snprintf is larger than the buffer,
there's no danger of overwriting the buffer because of the format
string passed to snprintf.
Change-Id: I35f0217d25f3b9c6d04c5a76c3238759c235545a
2012-06-11 16:00:52 -07:00
Rebecca Schultz Zavin
6d3f548294
Modify ion header
...
Change-Id: Ib963e8b064f7883bf098e006c70df20732496100
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2012-06-11 15:52:02 -07:00
Elliott Hughes
c3d45b822c
Remove the meaningless on Linux if_dl.h header.
...
This was misleading 'configure' into thinking we actually support AF_LINK,
but we're Linux, so we don't, and we never implemented the functions we
declared here either.
Reported to AOSP by Jun-ya Kato.
(cherry-pick of 5056f1fad1187cd67729bb04ba72397d78256f03.)
Change-Id: Ic67f674d2221497c8166994812bb5fc7f0831066
2012-06-11 15:13:37 -07:00
Elliott Hughes
7c5c68f5c7
Merge "Remove the meaningless on Linux if_dl.h header."
2012-06-11 15:09:57 -07:00
Elliott Hughes
5056f1fad1
Remove the meaningless on Linux if_dl.h header.
...
This was misleading 'configure' into thinking we actually support AF_LINK,
but we're Linux, so we don't, and we never implemented the functions we
declared here either.
Reported to AOSP by Jun-ya Kato.
Change-Id: I111f9887f3812469b411b9cf5124d9dd624f19f7
2012-06-11 15:01:10 -07:00
Iliyan Malchev
29d03a8f39
add processed sound/tlv.h header
...
Change-Id: Ia57dd1293a5bd58c1b1950f1d243b394a0dd1eb8
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-06-11 14:54:44 -07:00
Iliyan Malchev
3cb8cdea3c
add processed genlock.h for qualcomm
...
Change-Id: Id1ea77cf84e4924077b30c661d1c4bea427ad87e
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-06-11 14:16:21 -07:00
Geremy Condra
631498de43
Merge "Added event logging for some spoofed DNS queries."
2012-06-11 12:17:12 -07:00
Geremy Condra
fd49579f3a
Merge "Added actual event logging calls to the FORTIFY_SOURCE methods."
2012-06-11 11:50:03 -07:00
Geremy Condra
524c87c61c
Added event logging for some spoofed DNS queries.
...
Change-Id: I40909306e8cf922f1dd5a5685db89f732a709794
2012-06-11 11:44:48 -07:00
Geremy Condra
009f38478e
Added actual event logging calls to the FORTIFY_SOURCE methods.
...
Change-Id: I3bf4fa8678c33187cb8ce4b75e666ddcd24403ab
2012-06-11 11:30:56 -07:00
The Android Open Source Project
8f2887be93
am 5ff025a5: Reconcile with jb-release
...
* commit '5ff025a50ccd7d30ea39c989d9ed8b1084ded47f':
2012-06-11 09:23:11 -07:00
The Android Open Source Project
5ff025a50c
Reconcile with jb-release
...
Change-Id: I7cbfbab55783f245c0854543843c2052c4c2e932
2012-06-11 09:20:36 -07:00
The Android Automerger
ff7eae7b08
merge in jb-release history after reset to jb-dev
2012-06-11 06:59:25 -07:00
Nick Kralevich
76656afc6d
_FORTIFY_SOURCE: check for integer overflows
...
Ensure that strcat / strncat check for integer overflows
when computing the length of the resulting string.
Change-Id: Ib806ad33a0d3b50876f384bc17787a28f0dddc37
2012-06-08 20:18:19 -07:00
Jeff Brown
f41855949d
am e4db460a: am b7630f01: Use new debuggerd protocol.
...
* commit 'e4db460a54e4f024b83a7df9a3f9920d695da9f3':
Use new debuggerd protocol.
2012-06-08 15:33:31 -07:00
Jeff Brown
e4db460a54
am b7630f01: Use new debuggerd protocol.
...
* commit 'b7630f018abc83261acf78e8cf9a88c1df72f7f5':
Use new debuggerd protocol.
2012-06-08 15:30:39 -07:00
Geremy Condra
ec8addcc8a
Merge "Adding event logging to libc."
2012-06-08 12:17:11 -07:00
Geremy Condra
8b11c4cec2
Adding event logging to libc.
...
I've basically just copied the relevant bits out of liblog and
EventLog.cpp. While this will let us do the uid logging we want
to address the concerns in 245c07027f78565858dd489eb0d94c3d48743e9d
it doesn't give us much else.
Change-Id: Icac6ff20bc0a3ade5927f6f76fedffe1ae6f8522
2012-06-08 12:14:48 -07:00
Nick Kralevich
7e5993bec7
Merge "_FORTIFY_SOURCE: add memset / bzero support"
2012-06-07 14:30:20 -07:00
Nick Kralevich
71a18dd435
_FORTIFY_SOURCE: add memset / bzero support
...
Add _FORTIFY_SOURCE support for the following functions:
* memset
* bzero
Move the __BIONIC_FORTIFY_INLINE definition to cdefs.h so it
can be used from multiple header files.
Change-Id: Iead4d5e35de6ec97786d58ee12573f9b11135bb7
2012-06-07 14:19:52 -07:00
Elliott Hughes
1a6b0bb3a6
Merge "Support non-zero p_vaddr in first PT_LOAD segment"
2012-06-07 11:43:47 -07:00
The Android Open Source Project
7d11009a97
am d06a73bc: Reconcile with jb-release
...
* commit 'd06a73bcb330e1a560373158be9009daef10a046':
2012-06-07 07:51:59 -07:00
The Android Open Source Project
d06a73bcb3
Reconcile with jb-release
...
Change-Id: I2c8264a9a4e3299bca7fc01d67063993b6b1b886
2012-06-07 07:48:47 -07:00
Jeff Brown
b7630f018a
Use new debuggerd protocol.
...
Bug: 6615693
Change-Id: Ibfddc0de3fa2a882f7d0238ab797e5b29296b54b
2012-06-06 18:37:48 -07:00
Elliott Hughes
459049719c
am d0c25027: am 2b89f1e3: Merge "Fix sysconf(_SC_NPROCESSORS_CONF) on ARM."
...
* commit 'd0c250271c983c3de282ff02bd2528e74ad8b5f1':
Fix sysconf(_SC_NPROCESSORS_CONF) on ARM.
2012-06-06 13:50:29 -07:00
Elliott Hughes
d0c250271c
am 2b89f1e3: Merge "Fix sysconf(_SC_NPROCESSORS_CONF) on ARM."
...
* commit '2b89f1e37df838e466d382fc602728930bad4c68':
Fix sysconf(_SC_NPROCESSORS_CONF) on ARM.
2012-06-06 13:48:07 -07:00
Elliott Hughes
2b89f1e37d
Merge "Fix sysconf(_SC_NPROCESSORS_CONF) on ARM."
2012-06-06 13:32:19 -07:00
Elliott Hughes
a985076bfe
Fix sysconf(_SC_NPROCESSORS_CONF) on ARM.
...
Bug: http://code.google.com/p/enh/issues/detail?id=33
Change-Id: I679b4cd888d362031042284e8edf01c5273a92aa
2012-06-06 12:04:38 -07:00
Elliott Hughes
158ad015c2
am 3069270d: am c2bba24d: Merge "Give the timer_create SIGEV_THREAD helper threads sensible names."
...
* commit '3069270d8641c7bb57aa308d8f90b4d2dcbf66fc':
Give the timer_create SIGEV_THREAD helper threads sensible names.
2012-06-06 11:37:25 -07:00
Elliott Hughes
3069270d86
am c2bba24d: Merge "Give the timer_create SIGEV_THREAD helper threads sensible names."
...
* commit 'c2bba24d0a6b906f00d7b9f20ac9d32d63bb2e9d':
Give the timer_create SIGEV_THREAD helper threads sensible names.
2012-06-06 11:35:32 -07:00
Elliott Hughes
c2bba24d0a
Merge "Give the timer_create SIGEV_THREAD helper threads sensible names."
2012-06-06 10:44:32 -07:00
Elliott Hughes
470631ed79
Give the timer_create SIGEV_THREAD helper threads sensible names.
...
Bug: 6609676
Change-Id: I286b197c75beee4d9930b0973f2d7dd47c14e91c
2012-06-06 10:32:56 -07:00
Nick Kralevich
204c6e5ff3
Merge "arm: rewrite crtbegin* as C files."
2012-06-06 08:54:22 -07:00
Nick Kralevich
0a2301598c
libc: implement some FORTIFY_SOURCE functions
...
Add initial support for -D_FORTIFY_SOURCE to bionic for the
following functions:
* memcpy
* memmove
* strcpy
* strcat
* strncpy
* strncat
This change adds a new version of the above functions which passes
the size of the destination buffer to __builtin___*_chk.
If the compiler can determine, at compile time, that the destination
buffer is large enough, or the destination buffer can point to an object
of unknown size, then the check call is bypassed.
If the compiler can't make a compile time decision, then it calls
the __*_chk() function, which does a runtime buffer size check
These options are only enabled if the code is compiled with
-D_FORTIFY_SOURCE=1 or 2, and only when optimizations are enabled.
Please see
* http://gcc.gnu.org/onlinedocs/gcc/Object-Size-Checking.html
* http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
for additional details on FORTIFY_SOURCE.
Testing: Compiled the entire Android tree with -D_FORTIFY_SOURCE=1,
and verified that everything appears to be working properly.
Also created a test buffer overflow, and verified that it was
caught by this change.
Change-Id: I4fddb445bafe92b16845b22458d72e6dedd24fbc
2012-06-05 15:44:31 -07:00
Ji-Hwan Lee
f186a1819a
Support non-zero p_vaddr in first PT_LOAD segment
...
Before changing mmap() permission to PROT_NONE in alloc_mem_region(),
such libraries once worked with a bug that uses mmap'ed region outside of
memory region allocated by alloc_mem_region(). This possibly incurs
SIGSEGV because it can overwrite memory region of previously loaded
library, but it sometimes worked, depending on loading order.
After PROT_NONE, this caused SIGSEGV earlier during calculation of
si->phdr in load_library(), but this was fixed by:
75917c84d1 Use mmap to read an ...
Now the behaviour is the same as before applying PROT_NONE in
alloc_mem_region().
This CL fixed the original issue, supporting shared libraries that have
non-zero p_vaddr in first (= with lowest p_vaddr) PT_LOAD segment.
Bug: 6561258
Change-Id: Ib6176dd3e44c4d99a340eb1cbd16fb037586b0bc
2012-06-04 07:44:10 -07:00
The Android Automerger
db2e7a4cb6
merge in jb-release history after reset to jb-dev
2012-06-03 05:59:30 -07:00
Iliyan Malchev
31431f454a
am 252a5c85: resolved conflicts for merge of e1dd3c28 to jb-dev-plus-aosp
...
* commit '252a5c854a08e89fc7337ea679220161fe4ea98f':
bionic: import heaptracker as chk_malloc
2012-06-02 08:35:07 -07:00
Iliyan Malchev
143ad4cf31
am f0ddaa2f: am 7d2e24eb: bionic: introduce libc.debug.malloc.program
...
* commit 'f0ddaa2fac00ac20059c0b2c142da9de2838a7b6':
bionic: introduce libc.debug.malloc.program
2012-06-02 08:20:09 -07:00
Iliyan Malchev
252a5c854a
resolved conflicts for merge of e1dd3c28 to jb-dev-plus-aosp
...
Change-Id: I58b9c13d20771aa39b703ec05cbff8aeaad38fe8
2012-06-02 08:14:36 -07:00
Iliyan Malchev
f0ddaa2fac
am 7d2e24eb: bionic: introduce libc.debug.malloc.program
...
* commit '7d2e24eb167b6257f7935c7bd2023a708704ca1a':
bionic: introduce libc.debug.malloc.program
2012-06-01 19:03:06 -07:00
Iliyan Malchev
e1dd3c287b
bionic: import heaptracker as chk_malloc
...
This patch is a rewrite of libc.debug.malloc = 10 (chk_malloc). It provides
the same features as the original (poison freed memory, detect heap overruns
and underruns), except that it provides more debugging information whenever it
detects a problem.
In addition to the original features, the new chk_malloc() implementation
detects multiple frees within a given range of the last N allocations, N being
configurable via the system property libc.debug.malloc.backlog.
Finally, this patch keeps track of all outstanding memory allocations. On
program exit, we walk that list and report each outstanding allocation.
(There is support (not enabled) for a scanner thread periodically walks over
the list of outstanding allocations as well as the backlog of recently-freed
allocations, checking for heap-usage errors.)
Feature overview:
1) memory leaks
2) multiple frees
3) use after free
4) overrun
Implementation:
-- for each allocation, there is a:
1) stack trace at the time the allocation is made
2) if the memory is freed, there is also a stack trace at the point
3) a front and rear guard (fence)
4) the stack traces are kept together with the allocation
-- the following lists and maintained
1) all outstanding memory allocations
3) a backlog of allocations what are freed; when you call free(), instead of
actually freed, the allocation is moved to this backlog;
4) when the backlog of allocations gets full, the oldest entry gets evicted
from it; at that point, the allocation is checked for overruns or
use-after-free errors, and then actually freed.
5) when the program exits, the list of outstanding allocations and the
backlog are inspected for errors, then freed;
To use this, set the following system properties before running the process or
processes you want to inspect:
libc.malloc.debug.backlog # defaults to 100
libc.malloc.debug 10
When a problem is detected, you will see the following on logcat for a multiple
free:
E/libc ( 7233): +++ ALLOCATION 0x404b9278 SIZE 10 BYTES MULTIPLY FREED!
E/libc ( 7233): +++ ALLOCATION 0x404b9278 SIZE 10 ALLOCATED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c658 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d80 /system/lib/libc.so
E/libc ( 7233): #03 pc 4009647c /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
E/libc ( 7233): +++ ALLOCATION 0x404b9278 SIZE 10 FIRST FREED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c7d2 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d94 /system/lib/libc.so
E/libc ( 7233): #03 pc 40096490 /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
E/libc ( 7233): +++ ALLOCATION 0x404b9278 SIZE 10 NOW BEING FREED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c6ac /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d94 /system/lib/libc.so
E/libc ( 7233): #03 pc 400964a0 /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
The following for a heap overrun and underrun:
E/libc ( 7233): +++ REAR GUARD MISMATCH [10, 11)
E/libc ( 7233): +++ ALLOCATION 0x404b9198 SIZE 10 HAS A CORRUPTED REAR GUARD
E/libc ( 7233): +++ ALLOCATION 0x404b9198 SIZE 10 ALLOCATED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c658 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d80 /system/lib/libc.so
E/libc ( 7233): #03 pc 40096438 /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
E/libc ( 7233): +++ ALLOCATION 0x404b9198 SIZE 10 FREED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c7d2 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d94 /system/lib/libc.so
E/libc ( 7233): #03 pc 40096462 /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
E/libc ( 7233): +++ ALLOCATION 0x404b9358 SIZE 10 HAS A CORRUPTED FRONT GUARD
E/libc ( 7233): +++ ALLOCATION 0x404b9358 SIZE 10 ALLOCATED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c658 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d80 /system/lib/libc.so
E/libc ( 7233): #03 pc 400964ba /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
E/libc ( 7233): +++ ALLOCATION 0x404b9358 SIZE 10 FREED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c7d2 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d94 /system/lib/libc.so
E/libc ( 7233): #03 pc 400964e4 /system/bin/malloctest
E/libc ( 7233): #04 pc 00016f24 /system/lib/libc.so
The following for a memory leak:
E/libc ( 7233): +++ THERE ARE 1 LEAKED ALLOCATIONS
E/libc ( 7233): +++ DELETING 4096 BYTES OF LEAKED MEMORY AT 0x404b95e8 (1 REMAINING)
E/libc ( 7233): +++ ALLOCATION 0x404b95e8 SIZE 4096 ALLOCATED HERE:
E/libc ( 7233): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/libc ( 7233): #00 pc 0000c35a /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #01 pc 0000c658 /system/lib/libc_malloc_debug_leak.so
E/libc ( 7233): #02 pc 00016d80 /system/lib/libc.so
E/libc ( 7233): #03 pc 0001bc94 /system/lib/libc.so
E/libc ( 7233): #04 pc 0001edf6 /system/lib/libc.so
E/libc ( 7233): #05 pc 0001b80a /system/lib/libc.so
E/libc ( 7233): #06 pc 0001c086 /system/lib/libc.so
E/libc ( 7233): #07 pc 40096402 /system/bin/malloctest
E/libc ( 7233): #08 pc 00016f24 /system/lib/libc.so
Change-Id: Ic440e9d05a01e2ea86b25e8998714e88bc2d16e0
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-06-01 15:54:34 -07:00
Nick Kralevich
9d40326830
arm: rewrite crtbegin* as C files.
...
Rewrite
crtbegin.S -> crtbegin.c
crtbegin_so.S -> crtbegin_so.c
This change allows us to generate PIC code without relying
on text relocations.
As a consequence of this rewrite, also rewrite
__dso_handle.S -> __dso_handle.c
__dso_handle_so.S -> __dso_handle_so.c
atexit.S -> atexit.c
In crtbegin.c _start, place the __PREINIT_ARRAY__, __INIT_ARRAY__,
__FINI_ARRAY__, and __CTOR_LIST__ variables onto the stack, instead of
passing a pointer to the text section of the binary.
This change appears sorta wonky, as I attempted to preserve,
as much as possible, the structure of the original assembly.
As a result, you have C files including other C files, and other
programming uglyness.
Result: This change reduces the number of files with text-relocations
from 315 to 19 on my Android build.
Before:
$ scanelf -aR $OUT/system | grep TEXTREL | wc -l
315
After:
$ scanelf -aR $OUT/system | grep TEXTREL | wc -l
19
Change-Id: Ib9f98107c0eeabcb606e1ddc7ed7fc4eba01c9c4
2012-06-01 14:41:27 -07:00
The Android Automerger
e1d591540e
merge in jb-release history after reset to jb-dev
2012-05-31 06:59:25 -07:00
Iliyan Malchev
7d2e24eb16
bionic: introduce libc.debug.malloc.program
...
libc.debug.malloc.program provides an additional level of control over which
processes to enable libc.debug.malloc functionality for. The string value of
libc.debug.malloc.program is matched against the program name; if the value of
libc.debug.malloc.program is a substring of the program name, then malloc debug
is applied to that program at whatever level libc.debug.malloc specifies.
If lib.debug.malloc.program is not specified, then libc.debug.malloc has the
same effect as before.
For example, to enable libc.deubug.malloc = 10 only to the mediaserver, do the
following:
adb root # necessary for setprop
adb setprop libc.debug.malloc.program mediaserver
adb setprop libc.debug.malloc 10
adb kill -9 $(pid mediaserver)
Change-Id: I6f01c12f033c8e2e015d73025369d7f1685ba200
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-05-30 20:03:47 -07:00
Nick Kralevich
857fc9eab9
Merge "crtbegin: eliminate duplicate code"
2012-05-30 13:29:58 -07:00
Nick Kralevich
83a73d1afe
crtbegin: eliminate duplicate code
...
crtbegin_dynamic and crtbegin_static are essentially identical,
minus a few trivial differences (comments and whitespace).
Eliminate duplicates.
Change-Id: Ic9fae6bc9695004974493b53bfc07cd3bb904480
2012-05-30 11:45:12 -07:00
Geremy Condra
207d7673e5
am 5a095ef2: am 03539a36: Merge "Ensure that the port number and TXID are properly randomized." into jb-dev
...
* commit '5a095ef28716b54f86d9c1727b9a2493ba775255':
Ensure that the port number and TXID are properly randomized.
2012-05-30 11:11:33 -07:00
Geremy Condra
5a095ef287
am 03539a36: Merge "Ensure that the port number and TXID are properly randomized." into jb-dev
...
* commit '03539a36b634bdfa61c06277cf25e0ca8e3105ba':
Ensure that the port number and TXID are properly randomized.
2012-05-30 11:09:05 -07:00
Geremy Condra
03539a36b6
Merge "Ensure that the port number and TXID are properly randomized." into jb-dev
2012-05-30 11:06:54 -07:00
The Android Open Source Project
1ebb243d1a
am cb9ba3c8: Reconcile with jb-release
...
* commit 'cb9ba3c88a97f34784559a55317ff5970d4c4dba':
Print the corrupted address passed to free().
2012-05-29 09:41:51 -07:00
The Android Open Source Project
cb9ba3c88a
Reconcile with jb-release
...
Change-Id: Id0b365ef6729dc36b88193f1675d3819e56bd426
2012-05-29 09:39:17 -07:00
Elliott Hughes
1dd9efc541
Merge "Use mmap to read an initial ELF header of library"
2012-05-25 15:11:35 -07:00
Ji-Hwan Lee
75917c84d1
Use mmap to read an initial ELF header of library
...
Also, fixes SIGSEV during calculation of si->phdr in load_library(),
which is caused by accessing PHDR area, which is not guaranteed to be
loaded.
Note that this usually does not happen because program header area is
covered by immediately following PT_LOAD entry. But it does not hold
always.
Bug: 6561258
Change-Id: Ie376253c773b5420279ca89044e81b1aad5a5736
2012-05-26 06:15:50 +09:00
Ben Cheng
2481468f22
Print the corrupted address passed to free().
...
For example:
@@@ ABORTING: INVALID HEAP ADDRESS IN dlfree addr=0x5c3bfbd0
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2942
The addr=0x5c3bfbd0 part is new.
Change-Id: I8670144b2b0a3a6182384150d762c97dfee5452f
2012-05-25 11:14:20 -07:00
Ben Cheng
41c2a112c2
am d7b60b20: am c84ff11d: Print the corrupted address passed to free().
...
* commit 'd7b60b207be79513b99faf2ef576db333f9c7a78':
Print the corrupted address passed to free().
2012-05-24 17:23:43 -07:00
Ben Cheng
d7b60b207b
am c84ff11d: Print the corrupted address passed to free().
...
* commit 'c84ff11dad26435dc5760bceda18e8f1175a6061':
Print the corrupted address passed to free().
2012-05-24 17:21:03 -07:00
Ben Cheng
c84ff11dad
Print the corrupted address passed to free().
...
For example:
@@@ ABORTING: INVALID HEAP ADDRESS IN dlfree addr=0x5c3bfbd0
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2942
The addr=0x5c3bfbd0 part is new.
Change-Id: I8670144b2b0a3a6182384150d762c97dfee5452f
2012-05-24 17:06:43 -07:00
Geremy Condra
b23f193dcc
Ensure that the port number and TXID are properly randomized.
...
This fix reads from /dev/urandom to get the required entropy.
Bug: 6535492
Change-Id: Ibc2fec3f71a67607b608ad9b767b0b6504993c1d
2012-05-24 15:26:12 -07:00
Jean-Baptiste Queru
15ed08d065
am d155ba57: am c7882ab2: Merge "bionic: add clean kernel header ucontext.h"
...
* commit 'd155ba57a32ce3182d8a5b79ff27bc5e7fa55df9':
bionic: add clean kernel header ucontext.h
2012-05-21 12:41:30 -07:00
Henrik Smiding
3ebd31c0a1
Add optimized version of memcmp for Cortex A9
...
Adds new code to function memcmp, optimized for Cortex A9.
Copyright (C) ST-Ericsson SA 2010
Added neon optimization
Change-Id: I8864d277042db40778b33232feddd90a02a27fb0
Author: Henrik Smiding henrik.smiding@stericsson.com for ST-Ericsson.
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2012-05-19 14:04:59 +02:00
Elliott Hughes
7cce04381a
resolved conflicts for merge of dc6c2b77 to master
...
Change-Id: Ifab4573a825cf5caa7158d8888243bb8d5d01148
2012-05-17 17:15:01 -07:00
Jean-Baptiste Queru
d155ba57a3
am c7882ab2: Merge "bionic: add clean kernel header ucontext.h"
...
* commit 'c7882ab2a99a74c8f772ab03fdfd9a3b53515e46':
bionic: add clean kernel header ucontext.h
2012-05-17 13:28:10 -07:00
Jean-Baptiste Queru
c7882ab2a9
Merge "bionic: add clean kernel header ucontext.h"
2012-05-17 12:25:02 -07:00
Elliott Hughes
dc6c2b779b
am 70cf0bc0: Merge "Remove the last references to SuperH."
...
* commit '70cf0bc0496a1d4c0e83fe3f1933f667ab66c148':
Remove the last references to SuperH.
2012-05-16 17:18:23 -07:00
Elliott Hughes
70cf0bc049
Merge "Remove the last references to SuperH."
2012-05-16 09:56:37 -07:00
Nick Kralevich
d8f9198644
am 1727a041: am cf8e554c: (-s ours) Merge "Make the linker relocatable."
...
* commit '1727a041b59995b00c1d497022600be929bcaf3e':
Make the linker relocatable.
2012-05-16 09:17:32 -07:00
Nick Kralevich
38e81b4294
am 574e8ec2: am 36e0345a: Merge "linker: set LOCAL_NO_CRT := true"
...
* commit '574e8ec28fac106a5e9b2c98b7b5a4e9532ecf5c':
linker: set LOCAL_NO_CRT := true
2012-05-16 09:15:15 -07:00
Nick Kralevich
ed434302f0
am ee6916c0: am 1adc7c03: Merge "linker: Fix the computation of si->base"
...
* commit 'ee6916c00718185df3930a18050e5b47685ef524':
linker: Fix the computation of si->base
2012-05-16 09:15:14 -07:00
Nick Kralevich
82576526e3
am c62d55cb: am cd6b2007: (-s ours) Merge "Add linker support for PIE"
...
* commit 'c62d55cbaef8001c7eb0a8d5e85e2fc72283063a':
Add linker support for PIE
2012-05-16 09:15:07 -07:00
Nick Kralevich
1727a041b5
am cf8e554c: (-s ours) Merge "Make the linker relocatable."
...
* commit 'cf8e554c72af1dd634d4f36a9065e34e853f8714':
Make the linker relocatable.
2012-05-16 09:14:22 -07:00
Nick Kralevich
574e8ec28f
am 36e0345a: Merge "linker: set LOCAL_NO_CRT := true"
...
* commit '36e0345af89e2ed768ed38dcdf016a7640cf8ba5':
linker: set LOCAL_NO_CRT := true
2012-05-16 09:11:52 -07:00
Nick Kralevich
ee6916c007
am 1adc7c03: Merge "linker: Fix the computation of si->base"
...
* commit '1adc7c03898ee1f6a4c7f8cffa3c07507b9da5a9':
linker: Fix the computation of si->base
2012-05-16 09:11:50 -07:00
Nick Kralevich
c62d55cbae
am cd6b2007: (-s ours) Merge "Add linker support for PIE"
...
* commit 'cd6b2007b851f1cfa47d8bcc7ec859dfa7557382':
Add linker support for PIE
2012-05-16 09:11:49 -07:00
The Android Open Source Project
75931ee6e1
am 918e6a73: Reconcile with jb-release nakasi-factoryrom-release
...
* commit '918e6a730cd059392ee6d8b5c5a0f5fa0e5bbd93':
Revert "linker: remove STB_LOCAL hack"
Revert "Reference __dso_handle in PIC way"
Revert "Use the new NativeDaemonConnector style."
libc: Add __aeabi_llsl and __aeabi_llsr to libgcc_compat
2012-05-16 08:34:13 -07:00
The Android Open Source Project
918e6a730c
Reconcile with jb-release nakasi-factoryrom-release
...
Change-Id: I5a5b95da6c33afbc36893e162f3b57c09c161ee2
2012-05-16 08:31:49 -07:00
Elliott Hughes
e33af61c70
Remove the last references to SuperH.
...
Change-Id: Icb44c1f94cb178d90b4c2b1e8f6d175586aec4e1
2012-05-15 17:08:41 -07:00
Ying Wang
fc9e525fe0
Rename the misleading var name TARGET_OUT_STATIC_LIBRARIES
...
TARGET_OUT_STATIC_LIBRARIES is actually the same as
TARGET_OUT_INTERMEDIATE_LIBRARIES.
Change-Id: I11ac35256031d461d20156cd4c19ed7eae781d22
2012-05-15 15:15:11 -07:00
Nick Kralevich
cf8e554c72
Merge "Make the linker relocatable."
2012-05-15 15:10:24 -07:00
Nick Kralevich
36e0345af8
Merge "linker: set LOCAL_NO_CRT := true"
2012-05-15 15:10:12 -07:00
Nick Kralevich
1adc7c0389
Merge "linker: Fix the computation of si->base"
2012-05-15 15:10:01 -07:00
Nick Kralevich
cd6b2007b8
Merge "Add linker support for PIE"
2012-05-15 15:09:45 -07:00
Nick Kralevich
dcbc3787bf
Make the linker relocatable.
...
Previously, the linker always loaded itself into the same
location in memory, which inhibited the effectiveness of Android's
ASLR implementation. Modify the linker code so it can be relocatable
and link itself at runtime.
Change-Id: Ia80273d7a00ff648b4da545f4b69debee6343968
2012-05-15 10:41:14 -07:00
Nick Kralevich
e742c1f564
linker: set LOCAL_NO_CRT := true
...
Use LOCAL_NO_CRT to prevent linking against crtbegin.o, rather than
messing with build rules. This also prevents linking against crtend.o,
which isn't needed for the linker.
Change-Id: I0c5b9999be7e8676560fe145c1c033ffce8db4d1
2012-05-15 10:08:39 -07:00
David 'Digit' Turner
077891b199
linker: Fix the computation of si->base
...
The computation of si->base assumed that the first entry in the
program header table is a PT_PHDR. This results in the dynamic
linker crashing with a SIGSEGV/MAPERR when trying to load some
of the NDK unit test programs, which happen to have an EXIDX
header first, followed byu a PHDR one.
This patch fixes the computation by parsing the program header
table, looking explicitely for the PHDR entry. This fixes the
load of the NDK unit test programs, and doesn't affect system
libraries.
Change-Id: Id18ea6037dbe950b5abbbce816c2960321f0b81d
2012-05-15 09:58:33 -07:00
Nick Kralevich
6cdefd06c0
Add linker support for PIE
...
Modify the dynamic linker so that executables can be loaded
at locations other than 0x00000000.
Modify crtbegin* so that non-PIC compilant "thumb interwork
veneers" are not created by the linker.
Bug: 5323301
Change-Id: Iece0272e2b708c79034f302c20160e1fe9029588
2012-05-15 09:56:32 -07:00
Kito Cheng
c425bc0532
bionic: add clean kernel header ucontext.h
...
Change-Id: I34fd0b0147fa33fd74c13480bc11827634233a41
2012-05-14 01:42:12 +08:00
Elliott Hughes
1b56aaa659
am f2f7bf76: am 4f05d1c7: Merge "bionic/x86: Optimization for memcpy"
...
* commit 'f2f7bf76dfd1d6014ed3baa1e27b221388e70a09':
bionic/x86: Optimization for memcpy
2012-05-10 23:15:00 -07:00
Elliott Hughes
f2f7bf76df
am 4f05d1c7: Merge "bionic/x86: Optimization for memcpy"
...
* commit '4f05d1c758ba141c617f25251a661ecb66627e9e':
bionic/x86: Optimization for memcpy
2012-05-10 21:31:48 -07:00
Elliott Hughes
4f05d1c758
Merge "bionic/x86: Optimization for memcpy"
2012-05-10 10:14:44 -07:00
Iliyan Malchev
83a38b8c44
am 8034415d: resolved conflicts for merge of 08e72d01 to jb-dev-plus-aosp
...
* commit '8034415ddd8404f8788199ed993af89692235dc5':
bionic: add support for non-NEON memcpy() on NEON SoCs
2012-05-10 09:24:46 -07:00
Iliyan Malchev
8034415ddd
resolved conflicts for merge of 08e72d01 to jb-dev-plus-aosp
...
Change-Id: If00e354a5953ed54b31963d4f8ea77e1603c321e
2012-05-10 09:19:59 -07:00
The Android Automerger
4dc3a7e1ed
merge in jb-release history after reset to jb-dev
2012-05-10 06:59:27 -07:00
Elliott Hughes
537867aed8
am 804147cb: am edb7cad9: Merge "Actually set the header guard in "linux-syscalls.h"."
...
* commit '804147cb7d533f5635da6adc28fbca1467a3078b':
Actually set the header guard in "linux-syscalls.h".
2012-05-09 20:12:40 -07:00
Elliott Hughes
804147cb7d
am edb7cad9: Merge "Actually set the header guard in "linux-syscalls.h"."
...
* commit 'edb7cad9b764f029c5faac2750f749d3d84bd86a':
Actually set the header guard in "linux-syscalls.h".
2012-05-09 20:10:14 -07:00
Elliott Hughes
edb7cad9b7
Merge "Actually set the header guard in "linux-syscalls.h"."
2012-05-09 16:39:40 -07:00
Elliott Hughes
1928523c87
Actually set the header guard in "linux-syscalls.h".
...
Spotted while merging a MIPS change.
Change-Id: I36fb5a07d0bba0c117e9fe9733957bd37ca4b4c0
2012-05-09 16:34:11 -07:00
Elliott Hughes
2a5fab9a5f
am dbd5ecad: resolved conflicts for merge of e5408907 to jb-dev-plus-aosp
...
* commit 'dbd5ecad26e39281bb83f97664bc32555c5c071a':
[MIPS] Add support for MIPS syscalls
2012-05-09 13:57:12 -07:00
Elliott Hughes
dbd5ecad26
resolved conflicts for merge of e5408907 to jb-dev-plus-aosp
...
Change-Id: If4c3f51bf87b28da8074be2e46ae772a374b266f
2012-05-09 13:53:37 -07:00
Prajakta Gudadhe
08e72d0161
bionic: add support for non-NEON memcpy() on NEON SoCs
...
Some SoCs that support NEON nevertheless perform better with a non-NEON than a
NEON memcpy(). This patch adds build variable ARCH_ARM_USE_NON_NEON_MEMCPY,
which can be set in BoardConfig.mk. When ARCH_ARM_USE_NON_NEON_MEMCPY is
defined, we compile in the non-NEON optimized memcpy() even if the SoC supports
NEON.
Change-Id: Ia0e5bee6bad5880ffc5ff8f34a1382d567546cf9
2012-05-09 13:34:31 -07:00
Elliott Hughes
fd8bd2c432
am 58a00b49: am 7eb1cc23: Merge "bionic: allow the board to customize MALLOC_ALIGNMENT"
...
* commit '58a00b4977b6fa073a8f56d94d741b1e4cb49856':
bionic: allow the board to customize MALLOC_ALIGNMENT
2012-05-09 12:56:15 -07:00
Elliott Hughes
22167aafba
am eab2889e: am fd955033: Merge "pthread: Invalidate stale stack pointers on pthread_exit()"
...
* commit 'eab2889e66d4fe03f3c5590d7e8b14e3777179ec':
pthread: Invalidate stale stack pointers on pthread_exit()
2012-05-09 12:56:15 -07:00
Elliott Hughes
58a00b4977
am 7eb1cc23: Merge "bionic: allow the board to customize MALLOC_ALIGNMENT"
...
* commit '7eb1cc23f8976a2062ba0cf92f030216a8e64e60':
bionic: allow the board to customize MALLOC_ALIGNMENT
2012-05-09 12:53:16 -07:00
Elliott Hughes
eab2889e66
am fd955033: Merge "pthread: Invalidate stale stack pointers on pthread_exit()"
...
* commit 'fd95503347acba5c52d669a186ad2b161338a8a7':
pthread: Invalidate stale stack pointers on pthread_exit()
2012-05-09 12:53:16 -07:00
Elliott Hughes
e54089079b
Merge "[MIPS] Add support for MIPS syscalls"
2012-05-09 11:50:07 -07:00
Raghu Gandham
1fa0d84957
[MIPS] Add support for MIPS syscalls
...
Change-Id: I4deba67e15c865c4c2db03064c04098a09828ea6
Signed-off-by: Raghu Gandham <raghu@mips.com >
Signed-off-by: Chris Dearman <chris@mips.com >
2012-05-09 11:46:28 -07:00
Elliott Hughes
7d4da4ea5c
am 57f8d4b5: resolved conflicts for merge of 3919b96e to jb-dev-plus-aosp
...
* commit '57f8d4b5b5564fad7a9c7f8a6e5108f31c75056f':
Implement the "abort" stub in assembly for ARM.
2012-05-09 10:13:02 -07:00
Ben Cheng
8e38a509d2
am da0d8534: am 08b51e2c: Implement the "abort" stub in assembly for ARM.
...
* commit 'da0d8534f1a6273a383f1dc631fbaf032674bb4d':
Implement the "abort" stub in assembly for ARM.
2012-05-09 10:12:04 -07:00
Elliott Hughes
7eb1cc23f8
Merge "bionic: allow the board to customize MALLOC_ALIGNMENT"
2012-05-09 09:52:56 -07:00
Jack Ren
2fd81ef71c
bionic: allow the board to customize MALLOC_ALIGNMENT
...
Currently the dlmalloc allocates the memory with 8-byte alignment.
According to the com.aurorasoftworks.quadrant.ui.professional benchmark data:
We can get much better memory performance if we change it to be 16-byte aligned.
For example, On Nexus-S:
8-byte aligned :
1378 1070 1142 1665 1765 1163 1179 1263 1404 avg: 1336.555555556
16-byte aligned:
1691 1731 1780 1691 1671 1678 1802 1758 1780 avg: 1731.333333333
gain: 29.53%
That patch provides flexibity to customize the MALLOC_ALIGNMENT from the
board config.The macro MALLOC_ALIGNMENT defaults to 8.
To change it, please define BOARD_MALLOC_ALIGNMENT in the BoardConfig.mk:
BOARD_MALLOC_ALIGNMENT := <whatever>
Change-Id: I8da0376944a0bbcef1d0fc026bfb6d9125db9739
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Beare, Bruce J <bruce.j.beare@intel.com >
2012-05-09 09:52:22 -07:00
Elliott Hughes
fd95503347
Merge "pthread: Invalidate stale stack pointers on pthread_exit()"
2012-05-09 09:46:02 -07:00
Elliott Hughes
57f8d4b5b5
resolved conflicts for merge of 3919b96e to jb-dev-plus-aosp
...
Change-Id: I80571b5f024a4e1abe2606d10e07006f53bbc01f
2012-05-09 09:38:40 -07:00
The Android Automerger
e2390bff2e
merge in jb-release history after reset to jb-dev
2012-05-09 07:46:07 -07:00
Elliott Hughes
1d8b9ef92c
am a674a571: am 20bea000: Merge "Cherry-pick "generate PIC code"."
...
* commit 'a674a571dbf0eebf4825f80f3ab229b1d62d49da':
Cherry-pick "generate PIC code".
2012-05-09 01:54:16 -07:00
Ben Cheng
da0d8534f1
am 08b51e2c: Implement the "abort" stub in assembly for ARM.
...
* commit '08b51e2c091d036c124259ae59eb7be6bbe346af':
Implement the "abort" stub in assembly for ARM.
2012-05-09 01:48:40 -07:00
Elliott Hughes
a674a571db
am 20bea000: Merge "Cherry-pick "generate PIC code"."
...
* commit '20bea00090e530f2e6f4d97de4b7cf8031b86a86':
Cherry-pick "generate PIC code".
2012-05-08 19:57:58 -07:00
Bjorn Andersson
0753dc653e
pthread: Invalidate stale stack pointers on pthread_exit()
...
A call to pthread_key_delete() after pthread_exit() have unmapped the stack of a thread
but before the ongoing pthread_join() have finished executing will result in an access
to unmapped memory.
Avoid this by invalidating the stack_base and tls pointers during pthread_exit().
This is based on the investigation and proprosed solution by
Srinavasa Nagaraju <srinavasa.x.nagaraju@sonyericsson.com >
Change-Id: I145fb5d57930e91b00f1609d7b2cd16a55d5b3a9
2012-05-08 17:43:57 -07:00
Elliott Hughes
a4e84d285c
am 9c3eca7b: resolved conflicts for merge of 6cf3c7c5 to jb-dev-plus-aosp
...
* commit '9c3eca7bcee694e6a477a7d50065f11cf1e805bb':
Let pthread_create fail if schedparam can't be set
2012-05-08 15:13:20 -07:00
Elliott Hughes
3919b96ecc
Merge "Implement the "abort" stub in assembly for ARM."
2012-05-08 14:54:57 -07:00
Ben Cheng
eda7be454d
Implement the "abort" stub in assembly for ARM.
...
So that we can always get the full stack trace regardless of gcc's handling
of the "noreturn" attribute associated with abort().
(Cherry pick of Id264a5167e7cabbf11515fbc48f5469c527e34d4.)
Bug: 6455193
Conflicts:
libc/Android.mk
Change-Id: I568fc5303fd1d747075ca933355f914122f94dac
2012-05-08 14:47:20 -07:00
Ben Cheng
08b51e2c09
Implement the "abort" stub in assembly for ARM.
...
So that we can always get the full stack trace regardless of gcc's handling
of the "noreturn" attribute associated with abort().
[cherry-picked from master]
BUG:6455193
Change-Id: I0102355f5bf20e636d3feab9d1424495f38e39e2
2012-05-08 14:39:35 -07:00
Ben Cheng
12cbf0605e
Merge "Implement the "abort" stub in assembly for ARM."
2012-05-08 14:01:22 -07:00
Ben Cheng
017f438534
Implement the "abort" stub in assembly for ARM.
...
So that we can always get the full stack trace regardless of gcc's handling
of the "noreturn" attribute associated with abort().
BUG:6455193
Change-Id: Id264a5167e7cabbf11515fbc48f5469c527e34d4
2012-05-08 13:43:12 -07:00
Elliott Hughes
9c3eca7bce
resolved conflicts for merge of 6cf3c7c5 to jb-dev-plus-aosp
...
Change-Id: Ib22a8ae1ef63bf9b9c82ce6e22afd188ba7c2806
2012-05-08 13:26:28 -07:00
Jack Ren
c47703a521
bionic/x86: Optimization for memcpy
...
Signed-off-by: Liubov Dmitrieva <liubov.dmitrieva@intel.com >
Signed-off-by: H.J. Lu <hongjiu.lu@intel.com >
Signed-off-by: Wei A Jin <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Conflicts:
libc/arch-x86/string/ssse3-memcpy5.S
Change-Id: I41e70d1d19d5457e65c89b64da452fbdaf3a00a7
2012-05-08 12:18:25 -07:00
Elliott Hughes
20bea00090
Merge "Cherry-pick "generate PIC code"."
2012-05-08 11:56:13 -07:00
Nick Kralevich
5982e33aca
Cherry-pick "generate PIC code".
...
Change-Id: I7d5f2e5663df263493f65e364c959e663fc4d13a
2012-05-08 11:53:28 -07:00
Elliott Hughes
2eef0ca111
am ff0d1ce4: am e3bc7192: Merge "bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()"
...
* commit 'ff0d1ce4dfceb35a65440259c3f325106fc9e39b':
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()
2012-05-08 11:32:58 -07:00
Elliott Hughes
9b25457498
am 53daf475: am 73a6566d: Merge "Remove expired dns cache entries before removing oldest"
...
* commit '53daf4757d36522c132006e2f74ed81bb4ed717a':
Remove expired dns cache entries before removing oldest
2012-05-08 11:32:57 -07:00
Elliott Hughes
e34c7ffc57
am e636e1f2: am 8657eafc: Merge "Adjust memcpy for ARM Cortex A9 cache line size"
...
* commit 'e636e1f2c17d7097b6638cb4ae2b4857765b502d':
Adjust memcpy for ARM Cortex A9 cache line size
2012-05-08 11:32:55 -07:00
Elliott Hughes
6cf3c7c50a
Merge "Let pthread_create fail if schedparam can't be set"
2012-05-08 10:56:01 -07:00
Pierre Peiffer
d0c884d359
Let pthread_create fail if schedparam can't be set
...
The creation of a thread succeeds even if the requested scheduling
parameters can not be set. This is not POSIX compliant, and even
worse, it leads to a wrong behavior. Let pthread_create() fail in this
case.
Change-Id: Ice66e2a720975c6bde9fe86c2cf8f649533a169c
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2012-05-08 10:54:51 -07:00
Mattias Falk
a59cfcfd08
Avoid multiple dns lookups for the same query
...
If two or more rapid dns requests for the same server are done
from different threads it turns into separate dns reques, if
the response of the request isn't found in the cache.
This patch avoid multiple request for the same server by
letting subsequents request wait until the first request
has finished.
Change-Id: Ic72ea0e7d3964a4164eddf866feb4357ec4dfe54
2012-05-07 18:04:25 -07:00
Nick Kralevich
a2758f19ce
libc: stop using the custom linker script
...
stop using the custom linker script. It prevents relro from
working on libc.
This reverts commit b091dd9bf2 .
2012-05-07 14:33:32 -07:00
Elliott Hughes
ff0d1ce4df
am e3bc7192: Merge "bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()"
...
* commit 'e3bc7192ec4254bed00eb8b352735665c6072995':
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()
2012-05-07 14:00:01 -07:00
Elliott Hughes
53daf4757d
am 73a6566d: Merge "Remove expired dns cache entries before removing oldest"
...
* commit '73a6566da337db50cfc73c369d774ac1905a30c2':
Remove expired dns cache entries before removing oldest
2012-05-07 13:59:59 -07:00
Elliott Hughes
e636e1f2c1
am 8657eafc: Merge "Adjust memcpy for ARM Cortex A9 cache line size"
...
* commit '8657eafc3552f36c176667c1591beab255308da6':
Adjust memcpy for ARM Cortex A9 cache line size
2012-05-07 13:59:58 -07:00
Elliott Hughes
e3bc7192ec
Merge "bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()"
2012-05-07 10:51:29 -07:00
Xi Wang
7f5aa4f35e
bionic: fix integer overflows in chk_malloc(), leak_malloc(), and leak_memalign()
...
The allocation size in chk_malloc(), leak_malloc(), and leak_memalign()
functions may be rounded up to a small value, leading to buffer overflows.
The code only runs in debugging mode.
This patch complements commit 6f04a0f4 (CVE-2009-0607).
Change-Id: Id899bcd2bcd2ea2205e5753c433390710032dc83
Signed-off-by: Xi Wang <xi.wang@gmail.com >
2012-05-07 10:50:21 -07:00
Elliott Hughes
73a6566da3
Merge "Remove expired dns cache entries before removing oldest"
2012-05-07 10:41:53 -07:00
Elliott Hughes
8657eafc35
Merge "Adjust memcpy for ARM Cortex A9 cache line size"
2012-05-07 09:13:35 -07:00
Henrik Smiding
fe6338da91
Adjust memcpy for ARM Cortex A9 cache line size
...
ARM Cortex A8 use 64 bytes and ARM Cortex A9 use 32 bytes cache line
size.
The following patch:
Adds code to adjust memcpy cache line size to match A9 cache line
size.
Adds a flag to select between 32 bytes and 64 bytes cache line
size.
Copyright (C) ST-Ericsson SA 2010
Modified neon implementation to fit Cortex A9 cache line size
Author: Henrik Smiding henrik.smiding@stericsson.com for
ST-Ericsson.
Change-Id: I8a55946bfb074e6ec0a14805ed65f73fcd0984a3
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2012-05-07 14:18:02 +02:00
Elliott Hughes
2ddea18f81
am f7db5ecc: Merge "MIPS support to libm, libdl and libthread_db"
...
* commit 'f7db5ecc4d662da8368f31d57401ca1a39690e40':
MIPS support to libm, libdl and libthread_db
2012-05-04 18:07:11 -07:00
Elliott Hughes
f7db5ecc4d
Merge "MIPS support to libm, libdl and libthread_db"
2012-05-04 12:00:19 -07:00
Chris Dearman
726800e8f4
MIPS support to libm, libdl and libthread_db
...
Change-Id: I9106721af7fe0cd45df82976250db0d300a20117
Signed-off-by: Raghu Gandham <raghu@mips.com >
2012-05-04 11:34:40 -07:00
Elliott Hughes
5a6c96396b
am 10579fc4: Merge "Update s_fabsl.c to upstream head."
...
* commit '10579fc43d3ade285eed7318aee062a999f2784d':
Update s_fabsl.c to upstream head.
2012-05-01 04:56:57 -07:00
Elliott Hughes
10579fc43d
Merge "Update s_fabsl.c to upstream head."
2012-04-30 22:35:02 -07:00
Elliott Hughes
7735a38935
Update s_fabsl.c to upstream head.
...
Bug: http://code.google.com/p/android/issues/detail?id=29539
Change-Id: I843dcfcbfe49e8e9f43c49aae6ade1edb57a3053
2012-04-30 16:12:43 -07:00
The Android Automerger
e0f1fca46c
merge in jb-release history after reset to jb-dev
2012-04-30 06:59:25 -07:00
Ken Sumrall
3f31504db9
am 6baffed2: Add the posix_memalign(3) function to bionic
...
* commit '6baffed252d0efbce5a79f356c2f156f4f818996':
Add the posix_memalign(3) function to bionic
2012-04-27 10:49:42 -07:00
Ken Sumrall
6baffed252
Add the posix_memalign(3) function to bionic
...
The posix_memalign(3) function is very similar to the traditional
memalign(3) function, but with better error reporting and a guarantee
that the memory it allocates can be freed. In bionic, memalign(3)
allocated memory can be freed, so posix_memalign(3) is just a wrapper
around memalign(3).
Change-Id: I62ee908aa5ba6b887d8446a00d8298d080a6a299
2012-04-27 09:34:53 -07:00
Mike Lockwood
4fab6f901c
am efcf8893: Merge "Update f_accessory.h kernel header" into jb-dev
...
* commit 'efcf8893a97df2eb2ecb7aab305998878771d2f2':
Update f_accessory.h kernel header
2012-04-26 13:12:54 -07:00
Mike Lockwood
efcf8893a9
Merge "Update f_accessory.h kernel header" into jb-dev
2012-04-26 13:10:25 -07:00
Nick Kralevich
2cc0894992
am b091dd9b: libc: continue to use Android\'s custom linker script
...
* commit 'b091dd9bf27a9132c4ac9da55f2f4a87ffe3b59f':
libc: continue to use Android's custom linker script
2012-04-26 11:58:48 -07:00
Nick Kralevich
b091dd9bf2
libc: continue to use Android's custom linker script
...
By default, Android no longer compiles code using it's custom
linker script /build/core/armelf.xsc. However, this causes
problems for libc. Certain programs linked using older versions
of GOLD expect libc.so to export __exidx_start and __exidx_end.
Removing the custom linker script causes libc.so not to export
those symbols.
For now, continue using the old linker script, until we can
figure out a better solution.
Change-Id: Iaf002afd63a58b848818da24e5a4525620dc4d74
2012-04-26 11:04:44 -07:00
Mike Lockwood
ed87404c44
Update f_accessory.h kernel header
...
Change-Id: I29ec4aa4843b9308cbfa412df88e026e8475b715
Signed-off-by: Mike Lockwood <lockwood@google.com >
2012-04-25 09:57:32 -07:00
Jean-Baptiste Queru
203aae7d79
Merge from AOSP
...
Change-Id: If2e8e4305d10df738cc4ebcf226077f273a48cbf
2012-04-25 09:29:40 -07:00
The Android Automerger
22d80c0b35
merge in jb-release history after reset to jb-dev
2012-04-25 07:47:06 -07:00
Andrew Hsieh
1e343cb119
Merge "[MIPS] Fix the warning originating from the kernel header signal.h. This is a clean header generated from the corresponding change in external/kernel-headers repository. (CL 35760)"
2012-04-24 23:44:18 -07:00
Raghu Gandham
e328ce6c55
[MIPS] Fix the warning originating from the kernel header signal.h.
...
This is a clean header generated from the corresponding change in
external/kernel-headers repository. (CL 35760)
2012-04-23 18:59:41 -07:00
Nick Kralevich
94179a509e
linker: remove STB_LOCAL hack
...
The ARM static linker wasn't properly handling __exidx_start
and __exidx_end symbols. Now that the static linker has been fixed,
we don't need the dynamic linker to work around this problem.
Change-Id: I041b94903609fafab33663a7d441a5e70b7ffcdd
2012-04-23 16:50:34 -07:00
The Android Automerger
5fb8130be9
merge in jb-release history after reset to master
2012-04-19 06:59:25 -07:00
Erik Gilling
baeacba04d
add linux/sw_sync.h
...
Change-Id: I79de18d04b950c21b985d5ebc01cd3306a43d318
Signed-off-by: Erik Gilling <konkers@android.com >
2012-04-18 15:37:01 -07:00
Erik Gilling
6b99103c31
add linux/sync.h
...
Change-Id: I38bb9498e18cb2b2e84a97487d4ad1e15fabd9d4
Signed-off-by: Erik Gilling <konkers@android.com >
2012-04-18 14:23:04 -07:00
The Android Automerger
91b76aa298
merge in jb-release history after reset to master
2012-04-18 06:59:34 -07:00
Evgeniy Stepanov
4a9d6e50bb
Fix segv when unwinding stack past __libc_init.
...
This change mirrors cd15bac for statically-linked binaries.
Change-Id: Id870832a50b37f0ef3e79e1ed03ed31390bfc9ef
2012-04-18 12:59:38 +04:00
The Android Automerger
bfb300152c
merge in jb-release history after reset to master
2012-04-17 06:59:17 -07:00
Elliott Hughes
762a4fe2ee
resolved conflicts for merge of 35d592cc to master
...
Change-Id: I8184302daf61814d26c837f9920b4e68d96d7f65
2012-04-16 14:40:26 -07:00
Elliott Hughes
f848321c4f
resolved conflicts for merge of ef987656 to master
...
Change-Id: I3854de8f4cddaf344444efa6f9da027642a237d9
2012-04-16 14:26:43 -07:00
Elliott Hughes
8ecb4770a0
resolved conflicts for merge of 6b8fd054 to master
...
Change-Id: Ifc5a10d9c2f7764ad80d64cc552aad81d5fbf5eb
2012-04-16 14:16:42 -07:00
Elliott Hughes
8266cf94d3
am ff219e57: am 6435d27f: Merge "bionic: fix NULL parameter failure in getcwd()"
...
* commit 'ff219e57c0ffe5ac2816f79677ce4f1afa677277':
bionic: fix NULL parameter failure in getcwd()
2012-04-16 13:15:13 -07:00
Elliott Hughes
35d592cc5a
am 418e647a: Merge "libstdc++: Fix x86 thread-safe one-time-construction implementation."
...
* commit '418e647a8300bb8e62b6b73814a5211152cbaacd':
libstdc++: Fix x86 thread-safe one-time-construction implementation.
2012-04-16 13:12:47 -07:00
Elliott Hughes
ef9876569a
am 4994deae: Merge "Bionic: Fix wrong prototype of system call clock_nanosleep"
...
* commit '4994deaef51d5fa1ac12e6160b47d9cbe3b2bc43':
Bionic: Fix wrong prototype of system call clock_nanosleep
2012-04-16 13:12:46 -07:00
Elliott Hughes
6b8fd05414
am 7b8666e6: Merge "bionic: Fix wrong prototype of system call getresuid/getresgid"
...
* commit '7b8666e683e56549091b86fd7b9c421fd0124dbc':
bionic: Fix wrong prototype of system call getresuid/getresgid
2012-04-16 13:12:46 -07:00
Elliott Hughes
ff219e57c0
am 6435d27f: Merge "bionic: fix NULL parameter failure in getcwd()"
...
* commit '6435d27f9d45d01fbd15bcc3dcd9617b86b825bb':
bionic: fix NULL parameter failure in getcwd()
2012-04-16 13:12:45 -07:00
Elliott Hughes
418e647a83
Merge "libstdc++: Fix x86 thread-safe one-time-construction implementation."
2012-04-16 09:13:13 -07:00
Elliott Hughes
4994deaef5
Merge "Bionic: Fix wrong prototype of system call clock_nanosleep"
2012-04-16 09:09:05 -07:00
Elliott Hughes
7b8666e683
Merge "bionic: Fix wrong prototype of system call getresuid/getresgid"
2012-04-16 09:06:22 -07:00
Jack Ren
d515ce465b
Bionic: Fix wrong prototype of system call clock_nanosleep
...
In bionic/libc/SYSCALLS.TXT, the prototype of system call
clock_nanosleep is incorrect.
According to man page:
int clock_nanosleep(clockid_t clock_id, int flags,
const struct timespec *request,
struct timespec *remain);
Change-Id: Ic44c6db3d632293aa17998035554eacd664c2d57
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-04-16 23:53:05 +08:00
Elliott Hughes
6435d27f9d
Merge "bionic: fix NULL parameter failure in getcwd()"
2012-04-16 08:48:19 -07:00
Jack Ren
41070dd15f
bionic: Fix wrong prototype of system call getresuid/getresgid
...
In bionic/libc/SYSCALLS.TXT, the prototypes of system call
getresuid/getresgid are incorrect.
According to man page, they should be:
int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
Change-Id: I676098868bb05a9e1fe45419b234cf397626fdad
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-04-16 23:45:36 +08:00
Jack Ren
e5bf068147
bionic: fix NULL parameter failure in getcwd()
...
LTP: getcwd01 failed in LTP
Need to check getcwd parameters, otherwise it will lead to
posix test case to fail.
Change-Id: Ieb673b6dd4ca6481da81c5339dbf7ec0a463f263
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-04-16 23:35:05 +08:00
The Android Automerger
b5e8d57664
merge in jb-release history after reset to master
2012-04-16 06:59:27 -07:00
Fengwei Yin
ee18fb4aac
libstdc++: Fix x86 thread-safe one-time-construction implementation.
...
The root of the problem is that the existing implementation is based on the
ARM C++ ABI, which mandates a different guard variable layout than the
Itanium/x86 C++ one.
This patch modifies the implementation in a way that satisfies both ABIs (and
doesn't require changing the toolchains).
Change-Id: I885e9adc7f088b9c0a78355bd752f1e6aeec9f07
Signed-off-by: Fengwei Yin <fengwei.yin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-04-16 14:20:30 +08:00
Elliott Hughes
307d1c982d
am cebc8fb0: am 6bc18fa5: Merge "libm: fix invalid result of function remquo/remquof"
...
* commit 'cebc8fb0862a8e1ecd86f9d09b0a3fca0f0781fa':
libm: fix invalid result of function remquo/remquof
2012-04-13 17:10:06 -07:00
Elliott Hughes
cebc8fb086
am 6bc18fa5: Merge "libm: fix invalid result of function remquo/remquof"
...
* commit '6bc18fa58849a4307cf6ddcfd526d9258e8175fc':
libm: fix invalid result of function remquo/remquof
2012-04-13 17:07:43 -07:00
Kenny Root
a401160cee
Merge changes I427a1881,I959b6428
...
* changes:
Add faccessat to syscall list
Update unistd.h for new syscalls
2012-04-13 16:03:51 -07:00
Kenny Root
f0ec06ba60
Add faccessat to syscall list
...
Change-Id: I427a18811089cb280769ac8da3ed8adc00a65a10
2012-04-13 15:45:42 -07:00
Elliott Hughes
6bc18fa588
Merge "libm: fix invalid result of function remquo/remquof"
2012-04-13 14:57:59 -07:00
Kenny Root
e54cc75f59
Update unistd.h for new syscalls
...
gensyscalls.py run from external/kernel-headers at commit
efab8f3e49f7f36ef0354b0996ecd5f3fa031e52
Change-Id: I959b64280e184655ef8c713aa79f9e23cb1f7df4
2012-04-13 14:50:14 -07:00
Travis Geiselbrecht
8565e21f4d
am 0613dce0: regenerate linux/fb.h
...
* commit '0613dce0a7b806d48758cabfb2d638d0ba4dd2bc':
regenerate linux/fb.h
2012-04-12 16:09:29 -07:00
Travis Geiselbrecht
0613dce0a7
regenerate linux/fb.h
...
Change-Id: Icd8c0f53306a48ffd513378abdf387af21e886a3
2012-04-12 14:51:43 -07:00
Evgeniy Stepanov
1a78fbb5c8
Initialize TLS before any application code is run.
...
Since e19d702b8e , dlsym and friends use recursive mutexes that
require the current thread id, which is not available before the libc
constructor. This prevents us from using dlsym() in .preinit_array.
This change moves TLS initialization from libc constructor to the earliest
possible point - immediately after linker itself is relocated. As a result,
pthread_internal_t for the initial thread is available from the start.
As a bonus, values stored in TLS in .preinit_array are not lost when libc is
initialized.
Change-Id: Iee5a710ee000173bff63e924adeb4a4c600c1e2d
2012-04-13 00:08:11 +04:00
Elliott Hughes
d5099016f7
Merge "Fix segv when unwinding stack past __libc_init."
2012-04-12 11:52:44 -07:00
The Android Automerger
f0a9d98a39
merge in jb-release history after reset to master
2012-04-12 06:59:24 -07:00
Kenny Root
470835b215
Move end of __on_dlclose up
...
The END macro was put too far down which made the linker complain about
it. Move up to the end of the code.
Change-Id: Ica71a9c6083b437d2213c7cefe34b0083c78f16b
2012-04-11 14:24:28 -07:00
The Android Automerger
85611165ab
merge in jb-release history after reset to master
2012-04-11 06:59:29 -07:00
Kenny Root
03273f8fc0
__on_dlclose should be aligned
...
Marking segments read-only was pushing the alignment of __on_dlclose by
2 bytes making it unaligned. This change makes sure the ARM code is
aligned to the 4 byte boundary.
Bug: 6313309
Change-Id: Ic2bf475e120dd61225ec19e5d8a9a8b1d0b7f081
2012-04-10 17:53:11 -07:00
Nick Kralevich
ad7ff82771
Revert "linker: remove STB_LOCAL hack"
...
This reverts commit 61ff83475c .
This code is harmless, and only applies to the linker, so
there's no harm in keeping it in the tree a little bit longer.
Let's roll this back while we try to figure out the root cause
of bug 6314858.
Bug: 6314858
Change-Id: I9f5ed81d23a7abe273baf792aa8a0a2839ef094c
2012-04-10 16:08:31 -07:00
Nick Kralevich
7f03d2356f
Revert "linker: remove STB_LOCAL hack"
...
This reverts commit 61ff83475c .
This code is harmless, and only applies to the linker, so
there's no harm in keeping it in the tree a little bit longer.
Let's roll this back while we try to figure out the root cause
of bug 6314858.
Bug: 6314858
Change-Id: I9f5ed81d23a7abe273baf792aa8a0a2839ef094c
2012-04-10 13:49:35 -07:00
The Android Automerger
92cf47c006
merge in jb-release history after reset to master
2012-04-10 06:59:26 -07:00
Evgeniy Stepanov
cd15bacf33
Fix segv when unwinding stack past __libc_init.
...
This change fixes a segmentation fault in the libc unwinder when it goes
past __libc_init.
Unwind instructions for __libc_init direct it to grab the return address from
the stack frame. Without this change, the unwinder gets a wild address and
looks up further unwind instructions for the routine at that address. If it's
unlucky enough to hit an existing function, it will try to unwind it. Bad
things happen then.
With this change, the return address always points to the _start function,
which does not have unwind instructions associated with it. This stop the
unwind process.
__libc_init never returns, so this does not affect program execution, other
than adding 4 bytes on the main thread stack.
Change-Id: Id58612172e8825c8729cccd081541a13bff96bd0
2012-04-10 16:45:54 +04:00
Jack Ren
bd0383acf8
libm: fix invalid result of function remquo/remquof
...
Currently we will get the wrong result as follows:
remquof(0x7bb33336, 0x63000000) = -671088640, 0x00000000
remquo(0xbff0000000000003, 0x3ff0000000000003) = 1, 0x8000000000000000
remquo(0x9120000000000001, 0x0000000000000005) = -1288490188, 0x0000000000000004
while the correct one should be:
remquof(0x7bb33336, 0x63000000) = 1476395008, 0x00000000
remquo(0xbff0000000000003, 0x3ff0000000000003) = -1, 0x8000000000000000
remquo(0x9120000000000001, 0x0000000000000005) = -1288490189, 0x0000000000000001
Fixed in this patch.
Change-Id: I540b348cd10a539f3b39b1753945c893c4c7ec46
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com >
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-04-10 12:55:43 +08:00
Nick Kralevich
8777e2f54e
Merge "linker: remove STB_LOCAL hack"
2012-04-09 13:41:14 -07:00
Nick Kralevich
61ff83475c
linker: remove STB_LOCAL hack
...
The ARM static linker wasn't properly handling __exidx_start
and __exidx_end symbols. Now that the static linker has been fixed,
we don't need the dynamic linker to work around this problem.
Change-Id: Ic567122b6c7746cc016795e2befba2c6bd7c0478
2012-04-09 12:50:17 -07:00
Jeff Brown
d09f5a2e01
Merge "Update linux/input.h to version 3.4."
2012-04-09 11:24:27 -07:00
The Android Automerger
66929e845d
merge in jb-release history after reset to master
2012-04-09 06:59:24 -07:00
Jeff Brown
0fdc190cc0
Update linux/input.h to version 3.4.
...
Bug: 6292993
Change-Id: Ic7628068df6c8de9cb3711a4540d51365b96ebdb
2012-04-06 19:25:25 -07:00
Dima Zavin
07a387e196
libc/kernel: update cleaned v4l2 header
...
Change-Id: Ib3747b45eb1e4095cca3de6d7692387953e8c4a7
Signed-off-by: Dima Zavin <dima@android.com >
2012-04-06 14:11:09 -07:00
JP Abgrall
048822d6af
Merge "libc/kernel-headers: Auto generated files for netfilter/xt_IDLETIMER"
2012-04-05 20:36:36 -07:00
Ashish Sharma
17ed54ddcf
libc/kernel-headers: Auto generated files for netfilter/xt_IDLETIMER
...
From Change I526b5fce: Add NETLINK_IDLETIMER msg type and include the corresponding header file.
Change-Id: I24bffc11394c8664e4d7d7f439b0600545f07536
Signed-off-by: Ashish Sharma <ashishsharma@google.com >
2012-04-05 19:52:24 -07:00
The Android Automerger
199213bba9
merge in jb-release history after reset to master
2012-04-05 06:59:23 -07:00
Nick Kralevich
8c4f3ce8d0
linker: surround "debug_verbosity" by "#if LINKER_DEBUG"
...
Avoid executing useless code when we're not compiled
with debugging support.
Change-Id: Iea1821b241acacdf65d1a91d743356058dfef273
2012-04-04 12:43:32 -07:00
Nick Kralevich
3a7ea52f17
linker: enable -fvisibility=hidden
...
Compile the linker with -fvisibility=hidden. This reduces the number
of symbols that show up in the .dynsym section of the linker.
These symbols are never exported to other applications.
In particular, this fixes a problem with setting -DLINKER_DEBUG=1
introduced in 468319ce4f .
Because the symbols "debug_verbosity" and "format_log" have not been
resolved before the linker links itself, any attempt to call
PRINT / INFO / TRACE / WARN / ERROR will result in a segfault.
This change allows the static linker to produce a relative reference
to these symbols rather than relying on relocation.
This also has a nice side effect of making the linker slightly smaller
and slightly more optimized.
The following symbols no longer in the .dynsym section of the linker
after this change:
-addr_to_name
-call_constructors_recursi
-calloc
-debugger_init
-debugger_signal_handler
-debug_verbosity
-dladdr
-dlclose
-dlerror
-dl_lock
-dlopen
-dlsym
-dl_unwind_find_exidx
-find_containing_library
-find_containing_symbol
-find_library
-format_buffer
-free
-libdl_info
-linker_env_get
-linker_env_init
-linker_env_secure
-linker_env_unset
-linker_get_error
-__linker_init
-lookup
-lookup_in_library
-malloc
-notify_gdb_of_libraries
-notify_gdb_of_load
-notify_gdb_of_unload
-realloc
-rtld_db_dlactivity
-unload_library
-vsnprintf
Bug: 5827809
Change-Id: I5e8cd7dcf48c1d6831a970a67f63f24916c5e437
2012-04-04 11:13:51 -07:00
Mike Lockwood
8aeaa478df
Merge remote-tracking branch 'goog/ics-aah'
2012-04-03 11:35:33 -07:00
The Android Automerger
485fc9f4ef
merge in jb-release history after reset to master
2012-04-03 03:27:58 -07:00
Elliott Hughes
1302f6936b
am fdb11929: am b88f810d: Merge "Update to tzdata2012c."
...
* commit 'fdb119297ac421e2fc2ec096a6d5370b81938de8':
Update to tzdata2012c.
2012-04-02 16:09:36 -07:00
Elliott Hughes
fdb119297a
am b88f810d: Merge "Update to tzdata2012c."
...
* commit 'b88f810d585a1736a1759c2c22e9f4999441ae00':
Update to tzdata2012c.
2012-04-02 16:07:46 -07:00
Elliott Hughes
b88f810d58
Merge "Update to tzdata2012c."
2012-04-02 10:25:43 -07:00
Elliott Hughes
8f78ddb422
Update to tzdata2012c.
...
From the release notes:
africa
Summer time changes for Morocco (to start late April 2012)
asia
Changes for 2012 for Gaza & the West Bank (Hebron) and Syria
northamerica
Haiti following US/Canada rules for 2012 (and we're assuming,
for now anyway, for the future).
Also include a change made internally to the 'generate' script as part of
the tzdata2011m update that apparently never made it to AOSP; the original
checkin comment for which was:
Update to tzdata2011m.
Fixes for Europe/Tiraspol (Moldova) and all four Ukrainian zones.
Also show the MD5 of the downloaded data, for comparison against the MD5
given in the announcement mails. (There's a plan to move to proper signing,
but that's not implemented on their end yet.)
(I'm repeating the tzdata change for the convenience of anyone grepping the
log, since the 2012 tzdata releases also contain the 2011m changes; 2011m
is the only missing release I noticed.)
Change-Id: I9a2e530b3a8ea88e3375334a12376e3d8526f267
2012-04-02 07:43:15 -07:00
The Android Automerger
b955ffa5b3
merge in jb-release history after reset to master
2012-04-02 06:59:31 -07:00
Elliott Hughes
4e362f230b
am cd834618: am 63b14755: Merge "libc/x86: ensure the stack 16-byte aligned when tasks created"
...
* commit 'cd834618c4752b61d54ff4005a8baa8219b822e4':
libc/x86: ensure the stack 16-byte aligned when tasks created
2012-03-30 22:16:02 -07:00
Elliott Hughes
cd834618c4
am 63b14755: Merge "libc/x86: ensure the stack 16-byte aligned when tasks created"
...
* commit '63b14755512d515762cbe3ad8544c561a576f32e':
libc/x86: ensure the stack 16-byte aligned when tasks created
2012-03-30 15:53:19 -07:00
Elliott Hughes
63b1475551
Merge "libc/x86: ensure the stack 16-byte aligned when tasks created"
2012-03-30 13:42:42 -07:00
Dima Zavin
ddb2f13549
Revert "libc/kernel: Add rules to autogenerate device specific kernel headers"
...
This reverts commit 884147c7d0 .
Change-Id: I09723858ac961f3e1155791aa5c54d5d3abfbd36
Signed-off-by: Dima Zavin <dima@android.com >
2012-03-30 10:21:25 -07:00
The Android Automerger
30c8b110f3
merge in jb-release history after reset to master
2012-03-28 06:59:31 -07:00
Elliott Hughes
8fd682f7f2
am ea76f414: am d509f9cc: am 09ce7749: Merge "[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture."
...
* commit 'ea76f4147825cc39d9aa91230cd863ed29f28e27':
[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture.
2012-03-27 17:58:57 -07:00
Elliott Hughes
ea76f41478
am d509f9cc: am 09ce7749: Merge "[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture."
...
* commit 'd509f9ccbba6e1dd53acfd7425bfc06d6b3f8693':
[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture.
2012-03-27 17:57:41 -07:00
Elliott Hughes
d509f9ccbb
am 09ce7749: Merge "[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture."
...
* commit '09ce7749d74733b28d4fa7a1d36457cb366cc5da':
[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture.
2012-03-27 17:53:35 -07:00
Elliott Hughes
09ce7749d7
Merge "[MIPS] Clean Kernel headers are generated by running libc/kernel/tools/update_all.py script. This patch ignores any changes to libc/kernel directory not related to MIPS architecture."
2012-03-27 16:49:29 -07:00
Raghu Gandham
82fa43febc
[MIPS] Clean Kernel headers are generated by running
...
libc/kernel/tools/update_all.py script. This patch ignores
any changes to libc/kernel directory not related to MIPS
architecture.
Change-Id: I2c9e461dccb7c33eb4420be2db1a562f45137c8d
Signed-off-by: Raghu Gandham <raghu@mips.com >
Signed-off-by: Chris Dearman <chris@mips.com >
2012-03-27 11:38:00 -07:00
Jean-Baptiste Queru
32913bf7d9
am b52c941e: am d7c6147e: am 56731351: Merge "bionic: fix atfork hanlder_mutex deadlock"
...
* commit 'b52c941ed4f24134b78a73daee84bdc328f969da':
bionic: fix atfork hanlder_mutex deadlock
2012-03-27 10:10:50 -07:00
The Android Automerger
8149d73652
merge in jb-release history after reset to master
2012-03-27 06:59:30 -07:00
Jean-Baptiste Queru
b52c941ed4
am d7c6147e: am 56731351: Merge "bionic: fix atfork hanlder_mutex deadlock"
...
* commit 'd7c6147eff65572762d55950b965db949ccd0281':
bionic: fix atfork hanlder_mutex deadlock
2012-03-26 18:29:23 -07:00
Jean-Baptiste Queru
d7c6147eff
am 56731351: Merge "bionic: fix atfork hanlder_mutex deadlock"
...
* commit '56731351de7230180fc99a1a4b0afd12f881b0f7':
bionic: fix atfork hanlder_mutex deadlock
2012-03-26 18:25:43 -07:00
Benoit Goby
8491327448
Merge "Add auto-generated headers for USB FunctionFS"
2012-03-26 17:14:24 -07:00
Jean-Baptiste Queru
56731351de
Merge "bionic: fix atfork hanlder_mutex deadlock"
2012-03-26 16:19:36 -07:00
Jean-Baptiste Queru
faca92f2f1
Handle pthread-related changes (mutex/atfork)
...
First commit:
Revert "Revert "am be741d47 : am 2f460fbe : am 73b5cad9 : Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()"""
This reverts commit 06823da2f0 .
Second commit:
bionic: fix atfork hanlder_mutex deadlock
This cherry-picks commit 34e89c232d
After applying the kernel_id fix, the system refused to boot up and we
got following crash log:
I/DEBUG ( 113): pid: 618, tid: 618 >>> org.simalliance.openmobileapi.service:remote <<<
I/DEBUG ( 113): signal 16 (SIGSTKFLT), code -6 (?), fault addr --------
I/DEBUG ( 113): eax fffffe00 ebx b77de994 ecx 00000080 edx 00724002
I/DEBUG ( 113): esi 00000000 edi 00004000
I/DEBUG ( 113): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 113): eip b7761351 ebp bfdf3de8 esp bfdf3dc4 flags 00000202
I/DEBUG ( 113): #00 eip: 00015351 /system/lib/libc.so
I/DEBUG ( 113): #01 eip: 0000d13c /system/lib/libc.so (pthread_mutex_lock)
I/DEBUG ( 113): #02 eip: 00077b48 /system/lib/libc.so (__bionic_atfork_run_prepare)
I/DEBUG ( 113): #03 eip: 00052cdb /system/lib/libc.so (fork)
I/DEBUG ( 113): #04 eip: 0009ae91 /system/lib/libdvm.so (_Z18dvmOptimizeDexFileillPKcjjb)
I/DEBUG ( 113): #05 eip: 000819d6 /system/lib/libdvm.so (_Z14dvmJarFileOpenPKcS0_PP7JarFileb)
I/DEBUG ( 113): #06 eip: 000b175e /system/lib/libdvm.so (_ZL40Dalvik_dalvik_system_DexFile_openDexFilePKjP6JValue)
I/DEBUG ( 113): #07 eip: 0011fb94 /system/lib/libdvm.so
Root cause:
The atfork uses the mutex handler_mutex to protect the atfork_head. The
parent will call __bionic_atfork_run_prepare() to lock the handler_mutex,
and need both the parent and child to unlock their own copy of handler_mutex
after fork. At that time, the owner of hanlder_mutex is set as the parent.
If we apply the kernel_id fix, then the child's kernel_id will be set as
child's tid.
The handler_mutex is a recursive lock, and pthread_mutex_unlock(&hander_mutex)
will fail because the mutex owner is the parent, while the current tid
(__get_thread()->kernel_id) is child, not matched with the mutex owner.
At that time, the handler_mutex is left in lock state.If the child wants to
fork other process after than, then it will try to lock handler_mutex, and
then be deadlocked.
Fix:
Since the child has its own copy of vm space from the the parent, the
child space's handler_mutex should be reset to the initialized state.
Change-Id: I3907dd9a153418fb78862f2aa6d0302c375d9e27
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Chenyang Du <chenyang.du@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Change-Id: Ic8072f366a877443a60fe215f3c00b3df5a259c8
2012-03-26 15:38:59 -07:00
Benoit Goby
2ab5bfd43f
Add auto-generated headers for USB FunctionFS
...
linux/usb/ch9.h and linux/usb/functionfs.h
Change-Id: I2907081aba63b32740eb9916315759692a96ab42
2012-03-26 15:10:29 -07:00
The Android Automerger
665a2207af
merge in jb-release history after reset to master
2012-03-26 06:59:35 -07:00
Andrew Hsieh
126601dd3f
Fixed to #include correct 32-bit headers; Refreshed libc/kernel headers
...
This patch fixes an issue where 64-bit hreaders are incorrectly included
in kernel headers. For example, file "libc/kernel/arch-x86/asm/io.h"
incorreclty includes "io_64.h" (missing, BTW) instead of "io_32.h".
The reason is because CONFIG_X86_32 isn't considered pre-defined in
"kernel_default_arch_macros" for x86, and clean_header.py doesn't
look at it at all anyway (ie. __i386__ is also ignored, but it's
okay since x86 cross compiler defines it back)
Fixed 2 tools/*py, README.TXT, and refreshed libc/kernel headers
Change-Id: Iac834cc8b3548f055d3f2a214af36072dd679fe8
2012-03-23 23:07:36 +08:00
Jack Ren
cb08204053
libc/x86: ensure the stack 16-byte aligned when tasks created
...
Currently Renderscript sample code RsBalls crashed on x86 when SSE2
enabled. The root cause is that the stack was not 16-byte aligned
from the beginning when the processes/threads were created, so the
RsBalls crashed when SSE2 instructions tried to access the variables
on the stack.
- For the thread created by fork():
Its stack alignment is determined by crtbegin_{dynamic, static}.S
- For the thread created by pthread_create():
Its stack alignment is determined by clone.S. __thread_entry( ) is
a standard C function. In order to have its stack be aligned with
16 byte properly, __thread_entry() needs the stack with following
layout when it is called:
layout #1 (correct)
--------------
| |
-------------- <--ESP (ECX - 20)
| ret EIP |
-------------- <--ECX - 16
| arg0 |
-------------- <--ECX - 12
| arg1 |
-------------- <--ECX - 8
| arg2 |
-------------- <--ECX - 4
| unused |
-------------- <--ECX (16-byte boundary)
But it has following layout for now:
layout #2 : (incorrect)
--------------
| |
-------------- <--ESP (ECX - 16)
| unused |
-------------- <--ECX - 12
| arg0 |
-------------- <--ECX - 8
| arg1 |
-------------- <--ECX - 4
| arg2 |
-------------- <--ECX (16-byte boundary)
Fixed in this patch.
Change-Id: Ibe01f64db14be14033c505d854c73033556ddaa8
Signed-off-by: Michael Liao <michael.liao@intel.com >
Signed-off-by: H.J. Lu <hongjiu.lu@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-03-23 20:04:04 +08:00
Ben Cheng
eaae81082c
Initialize mspace->least_addr properly in the mmap path.
...
BUG: 6206963
Change-Id: Id2ab580246de50a4511b56a734a7bece98fb945c
2012-03-21 15:47:12 -07:00
Nick Kralevich
891966d020
Merge "string.h: add __attribute__ ((pure)) to string functions"
2012-03-21 14:40:41 -07:00
Iliyan Malchev
1ca0b9d158
Merge "bionic: pass MADV_MERGEABLE on private & anonymous mmaps"
2012-03-21 13:51:42 -07:00
JP Abgrall
16a8fcce9f
Merge "Update the libc kernel includes to support the newer mman for KSM support"
2012-03-21 13:43:10 -07:00
JP Abgrall
b8e1e9685e
bionic: pass MADV_MERGEABLE on private & anonymous mmaps
...
Change-Id: I8bc167bb33dec6417fe772172697ea6ff97da2f6
Signed-off-by: Iliyan Malchev <malchev@google.com >
2012-03-21 13:21:33 -07:00
JP Abgrall
2f33c5a8e4
Update the libc kernel includes to support the newer mman for KSM support
...
These are generated from the matching external/kernel-headers/original
files (from kernel/samsung android-samsung-3.0-wip).
Change-Id: I982ff6a0d522ea250c3a437f5756766fcc6c5c91
2012-03-21 13:21:33 -07:00
Nick Kralevich
f082444291
Merge "fnmatch.c: Update to version in OpenBSD HEAD"
2012-03-21 10:07:55 -07:00
Nick Kralevich
d1860ad8dd
fnmatch.c: Update to version in OpenBSD HEAD
...
Upgrade fnmatch.c from OpenBSD version 1.13 to 1.16.
This is needed primarily to address CVE-2011-0419.
This is a straight copy from upstream's version at
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/fnmatch.c and
incorporates the following changes:
Revision 1.16:
New fnmatch(3) implementation which is not recursive.
Written and provided under BSD licence by William A. Rowe Jr.
Originally released in Apache APR-1.4.5.
Merged class matching code from r1.14 and PATH_MAX check from r1.15.
ok miod millert
Revision 1.15:
Put a limit on recursion during matching, and reject input of size greater
or equal PATH_MAX. Based on similar fix made in NetBSD.
ok miod@ millert@
Revision 1.14:
POSIX character class support for fnmatch(3) and glob(3). OK deraadt@
Version 1.14 introduced charclasses.h, which we copy unmodified
from upstream version 1.1.
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/charclass.h
Bug: 3435120
Change-Id: I45133468f0c3d439fd10eb087a1c647799f9d25b
2012-03-21 09:53:05 -07:00
Ben Cheng
e80f799d89
Merge "New additions/bug fixes required/found when porting perf."
2012-03-21 09:32:24 -07:00
Nick Kralevich
a677907ee8
string.h: add __attribute__ ((pure)) to string functions
...
cdefs.h: Introduce the __purefunc attribute, which allows us to mark
certain functions as being "pure".
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
Many functions have no effects except the return value and their
return value depends only on the parameters and/or global variables.
Such a function can be subject to common subexpression elimination
and loop optimization just as an arithmetic operator would be.
string.h: Mark many commently used string functions as "pure", to
allow for additional compiler optimizations.
Change-Id: I42961f90f822b6dbcbc3fd72cdbe774a7adc8785
2012-03-21 08:54:54 -07:00
The Android Automerger
9f7df549a2
merge in jb-release history after reset to master
2012-03-21 06:59:50 -07:00
Dima Zavin
884147c7d0
libc/kernel: Add rules to autogenerate device specific kernel headers
...
This change will automatically post-process kernel headers
specified by device, board, and product. This will allow us
to not check in each kernel header twice, at least for the
device specific headers for now.
Change-Id: I3bb144b6535504b7c26b807daa75de495554356d
Signed-off-by: Dima Zavin <dima@android.com >
2012-03-20 15:28:34 -07:00
Ben Cheng
21eab513e7
New additions/bug fixes required/found when porting perf.
...
New functions:
tfind
tsearch
tdelete
twalk
tdestroy (GNU extension)
Bug fix: the current implementation for realpath would crash
if the second argument (resolved_path) is NULL.
New headers:
ar.h
search.h
Change-Id: Ib6c1e42fc186a6d597a6e5a9692b16acaa155804
2012-03-20 12:54:55 -07:00
Nick Kralevich
aac0dc97a9
Merge "linker: fix off-by-one error in GNU_RELRO handling"
2012-03-20 10:52:42 -07:00
Nick Kralevich
0814eea3ec
Merge "linker: initially reserved memory as PROT_NONE"
2012-03-20 10:52:23 -07:00
Nick Kralevich
d73b5cafa0
linker: fix off-by-one error in GNU_RELRO handling
...
Fix a bug where the GNU_RELRO end address could be exactly
the end of the loadable segment.
Change-Id: If6c43acabc06e9aff9217c0f6016e158b28bb41f
2012-03-20 09:24:58 -07:00
The Android Automerger
6e9e53d15f
merge in jb-release history after reset to master
2012-03-19 06:59:35 -07:00
Jack Ren
34e89c232d
bionic: fix atfork hanlder_mutex deadlock
...
After applying the kernel_id fix, the system refused to boot up and we
got following crash log:
I/DEBUG ( 113): pid: 618, tid: 618 >>> org.simalliance.openmobileapi.service:remote <<<
I/DEBUG ( 113): signal 16 (SIGSTKFLT), code -6 (?), fault addr --------
I/DEBUG ( 113): eax fffffe00 ebx b77de994 ecx 00000080 edx 00724002
I/DEBUG ( 113): esi 00000000 edi 00004000
I/DEBUG ( 113): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 113): eip b7761351 ebp bfdf3de8 esp bfdf3dc4 flags 00000202
I/DEBUG ( 113): #00 eip: 00015351 /system/lib/libc.so
I/DEBUG ( 113): #01 eip: 0000d13c /system/lib/libc.so (pthread_mutex_lock)
I/DEBUG ( 113): #02 eip: 00077b48 /system/lib/libc.so (__bionic_atfork_run_prepare)
I/DEBUG ( 113): #03 eip: 00052cdb /system/lib/libc.so (fork)
I/DEBUG ( 113): #04 eip: 0009ae91 /system/lib/libdvm.so (_Z18dvmOptimizeDexFileillPKcjjb)
I/DEBUG ( 113): #05 eip: 000819d6 /system/lib/libdvm.so (_Z14dvmJarFileOpenPKcS0_PP7JarFileb)
I/DEBUG ( 113): #06 eip: 000b175e /system/lib/libdvm.so (_ZL40Dalvik_dalvik_system_DexFile_openDexFilePKjP6JValue)
I/DEBUG ( 113): #07 eip: 0011fb94 /system/lib/libdvm.so
Root cause:
The atfork uses the mutex handler_mutex to protect the atfork_head. The
parent will call __bionic_atfork_run_prepare() to lock the handler_mutex,
and need both the parent and child to unlock their own copy of handler_mutex
after fork. At that time, the owner of hanlder_mutex is set as the parent.
If we apply the kernel_id fix, then the child's kernel_id will be set as
child's tid.
The handler_mutex is a recursive lock, and pthread_mutex_unlock(&hander_mutex)
will fail because the mutex owner is the parent, while the current tid
(__get_thread()->kernel_id) is child, not matched with the mutex owner.
At that time, the handler_mutex is left in lock state.If the child wants to
fork other process after than, then it will try to lock handler_mutex, and
then be deadlocked.
Fix:
Since the child has its own copy of vm space from the the parent, the
child space's handler_mutex should be reset to the initialized state.
Change-Id: I3907dd9a153418fb78862f2aa6d0302c375d9e27
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Chenyang Du <chenyang.du@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-03-17 17:08:54 +08:00
Nick Kralevich
6625986f3a
linker: initially reserved memory as PROT_NONE
...
When the dynamic linker loads a shared library into memory, it
initially allocates a chunk of memory. The memory is then carved
into smaller chunks for each LOAD region, and appropriate memory
protections applied.
Modify the initial memory allocation so that the pages are mapped
as PROT_NONE, rather than PROT_READ / PROT_EXEC. This ensures that
gaps between LOAD regions are not inadvertantly readable / executable.
(Long term, we should munmap() these gaps entirely)
Change-Id: If128a203ccc6fe12dcbbd2bfe0cf13a2045675af
2012-03-16 13:06:12 -07:00
Kenny Root
ad812ef2a4
Add in auto-generated if_alg.h header
...
Change-Id: I5d0934069e74be2eafecdee43074590124db57a7
2012-03-15 21:59:01 -07:00
The Android Automerger
9bcaf0ea6d
merge in jb-release history after reset to master
2012-03-14 06:59:45 -07:00
Ben Cheng
adb6989786
Merge "Update kernel headers and add syscall "perf_event_open""
2012-03-13 13:04:22 -07:00
Ben Cheng
1a823691a2
Update kernel headers and add syscall "perf_event_open"
...
Change-Id: I43f12b727881df002a8524f2738586c043833bae
2012-03-13 12:28:40 -07:00
Guang Zhu
06823da2f0
Revert "am be741d47: am 2f460fbe: am 73b5cad9: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()""
...
This reverts commit 76d56cf4a9 , reversing
changes made to c59ba4595b .
Bug: 6157577
2012-03-12 22:05:36 -07:00
Elliott Hughes
76d56cf4a9
am be741d47: am 2f460fbe: am 73b5cad9: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()"
...
* commit 'be741d472868a8ffcb455588f18cda889b0f465c':
bionic: Fix wrong kernel_id in pthread descriptor after fork()
2012-03-12 17:12:35 -07:00
Elliott Hughes
be741d4728
am 2f460fbe: am 73b5cad9: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()"
...
* commit '2f460fbee9abe2936175379c49c6618de7421233':
bionic: Fix wrong kernel_id in pthread descriptor after fork()
2012-03-12 17:10:46 -07:00
Elliott Hughes
2f460fbee9
am 73b5cad9: Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()"
...
* commit '73b5cad989da317cc8089b57ee25f502b1cac71f':
bionic: Fix wrong kernel_id in pthread descriptor after fork()
2012-03-12 17:06:09 -07:00
Elliott Hughes
73b5cad989
Merge "bionic: Fix wrong kernel_id in pthread descriptor after fork()"
2012-03-12 10:32:02 -07:00
Jack Ren
d8bc6e7119
bionic: Fix wrong kernel_id in pthread descriptor after fork()
...
After forking, the kernel_id field in the phtread_internal_t returned by pthread_self()
is incorrect --- it's the tid from the parent, not the new tid of the
child.
The root cause is that: currently the kernel_id is set by
_init_thread(), which is called in 2 cases:
(1) called by __libc_init_common(). That happens when the execv( ) is
called after fork( ). But when the zygote tries to fork the android
application, the child application doesn't call execv( ), instread, it
tries to call the Java main method directly.
(2) called by pthread_create(). That happens when a new thread is
created.
For the lead thread which is the thread created by fork(), it should
call execv() but it doesn't, as described in (1) above. So its kernel_id
will inherit the parent's kernel_id.
Fixed it in this patch.
Change-Id: I63513e82af40ec5fe51fbb69456b1843e4bc0fc7
Signed-off-by: Chenyang Du <chenyang.du@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-03-12 23:14:56 +08:00
The Android Automerger
26b666b35e
merge in jb-release history after reset to master
2012-03-12 06:59:42 -07:00
Robert Greenwalt
c59ba4595b
Use new binary code format
...
3-digits + null. Old was 3-digits + space + null.
Change-Id: If5fdf9ced073f432ace3a76858025ad651c74e3d
2012-03-09 11:50:46 -08:00
Andy McFadden
ca9a0712b8
Re-throw signals
...
If we catch a fatal signal that won't automatically re-throw when
the thread resumes, re-throw it manually. (Common examples are
SIGPIPE and the SIGFPE from integer division by zero.)
Change-Id: I329e6d4db907047c555957b42cbd09c50fc808e7
2012-03-08 11:14:37 -08:00
The Android Automerger
56ae6bdaa1
merge in jb-release history after reset to master
2012-03-08 06:59:22 -08:00
Ben Cheng
654325de02
Update bionic kernel headers using update_all.py
...
Change-Id: I9c377436e9bf158e7236b3b7dcebf3e79fa961de
2012-03-07 21:13:49 -08:00
Selim Gurun
db6d20be77
Merge "Prevent potential stall on dns proxy operations."
2012-03-07 17:05:15 -08:00
Ben Cheng
36c8c1039f
Merge "Revert "Update bionic kernel headers using update_all.py""
2012-03-07 16:16:10 -08:00
Ben Cheng
4b29af0a1b
Revert "Update bionic kernel headers using update_all.py"
...
This reverts commit 94a85f6636
There is a smoke test failure for Prime but Crespo/Stingray are fine. Will revert the change for now until further investigation is made.
2012-03-07 16:14:53 -08:00
Selim Gurun
06e1831f19
Prevent potential stall on dns proxy operations.
...
Update wire protocol to return and process error code first.
This will make sure dns proxy operations do not stall when
an internal error happens.
Also fix a compiler warning.
Also fix a potential buffer overflow.
And use correct types (uint32_t) rather than int when reading from network.
Change-Id: I9f99c16d6fd5e9137491a4d1b293a7c78e31b9c3
2012-03-07 15:09:05 -08:00
Ben Cheng
27a5923b24
Merge "Update bionic kernel headers using update_all.py"
2012-03-07 13:57:09 -08:00
Marco Nelissen
e5cf8166dc
Merge "Log the thread id and name for fatal signals."
2012-03-07 13:09:36 -08:00
Marco Nelissen
3df3e672f5
Log the thread id and name for fatal signals.
...
This adds the thread id and name to the "Fatal signal" logging,
making it easier to track down where in process it actually crashed.
Change-Id: I17a365042b2f10b161debe98bc2e7070af055dfb
2012-03-07 12:32:15 -08:00
Ben Cheng
94a85f6636
Update bionic kernel headers using update_all.py
...
Change-Id: I4da6b23cdbce89445f1ca5d2fadeb23345ce694c
2012-03-07 12:27:59 -08:00
The Android Automerger
151fac68c3
merge in jb-release history after reset to master
2012-03-07 06:59:17 -08:00
Nick Kralevich
d027ffdd7a
Merge "Add relro support"
2012-03-06 11:31:59 -08:00
Nick Kralevich
9ec0f03a0d
Add relro support
...
Add support for PT_GNU_RELRO. This allows the static linker to
indicate that certain regions of memory should be marked as
"read-only" after dynamic linking is complete.
See:
* http://www.akkadia.org/drepper/nonselsec.pdf (section 6)
* http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html
Note that this change has no effect on Android right now, because
we don't compile our code with relro enabled.
Change-Id: I6541f8775367e8558b4388f7d105b1ae6e8f046b
2012-03-05 16:44:42 -08:00
Kenny Root
fa3f72ee53
Revert "Reference __dso_handle in PIC way"
...
This reverts commit 93cb308137
2012-03-05 11:55:23 -08:00
Kenny Root
4597687335
Merge "Revert "Reference __dso_handle in PIC way""
2012-03-05 10:46:01 -08:00
Kenny Root
be101bf39a
Revert "Reference __dso_handle in PIC way"
...
This reverts commit 93cb308137
2012-03-05 10:45:31 -08:00
The Android Automerger
fa944c190c
merge in jb-release history after reset to master
2012-03-05 06:59:32 -08:00
Kenny Root
1fe109ecf3
Merge "Reference __dso_handle in PIC way"
2012-03-02 16:05:57 -08:00
Kenny Root
93cb308137
Reference __dso_handle in PIC way
...
Use the same pattern in atexit.S to reference __dso_handle in a way that
doesn't require a TEXTREL flag to be set.
Change-Id: Id69d20863ee203d2b2f7ef0db230f9b548657741
2012-03-02 13:09:36 -08:00
Elliott Hughes
079989259f
am 6d074bb7: am 70d1d45f: am a58c88c2: Merge "Upgrade to tzdata2012b."
...
* commit '6d074bb71a316f73f35f4430a71fa706c46d4b75':
Upgrade to tzdata2012b.
2012-03-02 11:13:05 -08:00
Elliott Hughes
6d074bb71a
am 70d1d45f: am a58c88c2: Merge "Upgrade to tzdata2012b."
...
* commit '70d1d45f0ecaee262627a6ca323fc2b4fe3e9024':
Upgrade to tzdata2012b.
2012-03-02 11:10:43 -08:00
Elliott Hughes
70d1d45f0e
am a58c88c2: Merge "Upgrade to tzdata2012b."
...
* commit 'a58c88c235bfeeb17ac495991e66f7b906935852':
Upgrade to tzdata2012b.
2012-03-02 11:07:03 -08:00
Elliott Hughes
da16ad11fe
am a2b1bbc9: am a480cf93: resolved conflicts for merge of cfe535ef to stage-aosp-master
...
* commit 'a2b1bbc9a605819eb5ecd1df61d4f2a79f1a8f92':
Upgrade to tzdata2011a.
2012-03-02 10:49:45 -08:00
Elliott Hughes
a2b1bbc9a6
am a480cf93: resolved conflicts for merge of cfe535ef to stage-aosp-master
...
* commit 'a480cf930f31ab404e7efe66259427a53d72fa2b':
Upgrade to tzdata2011a.
2012-03-02 10:47:23 -08:00
Elliott Hughes
a480cf930f
resolved conflicts for merge of cfe535ef to stage-aosp-master
...
Change-Id: I21a1dd41503518e75892180c14f1ce79102772ad
2012-03-02 10:11:18 -08:00
Elliott Hughes
a58c88c235
Merge "Upgrade to tzdata2012b."
2012-03-02 00:09:04 -08:00
Elliott Hughes
dd8e4045e7
Upgrade to tzdata2012b.
...
Summer time in Cuba has been delayed 3 weeks (now starts April 1 rather
than March 11). Since March 11 (the old start date, as listed in 2012a)
is just a little over a week away, this change is urgent.
Change-Id: Iadf4dc30072bdac0bcd0ad4b9e076a9ca071efbe
2012-03-01 23:34:11 -08:00
Elliott Hughes
cfe535ef9f
Merge "Upgrade to tzdata2011a."
2012-03-01 23:32:15 -08:00
Jean-Baptiste Queru
3690bcb217
am cff86bdc: am 018c27ed: am 25f2d1f0: Merge "update stddef.h"
...
* commit 'cff86bdc02f70bb5758234ace75a2f84a626cc3c':
update stddef.h
2012-03-01 15:35:45 -08:00
Jean-Baptiste Queru
4053f8530d
am 568ee0d1: am 51d22d7e: am afab5a70: Merge "Eliminate duplicate constants"
...
* commit '568ee0d135c23c5a49fb4f93de01999b76523428':
Eliminate duplicate constants
2012-03-01 15:35:44 -08:00
Jean-Baptiste Queru
446a772bc4
am dc755140: (-s ours) am 7c38f53d: am 7f28e0b4: Merge "Clean up the remnants of SuperH support"
...
* commit 'dc755140c11bb0ff64f7c3d224dd5588fc643485':
Clean up the remnants of SuperH support
2012-03-01 15:35:20 -08:00
Elliott Hughes
69ea1c03e0
Upgrade to tzdata2011a.
...
From the notes:
Chile 2011/2012 and 2012/2013 summer time date adjustments.
Falkland Islands onto permanent summer time (we're assuming for the
foreseeable future, though 2012 is all we're fairly certain of.)
Armenia has abolished Summer Time.
Tokelau jumped the International Date Line back last December
(just the same as their near neighbour, Samoa).
America/Creston is a new zone for a small area of British Columbia
There will be a leapsecod 2012-06-30 23:59:60 UTC.
Change-Id: I1d66edf8d33fd1dbcf21178def91844025fd9047
2012-03-01 09:38:31 -08:00
The Android Automerger
73c88b70b2
merge in jb-release history after reset to master
2012-03-01 06:59:21 -08:00
Jean-Baptiste Queru
cff86bdc02
am 018c27ed: am 25f2d1f0: Merge "update stddef.h"
...
* commit '018c27eda89b54e59e6c043ea2986c6e39ec2ee0':
update stddef.h
2012-02-29 19:12:17 -08:00
Jean-Baptiste Queru
568ee0d135
am 51d22d7e: am afab5a70: Merge "Eliminate duplicate constants"
...
* commit '51d22d7ea92e77f47accee59c99cb8157bf29fcb':
Eliminate duplicate constants
2012-02-29 19:12:16 -08:00
Jean-Baptiste Queru
018c27eda8
am 25f2d1f0: Merge "update stddef.h"
...
* commit '25f2d1f0c3c7802af0d4d1e2bbd3bf95a7e0970b':
update stddef.h
2012-02-29 19:08:50 -08:00
Jean-Baptiste Queru
51d22d7ea9
am afab5a70: Merge "Eliminate duplicate constants"
...
* commit 'afab5a703d30df613848cb30ab3ecceafd76102b':
Eliminate duplicate constants
2012-02-29 19:08:49 -08:00
Jean-Baptiste Queru
25f2d1f0c3
Merge "update stddef.h"
2012-02-29 18:59:16 -08:00
Jean-Baptiste Queru
afab5a703d
Merge "Eliminate duplicate constants"
2012-02-29 18:58:53 -08:00
Nick Kralevich
53d161a2bc
update stddef.h
...
Pull in an updated version of stddef.h from the linux kernel.
Pulled from upstream kernel at 891003abb0db6bfffd61b76ad0ed39bb7c3db8e1
This file was generated using the following command:
cd bionic/libc/kernel/
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/stddef.h
Change-Id: I6c29f3fa100c5368da41d0f0da39bc50fa668e9d
2012-02-29 18:43:55 -08:00
Nick Kralevich
9921947e6f
Eliminate duplicate constants
...
include/elf.h contains basically the same values as
linux/auxvec.h. Eliminate dups.
include/sys/exec_elf.h contains basically the same
values as linux/elf.h. Eliminate dups.
Change-Id: I66b8358161bb52223bb657f8f73ba28b324f4fa3
2012-02-29 18:43:51 -08:00
Jean-Baptiste Queru
dc755140c1
am 7c38f53d: am 7f28e0b4: Merge "Clean up the remnants of SuperH support"
...
* commit '7c38f53d1911e04acf6398921a7bd4444d585c2b':
Clean up the remnants of SuperH support
2012-02-29 15:43:24 -08:00
Jean-Baptiste Queru
7c38f53d19
am 7f28e0b4: Merge "Clean up the remnants of SuperH support"
...
* commit '7f28e0b4501de7c4f8f627fd3e4be323d737ae82':
Clean up the remnants of SuperH support
2012-02-29 15:38:55 -08:00
Jean-Baptiste Queru
7f28e0b450
Merge "Clean up the remnants of SuperH support"
2012-02-29 14:39:42 -08:00
Nick Kralevich
86addd65ab
Merge "Eliminate duplicate constants"
2012-02-29 13:30:48 -08:00
Nick Kralevich
67e7a93844
Eliminate duplicate constants
...
include/elf.h contains basically the same values as
linux/auxvec.h. Eliminate dups.
include/sys/exec_elf.h contains basically the same
values as linux/elf.h. Eliminate dups.
Change-Id: I66b8358161bb52223bb657f8f73ba28b324f4fa3
2012-02-29 11:21:53 -08:00
Andrew Hsieh
4fc1273459
Merge "Trivial fix in comment"
2012-02-29 09:40:49 -08:00
The Android Automerger
16310b5582
merge in jb-release history after reset to master
2012-02-29 06:59:21 -08:00
Nick Kralevich
d638a500e9
Merge "update stddef.h"
2012-02-28 14:39:12 -08:00
Nick Kralevich
ec37237d69
update stddef.h
...
Pull in an updated version of stddef.h from the linux kernel.
Pulled from upstream kernel at 891003abb0db6bfffd61b76ad0ed39bb7c3db8e1
This file was generated using the following command:
cd bionic/libc/kernel/
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/stddef.h
Change-Id: I6c29f3fa100c5368da41d0f0da39bc50fa668e9d
2012-02-28 14:04:57 -08:00
Jean-Baptiste Queru
a1d3e0d8eb
am 2e236c13: am 17edd38f: am 9c9b0fc7: Merge "libm: cherry-pick one patch from freebsd to fix logb() denormals issue"
...
* commit '2e236c132fe38e52d8a52d264cca5c520d778c98':
libm: cherry-pick one patch from freebsd to fix logb() denormals issue
2012-02-28 13:55:51 -08:00
Jean-Baptiste Queru
2e236c132f
am 17edd38f: am 9c9b0fc7: Merge "libm: cherry-pick one patch from freebsd to fix logb() denormals issue"
...
* commit '17edd38f03300af28c89f9031dad177af8232c3a':
libm: cherry-pick one patch from freebsd to fix logb() denormals issue
2012-02-28 13:53:14 -08:00
Jean-Baptiste Queru
17edd38f03
am 9c9b0fc7: Merge "libm: cherry-pick one patch from freebsd to fix logb() denormals issue"
...
* commit '9c9b0fc7e1dff39baa8cdf2536be9776aa4af766':
libm: cherry-pick one patch from freebsd to fix logb() denormals issue
2012-02-28 13:28:30 -08:00
Jean-Baptiste Queru
9c9b0fc7e1
Merge "libm: cherry-pick one patch from freebsd to fix logb() denormals issue"
2012-02-28 09:44:41 -08:00
Jack Ren
1fa7b45df8
libm: cherry-pick one patch from freebsd to fix logb() denormals issue
...
from http://svnweb.freebsd.org/base?view=revision&revision=176101
"
Oops, fix the fix in rev.1.10. logb() and logbf() were broken on
denormals, and logb() remained broken after 1.10 because the fix for
logbf() was incompletely translated.
Convert to __FBSDID().
"
Change-Id: I54f33648db7c421b06eee1ea8e63c57a179fae0d
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-02-28 12:28:05 +08:00
The Android Automerger
fcf16907c7
merge in jb-release history after reset to master
2012-02-27 06:59:29 -08:00
Kenny Root
93b8f941f2
Revert "Use the new NativeDaemonConnector style."
...
The other changes relating to this were already reverted.
This reverts commit 1625c7a837
2012-02-25 10:39:07 -08:00
Dima Zavin
906dbea2b4
libc: Add __aeabi_llsl and __aeabi_llsr to libgcc_compat
...
Some platform libraries built for ICS do not work with master
because of some refactoring in frameworks/base.
Make sure that these libgcc symbols are always present in our libc
Change-Id: Ib8d345878be0ba711f051082a778f5cc1f1b3a19
Signed-off-by: Dima Zavin <dima@android.com >
2012-02-24 11:38:07 -08:00
Kenny Root
83c366cf09
Merge "Revert "Use the new NativeDaemonConnector style.""
2012-02-24 11:04:56 -08:00
Kenny Root
1fb6662d1a
Revert "Use the new NativeDaemonConnector style."
...
The other changes relating to this were already reverted.
This reverts commit 1625c7a837
2012-02-24 11:04:42 -08:00
Jean-Baptiste Queru
7dbbfac0fc
am 5d8fd2a0: am a71aefc6: am d041bf20: Merge "bionic/x86: fix one potential deadlock in __set_tls()"
...
* commit '5d8fd2a0bc059cd07405a372c98617829f8ac378':
bionic/x86: fix one potential deadlock in __set_tls()
2012-02-23 12:34:02 -08:00
Jean-Baptiste Queru
5d8fd2a0bc
am a71aefc6: am d041bf20: Merge "bionic/x86: fix one potential deadlock in __set_tls()"
...
* commit 'a71aefc66f6d4bf1302e0ce5c321aff1a2c769d1':
bionic/x86: fix one potential deadlock in __set_tls()
2012-02-23 12:32:37 -08:00
Jean-Baptiste Queru
a71aefc66f
am d041bf20: Merge "bionic/x86: fix one potential deadlock in __set_tls()"
...
* commit 'd041bf2095f5f133c87f7ba632a8dfb39537a437':
bionic/x86: fix one potential deadlock in __set_tls()
2012-02-23 12:29:10 -08:00
Jean-Baptiste Queru
76ab561b4d
am 49a05c06: am 62daffe1: am f9c5afb1: Merge "Redesign dlopen() locks to be recursive per thread."
...
* commit '49a05c060acd4d3e17b2819f00a694271bf40977':
Redesign dlopen() locks to be recursive per thread.
2012-02-23 11:20:49 -08:00
Jean-Baptiste Queru
d041bf2095
Merge "bionic/x86: fix one potential deadlock in __set_tls()"
2012-02-23 08:43:30 -08:00
Jin Wei
c5393b23f6
bionic/x86: fix one potential deadlock in __set_tls()
...
Fix bug:
Currently the mutex lock _tls_desc_lock is not released
when __set_thread_area() fails. That will leads to the deadlock
when __set_tls( ) is called later on.
Change-Id: Iea3267cb0659971cba7766cbc3346f6924274f86
Signed-off-by: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-02-23 17:37:58 +08:00
Dima Zavin
f1a17e762b
libc: Add __aeabi_llsl and __aeabi_llsr to libgcc_compat
...
Some platform libraries built for ICS do not work with master
because of some refactoring in frameworks/base.
Make sure that these libgcc symbols are always present in our libc
Change-Id: Ib8d345878be0ba711f051082a778f5cc1f1b3a19
Signed-off-by: Dima Zavin <dima@android.com >
2012-02-22 15:18:56 -08:00
Jean-Baptiste Queru
49a05c060a
am 62daffe1: am f9c5afb1: Merge "Redesign dlopen() locks to be recursive per thread."
...
* commit '62daffe147e8810ce48a897df46b0b3db95ebaa3':
Redesign dlopen() locks to be recursive per thread.
2012-02-22 09:58:17 -08:00
Jean-Baptiste Queru
62daffe147
am f9c5afb1: Merge "Redesign dlopen() locks to be recursive per thread."
...
* commit 'f9c5afb1f9d8e615ab98774a10bbf117962db66d':
Redesign dlopen() locks to be recursive per thread.
2012-02-22 09:54:52 -08:00
Jean-Baptiste Queru
f9c5afb1f9
Merge "Redesign dlopen() locks to be recursive per thread."
2012-02-22 09:30:53 -08:00
Andrew Hsieh
58b2c1616b
Trivial fix in comment
...
Very, very trivial fix for minor typo in comment about how it works
Change-Id: Ia08d332366837dec8f7e91b9728732c5edea223e
2012-02-21 15:09:32 -08:00
Pavel Chupin
e19d702b8e
Redesign dlopen() locks to be recursive per thread.
...
That is to fix the bug:
dlxxx functions can't be called recursively.
For example, if we use dlopen() to use open one library whose constructor
also calls dlopen() in order to open another library, then the thread is
dead-blocked.
By changing the dl_lock from a non-recursive lock to a recursive lock, we can
prevent the thread from dead-blocked by recursive dlxxx calls in the same
thread context.
Change-Id: I1018b41c82f4641cc009c0a2eda31f5a47a534f9
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com >
Signed-off-by: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-02-21 14:57:26 -08:00
The Android Automerger
f351ae488b
merge in jb-release history after reset to master
2012-02-14 06:59:28 -08:00
Jean-Baptiste Queru
d6b58b03b8
am 09049311: am cfff36df: am a60ff6c5: Merge "libc: Define new symbol visibility macros"
...
* commit '09049311a229c427f73e3e0ac873bf344b45aaf2':
libc: Define new symbol visibility macros
2012-02-13 14:42:48 -08:00
Jean-Baptiste Queru
09049311a2
am cfff36df: am a60ff6c5: Merge "libc: Define new symbol visibility macros"
...
* commit 'cfff36df2bebd95f2663b7b053c6308593c343dd':
libc: Define new symbol visibility macros
2012-02-13 14:39:52 -08:00
Jean-Baptiste Queru
cfff36df2b
am a60ff6c5: Merge "libc: Define new symbol visibility macros"
...
* commit 'a60ff6c5b2ca76181b387d8c10aee22a2cbcf840':
libc: Define new symbol visibility macros
2012-02-13 14:25:53 -08:00
Jean-Baptiste Queru
a60ff6c5b2
Merge "libc: Define new symbol visibility macros"
2012-02-13 14:23:13 -08:00
The Android Automerger
8f627eec55
merge in jb-release history after reset to master
2012-02-13 08:56:04 -08:00
Glenn Kasten
32c226d6ed
Merge "Allow C++ to call fdprintf"
2012-02-10 13:45:49 -08:00
Dianne Hackborn
058d6d88b9
Update bionic to know users and isolated uids for uid string representation.
...
Change-Id: I6681bacd69299a7f9837ef8025a80c5562081bad
2012-02-09 16:14:28 -08:00
Raghu Gandham
b69060f1ae
Clean up the remnants of SuperH support
2012-02-09 15:58:46 -08:00
Glenn Kasten
f39a3fe67d
Allow C++ to call fdprintf
...
Change-Id: I1adb7b165ab9f62eaee4e7a9108e8b461350b347
2012-02-09 10:15:45 -08:00
The Android Automerger
bec678c5a7
merge in jb-release history after reset to master
2012-02-08 06:59:26 -08:00
Robert Greenwalt
1625c7a837
Use the new NativeDaemonConnector style.
...
Prepend a 0 to match the new sequence-number style, though this module
doesn't really need/use it.
bug:5864209
Change-Id: Iacbcddaced6fe8bb01d186596a916e4fb4805fef
2012-02-07 11:53:55 -08:00
The Android Automerger
a7bd1bf276
merge in jb-release history after reset to master
2012-02-02 06:59:19 -08:00
David 'Digit' Turner
9db064a0d3
am 5d7181a7: am 68fc85ff: am 177a7706: linker: fix x86 build
...
* commit '5d7181a71c0b066fe6c19b9c5906bd694a399a59':
linker: fix x86 build
2012-02-01 11:24:29 -08:00
David 'Digit' Turner
5d7181a71c
am 68fc85ff: am 177a7706: linker: fix x86 build
...
* commit '68fc85ffc05aca5cc187676bd1502c3c446046d9':
linker: fix x86 build
2012-02-01 11:22:07 -08:00
David 'Digit' Turner
68fc85ffc0
am 177a7706: linker: fix x86 build
...
* commit '177a77067b6d3326dbcf88fd93d0664e48e27f9f':
linker: fix x86 build
2012-02-01 11:18:06 -08:00
David 'Digit' Turner
177a77067b
linker: fix x86 build
...
Change-Id: I47d76a0f50515013c37ccef89accba03cc69529d
2012-02-01 10:47:04 -08:00
The Android Open Source Project
0245c426ee
am 09d695d7: am 44eae4c7: Reconcile with ics-mr1-release
...
* commit '09d695d782007f45504841c1535e53ccf2059a68':
2012-02-01 10:03:20 -08:00
The Android Open Source Project
09d695d782
am 44eae4c7: Reconcile with ics-mr1-release
...
* commit '44eae4c7af901e521e2e880a8300b285bbf53010':
2012-02-01 10:00:28 -08:00
Jean-Baptiste Queru
25b7a16a6e
Merge c4cb87f3
...
Change-Id: I4cc14eba43fde75a7702fdc7ad07d3d949e9c092
2012-02-01 09:46:08 -08:00
The Android Open Source Project
44eae4c7af
Reconcile with ics-mr1-release
...
Change-Id: I37e2eb5cd34a47e3eb7b2bf2353b50fc14972adf
2012-02-01 08:49:24 -08:00
Jean-Baptiste Queru
c4cb87f367
Merge 5b892aa7
...
Change-Id: Ic82bc2866bdb0c93822c94281301fa127fd4bb0c
2012-02-01 07:12:13 -08:00
The Android Automerger
a43debbc43
merge in jb-release history after reset to master
2012-02-01 06:59:19 -08:00
David 'Digit' Turner
5fbf2e0992
libc: Define new symbol visibility macros
...
This patch defines a few new macros that can be used to control the
visibility of symbols exported by the C library:
- ENTRY_PRIVATE() can be used in assembly sources to indicate
that an assembler function should have "hidden" visibility, i.e.
will never be exported by the C library's shared library.
This is the equivalent of using __LIBC_HIDDEN__ for a C function,
but ENTRY_PRIVATE() works like ENTRY(), and must be used with
END() to tag the end of the function.
- __LIBC_ABI_PUBLIC__ can be used to tag a C functions as being
part of the C library's public ABI. This is important for a
few functions that must be exposed by the NDK to maintain
binary compatibility.
Once a symbol has been tagged with this macro, it shall
*never* be removed from the library, even if it becomes
directly unused due to implementation changes
(e.g. __is_threaded).
- __LIBC_ABI_PRIVATE__ can be used for C functions that should
always be exported by the C library because they are used by
other libraries in the platform, but should not be exposed
by the NDK. It is possible to remove such symbols from the
implementation if all callers are also modified.
+ Add missing END() assembly macro for x86
Change-Id: Ia96236ea0dbec41d57bea634b39d246b30e5e234
2012-01-31 22:19:09 +01:00
Jean-Baptiste Queru
5b892aa7e5
Merge "remove obsolete SuperH support"
2012-01-31 12:44:01 -08:00
David 'Digit' Turner
70b1668a76
remove obsolete SuperH support
...
We don't have a toolchain anymore, we don't have working original
kernel headers, and nobody is maintaining this so there is really
no point in keeping this here. Details of the patch:
- removed code paths from Android.mk files related to the SuperH
architecture ("sh")
- removed libc/arch-sh, linker/arch-sh, libc/kernel/arch-sh
- simplified libc/SYSCALLS.TXT
- simplified the scripts in libc/tools/ and libc/kernel/tools
Change-Id: I26b0e1422bdc347489e4573e2fbec0e402f75560
Signed-off-by: David 'Digit' Turner <digit@android.com >
2012-01-31 20:28:23 +01:00
David 'Digit' Turner
b118b9c5cd
Merge "libc: remove global lock from recursive mutex implementation."
2012-01-31 11:02:33 -08:00
Jeff Brown
a7ad339910
Merge "Add new suspend-block input ioctls."
2012-01-31 10:05:35 -08:00
The Android Automerger
3350468499
merge in jb-release history after reset to master
2012-01-31 06:59:17 -08:00
Jesse Hall
f5d1693e3c
Fix recursive ELF constructor check
...
The flag to avoid calling ELF constructors recursively (in the case
of recursive .so dependencies) was being set after the dangerous
recursive constructor call had already been made.
This fixes the libc's debug malloc implementation.
Change-Id: I5e601f0ea19ab1df81b8b1ad4df25c3eab0ccda4
2012-01-30 15:39:57 -08:00
The Android Automerger
a0b800aba9
merge in jb-release history after reset to master
2012-01-30 06:59:27 -08:00
David 'Digit' Turner
e1414aa96b
libc: remove global lock from recursive mutex implementation.
...
This optimization improves the performance of recursive locks
drastically. When running the thread_stress program on a Xoom,
the total time to perform all operations goes from 1500 ms to
500 ms on average after this change is pushed to the device.
Change-Id: I5d9407a9191bdefdaccff7e7edefc096ebba9a9d
2012-01-30 10:13:41 +01:00
Jean-Baptiste Queru
632c07c092
am cc12c74f: am e8004445: Merge "Make sure __u64 is defined even for strict ansi or -std=c99"
...
* commit 'cc12c74f7f65c571778989cd902eb5b9fa74fb11':
Make sure __u64 is defined even for strict ansi or -std=c99
2012-01-27 21:09:07 -08:00
Jean-Baptiste Queru
cc12c74f7f
am e8004445: Merge "Make sure __u64 is defined even for strict ansi or -std=c99"
...
* commit 'e80044455961005ac95e405c8d553f2418d8e50c':
Make sure __u64 is defined even for strict ansi or -std=c99
2012-01-27 07:41:43 -08:00
Jean-Baptiste Queru
e800444559
Merge "Make sure __u64 is defined even for strict ansi or -std=c99"
2012-01-27 07:31:10 -08:00
Robert Greenwalt
514126b2b5
Merge "Increase the size of the system-wide dns cache"
2012-01-26 14:51:08 -08:00
Andy McFadden
1fc51769de
Log debuggerd connection failures
...
Write a message to the log file if the signal handler is not able
to connect to debuggerd. This is especially handy if the failure
was caused by running out of file descriptors, since there's some
chance that the lack of fds relates to the crash.
Sample:
F libc : Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
F libc : Unable to open connection to debuggerd: Too many open files
Bug 5926330
Change-Id: I0ff210d82ab1db39b08f328bae5e08f67a69e5d7
2012-01-26 13:40:38 -08:00
The Android Automerger
056daf6a1c
merge in jb-release history after reset to master
2012-01-25 15:49:01 -08:00
Robert Greenwalt
52764f5546
Increase the size of the system-wide dns cache
...
32 enteries perhaps was ok for per-process caching with ipv4 only
but adding ipv6 records makes it effectively 16 entries and making
it system wide makes is pretty useless. Increasing to 640 entries.
bug:5841178
Change-Id: I879f8bf4d3c4d8c1708bb46d46a67c1f64b1861f
2012-01-25 15:36:58 -08:00
Martin Storsjo
738b175a93
Make sure __u64 is defined even for strict ansi or -std=c99
...
The x86 asm headers define __u64 regardless of __STRICT_ANSI__.
The linux/videodev2.h header requires __u64 to be defined, thus
this fixes compiling with -std=c99 when including the
linux/videodev2.h header.
In glibc, the asm/types.h header defines __u64 regardless of
__STRICT_ANSI__.
This is the change for the generated arch-arm/asm/types.h
header, as produced by the update_all.py script (without all
the other unrelated changes that the script produces).
FWIW, the same issue also is present in
arch-sh/asm/types.h, but there are no source headers for
arch-sh in external/kernel-headers (and regenerating the
headers simply removes that file).
Change-Id: If05fcc9ed6ff5943602be121c7be140116e361fe
2012-01-25 23:41:19 +02:00
Jean-Baptiste Queru
8584a922dc
am 482d59a4: am e22dfc46: Merge "execvp: bcopy() is deprecated. Use memcpy() instead"
...
* commit '482d59a42f6c81e3a142ffbf23c67a903836f203':
execvp: bcopy() is deprecated. Use memcpy() instead
2012-01-25 08:57:30 -08:00
The Android Automerger
7cad7230ff
merge in ics-release history after reset to master
2012-01-25 06:59:13 -08:00
Jean-Baptiste Queru
482d59a42f
am e22dfc46: Merge "execvp: bcopy() is deprecated. Use memcpy() instead"
...
* commit 'e22dfc46b763e9b0c6300b7068609d2db60a9b2c':
execvp: bcopy() is deprecated. Use memcpy() instead
2012-01-24 15:07:56 -08:00
Jean-Baptiste Queru
e22dfc46b7
Merge "execvp: bcopy() is deprecated. Use memcpy() instead"
2012-01-24 14:26:36 -08:00
David 'Digit' Turner
b70659d8ea
Merge "libc: Fix recursive mutex lock implementation."
2012-01-24 09:28:29 -08:00
David 'Digit' Turner
b57db7581c
libc: Fix recursive mutex lock implementation.
...
This fixes a bug that was introduced in the latest pthread optimization.
It happens when a recursive lock is contented by several threads. The main
issue was that the atomic counter increment in _recursive_increment() could
be annihilated by a non-conditional write in pthread_mutex_lock() used to
update the value's lower bits to indicate contention.
This patch re-introduces the use of the global recursive lock in
_recursive_increment(). This will hit performance, but a future patch
will be provided to remove it from the source code.
Change-Id: Ie22069d376cebf2e7d613ba00b6871567f333544
2012-01-24 13:20:38 +01:00
The Android Automerger
70f0e9d86d
merge in ics-release history after reset to master
2012-01-23 06:59:19 -08:00
Jean-Baptiste Queru
f20d59e691
am c83c1da5: am cee8425f: Merge "Move variable declaration on its own line"
...
* commit 'c83c1da54831ef1c9ff59cf9df8d5c0173893ee5':
Move variable declaration on its own line
2012-01-20 17:23:52 -08:00
Jean-Baptiste Queru
c3650d6a4b
am 5b44655f: am 7e6a5773: Merge "Use the AT_SECURE auxv flag to determine whether to enable secure mode."
...
* commit '5b44655f22dd05c7cd8afcd218102616a6f5f4da':
Use the AT_SECURE auxv flag to determine whether to enable secure mode.
2012-01-20 17:23:51 -08:00
Jean-Baptiste Queru
73fa5fdaf9
Merge 2f80f07d
...
Change-Id: Iff51b8530dbee01499ba4af0ecd6ab837c8c94fb
2012-01-20 16:47:01 -08:00
The Android Open Source Project
d8545e2690
am 8eb948d8: Reconcile with ics-mr1-release
...
* commit '8eb948d8c8b66d8442a45d398db4e970fb3bf68b':
2012-01-20 15:52:14 -08:00
Elliott Hughes
4a1f3cb4eb
am dac52ff9: am e8e1efea: Update to tzdata2011n.
...
* commit 'dac52ff9f5591afda2b8c2a3d41aa08d7cab179e':
Update to tzdata2011n.
2012-01-20 15:48:16 -08:00
Jean-Baptiste Queru
c83c1da548
am cee8425f: Merge "Move variable declaration on its own line"
...
* commit 'cee8425f22cfe268614c7bb47b2f5874ac6a0e4b':
Move variable declaration on its own line
2012-01-20 11:54:49 -08:00
Jean-Baptiste Queru
5b44655f22
am 7e6a5773: Merge "Use the AT_SECURE auxv flag to determine whether to enable secure mode."
...
* commit '7e6a5773133e4b65d678535418b1f5d594859da2':
Use the AT_SECURE auxv flag to determine whether to enable secure mode.
2012-01-20 11:54:48 -08:00
Jean-Baptiste Queru
2f80f07d81
am 23f56bbb: Merge "Add extended attribute (xattr) system call wrappers to bionic."
...
* commit '23f56bbb6ae053996dd821f29379aea0c7166055':
Add extended attribute (xattr) system call wrappers to bionic.
2012-01-20 11:54:47 -08:00
Jean-Baptiste Queru
cee8425f22
Merge "Move variable declaration on its own line"
2012-01-20 11:07:41 -08:00
Stephen Smalley
bb44055d0a
Move variable declaration on its own line
...
Change-Id: Ied54ffabccdc867ea4e124a0f0324a217270d6e7
2012-01-20 10:59:15 -08:00
Jean-Baptiste Queru
7e6a577313
Merge "Use the AT_SECURE auxv flag to determine whether to enable secure mode."
2012-01-20 10:43:19 -08:00
Stephen Smalley
861b42a2d8
Use the AT_SECURE auxv flag to determine whether to enable secure mode.
...
The Linux kernel provides an AT_SECURE auxv flag to inform userspace
whether or not a security transition has occurred. This is more reliable
than directly checking the uid/gid against the euid/egid, because it covers
not only setuid/setgid but also file capabilities, SELinux, and AppArmor
security transitions. It is also a more efficient test since it does
not require any additional system calls.
Change-Id: I9752a4f6da452273258d2876d13b05e402fb0409
2012-01-20 13:35:57 -05:00
Jean-Baptiste Queru
23f56bbb6a
Merge "Add extended attribute (xattr) system call wrappers to bionic."
2012-01-20 10:29:22 -08:00
Jeff Brown
3452e301ec
Add new suspend-block input ioctls.
...
Change-Id: I8cfd63d22ecf8e08f261eb576d6ea448f396f709
2012-01-19 14:27:30 -08:00
The Android Open Source Project
8eb948d8c8
Reconcile with ics-mr1-release
...
Change-Id: Iece5fc7cf15320addfda3f143235664e2ef3083d
2012-01-19 13:06:24 -08:00
The Android Automerger
cd24e61e57
merge in ics-release history after reset to master
2012-01-19 06:59:13 -08:00
David 'Digit' Turner
79fcc6948d
Merge "libc: remove private declarations from <time.h> and <resolv.h>"
2012-01-19 04:15:38 -08:00
The Android Automerger
3d11bf0f3f
merge in ics-mr1-release history after reset to ics-mr1
2012-01-18 21:16:26 -08:00
Elliott Hughes
de3c594723
am e8e1efea: Update to tzdata2011n.
...
* commit 'e8e1efeafb8754ea8358e78cfe3d0f7ad4e809b2':
Update to tzdata2011n.
2012-01-18 16:34:28 -08:00
Elliott Hughes
dac52ff9f5
am e8e1efea: Update to tzdata2011n.
...
* commit 'e8e1efeafb8754ea8358e78cfe3d0f7ad4e809b2':
Update to tzdata2011n.
2012-01-18 16:34:01 -08:00
Nick Kralevich
df49ebabfe
Merge "Eliminate duplicate copies of constants."
2012-01-18 08:53:51 -08:00
The Android Automerger
45af9ba7c4
merge in ics-release history after reset to master
2012-01-18 06:59:12 -08:00
Stephen Smalley
5eb686d105
Add extended attribute (xattr) system call wrappers to bionic.
...
The xattr system calls are required for the SE Android userspace in
order to get and set file security contexts. In particular, libselinux
requires these calls.
Change-Id: I78f5eb3d8f3384aed0a5e7c6a6f001781d982017
2012-01-18 08:02:23 -05:00
Jean-Baptiste Queru
5f926c2679
am b00d7a33: am eae1f1fb: Merge "res_send: Avoid spurious close()s and (rare) failure"
...
* commit 'b00d7a331c9f2a578a4cfc4dfe0d626aa58fa702':
res_send: Avoid spurious close()s and (rare) failure
2012-01-17 18:18:29 -08:00
Jean-Baptiste Queru
b00d7a331c
am eae1f1fb: Merge "res_send: Avoid spurious close()s and (rare) failure"
...
* commit 'eae1f1fba33cb105302227b044a14e5abcbe55e7':
res_send: Avoid spurious close()s and (rare) failure
2012-01-17 18:16:10 -08:00
Elliott Hughes
e8e1efeafb
Update to tzdata2011n.
...
There are three changes of note - most urgently, Cuba (America/Havana)
has extended summer time by two weeks, now to end on Nov 13, rather than
the (already past) Oct 30. Second, the Pridnestrovian Moldavian Republic
(Europe/Tiraspol) decided not to split from the rest of Moldova after
all, and consequently that zone has been removed (again) and reinstated
in the "backward" file as a link to Europe/Chisinau. And third, the
end date for Fiji's summer time this summer was moved forward from the
earlier planned Feb 26, to Jan 22.
Apart from that, Moldova (MD) returns to a single entry in zone.tab
(and the incorrect syntax that was in the 2011m version of that file
is so fixed - it would have been fixed in a different way had this
change not happened - that's the "missing" sccs version id).
Bug: 5863692
Change-Id: I78e29c682c623b1dec0b0ea2cb6545713ae9eed0
2012-01-17 17:47:59 -08:00
Nick Kralevich
ea29cd5a4a
Eliminate duplicate copies of constants.
...
sys/personality.h and linux/personality.h contain mostly
identical contents. Eliminate dups.
Change-Id: Ie786edcb5dca57af7ee5b5fdad2949369f1bc4e4
2012-01-17 17:28:42 -08:00
Nick Kralevich
d6045cba4e
Don't generate sys/linux-unistd.h
...
linux-unistd.h was here for reference purposes, but shouldn't
have been accessible to client code. Delete it.
Change-Id: I60c264ff6ca489a48117914bdf6daa486737af8c
2012-01-17 15:56:26 -08:00
Nick Kralevich
fc5ea79c5e
Merge "update personality.h"
2012-01-17 15:46:54 -08:00
Jean-Baptiste Queru
eae1f1fba3
Merge "res_send: Avoid spurious close()s and (rare) failure"
2012-01-17 15:26:18 -08:00
Nick Kralevich
023e5409df
am 06f51ba1: am f44de270: add personality() system call.
...
* commit '06f51ba1af2fafeec7fdfcba5d635bd001a31b3e':
add personality() system call.
2012-01-17 13:09:53 -08:00
Nick Kralevich
b6f40f0027
update personality.h
...
Pull in an updated version of personality.h from the linux
kernel.
This file was generated using the following command:
cd bionic/libc/kernel/
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/personality.h
Change-Id: I860ce21110ebf7e7499fb8165584d296a73aa602
2012-01-17 13:03:11 -08:00
Nick Kralevich
e4cb70aef3
am f44de270: add personality() system call.
...
* commit 'f44de270bba32c9b1b5eff8a34be07b10ddff238':
add personality() system call.
2012-01-17 11:45:42 -08:00
Nick Kralevich
06f51ba1af
am f44de270: add personality() system call.
...
* commit 'f44de270bba32c9b1b5eff8a34be07b10ddff238':
add personality() system call.
2012-01-17 11:45:25 -08:00
The Android Automerger
09670ec2d1
merge in ics-release history after reset to master
2012-01-17 06:59:15 -08:00
Jim Huang
87043f9c89
res_send: Avoid spurious close()s and (rare) failure
...
When looping over the current list of sockets we are connected to,
use getpeername() not getsockname() to find out who the remote
end is. This change avoids spurious close() and (rare) failure.
Origin: ISC bug #18625 and fixed in libbind 6.0
Change-Id: I5e85f9ff4b98c237978e4bf4bd85ba0a90d768e6
2012-01-14 11:30:00 +08:00
Jim Huang
28a7c35fea
execvp: bcopy() is deprecated. Use memcpy() instead
...
The function bcopy() is marked as LEGACY in POSIX.1-2001 and removed in
POSIX.1-2008. memcpy (POSIX.1-2001) is its recommended replacement.
Change-Id: I2cc0cc4673d1368255afd11132ddbfd3f87b530b
2012-01-14 11:22:36 +08:00
The Android Automerger
43828aa3a7
merge in ics-mr1-release history after reset to ics-mr1
2012-01-13 16:16:49 -08:00
Nick Kralevich
f44de270bb
add personality() system call.
...
Change-Id: Ie899def8ea1d705930ed83adae1343c1353e7c57
2012-01-13 15:50:40 -08:00
David 'Digit' Turner
697011d3c4
Merge "libc: Copy private C library declarations to private/"
2012-01-13 14:25:25 -08:00
Glenn Kasten
c61f990566
Fix misspelled Python variable name and typos
...
Typos:
- Update pathname in README.txt
- Fix missing newlines in header update script.
Change-Id: Ib0e053f92a27ff10071b9805fa64e5653ab31b0c
2012-01-13 07:41:20 -08:00
David 'Digit' Turner
208898ee77
libc: remove private declarations from <time.h> and <resolv.h>
...
This patch is used to remove private C library declarations from the
public headers (that are exported to the NDK). It should *only* be
submitted after all other patches modifying the users of said
private functions have been submitted to the tree, to avoid
breakages.
Change-Id: I0a5e3014f8e3ac9ed8df86a5cdae506337c23252
2012-01-13 14:24:08 +01:00
David 'Digit' Turner
11f3d5a431
libc: Copy private C library declarations to private/
...
This patch is the first in a series that aims at cleaning up the
public C library headers (which end up being distributed with the NDK).
<resolv.h> and <time.h> contain declarations that should not be public.
They are used by other parts of the platform, but NDK applications should
not use or rely on them.
So copy them to private <bionic_time.h> and <resolv_iface.h> headers
and use a guard macro to avoid conflicts when both headers are included
at the same time.
The idea is that we're going to fix the other platform modules to
include these private headers. After this is done, we will remove the
duplicate definitions from <resolv.h> and <time.h>
Change-Id: I121c11936951c98ca7165e811126ed8a4a3a394d
2012-01-13 13:26:50 +01:00
Robert Greenwalt
e4ade69654
am 82c4be54: am ecd0e95a: Adding a timeout to tcp dns lookup connects.
...
* commit '82c4be54da0825ebe74b524932c9db733419057a':
Adding a timeout to tcp dns lookup connects.
2012-01-12 15:05:57 -08:00
Robert Greenwalt
a70e3eb15c
am ecd0e95a: Adding a timeout to tcp dns lookup connects.
...
* commit 'ecd0e95a0276c1ba72c7331f5e4617815f015f22':
Adding a timeout to tcp dns lookup connects.
2012-01-12 15:04:09 -08:00
Robert Greenwalt
82c4be54da
am ecd0e95a: Adding a timeout to tcp dns lookup connects.
...
* commit 'ecd0e95a0276c1ba72c7331f5e4617815f015f22':
Adding a timeout to tcp dns lookup connects.
2012-01-12 15:03:52 -08:00
Robert Greenwalt
ecd0e95a02
Adding a timeout to tcp dns lookup connects.
...
TCP isn't supported on some dns servers, which makes the old code
hang forever.
NOT adding a stopship to remove debugging stuff - it was too painful
(14s timeout on failed tcp dns lookups) so we decided not to bother people.
bug:5766949
Change-Id: I381c20c3e11b8e994438d4f7c58ef643cd36554e
2012-01-12 14:26:41 -08:00
The Android Automerger
348eea2dbe
merge in ics-release history after reset to master
2012-01-12 14:11:59 -08:00
David Turner
5977ee02f6
Merge "Execute .preinit_array before any shared object initialization functions."
2012-01-12 01:04:46 -08:00
Evgeniy Stepanov
e83c56dfbb
Execute .preinit_array before any shared object initialization functions.
...
This change makes linker handling of .preinit_array compliant with the
System V ABI:
"These [pre-initialization] functions are executed after the dynamic linker has
built the process image and performed relocations but before any shared object
initialization functions."
http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#init_fini
Change-Id: Iebfee22bb1ebe1d7c7e69cb4686e4ebae0dfc4bb
2012-01-10 13:30:41 +04:00
The Android Automerger
13585da4b4
merge in ics-release history after reset to master
2012-01-09 06:59:16 -08:00
Mathias Agopian
68d03fdbd8
Merge "implement pthread mutex deadlock detection"
2012-01-05 14:05:30 -08:00
The Android Automerger
f40d3e7608
merge in ics-release history after reset to master
2012-01-04 06:59:09 -08:00
Bruce Beare
6519c8124e
am e30e9093: sreadahead: adding readahead system call into bionic libc
...
* commit 'e30e909363c5c706f394050d9cd00ce222caadbf':
sreadahead: adding readahead system call into bionic libc
2012-01-03 18:37:28 -08:00
Bruce Beare
e30e909363
sreadahead: adding readahead system call into bionic libc
...
Add bionic libc to support readahead system call.
This is needed to enable sreadahead to work.
Change-Id: I3856e1a3833db82e6cf42fd34af7631bd40cc723
Author: Winson Yung <winson.w.yung@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2012-01-03 15:18:04 -08:00
The Android Automerger
646ca9f1c9
merge in ics-release history after reset to master
2011-12-21 06:59:12 -08:00
Ken Sumrall
334379dada
Merge "Add the posix_memalign(3) function to bionic"
2011-12-20 15:06:52 -08:00
The Android Automerger
f920b20654
merge in ics-release history after reset to master
2011-12-20 06:59:10 -08:00
Bruce Beare
5936e36f6b
am a37f3729: readdir: fix interface to kernel getdents64 function
...
* commit 'a37f3729730e4e7345977915d67adc3eea93dfe4':
readdir: fix interface to kernel getdents64 function
2011-12-19 11:36:48 -08:00
Bruce Beare
a37f372973
readdir: fix interface to kernel getdents64 function
...
Issue:
The kernel will pad the entry->d_reclen in a getdents64 call to a
long-word boundary. For very long records, this could exceed the
size of a struct dirent. The mismatch in the size was causing error
paranoid checking code in bionic to fail... thus causing an early
"end" when reading the dirent structures from the kernel buffer.
Test:
ls
mkdir abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu
ls
Change-Id: I75d1f8e45e1655fdd7bac4a08a481d086f28073a
Author: Bruce Beare <bruce.j.beare@intel.com >
2011-12-19 09:38:48 -08:00
The Android Automerger
fbc3abcbfc
merge in ics-release history after reset to master
2011-12-15 06:59:15 -08:00
Ken Sumrall
85aad90956
Add the posix_memalign(3) function to bionic
...
The posix_memalign(3) function is very similar to the traditional
memalign(3) function, but with better error reporting and a guarantee
that the memory it allocates can be freed. In bionic, memalign(3)
allocated memory can be freed, so posix_memalign(3) is just a wrapper
around memalign(3).
Change-Id: I62ee908aa5ba6b887d8446a00d8298d080a6a299
2011-12-14 20:55:43 -08:00
David 'Digit' Turner
a5cb76bca0
libc: x86: Use SSE2 or SSSE3 optimized routines when possible.
...
This patch uses the new hardware feature macros for x86 to define
various compile-time macros used to make the C library use
SSE2 and/or SSSE3 optimized memory functions for target CPUs
that support these features.
Note that previously, we relied on the macros being defined by
build/core/combo/TARGET_linux-x86.mk, but this is no longer the
case.
Change-Id: Ieae5ff5284c0c839bc920953fb6b91d2f2633afc
2011-12-14 18:23:40 +01:00
The Android Automerger
3ea9368d92
merge in ics-release history after reset to master
2011-12-14 06:59:15 -08:00
The Android Open Source Project
f6aa779383
am c2d5944e: Reconcile with ics-mr1-release
...
* commit 'c2d5944e19863bb2d831b13893a3bb78e0d53783':
2011-12-13 19:11:25 -08:00
The Android Open Source Project
c2d5944e19
Reconcile with ics-mr1-release
...
Change-Id: I62bace5c4272d043a51d3f0f698556716838aa51
2011-12-13 19:10:03 -08:00
The Android Automerger
caf08f71b8
merge in ics-mr1-release history after reset to ics-mr1
2011-12-13 17:35:59 -08:00
Erik Gilling
ddaa771cd5
am 8d28b043: am 94963af2: update video/dsscomp.h
...
* commit '8d28b043e93d323684add3406ebae6b8fe6475d5':
update video/dsscomp.h
2011-12-13 17:29:12 -08:00
Erik Gilling
24aae1b1d4
am 94963af2: update video/dsscomp.h
...
* commit '94963af28e445384e19775a838a29e6a71708179':
update video/dsscomp.h
2011-12-13 16:03:09 -08:00
Erik Gilling
8d28b043e9
am 94963af2: update video/dsscomp.h
...
* commit '94963af28e445384e19775a838a29e6a71708179':
update video/dsscomp.h
2011-12-13 16:02:50 -08:00
Erik Gilling
94963af28e
update video/dsscomp.h
...
Change-Id: I9da47f7fb7f34f9c4baa860bb767cb8fd4f8020c
Signed-off-by: Erik Gilling <konkers@android.com >
2011-12-13 14:48:51 -08:00
The Android Automerger
55b9099976
merge in ics-release history after reset to master
2011-12-13 06:59:15 -08:00
Bruce Beare
e2bb45a7c0
am f3087c6e: am af96d4da: x86: libc may use the gcc flags from TARGET_linux-x86.mk
...
* commit 'f3087c6e86f54874538669d899d8a2ede59f7433':
x86: libc may use the gcc flags from TARGET_linux-x86.mk
2011-12-12 15:39:04 -08:00
Bruce Beare
cb4d9c0e1d
am 68ec71eb: am 7d03c9cb: pathconf: dead loop in bionic function __2_symlinks
...
* commit '68ec71ebd6df12596dc5688c907c76ea4b32c9b4':
pathconf: dead loop in bionic function __2_symlinks
2011-12-12 15:30:11 -08:00
The Android Open Source Project
e2cb764778
am c14ea96f: Reconcile with ics-mr1-release
...
* commit 'c14ea96f2f4e36f7a3b3d9676df845afb09c2245':
2011-12-12 15:29:53 -08:00
Erik Gilling
61f90d1898
am ffe65783: am bba5c314: update video/dsscomp.h
...
* commit 'ffe65783b4afc3f687a54b582a4e236caa22ed30':
update video/dsscomp.h
2011-12-12 12:34:57 -08:00
Bruce Beare
f3087c6e86
am af96d4da: x86: libc may use the gcc flags from TARGET_linux-x86.mk
...
* commit 'af96d4dadc3f3d8466dbbeaf3a816e6871715fbc':
x86: libc may use the gcc flags from TARGET_linux-x86.mk
2011-12-09 16:19:30 -08:00
Mathias Agopian
7c0c379372
implement pthread mutex deadlock detection
...
this works by building a directed graph of acquired
pthread mutexes and making sure there are no loops in
that graph.
this feature is enabled with:
setprop debug.libc.pthread 1
when a potential deadlock is detected, a large warning is
output to the log with appropriate back traces.
currently disabled at compile-time. set PTHREAD_DEBUG_ENABLED=1
to enable.
Change-Id: I916eed2319599e8aaf8f229d3f18a8ddbec3aa8a
2011-12-09 14:38:57 -08:00
The Android Open Source Project
b7590d784f
am c448c082: Reconcile with ics-mr1-release
...
* commit 'c448c082cf834f95afcfa3296eba2c67780727cf':
2011-12-09 14:25:56 -08:00
Bruce Beare
af96d4dadc
x86: libc may use the gcc flags from TARGET_linux-x86.mk
...
Change-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-12-09 13:54:20 -08:00
Bruce Beare
68ec71ebd6
am 7d03c9cb: pathconf: dead loop in bionic function __2_symlinks
...
* commit '7d03c9cbcedb1dc7e3a8210ac0001120558ec6df':
pathconf: dead loop in bionic function __2_symlinks
2011-12-09 10:19:37 -08:00
The Android Open Source Project
c14ea96f2f
Reconcile with ics-mr1-release
...
Change-Id: I0a43c4d104894fdde4eff9970bc78ed0aeb88ec2
2011-12-09 07:10:40 -08:00
The Android Automerger
132b3adfcc
merge in ics-mr1-release history after reset to ics-mr1
2011-12-08 17:34:07 -08:00
Erik Gilling
cb9e9ccb2b
am bba5c314: update video/dsscomp.h
...
* commit 'bba5c314b2420483e2c0e3e441bf54bda6935bc1':
update video/dsscomp.h
2011-12-08 14:57:32 -08:00
Erik Gilling
ffe65783b4
am bba5c314: update video/dsscomp.h
...
* commit 'bba5c314b2420483e2c0e3e441bf54bda6935bc1':
update video/dsscomp.h
2011-12-08 14:57:00 -08:00
Erik Gilling
bba5c314b2
update video/dsscomp.h
...
Change-Id: Ic5f1c01add1f2adb5a09d05c94129f3dc9cc3f1f
Signed-off-by: Erik Gilling <konkers@android.com >
2011-12-08 14:42:04 -08:00
The Android Open Source Project
c448c082cf
Reconcile with ics-mr1-release
...
Change-Id: Icc9d31cb9a4f379354808a4c7e913685dfa22e80
2011-12-08 10:17:32 -08:00
The Android Automerger
d6da8336b8
merge in ics-release history after reset to master
2011-12-08 06:59:13 -08:00
David 'Digit' Turner
022d303116
libc: optimize pthread mutex lock/unlock operations (1/2)
...
This patch provides several small optimizations to the
implementation of mutex locking and unlocking. Note that
a following patch will get rid of the global recursion
lock, and provide a few more aggressive changes, I
though it'd be simpler to split this change in two parts.
+ New behaviour: pthread_mutex_lock et al now detect
recursive mutex overflows and will return EAGAIN in
this case, as suggested by POSIX. Before, the counter
would just wrap to 0.
- Remove un-necessary reloads of the mutex value from memory
by storing it in a local variable (mvalue)
- Remove un-necessary reload of the mutex value by passing
the 'shared' local variable to _normal_lock / _normal_unlock
- Remove un-necessary reload of the mutex value by using a
new macro (MUTEX_VALUE_OWNER()) to compare the thread id
for recursive/errorcheck mutexes
- Use a common inlined function to increment the counter
of a recursive mutex. Also do not use the global
recursion lock in this case to speed it up.
Change-Id: I106934ec3a8718f8f852ef547f3f0e9d9435c816
2011-12-07 22:09:48 +01:00
David 'Digit' Turner
6c6de44f04
libc: optimize pthread_once() implementation.
...
This patch changes the implementation of pthread_once()
to avoid the use of a single global recursive mutex. This
should also slightly speed up the non-common case where
we have to call the init function, or wait for another
thread to finish the call.
Change-Id: I8a93f4386c56fb89b5d0eb716689c2ce43bdcad9
2011-12-07 22:06:36 +01:00
Bruce Beare
7d03c9cbce
pathconf: dead loop in bionic function __2_symlinks
...
Fix dead loops in file ./bionic/libc/unistd/pathconf.c
Change-Id: I7a1e6bcd9879c96bacfd376b88a1f899793295c8
Author: Jin Wei <wei.a.jin@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-12-07 09:47:20 -08:00
The Android Automerger
6855359e57
merge in ics-release history after reset to master
2011-12-07 06:59:12 -08:00
Rabin Vincent
6e9d51701e
am a73de44b: am 177ba8cb: Prevent deadlock when using fork
...
* commit 'a73de44b7c0a50908ea8afe16134316cfc6cfbbe':
Prevent deadlock when using fork
2011-12-06 16:04:56 -08:00
Rabin Vincent
a73de44b7c
am 177ba8cb: Prevent deadlock when using fork
...
* commit '177ba8cb42ed6d232e7c8bcad5e6ee21fc51a0e8':
Prevent deadlock when using fork
2011-12-06 13:59:56 -08:00
Rabin Vincent
177ba8cb42
Prevent deadlock when using fork
...
When forking of a new process in bionic, it is critical that it
does not allocate any memory according to the comment in
java_lang_ProcessManager.c:
"Note: We cannot malloc() or free() after this point!
A no-longer-running thread may be holding on to the heap lock, and
an attempt to malloc() or free() would result in deadlock."
However, as fork is using standard lib calls when tracing it a bit,
they might allocate memory, and thus causing the deadlock.
This is a rewrite so that the function cpuacct_add, that fork calls,
will use system calls instead of standard lib calls.
Signed-off-by: christian bejram <christian.bejram@stericsson.com >
Change-Id: Iff22ea6b424ce9f9bf0ac8e9c76593f689e0cc86
2011-12-06 08:39:18 -08:00
Jean-Baptiste Queru
c5819d427d
Merge 35765066 from ics-mr1-plus-aosp
...
Change-Id: Ibaeb49dc20f3c736417d5cb68769e7b501a61632
2011-12-06 08:35:08 -08:00
The Android Automerger
04c3d4d709
merge in ics-release history after reset to master
2011-12-06 06:59:14 -08:00
Bruce Beare
6d77a81456
am cb835cd7: am cb1df916: string: Fix wrong comparison semantics
...
* commit 'cb835cd77c8e60b4a9fb8a54a06d4fd4039ae1b0':
string: Fix wrong comparison semantics
2011-12-05 22:13:21 -08:00
Bruce Beare
35765066b9
am e4a21c89: signal: Align the sigset_t size passed to from user space to kernel.
...
* commit 'e4a21c89a8b24b32f7a2637b45522dfa59f2aaa4':
signal: Align the sigset_t size passed to from user space to kernel.
2011-12-05 22:12:08 -08:00
Bruce Beare
cb835cd77c
am cb1df916: string: Fix wrong comparison semantics
...
* commit 'cb1df9161666db2a312814752de67fc623149a9b':
string: Fix wrong comparison semantics
2011-12-05 22:12:07 -08:00
Bruce Beare
e4a21c89a8
signal: Align the sigset_t size passed to from user space to kernel.
...
Pass kernel space sigset_t size to __rt_sigprocmask to workaround
the miss-match of NSIG/sigset_t definition between kernel and bionic.
Note: Patch originally from Google...
Change-Id: I4840fdc56d0b90d7ce2334250f04a84caffcba2a
Signed-off-by: Chenyang Du <chenyang.du@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-12-05 18:37:33 -08:00
Bruce Beare
cb1df91616
string: Fix wrong comparison semantics
...
Chars are signed for x86 -- correct the comparison semantics.
Change-Id: I2049e98eb063c0b4e83ea973d3fcae49c6817dde
Author: Liubov Dmitrieva <liubov.dmitrieva@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-12-05 18:37:10 -08:00
Bruce Beare
aed4a4c90b
am 75039baf: am 89d3fdca: MALLOC_DEBUG: enable the option libc.debug.malloc = 10
...
* commit '75039bafde8e6f03caffa9d6aa7142a09ba50952':
MALLOC_DEBUG: enable the option libc.debug.malloc = 10
2011-12-05 17:02:20 -08:00
Bruce Beare
75039bafde
am 89d3fdca: MALLOC_DEBUG: enable the option libc.debug.malloc = 10
...
* commit '89d3fdcae26980bf81a4622c3c83e48ead4c1c3a':
MALLOC_DEBUG: enable the option libc.debug.malloc = 10
2011-12-05 17:01:13 -08:00
Nick Kralevich
253b763160
get rid of unused "main" function.
...
confuses gdb.
Change-Id: I1c64357ce122fe5a2564ee96bb4caa32b733f6ea
2011-12-05 16:09:30 -08:00
Bruce Beare
89d3fdcae2
MALLOC_DEBUG: enable the option libc.debug.malloc = 10
...
Fix the compile warning to let the libc.debug.malloc=10 works well
Due to unsuitable value comparison, which cause compiler optimize the
code of comparing two digits.
Change-Id: I0bedd596c9ca2ba308fb008da20ecb328d8548f5
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Author: liu chuansheng <chuansheng.liu@intel.com >
2011-12-05 14:58:55 -08:00
The Android Automerger
5e7783097a
merge in ics-release history after reset to master
2011-12-01 06:59:15 -08:00
Jack Ren
bec5dec947
am 0c3d21e6: am e480fc83: bionic: fix pthread_{create, exit}/signal race condition
...
* commit '0c3d21e63c6e75ae73aaf2b8d64af0bd8caa6beb':
bionic: fix pthread_{create, exit}/signal race condition
2011-11-30 10:50:59 -08:00
Jack Ren
338a06f4bc
am 621df526: am 31e72bc3: bionic: fix __get_tls( ) crash issue
...
* commit '621df52644cc19001688c0964ad425c5ed6c8990':
bionic: fix __get_tls( ) crash issue
2011-11-30 10:50:58 -08:00
Zhenghua Wang
0e0bd58631
am 1ad08626: am 897815a1: bionic: add machine type check
...
* commit '1ad08626a143dc684e92f56754c7176cc4914ce8':
bionic: add machine type check
2011-11-30 10:50:57 -08:00
The Android Automerger
d999c93401
merge in ics-release history after reset to master
2011-11-30 06:59:12 -08:00
Jack Ren
0c3d21e63c
am e480fc83: bionic: fix pthread_{create, exit}/signal race condition
...
* commit 'e480fc83b2887388d469eb3bf58c86c610f5b082':
bionic: fix pthread_{create, exit}/signal race condition
2011-11-29 22:42:32 -08:00
Jack Ren
621df52644
am 31e72bc3: bionic: fix __get_tls( ) crash issue
...
* commit '31e72bc3289acdd85b0b745fbf64c5949ca33432':
bionic: fix __get_tls( ) crash issue
2011-11-29 22:42:31 -08:00
Zhenghua Wang
1ad08626a1
am 897815a1: bionic: add machine type check
...
* commit '897815a1feff230be3ea42655a77dcbb9a8dcca9':
bionic: add machine type check
2011-11-29 22:42:30 -08:00
Jack Ren
e480fc83b2
bionic: fix pthread_{create, exit}/signal race condition
...
(1) in pthread_create:
If the one signal is received before esp is subtracted by 16 and
__thread_entry( ) is called, the stack will be cleared by kernel
when it tries to contruct the signal stack frame. That will cause
that __thread_entry will get a wrong tls pointer from the stack
which leads to the segment fault when trying to access tls content.
(2) in pthread_exit
After pthread_exit called system call unmap(), its stack will be
freed. If one signal is received at that time, there is no stack
available for it.
Fixed by subtracting the child's esp by 16 before the clone system
call and by blocking signal handling before pthread_exit is started.
Author: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-11-29 17:09:51 -08:00
Jack Ren
31e72bc328
bionic: fix __get_tls( ) crash issue
...
When running the stress test of pthread create/destroy, a crash may
oocur in __get_tls(). That is caused by the race condition with __set_tls( ):
Author: Jack Ren <jack.ren@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-11-29 17:09:15 -08:00
Zhenghua Wang
897815a1fe
bionic: add machine type check
...
android linker doesn't check machine type, it may load some
libraries which it doesn't support sometimes.
Author: Zhenghua Wang <zhenghua.wang@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-11-29 17:01:08 -08:00
Robert Greenwalt
e796d39d80
Merge "Request both v4 and v6 dns when on secondary net"
2011-11-29 15:48:48 -08:00
Nick Kralevich
495f16cbac
update capabilities.h
...
Pull in an updated version of capabilities.h from the linux
kernel.
This file was generated using the following command:
cd bionic/libc/kernel/
./tools/clean_header.py -u ../../../external/kernel-headers/original/linux/capability.h
Change-Id: I43c8f014954f543858006f24e60a2e69955349da
2011-11-28 13:42:50 -08:00
The Android Automerger
86ad80b6be
merge in ics-release history after reset to master
2011-11-28 12:23:08 -08:00
David 'Digit' Turner
f1a39dce60
libc: Fix typo that broke NDK compatibility.
...
The function must be named __atomic_cmpxchg, not __android_cmpxchg.
This typo broke existing prebuilt binaries (they couldn't be loaded
at runtime anymore).
Change-Id: I25ca7d18329817f0056e616a0409113269ad7b1f
2011-11-23 14:38:36 +01:00
Robert Greenwalt
ca6fe7bebe
Request both v4 and v6 dns when on secondary net
...
We can't easily tell the protocol family of the secondary network,
so try both and trust that the carrier has configured dns servers
according to the protocols supported on its network.
bug:5468224
Change-Id: If4f017573d313a6ad8354574076de6d63d43b444
2011-11-22 15:24:44 -08:00
David 'Digit' Turner
de44d0b2bd
Merge "libc: provide atomic operations will full barriers for NDK apps."
2011-11-22 02:10:06 -08:00
Jeff Brown
95a17848d3
Merge "Add tgkill syscall."
2011-11-21 13:13:26 -08:00
Jeff Brown
10c8ce59a4
Add tgkill syscall.
...
Use tgkill instead of tkill to implement pthread_kill.
This is safer in the event that the thread has already terminated
and its id has been reused by a different process.
Change-Id: Ied715e11d7eadeceead79f33db5e2b5722954ac9
2011-11-18 16:40:48 -08:00
The Android Open Source Project
f638339d09
Reconcile with ics-mr1-release
...
Change-Id: I5bf77ac8b8c77cf7a075c6f0ffa99fa696ce13d3
2011-11-18 15:42:18 -08:00
Nick Kralevich
5f64df4bc3
ASLR: enable pthread stack location randomization
...
Allow the kernel to choose a memory location to put the
thread stack, rather than hard coding 0x10000000
Change-Id: Ib1f37cf0273d4977e8d274fbdab9431ec1b7cb4f
2011-11-18 10:07:12 -08:00
The Android Automerger
71b9eedbea
merge in ics-release history after reset to master
2011-11-17 06:59:15 -08:00
Nick Kralevich
7e2daefe6c
Merge "Make the linker relocatable."
2011-11-16 10:43:56 -08:00
David 'Digit' Turner
0fec6b9d88
libc: provide atomic operations will full barriers for NDK apps.
...
__atomic_cmpxchg and other related atomic operations did not
provide memory barriers, which can be a problem for non-platform
code that links against them when it runs on multi-core devices.
This patch does two things to fix this:
- It modifies the existing implementation of the functions
that are exported by the C library to always provide
full memory barriers. We need to keep them exported by
the C library to prevent breaking existing application
machine code.
- It also modifies <sys/atomics.h> to only export
always-inlined versions of the functions, to ensure that
any application code compiled against the new header will
not rely on the platform version of the functions.
This ensure that said machine code will run properly on
all multi-core devices.
This is based on the GCC built-in sync primitives.
The end result should be only slightly slower than the
previous implementation.
Note that the platform code does not use these functions
at all. A previous patch completely removed their usage in
the pthread and libstdc++ code.
+ rename arch-arm/bionic/atomics_arm.S to futex_arm.S
+ rename arch-x86/bionic/atomics_x86.S to futex_x86.S
+ remove arch-x86/include/sys/atomics.h which already
provided inlined functions to the x86 platform.
Change-Id: I752a594475090cf37fa926bb38209c2175dda539
2011-11-16 17:37:15 +01:00
David 'Digit' Turner
b385229837
Merge "libc: speed-up flockfile()/funlockfile()"
2011-11-16 07:31:31 -08:00
David Turner
90c4c1e82b
Merge "bionic: Do not use <sys/atomics.h> for platform code."
2011-11-16 07:29:59 -08:00
David 'Digit' Turner
e31bfae2ba
bionic: Do not use <sys/atomics.h> for platform code.
...
We're going to modify the __atomic_xxx implementation to provide
full memory barriers, to avoid problems for NDK machine code that
link to these functions.
First step is to remove their usage from our platform code.
We now use inlined versions of the same functions for a slight
performance boost.
+ remove obsolete atomics_x86.c (was never compiled)
NOTE: This improvement was benchmarked on various devices.
Comparing a pthread mutex lock + atomic increment + unlock
we get:
- ARMv7 emulator, running on a 2.4 GHz Xeon:
before: 396 ns after: 288 ns
- x86 emulator in KVM mode on same machine:
before: 27 ns after: 27 ns
- Google Nexus S, in ARMv7 mode (single-core):
before: 82 ns after: 76 ns
- Motorola Xoom, in ARMv7 mode (multi-core):
before: 121 ns after: 120 ns
The code has also been rebuilt in ARMv5TE mode for correctness.
Change-Id: Ic1dc72b173d59b2e7af901dd70d6a72fb2f64b17
2011-11-16 16:28:10 +01:00
The Android Automerger
a938409c0e
merge in ics-release history after reset to master
2011-11-16 06:59:17 -08:00
The Android Automerger
a89c28b091
merge in ics-mr1-release history after reset to ics-mr1
2011-11-16 06:45:21 -08:00
Eino-Ville Talvala
fd7d5acdeb
am 0d9f87a3: Add auto-exposure/auto-white balance lock support to soc2030 image sensor.
...
* commit '0d9f87a3b71057cf804b2d7aa8589e3bf94eab28':
Add auto-exposure/auto-white balance lock support to soc2030 image sensor.
2011-11-15 18:25:18 -08:00
Eino-Ville Talvala
87426ed37a
am 0d9f87a3: Add auto-exposure/auto-white balance lock support to soc2030 image sensor.
...
* commit '0d9f87a3b71057cf804b2d7aa8589e3bf94eab28':
Add auto-exposure/auto-white balance lock support to soc2030 image sensor.
2011-11-15 16:45:26 -08:00
David 'Digit' Turner
8180b08fb2
linker: Fix the computation of si->base
...
The computation of si->base assumed that the first entry in the
program header table is a PT_PHDR. This results in the dynamic
linker crashing with a SIGSEGV/MAPERR when trying to load some
of the NDK unit test programs, which happen to have an EXIDX
header first, followed byu a PHDR one.
This patch fixes the computation by parsing the program header
table, looking explicitely for the PHDR entry. This fixes the
load of the NDK unit test programs, and doesn't affect system
libraries.
Change-Id: Id18ea6037dbe950b5abbbce816c2960321f0b81d
2011-11-15 17:17:28 +01:00
The Android Automerger
2f3309c9e3
merge in ics-release history after reset to master
2011-11-15 06:59:11 -08:00
David 'Digit' Turner
9831ad3ce6
libc: speed-up flockfile()/funlockfile()
...
For Honeycomb, we added proper file thread-safety for
all FILE* operations. However, we did implement that by
using an out-of-band hash table to map FILE* pointers
to phtread_mutex_t mutexes, because we couldn't change
the size of 'struct _sFILE' without breaking the ABI.
It turns out that our BSD-derived code already has
some support code to extend FILE* objects, so use it
instead. See libc/stdio/fileext.h
This patch gets rid of the hash table, and put the
mutex directly into the sFILE extension.
Change-Id: If1c3fe0a0a89da49c568e9a7560b7827737ff4d0
2011-11-15 13:16:42 +01:00
Nick Kralevich
4b469eae40
Merge "generate PIC code."
2011-11-14 15:12:43 -08:00
David 'Digit' Turner
9bf330b567
libc: fix the pthread_sigmask implementation
...
The old code didn't work because the kernel expects a 64-bit sigset_t
while the one provided by our ABI is only 32-bit. This is originally
due to the fact that the kernel headers themselves define sigset_t
as a 32-bit type when __KERNEL__ is not defined (apparently to cater
to libc5 or some similarly old C library).
We can't modify the size of sigset_t without breaking the NDK ABI,
so instead perform runtime translation during the call.
Change-Id: Ibfdc3cbceaff864af7a05ca193aa050047b4773f
2011-11-14 22:57:24 +01:00
Nick Kralevich
468319ce4f
Make the linker relocatable.
...
Previously, the linker always loaded itself into the same
location in memory, which inhibited the effectiveness of Android's
ASLR implementation. Modify the linker code so it can be relocatable
and link itself at runtime.
Change-Id: Ia80273d7a00ff648b4da545f4b69debee6343968
2011-11-11 18:01:53 -08:00
Nick Kralevich
0aa8289c6f
generate PIC code.
...
Change-Id: I6740c30e2782ae203aa7ddaeaf3b233e90de9c4d
2011-11-11 17:28:59 -08:00
The Android Automerger
16e818f90b
merge in ics-release history after reset to master
2011-11-06 06:59:20 -08:00
Nick Kralevich
7939908c83
linker: set LOCAL_NO_CRT := true
...
Use LOCAL_NO_CRT to prevent linking against crtbegin.o, rather than
messing with build rules. This also prevents linking against crtend.o,
which isn't needed for the linker.
Change-Id: I0c5b9999be7e8676560fe145c1c033ffce8db4d1
2011-11-04 10:22:55 -07:00
Nick Kralevich
8e8a7b1f0f
Revert "Make the linker relocatable."
...
This reverts commit 994e9a5ed1 .
Broke x86 build.
2011-11-03 09:25:06 -07:00
Nick Kralevich
994e9a5ed1
Make the linker relocatable.
...
Previously, the linker always loaded itself into the same
location in memory, which inhibited the effectiveness of Android's
ASLR implementation. Modify the linker code so it can be relocatable
and link itself at runtime.
Change-Id: I90d064743abdd29450ac0482ed28752b2196286c
2011-11-02 16:20:06 -07:00
The Android Automerger
9bf1daaaf9
merge in ics-release history after reset to master
2011-11-01 06:59:13 -07:00
Elliott Hughes
29992cf978
Merge "Update to tzdata2011n."
2011-10-31 14:43:50 -07:00
Elliott Hughes
f3dbdbe269
Update to tzdata2011n.
...
There are three changes of note - most urgently, Cuba (America/Havana)
has extended summer time by two weeks, now to end on Nov 13, rather than
the (already past) Oct 30. Second, the Pridnestrovian Moldavian Republic
(Europe/Tiraspol) decided not to split from the rest of Moldova after
all, and consequently that zone has been removed (again) and reinstated
in the "backward" file as a link to Europe/Chisinau. And third, the
end date for Fiji's summer time this summer was moved forward from the
earlier planned Feb 26, to Jan 22.
Apart from that, Moldova (MD) returns to a single entry in zone.tab
(and the incorrect syntax that was in the 2011m version of that file
is so fixed - it would have been fixed in a different way had this
change not happened - that's the "missing" sccs version id).
Change-Id: I7a0fba88d1fc6face649648013aaf2b111c29d7f
2011-10-31 14:11:32 -07:00
The Android Open Source Project
31f0610798
Reconcile with ics-mr1-release
...
Change-Id: Ifc8b7e46968eb77bb47eb85274aa7ab35ed36925
2011-10-31 13:19:03 -07:00
Eino-Ville Talvala
0d9f87a3b7
Add auto-exposure/auto-white balance lock support to soc2030 image
...
sensor.
Bug: 4980604
Change-Id: I1be07a23573b70eeddd9ecb2370605713aea3d03
2011-10-31 11:42:18 -07:00
Ed Heyl
143970a5b0
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)
2011-10-28 19:05:43 +00:00
Ed Heyl
125207c307
undo reset to ics-mr1 until we have a better method
2011-10-26 21:53:16 +00:00
Ed Heyl
c8be370b34
reset to ics-mr1, but keep history
2011-10-26 18:50:08 +00:00
The Android Automerger
98873f6540
merge in ics-release history after reset to master
2011-10-25 07:14:09 -07:00
Elliott Hughes
a5c0d72bfb
am bcb2edac: Update to tzdata2011m.
...
* commit 'bcb2edac654962758c6d7d8d3e0e4cdcb75c89fc':
Update to tzdata2011m.
2011-10-24 11:24:28 -07:00
Elliott Hughes
bcb2edac65
Update to tzdata2011m.
...
Fixes for Europe/Tiraspol (Moldova) and all four Ukrainian zones.
Also show the MD5 of the downloaded data, for comparison against the MD5
given in the announcement mails. (There's a plan to move to proper signing,
but that's not implemented on their end yet.)
Change-Id: I845e6f125c0f54298abadc643adfeca2eff4827a
2011-10-24 10:52:14 -07:00
Nick Kralevich
9ab38c67eb
am d9ad6234: Add linker support for PIE
...
* commit 'd9ad62343c2db6b66a5fa597c9b20a6faabd7a9a':
Add linker support for PIE
2011-10-24 08:45:00 -07:00
Nick Kralevich
d9ad62343c
Add linker support for PIE
...
Modify the dynamic linker so that executables can be loaded
at locations other than 0x00000000.
Modify crtbegin* so that non-PIC compilant "thumb interwork
veneers" are not created by the linker.
Bug: 5323301
Change-Id: Iece0272e2b708c79034f302c20160e1fe9029588
2011-10-22 13:19:23 -07:00
The Android Automerger
d717f5170f
merge in ics-release history after reset to master
2011-10-13 06:59:20 -07:00
Jesse Wilson
c66f220c44
am b0641d4a: Merge "Use ENTRY and EXIT macros for strcmp, memcpy, atexit."
...
* commit 'b0641d4a446fa98c72fd6252e5a5ca7e44c41f1f':
Use ENTRY and EXIT macros for strcmp, memcpy, atexit.
2011-10-12 17:43:06 -07:00
Jesse Wilson
b0641d4a44
Merge "Use ENTRY and EXIT macros for strcmp, memcpy, atexit."
2011-10-12 07:51:53 -07:00
The Android Automerger
df331f5f9b
merge in ics-release history after reset to master
2011-10-11 05:32:11 -07:00
Evgeniy Stepanov
487b613e57
Use ENTRY and EXIT macros for strcmp, memcpy, atexit.
...
Without this change strcmp size is zero (not set), and it gets
ignored by Valgrind. Changes to memcpy and atexit don't affect the
generated binary in any way.
Change-Id: I05818cb5951f75901dc8c0eef02807a2e83a9231
2011-10-11 12:12:05 +04:00
Elliott Hughes
f5c6dc8b7c
am faa7c1d2: Update to tzdata2011l.
...
* commit 'faa7c1d29f9ed0b3eb252bb0bd43e7596eed5d9c':
Update to tzdata2011l.
2011-10-10 14:51:37 -07:00
Elliott Hughes
faa7c1d29f
Update to tzdata2011l.
...
This affects Asia/Hebron and Pacific/Fiji (and historical data for
America/Sitka).
Change-Id: I111a34038e44416f1900f774bdb78750e815eb5f
2011-10-10 14:05:53 -07:00
The Android Automerger
bf8f6bb820
merge in ics-release history after reset to master
2011-09-30 06:44:15 -07:00
David 'Digit' Turner
b7001bce52
am 0a1b306f: am 32ca348e: am ce0d646c: resolved conflicts for merge of 6cda7b62 to gingerbread-plus-aosp
...
* commit '0a1b306fe1e86b4d218506d2d3d3e72df8f795ba':
Bionic: x86: Fix libm macro definitions
2011-09-30 05:46:33 -07:00
David 'Digit' Turner
0a1b306fe1
am 32ca348e: am ce0d646c: resolved conflicts for merge of 6cda7b62 to gingerbread-plus-aosp
...
* commit '32ca348eecb114b9b2a9393f178c82310f590ddb':
Bionic: x86: Fix libm macro definitions
2011-09-29 21:09:08 -07:00
David 'Digit' Turner
32ca348eec
am ce0d646c: resolved conflicts for merge of 6cda7b62 to gingerbread-plus-aosp
...
* commit 'ce0d646cc0beb6b44d5429d01e51d00005264f44':
Bionic: x86: Fix libm macro definitions
2011-09-29 21:03:00 -07:00
David 'Digit' Turner
ce0d646cc0
resolved conflicts for merge of 6cda7b62 to gingerbread-plus-aosp
...
Change-Id: I85bd5291c2a9cd29bff538b6d5a4dcd73f85a1fd
2011-09-30 05:56:51 +02:00
Lorenzo Colitti
74cf48f0c1
am 229ab1a3: Merge "Send both A and AAAA queries if all probes fail."
...
* commit '229ab1a33ea79fcea42302fbe9680a6c1047325f':
Send both A and AAAA queries if all probes fail.
2011-09-29 10:53:51 -07:00
Lorenzo Colitti
b99c197b27
am 4638822f: Merge "Revert "Use framework hints to determine dns query type.""
...
* commit '4638822fc07aae8cc08600c85c16183ed8d5ef79':
Revert "Use framework hints to determine dns query type."
2011-09-29 10:53:50 -07:00
Lorenzo Colitti
229ab1a33e
Merge "Send both A and AAAA queries if all probes fail."
2011-09-29 10:52:23 -07:00
Lorenzo Colitti
4638822fc0
Merge "Revert "Use framework hints to determine dns query type.""
2011-09-29 10:52:16 -07:00
Bruce Beare
6cda7b6249
Bionic: x86: Fix libm macro definitions
...
http://code.google.com/p/android/issues/detail?id=19276
GCC would remove inline asm due to lack of knowledge
of FPU register changes.
Change-Id: I9f9e8623fa6580843b7cd8178439ace8c2db2d51
Signed-off-by: Mark D Horn <mark.d.horn@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Author: Jingwei Zhang <jingwei.zhang@intel.com >
2011-09-29 17:35:33 +02:00
Lorenzo Colitti
f432de2de7
Send both A and AAAA queries if all probes fail.
...
AI_ADDRCONFIG is currently implemented by trying to connect
to well-known addresses in order to see if IPv4 and/or IPv6
connectivity is available.
In some cases (e.g., walled gardens with no global
connectivity) both probes can fail. If this happens,
query for both IPv4 and IPv6 addresses instead of doing
nothing and failing the query.
Bug: 5284168
Change-Id: I4e3a69ea86fb6d839a6bd31236b98da81e5cbf45
2011-09-28 22:38:08 -07:00
Lorenzo Colitti
b82532d11a
Revert "Use framework hints to determine dns query type."
...
Change Ife82a8d8 broke IPv6 on wifi. Change I4e3a69ea is
an alternate approach that does not require any framework
changes.
Bug: 5284168
Change-Id: Ib52614be3875a2ae2eaedd1be265f90e506eda41
2011-09-28 22:37:41 -07:00
The Android Automerger
cd17f88010
merge in ics-release history after reset to master
2011-09-28 17:56:54 -07:00
Mathias Agopian
451159035a
am bda5da07: fix prototype of dladdr
...
* commit 'bda5da074eab4bdf374e1f4a19d480c62c72f5ff':
fix prototype of dladdr
2011-09-28 15:18:12 -07:00
Mathias Agopian
bda5da074e
fix prototype of dladdr
...
this breaks C++ source code in particular.
Change-Id: Ie06b5d31d23b5455e6950c470adc64dd5e7784df
2011-09-28 12:17:34 -07:00
The Android Automerger
c902908999
merge in ics-release history after reset to master
2011-09-27 06:59:11 -07:00
Elliott Hughes
3abc9d98c9
am 00964912: Update to tzdata2011k.
...
* commit '00964912745f0bb7e081f84ddcc74940f973149f':
Update to tzdata2011k.
2011-09-26 11:23:50 -07:00
Elliott Hughes
0096491274
Update to tzdata2011k.
...
Affects Palestine, Gaza, Hebron, Belarus, Ukraine, and "Russia".
Change-Id: Ib17f848c3b0e86d0bfcf289c4c4a3ae53dd2f8c4
2011-09-26 10:53:50 -07:00
The Android Automerger
0c7245213d
merge in ics-release history after reset to master
2011-09-25 06:59:15 -07:00
Robert Greenwalt
3ec1bd2c7a
am 924c8785: am 8af58f0f: Use framework hints to determine dns query type.
...
* commit '924c8785f0b0822ab23a8a8917d312b7c5f63243':
Use framework hints to determine dns query type.
2011-09-22 23:44:57 -07:00
Robert Greenwalt
924c8785f0
am 8af58f0f: Use framework hints to determine dns query type.
...
* commit '8af58f0fd4ff3fb11cb8a3c61e4654e3633906a4':
Use framework hints to determine dns query type.
2011-09-22 23:39:54 -07:00
Robert Greenwalt
8af58f0fd4
Use framework hints to determine dns query type.
...
Instead of checking for IPv4 or IPv6 connectivity, try using pid-specific
hints the framework has left for us.
bug:5284168
Change-Id: Id64d48db3900865a7d58ada8309870c63d6eab12
2011-09-22 11:43:06 -07:00
The Android Automerger
d98f3e9f71
merge in ics-release history after reset to master
2011-09-18 06:59:17 -07:00
JP Abgrall
26bee12899
am 77160041: am 3884bfe9: libc: popen: work around data corruption
...
* commit '771600415f41b9075b83dcf1e5395d2292ea05b2':
libc: popen: work around data corruption
2011-09-17 16:33:55 -07:00
JP Abgrall
771600415f
am 3884bfe9: libc: popen: work around data corruption
...
* commit '3884bfe9661955543ce203c60f9225bbdf33f6bb':
libc: popen: work around data corruption
2011-09-17 16:32:00 -07:00
JP Abgrall
3884bfe966
libc: popen: work around data corruption
...
vfork() would not save the registers that the parent would expect
to have restored after execl() completed.
Specially that execl() would call execve() underneath, further messing
up the stack of the parent.
To avoid that, we fork() for now. Later we will revisit and cleanup
vfork()+execve() to actually have vfork() store all the register
that the parent expects to see, and not those left by execve().
In the original code, looking at the registers just before the call to
popen(), and after the call showed that r7 would get clobbered.
This would leave the caller with an invalid pointer, leading to all
kinds of data corruptions.
execve() is simpler that execl() in this case.
Bug: 5336252
Change-Id: I3bf718c0bb4c0439f6f2753f153cdea14175be9c
2011-09-17 15:22:21 -07:00
Glenn Kasten
370bbc5dea
am d53cae0e: Add non-NDK internal API __pthread_gettid
...
* commit 'd53cae0e45dafdb3a83ccc3675051c0aee532111':
Add non-NDK internal API __pthread_gettid
2011-09-16 14:45:24 -07:00
Glenn Kasten
d53cae0e45
Add non-NDK internal API __pthread_gettid
...
Tracking bugs 5267571 and 5090073 (for deadlock detection logs).
Change-Id: Icb90f91ec1525607551c2234ef921bf88296484f
2011-09-16 12:38:28 -07:00
The Android Automerger
6e47ab1345
merge in ics-release history after reset to master
2011-09-15 06:33:15 -07:00
Erik Gilling
d0e629a68e
am b8ef90d6: update linux/fb.h
...
* commit 'b8ef90d67950c5d4e04f95c30e164e924f41f70a':
update linux/fb.h
2011-09-14 12:08:54 -07:00
Erik Gilling
b8ef90d679
update linux/fb.h
...
Change-Id: Ib00343e3b6f95eaf3d347d4b8b9df950d0686e70
Signed-off-by: Erik Gilling <konkers@android.com >
2011-09-14 11:20:23 -07:00
The Android Automerger
ae25dc08c1
merge in ics-release history after reset to master
2011-09-13 06:33:13 -07:00
Elliott Hughes
268bec521c
am 5da3ed17: Merge "Update to tzdata2011j."
...
* commit '5da3ed177c52cdd8344b86f9b95b08b6aa473210':
Update to tzdata2011j.
2011-09-12 11:22:57 -07:00
Elliott Hughes
5da3ed177c
Merge "Update to tzdata2011j."
2011-09-12 11:19:51 -07:00
Elliott Hughes
6ea19d7815
Update to tzdata2011j.
...
Affects Samoa, Kenya, Uganda, and Tanzania.
Change-Id: Ibee638d415d4f0389ff27ea1c9c481543e181f1f
2011-09-12 10:28:11 -07:00
Erik Gilling
6ce10804d5
update kernel video/dsscomp.h
...
Change-Id: Ifc4f96e3a9c3435c0b0ee80ac9da295b4e9463a1
Signed-off-by: Erik Gilling <konkers@android.com >
2011-09-07 17:49:09 -07:00
Erik Gilling
fa6128ad17
am 763230ae: update kernel video/dsscomp.h
...
* commit '763230ae5509da3ec83cde5bf6ce54dd728a0adf':
update kernel video/dsscomp.h
2011-09-07 12:55:18 -07:00
Erik Gilling
763230ae55
update kernel video/dsscomp.h
...
Change-Id: Ifc4f96e3a9c3435c0b0ee80ac9da295b4e9463a1
Signed-off-by: Erik Gilling <konkers@android.com >
2011-09-07 12:53:22 -07:00
The Android Automerger
81a6894b0a
merge in ics-release history after reset to master
2011-09-05 06:33:11 -07:00
Robert Greenwalt
2d461c7c00
am 7f84da69: Add some logging of dns cache operations
...
* commit '7f84da69f86ed9daf610c8d1129392ba3f7c4405':
Add some logging of dns cache operations
2011-09-02 13:03:41 -07:00
Robert Greenwalt
7f84da69f8
Add some logging of dns cache operations
...
Added info about what entries are getting flushed due to ttl or size limits.
Change-Id: I69fb70ce23b5b820f5f1a5738c0f1aa57b6a1127
2011-09-02 07:44:36 -07:00
The Android Automerger
94387eae69
merge in ics-release history after reset to master
2011-08-31 06:33:08 -07:00
The Android Automerger
918ad3ecfd
merge in ics-release history after reset to master
2011-08-30 13:42:36 -07:00
The Android Automerger
fd3fc8bd27
merge in ics-release history after reset to master
2011-08-30 12:45:01 -07:00
David 'Digit' Turner
b0d9c83041
am 96e5facc: am 91966c30: am 0acdbe08: am 89ea107d: Merge "linker: allow debugging of constructors"
...
* commit '96e5faccdc5616bb6d4a55d50a0e6148f99d943b':
linker: allow debugging of constructors
2011-08-30 09:52:46 -07:00
David 'Digit' Turner
a0223a888f
am 09b36dc7: am 35aebd36: am c7f5c8e2: am 0f7d9df1: Merge "libc: fix typo in kernel helper script"
...
* commit '09b36dc7a939c68b519fc0f46d6dad25c5f7637c':
libc: fix typo in kernel helper script
2011-08-30 09:52:44 -07:00
David 'Digit' Turner
96e5faccdc
am 91966c30: am 0acdbe08: am 89ea107d: Merge "linker: allow debugging of constructors"
...
* commit '91966c30efbdc7feecd6c45a46ab488e715c0a35':
linker: allow debugging of constructors
2011-08-30 09:50:54 -07:00
David 'Digit' Turner
09b36dc7a9
am 35aebd36: am c7f5c8e2: am 0f7d9df1: Merge "libc: fix typo in kernel helper script"
...
* commit '35aebd36c771f32656996b02595fad8953f29916':
libc: fix typo in kernel helper script
2011-08-30 09:50:52 -07:00
David 'Digit' Turner
91966c30ef
am 0acdbe08: am 89ea107d: Merge "linker: allow debugging of constructors"
...
* commit '0acdbe0892105d01a38de9baf4e34eef22b8259c':
linker: allow debugging of constructors
2011-08-29 18:01:05 -07:00
David 'Digit' Turner
35aebd36c7
am c7f5c8e2: am 0f7d9df1: Merge "libc: fix typo in kernel helper script"
...
* commit 'c7f5c8e2703c1dbeabe54d408b8819f97ef623f3':
libc: fix typo in kernel helper script
2011-08-29 18:01:04 -07:00
David 'Digit' Turner
0acdbe0892
am 89ea107d: Merge "linker: allow debugging of constructors"
...
* commit '89ea107de51baaccb7ada150d1192b80c6faa642':
linker: allow debugging of constructors
2011-08-29 17:57:59 -07:00
David 'Digit' Turner
c7f5c8e270
am 0f7d9df1: Merge "libc: fix typo in kernel helper script"
...
* commit '0f7d9df17f2f5a355b1b799a70219c18587482a6':
libc: fix typo in kernel helper script
2011-08-29 17:57:57 -07:00
Nick Kralevich
3b242f82b5
am 38bccb27: linker.h: don\'t change the soinfo structure
...
* commit '38bccb271f121fc06eaa0d8fbd3c982bc44c36b7':
linker.h: don't change the soinfo structure
2011-08-29 16:33:46 -07:00
Nick Kralevich
38bccb271f
linker.h: don't change the soinfo structure
...
In 48527c3f74 , we modified the soinfo
structure to remove an unnecessary variable. However, third party
programs seem to be relying on the structure not changing.
Add a dummy variable back into place to preserve structure.
Bug: 5064106
Change-Id: I3014dda1a46e624644b09e156c3e9381ba3729bd
2011-08-29 13:52:18 -07:00
Elliott Hughes
999f7711cd
am b0bbbff6: Update to tzdata2011i.
...
* commit 'b0bbbff6060b382d2c4607f026e182adb67d0cc0':
Update to tzdata2011i.
2011-08-29 09:19:49 -07:00
Elliott Hughes
b0bbbff606
Update to tzdata2011i.
...
Affects South Sudan (Africa/Juba), Samoa, Europe/Kalingrad, Newfoundland,
America/Resolute, Metlakatla, America/Honolulu, America/Goose_Bay and
America/St_Johns.
Change-Id: I8e60a7c7ba5ab71eedcc66937443a9e6993accd6
2011-08-29 08:58:09 -07:00
David 'Digit' Turner
89ea107de5
Merge "linker: allow debugging of constructors"
2011-08-29 04:33:07 -07:00
David 'Digit' Turner
0f7d9df17f
Merge "libc: fix typo in kernel helper script"
2011-08-28 00:33:42 -07:00
David 'Digit' Turner
669c823f05
libc: fix typo in kernel helper script
...
Change-Id: I3b75b1323cf7a48cb839dede1552f24711847335
2011-08-27 18:32:19 +02:00
David 'Digit' Turner
e5ea45547e
linker: allow debugging of constructors
...
This patch allows the debugging of constructors in shared
libraries and executables. It does so by ensuring that the
corresponding binary is visible to gdb before running the
constructors.
Change-Id: I0a3df726a04ad109944c834dcbba672b85d3991e
2011-08-27 10:21:01 +02:00
Erik Gilling
7a796df91d
am 4f346524: Merge "update video/dsscomp.h"
...
* commit '4f3465240a9f0a7ba913188acb048483aef9d6b9':
update video/dsscomp.h
2011-08-25 13:09:49 -07:00
Mike Lockwood
39ac5c2714
am 0b33d998: Add linux/leds-an30259a.h
...
* commit '0b33d9982e68991efb5035d126516391113b0baa':
Add linux/leds-an30259a.h
2011-08-25 13:07:25 -07:00
Erik Gilling
4f3465240a
Merge "update video/dsscomp.h"
2011-08-24 15:01:13 -07:00
Erik Gilling
9749753889
update video/dsscomp.h
...
Change-Id: If4bd1d751b30ad2e65c0bd83caba436334949463
Signed-off-by: Erik Gilling <konkers@android.com >
2011-08-24 13:33:13 -07:00
Mike Lockwood
0b33d9982e
Add linux/leds-an30259a.h
...
Change-Id: I9144b58bdc522d6ec22466adc459a40be648592f
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-08-23 10:29:30 -04:00
David 'Digit' Turner
19726f59d7
am 58246b70: libc: Add __aeabi_f2uiz to libgcc_compat.c
...
* commit '58246b7067b4e1a0b3ce48ccd94331f6fd8fa7cc':
libc: Add __aeabi_f2uiz to libgcc_compat.c
2011-08-22 10:58:08 -07:00
David 'Digit' Turner
58246b7067
libc: Add __aeabi_f2uiz to libgcc_compat.c
...
This patch ensure that __aeabi_f2uiz is embedded in our C library.
This is needed to avoid breaking certain applications when they are
loaded in ICS. It is likely that the issue is due to mis-linked
binaries generated with the stand-alone toolchain (the problem
should not exist if you use ndk-build), but this fix is easier
than asking all app developers to fix their custom build system.
If you want more technical details, read the comments inside
libgcc_compat.c
Change-Id: I59ac1fc781ecb70b90b5573c5a3c67560ca8f270
2011-08-22 19:53:10 +02:00
Jing Yu
d3f2d49f3a
am d50225ad: Disable sincos optimization for sincos calls.
...
* commit 'd50225ad20b4510892dc5f2306b64f04bab6e711':
Disable sincos optimization for sincos calls.
2011-08-17 15:18:52 -07:00
Jing Yu
d50225ad20
Disable sincos optimization for sincos calls.
...
sincos() functions would be turned into infinite calls to
itself if sincos optimization is applied to itself. See
gcc bugzilla http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46926
arm-linux-androideabi-4.4.3 toolchain does not have this problem
because sincos optimization is entirely disabled. Starting
from arm-linux-androideabi-4.6 toolchain, we enable sincos optimization
in gcc.
This patch simply enforce -O0 on this function to minimize the
change.
Change-Id: I0fc00b5f1dd71c0a024943bdedfed29b0d195e82
2011-08-17 10:29:41 -07:00
David Turner
68990d19e4
am 6dcf0d73: am 3dc94305: am 17a40ffb: am c57fd963: Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"
...
* commit '6dcf0d73a69e01a9ef1d4d2f1e61cd114c0851a5':
NDK: x86 header file has incorrect definition for ptrdiff_t
2011-08-09 13:39:42 -07:00
David Turner
9ac3e4377f
am 3afafd46: am 951e8381: am 3906a9c1: am f5aa1382: Merge "x86 libc: Fix the range to check the error"
...
* commit '3afafd46f3e0c820e3d0a1b13cceddbeea1b5966':
x86 libc: Fix the range to check the error
2011-08-09 13:39:40 -07:00
David Turner
6dcf0d73a6
am 3dc94305: am 17a40ffb: am c57fd963: Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"
...
* commit '3dc94305e4eb243747248b43954c499ddc96638d':
NDK: x86 header file has incorrect definition for ptrdiff_t
2011-08-09 13:37:30 -07:00
David Turner
3afafd46f3
am 951e8381: am 3906a9c1: am f5aa1382: Merge "x86 libc: Fix the range to check the error"
...
* commit '951e8381916464243c7601fdb41e941811aa3773':
x86 libc: Fix the range to check the error
2011-08-09 13:37:21 -07:00
Andy McFadden
af60b29097
am 8363448f: Merge "Log signal info at time of receipt"
...
* commit '8363448fb594707e1d1bb5664963c549890dc84d':
Log signal info at time of receipt
2011-08-05 15:05:36 -07:00
Andy McFadden
8363448fb5
Merge "Log signal info at time of receipt"
2011-08-05 15:02:50 -07:00
David Turner
3dc94305e4
am 17a40ffb: am c57fd963: Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"
...
* commit '17a40ffbf0e12ee44a024a9bb37434388478b478':
NDK: x86 header file has incorrect definition for ptrdiff_t
2011-08-05 09:42:57 -07:00
David Turner
17a40ffbf0
am c57fd963: Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"
...
* commit 'c57fd963817afa8894af49d6c98a80d8f9100937':
NDK: x86 header file has incorrect definition for ptrdiff_t
2011-08-05 09:41:22 -07:00
David Turner
c57fd96381
Merge "NDK: x86 header file has incorrect definition for ptrdiff_t"
2011-08-05 09:23:29 -07:00
Mark D Horn
c3c0e88bed
NDK: x86 header file has incorrect definition for ptrdiff_t
...
See Bug http://code.google.com/p/android/issues/detail?id=19042
Change-Id: I8e975930e7f8c3c437ecdffbc6f6bc5028937829
Signed-off-by: Mark D Horn <mark.d.horn@intel.com >
2011-08-05 08:34:17 -07:00
David Turner
951e838191
am 3906a9c1: am f5aa1382: Merge "x86 libc: Fix the range to check the error"
...
* commit '3906a9c16b971c2689e1b8ae5455feec8cf7353c':
x86 libc: Fix the range to check the error
2011-08-05 08:25:35 -07:00
David Turner
3906a9c16b
am f5aa1382: Merge "x86 libc: Fix the range to check the error"
...
* commit 'f5aa1382ec7592c58827ed0822c77cb5bf8df165':
x86 libc: Fix the range to check the error
2011-08-05 08:24:22 -07:00
David Turner
f5aa1382ec
Merge "x86 libc: Fix the range to check the error"
2011-08-05 08:08:57 -07:00
Iliyan Malchev
fadfe40155
am 5598077d: bionic: update sanitized kernel header dsscomp.h
...
* commit '5598077d35f349a88549c6d4fe27458c9577edc9':
bionic: update sanitized kernel header dsscomp.h
2011-08-04 17:18:08 -07:00
Iliyan Malchev
5598077d35
bionic: update sanitized kernel header dsscomp.h
...
Change-Id: I3d52beb97efd23000b76131b6049978546571754
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-08-04 17:10:53 -07:00
Andy McFadden
ec92af8fe5
Log signal info at time of receipt
...
When a fatal signal is received, we now write a message to the log
that looks like this:
F/libc ( 1540): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
This is useful for debugging fatal signals that turn out not to be
fatal. This also changes the signal reset from SIG_IGN to SIG_DFL,
so that future non-fatal fatal signals are fatal.
The code that blocked SIGUSR1 to avoid being interrupted by the GC
has been removed.
Also, fix minor issues in format_buffer().
Bug 5035703
Change-Id: I8940af47297b5dcf3cf33537e3483ca5334ed565
2011-08-04 14:48:15 -07:00
David 'Digit' Turner
dda5d14a6b
am 83eb46c5: am a64990f3: am f03fb955: am 023c4988: Merge "libc: x86: Fixed size_t definition."
...
* commit '83eb46c59df8f54d7b73aaf67c8110aecfa25009':
libc: x86: Fixed size_t definition.
2011-08-04 11:19:39 -07:00
David 'Digit' Turner
83eb46c59d
am a64990f3: am f03fb955: am 023c4988: Merge "libc: x86: Fixed size_t definition."
...
* commit 'a64990f3f25c45fcfe79b9b71cf54d7045af0e4f':
libc: x86: Fixed size_t definition.
2011-08-04 11:17:11 -07:00
David 'Digit' Turner
a64990f3f2
am f03fb955: am 023c4988: Merge "libc: x86: Fixed size_t definition."
...
* commit 'f03fb955a92bdcc341aaa1b4a6eb2d81bc844e06':
libc: x86: Fixed size_t definition.
2011-08-04 11:13:10 -07:00
David 'Digit' Turner
f03fb955a9
am 023c4988: Merge "libc: x86: Fixed size_t definition."
...
* commit '023c49882e247bd0345946c908cff231ebf7097e':
libc: x86: Fixed size_t definition.
2011-08-04 11:09:34 -07:00
David 'Digit' Turner
023c49882e
Merge "libc: x86: Fixed size_t definition."
2011-08-04 11:01:13 -07:00
David 'Digit' Turner
d265046dcc
libc: x86: Fixed size_t definition.
...
This patch changes the declaration of size_t on x86 targets
to test for the __ANDROID__ macro, instead of ANDROID
__ANDROID__ should be a builting toolchain macro, while ANDROID
is usually added manually during the build.
Testing against __ANDROID__ allows us to use the header when
using the NDK's standalone x86 toolchain.
This is related to http://code.google.com/p/android/issues/detail?id=19011
The bug was already fixed in the NDK platform headers, this simply updates
the C library one accordingly.
Change-Id: Ie038c4c8b37b7d24e2e4ae4d7a63371b69c9a51e
2011-08-04 14:07:00 +02:00
Iliyan Malchev
2abf4606f9
am 3a5d668e: bionic: add clean kernel header dsscomp.h
...
* commit '3a5d668e012eb27c33ecea7159d24209d45c5baa':
bionic: add clean kernel header dsscomp.h
2011-08-03 21:03:50 -07:00
Iliyan Malchev
3a5d668e01
bionic: add clean kernel header dsscomp.h
...
Change-Id: I09a98d0abe8ff4f92058f90ffb80ddc19ccee076
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-08-03 20:59:19 -07:00
Iliyan Malchev
a11bb504ec
am 7b79d1ed: bionic: add processed kernel header rpmsg_omx.h
...
* commit '7b79d1ed88158ca43e2c307f4d9801280d4a8849':
bionic: add processed kernel header rpmsg_omx.h
2011-08-03 18:11:18 -07:00
Iliyan Malchev
7b79d1ed88
bionic: add processed kernel header rpmsg_omx.h
...
Change-Id: Id07ad37dd464d859cebdf72b68e6fb16d5e91c0f
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-08-03 18:08:35 -07:00
David Turner
d34ff3cb96
am ae3c9783: am bc9d1fe7: am 4685acbd: am 9efda5b7: Merge "typo in libc/stdio/wcio.h"
...
* commit 'ae3c9783f286f07e794fb67a458b0c9dc2becc29':
typo in libc/stdio/wcio.h
2011-08-03 17:45:26 -07:00
David Turner
ae3c9783f2
am bc9d1fe7: am 4685acbd: am 9efda5b7: Merge "typo in libc/stdio/wcio.h"
...
* commit 'bc9d1fe7c467d861a2b7c1deafca5589c1bc309e':
typo in libc/stdio/wcio.h
2011-08-03 17:42:41 -07:00
David Turner
bc9d1fe7c4
am 4685acbd: am 9efda5b7: Merge "typo in libc/stdio/wcio.h"
...
* commit '4685acbdd45c44e2e21c74242953bee5198209f9':
typo in libc/stdio/wcio.h
2011-08-03 08:16:37 -07:00
David Turner
4685acbdd4
am 9efda5b7: Merge "typo in libc/stdio/wcio.h"
...
* commit '9efda5b7d0a2e8d9dc7495680d66085dc0e151f3':
typo in libc/stdio/wcio.h
2011-08-03 08:14:52 -07:00
David Turner
9efda5b7d0
Merge "typo in libc/stdio/wcio.h"
2011-08-03 08:10:29 -07:00
Robert Greenwalt
a4f633ff2a
am 5a09973f: am 663e0579: am dfec555c: am bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
...
* commit '5a09973fa51aec83f934c95bf7b0b35ae4b3a017':
Don't call freeaddrinfo with a NULL ptr.
2011-07-29 12:32:33 -07:00
Robert Greenwalt
5a09973fa5
am 663e0579: am dfec555c: am bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
...
* commit '663e05797f9bb2463217055a2510063ea7977379':
Don't call freeaddrinfo with a NULL ptr.
2011-07-29 12:30:33 -07:00
Robert Greenwalt
663e05797f
am dfec555c: am bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
...
* commit 'dfec555c7f1c25f42be209e9027ee47eabe0a7a4':
Don't call freeaddrinfo with a NULL ptr.
2011-07-29 11:27:00 -07:00
Robert Greenwalt
dfec555c7f
am bcf861f2: Merge "Don\'t call freeaddrinfo with a NULL ptr."
...
* commit 'bcf861f246bb06ebba2c070af5b3222c5254970d':
Don't call freeaddrinfo with a NULL ptr.
2011-07-29 10:15:21 -07:00
Robert Greenwalt
bcf861f246
Merge "Don't call freeaddrinfo with a NULL ptr."
2011-07-29 10:00:39 -07:00
Robert Greenwalt
92425f097d
Don't call freeaddrinfo with a NULL ptr.
...
bug:5067055
Change-Id: I863dc4760a0aa449ac6298397ed571d8d9287801
2011-07-28 17:21:17 -07:00
JP Abgrall
c8b9ba7d41
am 0ade879a: (-s ours) am 4e5f0d41: (-s ours) am 821bea02: Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
...
* commit '0ade879a502ac4a0c2da80a7f5e456cddef4fefd':
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
2011-07-27 09:25:52 -07:00
JP Abgrall
88f6fa70d7
am 26619dfb: (-s ours) am cec4e990: (-s ours) am 30517a93: Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
...
* commit '26619dfbb8c1f470407745837818b2654eb6a28f':
DO NOT MERGE: Update netlink-related kernel includes
2011-07-27 09:25:50 -07:00
JP Abgrall
0ade879a50
am 4e5f0d41: (-s ours) am 821bea02: Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
...
* commit '4e5f0d41f6e239730bbd70b9a8512949bdfe01d9':
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
2011-07-27 09:24:36 -07:00
JP Abgrall
26619dfbb8
am cec4e990: (-s ours) am 30517a93: Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
...
* commit 'cec4e990d8f5cbf65f1f2a40b771ec476fb7914d':
DO NOT MERGE: Update netlink-related kernel includes
2011-07-27 09:24:34 -07:00
Robert Greenwalt
18126667b7
am 0cb2d467: resolved conflicts for merge of 9363d912 to honeycomb-plus-aosp
...
* commit '0cb2d467de28ae60a375404b08ae9a83aaa9305a':
2011-07-27 09:22:56 -07:00
JP Abgrall
4e5f0d41f6
am 821bea02: Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
...
* commit '821bea0266810e546a842582b0e29a9bfd5223d9':
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
2011-07-27 09:20:51 -07:00
JP Abgrall
cec4e990d8
am 30517a93: Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
...
* commit '30517a9344a8ac06b6962bfb24bb33463767307e':
DO NOT MERGE: Update netlink-related kernel includes
2011-07-27 09:20:50 -07:00
Robert Greenwalt
0cb2d467de
resolved conflicts for merge of 9363d912 to honeycomb-plus-aosp
...
Change-Id: Ib0680d7e0be34ae656a9675ddd1014a6193a4006
2011-07-27 09:18:54 -07:00
JP Abgrall
821bea0266
Merge "DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." into honeycomb-LTE
2011-07-26 18:40:04 -07:00
JP Abgrall
30517a9344
Merge "DO NOT MERGE: Update netlink-related kernel includes" into honeycomb-LTE
2011-07-26 18:39:56 -07:00
Robert Greenwalt
777901424f
resolved conflicts for merge of 9363d912 to honeycomb-plus-aosp
...
Change-Id: I555f5c10da9770feacdbece9fd77729d6151bfba
2011-07-26 16:18:52 -07:00
Robert Greenwalt
9363d91218
Add per-interface dns caches.
...
import of changes 22100 and 23138 from opensource.
Change-Id: I3ce86394323d269272aeb2bebeed4374f171a8cf
2011-07-26 12:59:50 -07:00
JP Abgrall
4f7c1aab10
DO NOT MERGE: libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
...
DO NOT MERGE: pulled in from master for iptables v1.4.11 update
Make netinet/ip.h have IPTOS_MINCOST which matches what
kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.
Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
2011-07-26 10:12:08 -07:00
Dmitry Shmidt
5e9da71a09
DO NOT MERGE: Update netlink-related kernel includes
...
DO NOT MERGE: pulled in from master for iptables v1.4.11 update
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2011-07-26 10:11:34 -07:00
Mike Lockwood
a4fdd8ae4c
f_accessory.h: Update USB accessory kernel driver header file
...
Bug: 5051683
Change-Id: I24fb640f24439f0010735eaa8e1e7b2767c353ea
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-07-21 13:51:30 -07:00
Robert Greenwalt
e4197d41bb
am fed31359: am f6fcdb2e: am 28de3e59: Merge "Don\'t reset caches when dns props change."
...
* commit 'fed3135972f9725a44a7d9b3df728e311ac1a130':
Don't reset caches when dns props change.
2011-07-20 17:20:03 -07:00
Robert Greenwalt
fed3135972
am f6fcdb2e: am 28de3e59: Merge "Don\'t reset caches when dns props change."
...
* commit 'f6fcdb2edd522de75811c7ccd23e74677bda6856':
Don't reset caches when dns props change.
2011-07-20 17:16:37 -07:00
Robert Greenwalt
f6fcdb2edd
am 28de3e59: Merge "Don\'t reset caches when dns props change."
...
* commit '28de3e5901fd54208f20e027365d2ba7b7e136b6':
Don't reset caches when dns props change.
2011-07-20 15:49:50 -07:00
Robert Greenwalt
28de3e5901
Merge "Don't reset caches when dns props change."
2011-07-20 15:39:28 -07:00
Mattias Falk
bad1686e1f
Don't reset caches when dns props change.
...
This happens too frequently. We should flush a per-interface cache
when it's dns server addrs changes.
Change-Id: I8a691c96ce9a775160ef55ddb8f755d649041583
2011-07-20 15:09:24 -07:00
Chia-chi Yeh
1dcc732bb5
update VPN related kernel headers to 2.6.39.
...
The original files are updated in I84220a16b667082f4ff75e72c6b0f2f0dddb65df.
Change-Id: I14ca73b79c66427fd2ad58fb54a5ac649c9b7eee
2011-07-18 12:00:23 -07:00
Shih-wei Liao
48527c3f74
Revert "Revert "linker: get rid of the buddy allocator""
...
This reverts commit f9a9cda23a .
This revert is promised once b/5039224, b/5036755, b/5036610 are resolved.
2011-07-17 12:32:43 -07:00
Mike Lockwood
de75876c3f
Merge "f_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl"
2011-07-16 06:11:23 -07:00
Nick Kralevich
f9a9cda23a
Revert "linker: get rid of the buddy allocator"
...
This reverts commit 7059b1f02e .
Bug: 5036610
2011-07-15 16:12:45 -07:00
Mike Lockwood
10f6adf0c8
f_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl
...
Change-Id: Ib5541625998805cbc23f34eb00f5a21cba6eef53
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-07-14 21:02:30 -04:00
Nick Kralevich
7059b1f02e
linker: get rid of the buddy allocator
...
Currently, the Android linker is placing shared libraries into
a well-known spot in memory. This is interfering with the kernel's
ASLR support.
This change stops forcing non-prelinked libraries into a particular
address space.
Also, get rid of FLAG_PRELINKED. As best I can tell, this flag
is never used.
Change-Id: I527af12fb54f821c2b5ca7693dbf63d022f8f4ae
2011-07-14 13:48:13 -07:00
David 'Digit' Turner
30e30acf10
am 6b6ebeca: am 3a131026: resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp
...
* commit '6b6ebeca985fb3843b56b507ac4ac1be44080a9c':
enable support for large files (> 2G)
Enable functional DSO object destruction
x86: Enable -fstack-protector
Update X86 Bionic CRT files for unwind/exceptions
bionic, libthread_db x86 fixes
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Remove an extra register move.
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
move some typedefs to procfs.h required by gdbserver build
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
sigsetmask.c was not processing the "mask" argument.
Add defines for CAIF support
Remove extra/unneeded copy of fenv.h
Use proper variable typing
Update ATOM string routines to latest
Fix undefined reference to dl_iterate_phdr for x86
Fix missing NL
ptrace.c Fix source file format to unix from dos
2011-07-13 14:53:56 -07:00
David Turner
6b577759b2
am f2ebd304: am 57aadbb0: Merge "enable support for large files (> 2G)"
...
* commit 'f2ebd304c3c0822121e6a4d0f542a048a7fc3b20':
enable support for large files (> 2G)
2011-07-13 14:53:34 -07:00
Jeff Brown
22fc595bff
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
2011-07-12 12:11:19 -07:00
Jeff Brown
7e5d19c055
Remove the simulator target from all makefiles.
...
Bug: 5010576
Change-Id: I9064e3221582fcf3d4210d67f1cf0a96e7e3aa86
2011-07-11 22:11:41 -07:00
David 'Digit' Turner
6b6ebeca98
am 3a131026: resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp
...
* commit '3a13102637c8be53edf28f96598ac11aaa3e14df':
enable support for large files (> 2G)
Enable functional DSO object destruction
x86: Enable -fstack-protector
Update X86 Bionic CRT files for unwind/exceptions
bionic, libthread_db x86 fixes
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Remove an extra register move.
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
move some typedefs to procfs.h required by gdbserver build
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
sigsetmask.c was not processing the "mask" argument.
Add defines for CAIF support
Remove extra/unneeded copy of fenv.h
Use proper variable typing
Update ATOM string routines to latest
Fix undefined reference to dl_iterate_phdr for x86
Fix missing NL
ptrace.c Fix source file format to unix from dos
2011-07-11 13:25:01 -07:00
David 'Digit' Turner
3a13102637
resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp
...
Change-Id: Idf1971120bbdd52676f95aa3aa69f62342dc012e
2011-07-11 21:39:14 +02:00
Iliyan Malchev
f733ca08e6
bionic: update processed omap_ion.h
...
Change-Id: I72acee8d285247c9e5fe21014a6f5ce8af3f73e5
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-07-11 11:55:47 -07:00
David Turner
f2ebd304c3
am 57aadbb0: Merge "enable support for large files (> 2G)"
...
* commit '57aadbb096a118dd33f9f16c67bd18dbb6b92c4a':
enable support for large files (> 2G)
2011-07-11 10:46:00 -07:00
David 'Digit' Turner
50a83255d8
merge intel x86 patches into gingerbread branch
2011-07-09 03:55:33 +02:00
Dragos Tatulea
c4a5e97624
enable support for large files (> 2G)
...
bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.
Bug Id: 10035
Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com >
2011-07-09 03:53:45 +02:00
David Turner
57aadbb096
Merge "enable support for large files (> 2G)"
2011-07-08 18:52:49 -07:00
Iliyan Malchev
221595a085
bionic: update cleaned headers for ion
...
Change-Id: I5352e6c2b29a1c3c17eda531df397d8d3a63649a
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-07-07 15:50:10 -07:00
Bruce Beare
afb0167ad9
Enable functional DSO object destruction
...
Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.
Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:51:43 +02:00
Bruce Beare
a0aec0bd30
x86: Enable -fstack-protector
...
Change-Id: Iff9e3a3ba0e2d0faa7c6d98154aa5be0cc8a6c50
Orig-Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:51:37 +02:00
Mark D Horn
3eb2657855
Update X86 Bionic CRT files for unwind/exceptions
...
Several updates to Bionic crt*.o files to implement Linux/x86
stack unwind/exception handling.
Mark __dso_handle as hidden.
Note: Requires complete rebuild due to CRT changes. Google will
need to regenerate and check-in all the prebuilt x86 CRT object
files and libraries which link to them.
Change-Id: I01c14c19ef7569c9ffed89495cae2a459972c04b
Orig-Change-Id: I191ce1afb0dee7bbc28dcd9694e5919226dbd070
Signed-off-by: Bruce J Beare <bruce.j.beare@intel.com >
Signed-off-by: Mark D Horn <mark.d.horn@intel.com >
Author: Lu, Hongjiu <hongjiu.lu@intel.com >
2011-07-07 22:46:16 +02:00
James Rose
3435fc600d
bionic, libthread_db x86 fixes
...
Orig-Change-Id: I3be997f5f1f6a894a3c200d4f325cf3bfd428c66
Author: James Rose <james.rose@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
bf29647964
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
...
Orig-Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
b1dd939e90
Remove an extra register move.
...
Orig-Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
e0bdf2c3e2
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
...
Orig-Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
2cbb8f3f98
move some typedefs to procfs.h required by gdbserver build
...
Orig-Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
84f8b3ad9c
use consistent guards for off_t and size_t defines for IA
...
Orig-Change-Id: I9347ab4407c48c71c99f42583523ebe31a5e67ae
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:16 +02:00
Bruce Beare
4711f8faa8
Simplify variable typing for IA builds
...
Orig-Change-Id: I3f080b34360bfade0dbd5e2d8d0365e049162e4c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
e5705524e2
sigsetmask.c was not processing the "mask" argument.
...
Orig-Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
074af91700
Add defines for CAIF support
...
Orig-Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com >
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
18142abc06
Remove extra/unneeded copy of fenv.h
...
Orig-Change-Id: I80da2521c50df7e8967af48164cc834abf499c50
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
4029e0e7cb
Use proper variable typing
...
Orig-Change-Id: If5c33d90b33f538448ac12e7bee94b4b9173d39c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
832a86eaba
Update ATOM string routines to latest
...
Orig-Change-Id: I22a600e7f172681cfd38ff73a64e3fd07b284959
Signed-off-by: Lu, Hongjiu <hongjiu.lu@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
88bb394c0d
Fix undefined reference to dl_iterate_phdr for x86
...
Orig-Change-Id: I22410b27939e8f54da932d7a1104102550c4685f
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
0bbcbf0d57
Fix missing NL
...
Orig-Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Bruce Beare
0f2dc2b60c
ptrace.c Fix source file format to unix from dos
...
Orig-Change-Id: Ia771b457eec7f9575d4631fb1c12a7062ebcc7de
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-07-07 22:46:15 +02:00
Jean-Baptiste Queru
681c4bd782
Merge b3773e9c
...
Change-Id: I5787d9ac5e745a08e1c891e9ce9efc4e7f97ace8
2011-07-06 13:00:05 -07:00
Jean-Baptiste Queru
cb5529efd8
Merge 784515ad
...
Change-Id: I3e5b691d008e9548f43339635bafdd95bc2f56fe
2011-07-06 12:59:55 -07:00
Jean-Baptiste Queru
c993768360
Revert "Revert "libc: Add logcat error message for memory corruption""
...
This reverts commit 368ee1e4d6 .
2011-07-06 12:58:56 -07:00
David 'Digit' Turner
b3773e9cc8
am 9c95cbf7: Merge "Really fix the build."
...
* commit '9c95cbf75094c15d251bb3d57a55ce47d7c6c2c8':
Really fix the build.
2011-07-06 10:27:49 -07:00
David 'Digit' Turner
9c95cbf750
Merge "Really fix the build."
2011-07-06 10:19:47 -07:00
David 'Digit' Turner
c51871d4b2
Really fix the build.
...
libcutils/mspace.c includes libc/bionic/dlmalloc.c, we need to
take care of the fact that any internal C library function cannot
be used from it.
Change-Id: I0bc81ae090b7ac2d464f26b97fc6b94a08cdad9c
2011-07-06 19:02:15 +02:00
David 'Digit' Turner
784515ad93
am 01eb7f72: Merge "Fix broken build"
...
* commit '01eb7f72434830bb14cec906d885d2b7ee40d53b':
Fix broken build
2011-07-06 09:08:47 -07:00
David 'Digit' Turner
01eb7f7243
Merge "Fix broken build"
2011-07-06 08:56:48 -07:00
David 'Digit' Turner
a4824467c3
Fix broken build
...
Change-Id: Ia46b50aec51a55434c8828a73e07f4732f8f6c1c
2011-07-06 17:54:35 +02:00
Mathew Inwood
368ee1e4d6
Revert "libc: Add logcat error message for memory corruption"
...
This fixes the build.
This reverts commit 7708a89c60 .
2011-07-06 16:51:54 +01:00
David 'Digit' Turner
877923d369
am d25ea49e: am b73b6783: Merge "libc: Add logcat error message for memory corruption"
...
* commit 'd25ea49e632c00d57d893563dac3f6dae5493b7e':
libc: Add logcat error message for memory corruption
2011-07-06 07:53:10 -07:00
David 'Digit' Turner
d25ea49e63
am b73b6783: Merge "libc: Add logcat error message for memory corruption"
...
* commit 'b73b6783a595cf4b1cef6463c23317a8b417f1e9':
libc: Add logcat error message for memory corruption
2011-07-06 07:46:40 -07:00
David 'Digit' Turner
b73b6783a5
Merge "libc: Add logcat error message for memory corruption"
2011-07-05 11:59:42 -07:00
David 'Digit' Turner
7708a89c60
libc: Add logcat error message for memory corruption
...
Our dlmalloc implementation currently calls abort() when it detects
that the heap is corrupted, or that an invalid pointer is passed to
one of its functions.
The only way to detect this is because abort() will force-fully
crash the current program with a magic fault address of '0xdeadbaad'.
However, this is not really well documented, and a frequent topic
on the android-ndk forum (among others).
This change makes our dlmalloc code dump a simple message to the
log just before the abort() call (and hence before the stack trace)
to better help identify the problem.
Change-Id: Iebf7eb7fe26463ecadfaca8f247d237edb441e3c
2011-07-05 19:53:53 +02:00
Dragos Tatulea
0e1723e684
enable support for large files (> 2G)
...
bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.
Bug Id: 10035
Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com >
2011-07-05 15:36:43 +03:00
Nathan Forbes
7743f68204
typo in libc/stdio/wcio.h
...
whcar_io_data -> wchar_io_data
Signed-off-by: Nathan Forbes <me@nathanforbes.com >
Change-Id: I45c231efffac265eed51b7632d5a1b21c18bfa55
2011-07-02 20:29:25 -04:00
repo sync
d625b56d6b
am 946f3ad1: resolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp
...
* commit '946f3ad199e4c20606f4461751f510220b22e7b8':
Update to tzdata2011h.
2011-07-01 09:21:18 -07:00
repo sync
946f3ad199
resolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp
...
Change-Id: I858210fce4a04531afd9337a098db1dbf2308c2c
2011-06-30 17:28:59 -07:00
Elliott Hughes
2f5c6d2d66
Merge "Update to tzdata2011h."
2011-06-30 17:00:17 -07:00
Elliott Hughes
1ee2cbe919
Update to tzdata2011h.
...
This includes the Egyptian and Russian DST changes.
(Cherry pick of dd0ffc738e3f956cf4f0ae409cda22595a33f08b.)
Change-Id: Ibf4b6a1f004c997a0b8df66e78f8867425d15dbe
2011-06-30 16:03:23 -07:00
Rebecca Schultz Zavin
015f3a770d
Merge "Add cleaned headers for ion to bionic"
2011-06-30 15:10:37 -07:00
Elliott Hughes
dd0ffc738e
Update to tzdata2011h.
...
This reflects the Russia and Curacao changes.
Change-Id: Id324b5b7690e0e7e46e1984f51647a6d6e7f0df3
2011-06-30 14:56:34 -07:00
Rebecca Schultz Zavin
1079eb1747
Add cleaned headers for ion to bionic
...
Change-Id: I0e2c35e8fb5cd20a796c4f588954205eacde0ae2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2011-06-30 14:16:17 -07:00
Robert Greenwalt
8f88cbedc1
am e0a4b678: am cc32fbc3: Merge "Add support for a dns cache per interface"
...
* commit 'e0a4b67811981ab4c04c437b23c36ae42c444bce':
Add support for a dns cache per interface
2011-06-27 14:14:07 -07:00
David 'Digit' Turner
2d2dbd3024
x86: fix full_x86-eng build
...
The latest merge conflict resolution worked only for ARM, but not for x86
Both ARM and x86 builds have been tested with this fix.
Change-Id: I4ec1f1b0ea32fa86e7e2515b221133473d6550a3
NOTE: Care has been taken to not change the compiler flags for ARM builds.
In particular, when building crtbegin_so.so, the -fPIC flag is only
used for x86 (previous reports indicate that it breaks the ARM
build at runtime for obscure reasons).
2011-06-25 17:26:38 +02:00
David Turner
afc92c7023
am c643a4d4: am 2be3f09f: Merge "time: Improve C99 compliance"
...
* commit 'c643a4d4c71c2caaf016ab402fba99c1c9377567':
time: Improve C99 compliance
2011-06-24 17:16:56 -07:00
David Turner
8bac1c0dfc
am cd9f1f0b: am ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"
...
* commit 'cd9f1f0b2726fbaac75b47231eb80a91841231f9':
strftime: Use snprintf() instead of sprintf()
2011-06-24 10:50:37 -07:00
David 'Digit' Turner
67cbb25865
resolved conflicts for merge of b4896660 to master
...
Change-Id: I40451873c006e5bbcbd17d3bddc1a44773ba16a0
2011-06-24 18:00:04 +02:00
Robert Greenwalt
e0a4b67811
am cc32fbc3: Merge "Add support for a dns cache per interface"
...
* commit 'cc32fbc3050079aa020ac39afb1c84b5e72737a8':
Add support for a dns cache per interface
2011-06-23 11:12:19 -07:00
Robert Greenwalt
cc32fbc305
Merge "Add support for a dns cache per interface"
2011-06-23 10:20:38 -07:00
David Turner
c643a4d4c7
am 2be3f09f: Merge "time: Improve C99 compliance"
...
* commit '2be3f09f2d9b6d35b262f7a6148f51c164bb8cbb':
time: Improve C99 compliance
2011-06-23 10:01:11 -07:00
David Turner
2be3f09f2d
Merge "time: Improve C99 compliance"
2011-06-23 09:10:39 -07:00
David Turner
cd9f1f0b27
am ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"
...
* commit 'ac56f5ca2f4c54ddbd37b033f9465d89542c2cbe':
strftime: Use snprintf() instead of sprintf()
2011-06-23 06:13:53 -07:00
David Turner
ac56f5ca2f
Merge "strftime: Use snprintf() instead of sprintf()"
2011-06-23 06:04:28 -07:00
David Turner
b489666086
am 1c0a0381: Merge "Enable functional DSO object destruction"
...
* commit '1c0a0381dfb3648ffadef9537ec9383d63d62473':
Enable functional DSO object destruction
2011-06-23 05:28:13 -07:00
David Turner
1c0a0381df
Merge "Enable functional DSO object destruction"
2011-06-23 04:39:04 -07:00
Jim Huang
e6cff939e6
strftime: Use snprintf() instead of sprintf()
...
Change-Id: I112ac012894eddc96e5f3e77cb87bb300596e3ce
Signed-off-by: Jim Huang <jserv@0xlab.org >
2011-06-23 11:10:32 +08:00
Brian Carlstrom
e4e7755de3
Merge "Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master"
2011-06-22 14:45:07 -07:00
Brian Carlstrom
a94dc678fb
Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master
...
Change-Id: I795687c11ca2e8443f7c8c264e209501dab9b2c9
2011-06-22 14:34:39 -07:00
Jim Huang
21edf366ea
time: Improve C99 compliance
...
Quote from Linux Programmer's Manual:
"If t is non-NULL, the return value is also stored in the memory
pointed to by t."
Change-Id: I8cb66b67e5f34c536ce2f0db76a6dc337c42ea3f
Signed-off-by: Jim Huang <jserv@0xlab.org >
2011-06-22 16:44:45 +08:00
Glenn Kasten
31b1221c2f
Re-generate resource.h from Linux 2.6.39
...
Change-Id: I22534914a4ae042ece4933bd372aafbc9129ab59
2011-06-21 17:49:32 -07:00
Bruce Beare
3964084282
Enable functional DSO object destruction
...
Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.
Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-06-20 14:44:44 -07:00
Jun Nakajima
5288fee835
x86 libc: Fix the range to check the error
...
The spec says "A value in the range between -4095 to -1 indicates an error" (not -129).
This was pointed out in the comment in 22039.
Change-Id: I11b7c45015a9e4ccf09aed5364a889437eab6ab8
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
2011-06-17 14:37:50 -07:00
David 'Digit' Turner
ff03fb25f7
am d0909a87: am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."
...
* commit 'd0909a874a0b4e2de1468021942c75712a4463fa':
libstdc++: make operator new call abort on failure.
2011-06-17 03:33:49 -07:00
David 'Digit' Turner
d0909a874a
am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."
...
* commit '4d9b75a9b08c19cef81b22f889edba61257fb356':
libstdc++: make operator new call abort on failure.
2011-06-17 03:22:21 -07:00
David 'Digit' Turner
4d9b75a9b0
Merge "libstdc++: make operator new call abort on failure."
2011-06-17 02:51:58 -07:00
David 'Digit' Turner
7c72513bfa
libstdc++: make operator new call abort on failure.
...
This change ensures that operator new will call abort() in case
of memory allocation failure. Note that due to our usage of memory
overcommit, this can only happen under very rare circumstances
(i.e. trying to allocate memory larger than the larger free range
of virtual address space, or when memory is corrutped in various
ways).
Change-Id: I128b8bf626216e899c22a00f24492cd148a1fc94
2011-06-14 21:58:55 +02:00
Jeff Brown
d9dd4bcd9e
Update linux/input.h header to 2.6.39.
...
Change-Id: I48e32adb78aac7e9a79163177fcea827159bd906
2011-06-12 18:09:00 -07:00
Elliott Hughes
3398ee9c15
Fix build.
...
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/stingray/obj/lib/libc.so: error: undefined reference to '_inet_pton'
Change-Id: Iee9f1ee87d0a37fa6aa91ecfb6283a7e03fb91c2
2011-06-09 13:03:17 -07:00
Jean-Baptiste Queru
af149077bd
am 09dc7fb1: am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
...
* commit '09dc7fb1b893221776ef5d35d9aaecd07f95eceb':
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
2011-06-08 17:31:37 -07:00
Jean-Baptiste Queru
19c40c7801
am 1952c8f4: am e1bd6aa4: Merge "Update netlink-related kernel includes"
...
* commit '1952c8f43087511fa54ee30a71abf6965597384b':
Update netlink-related kernel includes
2011-06-08 17:31:34 -07:00
Jean-Baptiste Queru
e84dca9b80
am 2cc0f8e9: am 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
...
* commit '2cc0f8e9b9e5df8439072f1548a90ee48dda0e63':
Add icmp6.h and ip6.h files from current NetBSD libc.
2011-06-08 17:31:31 -07:00
Elliott Hughes
b1fd729d63
Update to the latest NetBSD inet_pton.c.
...
Bug: 4580520
Change-Id: I1079574b14e78e153e10ac527ca406ef560af310
2011-06-08 17:17:53 -07:00
Mattias Falk
23d3e6b21b
Add support for a dns cache per interface
...
Initial commit for dns cache per interface.
Added a type that holds a reference to a
cache and name of associated interface,
address of interface, name server(s)
associated with an interface etc.
New functions to set default interface,
address of name servers etc.
Change-Id: Ie991bc5592fd998409853d8bf77d7fe69035dac5
2011-06-08 15:39:29 +02:00
Jean-Baptiste Queru
09dc7fb1b8
am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
...
* commit 'b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b':
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
2011-06-07 13:24:04 -07:00
Jean-Baptiste Queru
1952c8f430
am e1bd6aa4: Merge "Update netlink-related kernel includes"
...
* commit 'e1bd6aa4e10e6b05e74d915c52e11a3998217522':
Update netlink-related kernel includes
2011-06-07 13:24:01 -07:00
Jean-Baptiste Queru
2cc0f8e9b9
am 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
...
* commit '81ec4e437a192189d6abdf32988504c371e52c27':
Add icmp6.h and ip6.h files from current NetBSD libc.
2011-06-07 13:23:58 -07:00
David 'Digit' Turner
cfaf49ddea
am 4aa32153: am 2cae7967: Merge "libc: Fix prctl() declaration."
...
* commit '4aa321538afde20a632ed666f83f40f892505550':
libc: Fix prctl() declaration.
2011-06-07 10:49:32 -07:00
Martijn Coenen
fd88dd19f7
Revert "Update X86 Bionic CRT files for unwind/exceptions"
...
This reverts commit dc3bc87b43 ,
causes netd to crash.
2011-06-07 17:19:36 +02:00
Martijn Coenen
a903811819
Revert "x86: Enable -fstack-protector"
...
This reverts commit e0b4844a20 ,
causes netd to crash.
2011-06-07 17:19:12 +02:00
David Turner
65fb884d28
am 204d1f65: am b2c7e0c1: Merge "x86: Enable -fstack-protector"
...
* commit '204d1f65dbfc6d5a14a90627d9d1efcfce8261ee':
x86: Enable -fstack-protector
2011-06-06 12:57:08 -07:00
David Turner
1dae997ca4
am a57270b6: am 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"
...
* commit 'a57270b6ab2978764920ade17448f94875249001':
Update X86 Bionic CRT files for unwind/exceptions
2011-06-06 12:57:00 -07:00
David 'Digit' Turner
4aa321538a
am 2cae7967: Merge "libc: Fix prctl() declaration."
...
* commit '2cae7967e6049e45eaef71207481b6f8b2456025':
libc: Fix prctl() declaration.
2011-06-06 12:27:10 -07:00
David Turner
204d1f65db
am b2c7e0c1: Merge "x86: Enable -fstack-protector"
...
* commit 'b2c7e0c18b7ab04cfe306277c79165de0612a2d1':
x86: Enable -fstack-protector
2011-06-06 11:32:49 -07:00
David Turner
a57270b6ab
am 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"
...
* commit '56baceca024f1cc2a5e8ef8c5e7ba7ea463d1ae2':
Update X86 Bionic CRT files for unwind/exceptions
2011-06-06 11:32:38 -07:00
Brian Carlstrom
78d18badef
Merge commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7' into honeycomb-mr2-release-to-dalvik-dev
2011-06-03 12:40:34 -07:00
Jean-Baptiste Queru
b127b1f208
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
2011-06-02 15:31:01 -07:00
JP Abgrall
8a51237407
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
...
Make netinet/ip.h have IPTOS_MINCOST which matches what
kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.
Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
2011-06-02 15:28:16 -07:00
Jean-Baptiste Queru
e1bd6aa4e1
Merge "Update netlink-related kernel includes"
2011-06-02 15:16:48 -07:00
Dmitry Shmidt
b78220573a
Update netlink-related kernel includes
...
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2011-06-02 15:05:34 -07:00
Jean-Baptiste Queru
81ec4e437a
Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
2011-06-02 07:49:14 -07:00
Steinar H. Gunderson
c18d76f6ec
Add icmp6.h and ip6.h files from current NetBSD libc.
...
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
2011-06-01 11:12:38 -07:00
Brian Carlstrom
1f8e2672a8
Implement getpwnam_r(3) and getpwuid_r(3).
...
These functions were already declared in <pwd.h>, but hadn't been implemented
yet.
git cherry-pick --no-commit 081504af74
Change-Id: I316acf4cffb9f2c6788e8e342aa620f9a00886d5
2011-05-27 00:52:21 -07:00
Simon Wilson
fe88a194a3
Merge "sound/asound.h: add header for ALSA"
2011-05-26 09:37:32 -07:00
David 'Digit' Turner
2cae7967e6
Merge "libc: Fix prctl() declaration."
2011-05-25 18:24:51 -07:00
David 'Digit' Turner
b083bb57f5
libc: Fix prctl() declaration.
...
This change fixes the prctl() declaration to match GLibc, and allow us
to build gcc-4.6 for Android (among other things). Note that this does
not change the source and binary interfaces.
Change-Id: I3900c957f0da8b3548cbe9da8c41d50099dc19d6
2011-05-26 02:46:41 +02:00
Frank Maker
7b6795dad9
Fixed bug where -k option would not be passed to cleanupFile function
...
Changed cleanupFile to have no default original path, forcing it to be passed instead, thereby conforming to the Google Python style guide.
2011-05-25 17:28:37 -07:00
Simon Wilson
f67e03274d
sound/asound.h: add header for ALSA
...
Change-Id: If9680194846752a2fae6a4a3b8e6dba4175fb9ca
2011-05-25 14:16:34 -07:00
Michael I. Gold
9d91860612
am 5c7384fa: am 8f7cdff4: am a7f976c9: update linux/tegrafb.h
...
* commit '5c7384fa791dafe6cdf9769c5166e683e29f189e':
update linux/tegrafb.h
2011-05-25 11:04:06 -07:00
David Turner
b2c7e0c18b
Merge "x86: Enable -fstack-protector"
2011-05-24 17:43:27 -07:00
David Turner
56baceca02
Merge "Update X86 Bionic CRT files for unwind/exceptions"
2011-05-24 17:26:45 -07:00
Michael I. Gold
5c7384fa79
am 8f7cdff4: am a7f976c9: update linux/tegrafb.h
...
* commit '8f7cdff45557c937e6c7a7e010dc961feeb60c16':
update linux/tegrafb.h
2011-05-24 16:48:48 -07:00
Michael I. Gold
8f7cdff455
am a7f976c9: update linux/tegrafb.h
...
* commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7':
update linux/tegrafb.h
2011-05-24 16:46:27 -07:00
Bruce Beare
e0b4844a20
x86: Enable -fstack-protector
...
Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-05-24 13:32:14 -07:00
Mark D Horn
dc3bc87b43
Update X86 Bionic CRT files for unwind/exceptions
...
Several updates to Bionic crt*.o files to implement Linux/x86
stack unwind/exception handling.
Mark __dso_handle as hidden.
Note: Requires complete rebuild due to CRT changes. Google will
need to regenerate and check-in all the prebuilt x86 CRT object
files and libraries which link to them.
Change-Id: I191ce1afb0dee7bbc28dcd9694e5919226dbd070
Signed-off-by: Bruce J Beare <bruce.j.beare@intel.com >
Signed-off-by: Mark D Horn <mark.d.horn@intel.com >
Author: Lu, Hongjiu <hongjiu.lu@intel.com >
2011-05-24 13:31:50 -07:00
Michael I. Gold
a7f976c9de
update linux/tegrafb.h
...
Change-Id: I6bccdb7e0eb34fc4ca370458f44ed187ccb67ac8
2011-05-24 13:02:58 -07:00
David 'Digit' Turner
5fd462951b
am 5b07b5de: am 9062a236: Merge "libc: Fix leak in the DNS thread-specific state."
...
* commit '5b07b5de9112f1d6adc38d3c5e2c7463b9379534':
libc: Fix leak in the DNS thread-specific state.
2011-05-21 21:35:29 -07:00
David 'Digit' Turner
5b07b5de91
am 9062a236: Merge "libc: Fix leak in the DNS thread-specific state."
...
* commit '9062a2369107eadb2b45973adc3246cba35640e6':
libc: Fix leak in the DNS thread-specific state.
2011-05-20 15:06:58 -07:00
David 'Digit' Turner
9062a23691
Merge "libc: Fix leak in the DNS thread-specific state."
2011-05-20 14:32:35 -07:00
The Android Open Source Project
b0e114191e
Reconcile with honeycomb-release
...
Change-Id: I4ff73170b09410bf6458539f72caa60fcc99a442
2011-05-20 12:45:50 -07:00
Anders Fredlund
dd16182b4b
Remove expired dns cache entries before removing oldest
...
A suggestion how to make a smarter delete function when the cache
is full. First look through the entire cache and remove all entries
which have expired. If none use the old solution and just remove
the last entry in the MRU list.
Change-Id: I5f997ab35290a55dc6e1ddf37d725759edf83d36
2011-05-20 08:12:37 +02:00
JP Abgrall
f8d02d24ed
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
...
Make netinet/ip.h have IPTOS_MINCOST which matches what
kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.
Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
2011-05-18 16:53:23 -07:00
David 'Digit' Turner
b6cd6816d2
libc: Fix leak in the DNS thread-specific state.
...
NOTE: This is a back-port from the internal HC branch.
This patch fixes a leak that occurs when creating a new
thread-specific DNS resolver state object.
Essentially, each thread that calls gethostbyname() or getaddrinfo()
at least once will leak a small memory block. Another leak happens
anytime these functions are called after a change of the network
settings.
The leak is insignificant and hard to notice on typical programs.
However, netd tends to create one new thread for each DNS request
it processes, and quickly grows in size after a > 20 hours.
The same problem is seen in other system processes that tend to
create one thread per request too.
The leak occured becasue res_ninit() was called twice when creating
a new thread-specific DNS resolver state in _res_get_thread().
This function could not properly reset an existing thread and was
leaking a memory block.
The patch does two things:
- First, it fixes res_ninit() to prevent any leakage when resetting
the state of a given res_state instance.
- Second, it modifies the _res_get_thread() implementation to
make it more explicit, and avoid calling res_ninit() twice
in a row on first-time creation.
Fix for Bug 4089945, and Bug 4090857
Change-Id: Icde1d4d1dfb9383efdbf38d0658ba915be77942e
2011-05-18 13:48:20 +02:00
David Turner
b609bfd048
am a9e409a0: am a7a9dddb: Merge "bionic: Add ARM optimized strcmp()"
...
* commit 'a9e409a03530c79bc7ad8144d08e8921ebe0dd02':
bionic: Add ARM optimized strcmp()
2011-05-17 04:51:45 -07:00
David Turner
bde9e2802d
am 3f7a3228: am c5c84c86: Merge "vfscanf: Add support for L type modifier for long long"
...
* commit '3f7a3228cdf1a48e379fb297be9114ecd71bff11':
vfscanf: Add support for L type modifier for long long
2011-05-17 04:51:41 -07:00
David Turner
a9e409a035
am a7a9dddb: Merge "bionic: Add ARM optimized strcmp()"
...
* commit 'a7a9dddb5dfe783d65fec4d3b0dee9f734345a29':
bionic: Add ARM optimized strcmp()
2011-05-17 04:47:09 -07:00
David Turner
3f7a3228cd
am c5c84c86: Merge "vfscanf: Add support for L type modifier for long long"
...
* commit 'c5c84c8643250c71bde87541f2b28fc21a9c5cc7':
vfscanf: Add support for L type modifier for long long
2011-05-17 04:47:06 -07:00
David Turner
a7a9dddb5d
Merge "bionic: Add ARM optimized strcmp()"
2011-05-17 04:29:20 -07:00
David Turner
c5c84c8643
Merge "vfscanf: Add support for L type modifier for long long"
2011-05-17 04:07:27 -07:00
Elliott Hughes
081504af74
Merge "Implement getpwnam_r(3) and getpwuid_r(3)." into dalvik-dev
2011-05-13 13:30:59 -07:00
Elliott Hughes
e80227c2d3
Implement getpwnam_r(3) and getpwuid_r(3).
...
These functions were already declared in <pwd.h>, but hadn't been implemented
yet.
Change-Id: I9cddafa4c7f19a40eec566d3f3b221bd5a680e85
2011-05-13 12:20:05 -07:00
Elliott Hughes
bf018299bd
Fix strerror(3) for errno 0.
...
Everyone else's C library says "Success". We say "Unknown error: 0", which
isn't really true.
Change-Id: I9f9054779123eda996634e5f7a277789b6805809
2011-05-13 10:54:34 -07:00
David Turner
54e494d909
am add0a45a: am e8f7e30b: Merge "bionic, libthread_db x86 fixes"
...
* commit 'add0a45a117f00553e79e7137d023416f9c0a54f':
bionic, libthread_db x86 fixes
2011-05-11 13:11:56 -07:00
David Turner
add0a45a11
am e8f7e30b: Merge "bionic, libthread_db x86 fixes"
...
* commit 'e8f7e30b05c6ba103d64c1fb3cd5ef2b17be7aab':
bionic, libthread_db x86 fixes
2011-05-10 17:19:13 -07:00
The Android Automerger
18a0a39a1b
am 86d25a54: am c7b54666: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTE
...
* commit '86d25a54bc093aae369ce54af11151d60ef191fc':
Update to tzdata2011g.
2011-05-09 10:51:20 -07:00
The Android Automerger
86d25a54bc
am c7b54666: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTE
...
* commit 'c7b54666e097fbc102ac6754da99e1513f60d5ea':
Update to tzdata2011g.
2011-05-09 10:39:25 -07:00
David Turner
e8f7e30b05
Merge "bionic, libthread_db x86 fixes"
2011-05-09 08:03:51 -07:00
The Android Automerger
c7b54666e0
Merge remote branch 'goog/honeycomb-mr2' into honeycomb-LTE
2011-05-08 22:30:23 -07:00
Elliott Hughes
fb48c8a5c3
Update to tzdata2011g.
...
Egypt abandoned DST this year.
git cherry-pick 8d54a62c6d
Change-Id: I8df051cd270108651501d9da6a9e5ce127ad3d22
2011-05-06 10:57:36 -07:00
Chris Fries
712e4f81e0
vfscanf: Add support for L type modifier for long long
...
scanf()'s man page suggests support for %Ld, (and ioux).
Implement this so that 3rd party code will work correctly.
Change-Id: Idce9d266071cb688ca71429395a2d9edf6813595
2011-05-05 11:02:33 -05:00
Brian Carlstrom
265e14bced
am 55aa7321: am e274a9fa: Merge "Tracking change to dns proxy protocol"
...
* commit '55aa7321e4b24a40766cccc11e8166546b01a3fd':
Tracking change to dns proxy protocol
2011-05-03 16:20:09 -07:00
Brian Carlstrom
55aa7321e4
am e274a9fa: Merge "Tracking change to dns proxy protocol"
...
* commit 'e274a9fac077d350391b721e9a08b650b243577e':
Tracking change to dns proxy protocol
2011-05-03 16:14:51 -07:00
Brian Carlstrom
e274a9fac0
Merge "Tracking change to dns proxy protocol"
2011-05-03 10:21:35 -07:00
David Turner
71882977e6
Merge "add net/ethernet.h stub"
2011-05-03 00:02:41 -07:00
David Turner
c2af2c075f
am 1af88c97: am d004dc99: Merge "Use MAP_FIXED when allocating prelinked shared library regions"
...
* commit '1af88c97432c88ec5b39d155e8c296d2a6eb1225':
Use MAP_FIXED when allocating prelinked shared library regions
2011-05-02 13:30:03 -07:00
David Turner
1af88c9743
am d004dc99: Merge "Use MAP_FIXED when allocating prelinked shared library regions"
...
* commit 'd004dc9957cd8944d3db8ed92544c8ee65b117ca':
Use MAP_FIXED when allocating prelinked shared library regions
2011-05-02 12:34:57 -07:00
Brian Carlstrom
e6553716a0
am 4b3b89ec: am c5a3f770: Tracking change to dns proxy protocol
...
* commit '4b3b89ec763899390b15461dd6617bb4ed6fe846':
Tracking change to dns proxy protocol
2011-05-02 11:56:03 -07:00
David Turner
d004dc9957
Merge "Use MAP_FIXED when allocating prelinked shared library regions"
2011-05-01 23:59:33 -07:00
Brian Carlstrom
4b3b89ec76
am c5a3f770: Tracking change to dns proxy protocol
...
* commit 'c5a3f7700b70c3857e0b098b1e976a2db1573174':
Tracking change to dns proxy protocol
2011-04-29 20:49:48 -07:00
JP Abgrall
eaa7cc9884
Merge "checksyscalls fix to handle "__ARM_NR_... (__ARM_NR_BASE+0x...)""
2011-04-29 17:10:30 -07:00
Brian Carlstrom
be7f5da0bd
Tracking change to dns proxy protocol
...
The gethostbyaddr code in system/netd now expects a string address
from inet_ntop, not raw bytes, in order to properly pass addresses
containing null and probably spaces and newlines characeters as well.
Bug: 4344448
Change-Id: I8ec0eab94d5b1d38e9269ba3afb2825e946f8df3
2011-04-29 16:43:16 -07:00
Brian Carlstrom
c5a3f7700b
Tracking change to dns proxy protocol
...
The gethostbyaddr code in system/netd now expects a string address
from inet_ntop, not raw bytes, in order to properly pass addresses
containing null and probably spaces and newlines characeters as well.
Bug: 4344448
git cherry-pick -e c13fa640ee
2011-04-29 10:02:48 -07:00
Brian Carlstrom
c13fa640ee
Tracking change to dns proxy protocol
...
The gethostbyaddr code in system/netd now expects a string address
from inet_ntop, not raw bytes, in order to properly pass addresses
containing null and probably spaces and newlines characeters as well.
Bug: 4344448
Change-Id: I935abbbe522d96b64a5f975c7937e3aed3f7b335
2011-04-27 11:55:43 -07:00
Bruce Beare
8e551a6319
bionic, libthread_db x86 fixes
...
Change-Id: I3be997f5f1f6a894a3c200d4f325cf3bfd428c66
Author: James Rose <james.rose@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-04-27 09:12:58 -07:00
Elliott Hughes
8d54a62c6d
Update to tzdata2011g.
...
Egypt abandoned DST this year.
Change-Id: Ia2e30787e5e82aefbf1bbec1a5630deda3d3c0e0
2011-04-25 10:46:43 -07:00
Jim Huang
f50e9be593
bionic: Add ARM optimized strcmp()
...
Reference results of the experiments on TI OMAP3430 at 600 MHz
$ bench_strcmp -N "strcmp_1k" -s 1k -I 200
[original C code]
prc thr usecs/call samples errors cnt/samp size
strcmp_1k 1 1 10.38000 102 0 15000 1024
[ARM optimized code]
prc thr usecs/call samples errors cnt/samp size
strcmp_1k 1 1 3.08840 88 0 15000 1024
The work was derived from ARM Ltd, contributed to newlib, and reworked
for Android by Linaro.
Change-Id: Ib0d5755e1eb9adb07d80ef0252f57a5c4c57a425
Signed-off-by: Jim Huang <jserv@0xlab.org >
2011-04-20 15:39:43 +08:00
Brad Fitzpatrick
a34694d394
am 09db590d: am 9b6e8af6: am 3ef36b21: Merge "Use system property to set dns cache size"
...
* commit '09db590d56ff2b568ea1a0ce265810697f0e0e92':
Use system property to set dns cache size
2011-04-12 13:28:03 -07:00
Brad Fitzpatrick
09db590d56
am 9b6e8af6: am 3ef36b21: Merge "Use system property to set dns cache size"
...
* commit '9b6e8af6994fd41f468161dec797354bb7778673':
Use system property to set dns cache size
2011-04-12 13:18:15 -07:00
Brad Fitzpatrick
9b6e8af699
am 3ef36b21: Merge "Use system property to set dns cache size"
...
* commit '3ef36b2115d0802e668e325b59af6ef14d999e71':
Use system property to set dns cache size
2011-04-11 15:35:44 -07:00
David Turner
3be409a38c
am 70245736: am aad685ce: am 4c090434: Merge "removing shadowing redeclaration of result"
...
* commit '702457363c2b1b01f0d9cb0093a48ce28753e275':
removing shadowing redeclaration of result
2011-04-11 14:50:33 -07:00
David Turner
f11b3bcbf9
am 2b434862: am 2b10d912: am fcee105b: Merge "x86 libc: fix the wrong return value of syscall"
...
* commit '2b434862fdc595f1488f2ab3b13ed40f2aed6edb':
x86 libc: fix the wrong return value of syscall
2011-04-11 14:50:31 -07:00
David Turner
702457363c
am aad685ce: am 4c090434: Merge "removing shadowing redeclaration of result"
...
* commit 'aad685ce001495260a3ce0c9d9284a6ee3ca09c0':
removing shadowing redeclaration of result
2011-04-11 14:46:48 -07:00
David Turner
2b434862fd
am 2b10d912: am fcee105b: Merge "x86 libc: fix the wrong return value of syscall"
...
* commit '2b10d912cc5a566818ff68f9af192033d8f8b2a9':
x86 libc: fix the wrong return value of syscall
2011-04-11 14:46:44 -07:00
Brad Fitzpatrick
3ef36b2115
Merge "Use system property to set dns cache size"
2011-04-11 09:42:30 -07:00
Brian Carlstrom
2848ca2c05
Merge commit '8da75ab8936b0b7fcf8dd9a3befeb696ee6aa39d' into honeycomb-mr1-release-to-dalvik-dev
2011-04-06 14:41:36 -07:00
JP Abgrall
22b137711a
checksyscalls fix to handle "__ARM_NR_... (__ARM_NR_BASE+0x...)"
...
Change-Id: I6a13a6af17caec2e833d4982d645a88ccde4cda4
2011-04-05 20:17:34 -07:00
JP Abgrall
c5d8d36d4d
add net/ethernet.h stub
...
Some externals tend to use net/ethernet.h. Most of which is in net/if_ether.h.
Change-Id: I465d18136b565e56a4bd6678238fe0afef25d913
2011-04-05 11:48:52 -07:00
David Turner
aad685ce00
am 4c090434: Merge "removing shadowing redeclaration of result"
...
* commit '4c090434a4fcffb3a8bb7ebee7cc6e52befceeae':
removing shadowing redeclaration of result
2011-04-05 07:35:09 -07:00
David Turner
2b10d912cc
am fcee105b: Merge "x86 libc: fix the wrong return value of syscall"
...
* commit 'fcee105b2baca9eb338e89ecc9ba99e15dd31e78':
x86 libc: fix the wrong return value of syscall
2011-04-05 07:35:07 -07:00
David Turner
4c090434a4
Merge "removing shadowing redeclaration of result"
2011-04-05 07:14:28 -07:00
David Turner
fcee105b2b
Merge "x86 libc: fix the wrong return value of syscall"
2011-04-05 06:58:54 -07:00
Brad Fitzpatrick
5f133f3c4d
am 31e2feee: am 2dc801f9: am 8da75ab8: Ignore property set timeouts.
...
* commit '31e2feeef3dffb49ce742a6ae1c9280c792c7c49':
Ignore property set timeouts.
2011-04-01 12:27:07 -07:00
Brad Fitzpatrick
31e2feeef3
am 2dc801f9: am 8da75ab8: Ignore property set timeouts.
...
* commit '2dc801f9fce57c35c00a3366f86bc38fe3e38c25':
Ignore property set timeouts.
2011-04-01 12:25:49 -07:00
Brad Fitzpatrick
2dc801f9fc
am 8da75ab8: Ignore property set timeouts.
...
* commit '8da75ab8936b0b7fcf8dd9a3befeb696ee6aa39d':
Ignore property set timeouts.
2011-04-01 12:24:15 -07:00
Brad Fitzpatrick
8da75ab893
Ignore property set timeouts.
...
Change-Id: Ic3f6119398368ba047736370336d0260905abd40
2011-04-01 10:53:12 -07:00
Elliott Hughes
e1d5bef7a6
Update to tzdata2011e.
...
This affects Chile and Morocco, but does *not* include the Russia changes.
Change-Id: I87699541774794cbfac41c4cadae9254ffaddb52
2011-04-01 09:43:53 -07:00
Brad Fitzpatrick
b595593a89
am c9928486: am 099423ba: am 23bc3ff7: Don\'t futex_wait spin when setting properties. Wait for socket close.
...
* commit 'c99284861731883d113660cc8ff974471f2c5a47':
Don't futex_wait spin when setting properties. Wait for socket close.
2011-03-30 16:41:38 -07:00
David 'Digit' Turner
f5da2df126
am bfe04ea0: am 8c6b848e: am 0e47a919: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit 'bfe04ea0e61c6905c1f6781097bddf07f843eb25':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-30 16:38:29 -07:00
Brad Fitzpatrick
c992848617
am 099423ba: am 23bc3ff7: Don\'t futex_wait spin when setting properties. Wait for socket close.
...
* commit '099423ba1c68d960888905ce5de093ea8cb7ad39':
Don't futex_wait spin when setting properties. Wait for socket close.
2011-03-30 15:50:06 -07:00
Brad Fitzpatrick
099423ba1c
am 23bc3ff7: Don\'t futex_wait spin when setting properties. Wait for socket close.
...
* commit '23bc3ff71dffdfec208aee05938e544c7cb3bc37':
Don't futex_wait spin when setting properties. Wait for socket close.
2011-03-30 15:48:11 -07:00
Brad Fitzpatrick
23bc3ff71d
Don't futex_wait spin when setting properties. Wait for socket close.
...
Depends on init change I8dd685ea
Bug: 4185486
Change-Id: I5a2dbc3b7be1759212d4a3988d9033b9b947a1db
2011-03-30 15:28:11 -07:00
Brad Fitzpatrick
bf90b57b44
Don't futex_wait spin when setting properties. Wait for socket close.
...
Depends on init change I8dd685ea
Bug: 4185486
Change-Id: I3e80cecfad8e072973003ec6f93146c5cad369ac
2011-03-30 14:25:27 -07:00
David 'Digit' Turner
bfe04ea0e6
am 8c6b848e: am 0e47a919: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit '8c6b848e435b86db58179763da30008ac7d4c24a':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-30 08:20:28 -07:00
Kan-Ru Chen
8488efaa09
x86 libc: fix the wrong return value of syscall
...
According to Intel ABI spec, there is no need to save %eax, %ecx, %edx
on the stack. Worse, popping %eax will wipe out the return value.
Change-Id: Ida536c3b98174b8deef88f8f3b9352eaaeb7c0c0
2011-03-29 13:16:42 +08:00
Brian Carlstrom
5d8b43c7d4
Merge commit '2f169162462e44d7aa6443e682b15fc756c2e4ad' into honeycomb-mr1-release-to-dalvik-dev
2011-03-28 15:40:33 -07:00
David 'Digit' Turner
8c6b848e43
am 0e47a919: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit '0e47a919f413ff14a540a0dbad873ee8f834b210':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-25 08:51:56 -07:00
David 'Digit' Turner
0e47a919f4
Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
2011-03-25 08:39:37 -07:00
David 'Digit' Turner
02be15039a
am aa8f50b4: am 6d46b099: am 2f169162: Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
...
* commit 'aa8f50b404ab0b2c78833387551800fa8448afcd':
libc: Fix leak in the DNS thread-specific state.
2011-03-25 01:52:17 -07:00
David 'Digit' Turner
aa8f50b404
am 6d46b099: am 2f169162: Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
...
* commit '6d46b09954847b8905507c22e84c39b33425c5bd':
libc: Fix leak in the DNS thread-specific state.
2011-03-25 01:50:13 -07:00
David 'Digit' Turner
6d46b09954
am 2f169162: Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
...
* commit '2f169162462e44d7aa6443e682b15fc756c2e4ad':
libc: Fix leak in the DNS thread-specific state.
2011-03-25 01:47:43 -07:00
David 'Digit' Turner
2f16916246
Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
2011-03-25 01:45:49 -07:00
Ken Sumrall
01d14ab429
am c913b28f: am b130f004: am ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
...
* commit 'c913b28f20ffb147fca05fe9f8d582e0a915fa9c':
Add support for the utimensat(2) syscall to bionic.
2011-03-24 22:35:11 -07:00
Ken Sumrall
c913b28f20
am b130f004: am ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
...
* commit 'b130f00493f6ae3b2343e1caac002de528a45e41':
Add support for the utimensat(2) syscall to bionic.
2011-03-24 22:32:59 -07:00
Ken Sumrall
b130f00493
am ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
...
* commit 'ae2d5ba31412c4f382ef405000baa866f35dd736':
Add support for the utimensat(2) syscall to bionic.
2011-03-24 22:31:40 -07:00
Ken Sumrall
ae2d5ba314
Add support for the utimensat(2) syscall to bionic.
...
The kernel has supported this syscall for quite some time now,
but bionic did not. Now that there is a need for it, let's
add it to bionic.
Change-Id: Ifcef3e46f1438d79435b600c4e6063857ab16903
2011-03-24 18:18:48 -07:00
Dmitry Shmidt
e3e4ac9237
Update netlink-related kernel includes
...
Change-Id: I7e41bb168a1036093b598383d663a6a2e036ea42
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2011-03-22 15:21:48 -07:00
Christopher Schwardt
0f5587097b
removing shadowing redeclaration of result
...
Change-Id: Ic1f86962dfb8620cf5c63ff4913b2f0bf908abb5
2011-03-22 15:35:40 +01:00
David 'Digit' Turner
8eda21baa5
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
...
See http://code.google.com/p/android/issues/detail?id=14627 for context.
Change-Id: Idb10b675667d0d6e64dcb1d382be11e45aa6f4c4
2011-03-22 14:22:32 +01:00
Carl Shapiro
2cc2b2be69
Add some missing includes.
...
Change-Id: Ieec623c06bc32ec78334f628af25b00c2bccd2e7
2011-03-21 20:01:03 -07:00
Dmitry Shmidt
f8e658cf6b
Merge "Return back EAI_ADDRFAMILY definition needed for libnl-2.0"
2011-03-21 16:03:30 -07:00
Dmitry Shmidt
9a48b8e419
Return back EAI_ADDRFAMILY definition needed for libnl-2.0
...
Change-Id: I86e6ca8ad92da7a81ea4b659dd9fc9be2d6fd3c9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2011-03-21 14:45:35 -07:00
David 'Digit' Turner
4661fda2e5
libc: Fix leak in the DNS thread-specific state.
...
This patch fixes a leak that occurs when creating a new
thread-specific DNS resolver state object.
Essentially, each thread that calls gethostbyname() or getaddrinfo()
at least once will leak a small memory block. Another leak happens
anytime these functions are called after a change of the network
settings.
The leak is insignificant and hard to notice on typical programs.
However, netd tends to create one new thread for each DNS request
it processes, and quickly grows in size after a > 20 hours.
The same problem is seen in other system processes that tend to
create one thread per request too.
The leak occured becasue res_ninit() was called twice when creating
a new thread-specific DNS resolver state in _res_get_thread().
This function could not properly reset an existing thread and was
leaking a memory block.
The patch does two things:
- First, it fixes res_ninit() to prevent any leakage when resetting
the state of a given res_state instance.
- Second, it modifies the _res_get_thread() implementation to
make it more explicit, and avoid calling res_ninit() twice
in a row on first-time creation.
Fix for Bug 4089945, and Bug 4090857
Change-Id: Ie4831a8dbe82be8f07fce5ddd1d36bf95994f836
2011-03-18 18:08:08 +01:00
Brad Fitzpatrick
d0d07712e5
am 38e53ada: am c59b2482: am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit '38e53adaddb474d41d1b6282eec38b71b8447d5d':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 12:35:50 -07:00
Brad Fitzpatrick
38e53adadd
am c59b2482: am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit 'c59b248241b18492d20e112230a907c14400275b':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 11:43:29 -07:00
Brad Fitzpatrick
c59b248241
am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit '5a6f593b6197b96f980d9d45f9a981ef8705caf4':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 11:41:24 -07:00
Brad Fitzpatrick
5a6f593b61
Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
2011-03-16 11:15:37 -07:00
satok
a995ca7215
am 621bc533: (-s ours) am 0b3c5c50: do not merge. Move property setting from libcutils to bionic.
...
* commit '621bc53339c10e86d92ec89eefbb16af33229774':
do not merge. Move property setting from libcutils to bionic.
2011-03-15 23:26:55 -07:00
satok
621bc53339
am 0b3c5c50: do not merge. Move property setting from libcutils to bionic.
...
* commit '0b3c5c50f7bed92282783995bf6a7cc777fa9392':
do not merge. Move property setting from libcutils to bionic.
2011-03-15 23:23:56 -07:00
satok
0b3c5c50f7
do not merge. Move property setting from libcutils to bionic.
...
Backport I110b653a58f3
All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.
Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.
Along with Iee1ca9b7, this now passes:
$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
Bug: 3511230
Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
2011-03-15 23:06:58 -07:00
Mike Lockwood
b2eddeccf6
am 9c0d6616: (-s ours) am c8fe4add: (-s ours) am 3f14ff34: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit '9c0d66161c1af06844385c859480aab5762a767f':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 15:47:37 -07:00
Mike Lockwood
9c0d66161c
am c8fe4add: (-s ours) am 3f14ff34: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit 'c8fe4add6d96bf982b63b382417942a9d58f847b':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 15:43:54 -07:00
Mike Lockwood
c8fe4add6d
am 3f14ff34: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit '3f14ff34dfbd00fcffb18b10a1a3e17e2cc5ebdf':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 14:49:22 -07:00
satok
c0f4a09658
am aa00ec1a: (-s ours) am ec7e8cc9: (-s ours) do not merge. Move property setting from libcutils to bionic.
...
* commit 'aa00ec1a2c6fa2bc06bfa16759d99e17a1d0b9b7':
do not merge. Move property setting from libcutils to bionic.
2011-03-14 22:53:13 -07:00
satok
aa00ec1a2c
am ec7e8cc9: (-s ours) do not merge. Move property setting from libcutils to bionic.
...
* commit 'ec7e8cc9dddafc624cd28939c1a38ea336c89455':
do not merge. Move property setting from libcutils to bionic.
2011-03-14 22:47:16 -07:00
satok
ec7e8cc9dd
do not merge. Move property setting from libcutils to bionic.
...
Backport I110b653a58f3
All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.
Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.
Along with Iee1ca9b7, this now passes:
$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
Bug: 3511230
Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
2011-03-15 11:02:26 +09:00
Mike Lockwood
7cfc4fc4f5
am d7321f83: (-s ours) am 78befc12: (-s ours) am 6139fa33: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit 'd7321f833da9543af6bad15d13d97b07e020eab1':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-14 18:27:39 -07:00
Mike Lockwood
d7321f833d
am 78befc12: (-s ours) am 6139fa33: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit '78befc121181a17a1a537575274a35f75267902b':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-14 18:24:55 -07:00
Mike Lockwood
d1edd7956a
am a7e94422: am 2bb79ad9: Update USB accessory kernel header to include serial number support
...
* commit 'a7e9442270aa98e6a58a40a0eb2391d5eadaf6f0':
Update USB accessory kernel header to include serial number support
2011-03-14 17:49:58 -07:00
Mike Lockwood
a7e9442270
am 2bb79ad9: Update USB accessory kernel header to include serial number support
...
* commit '2bb79ad9b5941ad11b7ccaa8147577cef69524b2':
Update USB accessory kernel header to include serial number support
2011-03-14 17:43:39 -07:00
Brad Fitzpatrick
5dc354bef7
Merge "Move property setting from libcutils to bionic."
2011-03-14 17:09:26 -07:00
Brad Fitzpatrick
4399df8f2e
Move property setting from libcutils to bionic.
...
All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.
Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.
Along with Iee1ca9b7, this now passes:
$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
Bug: 3511230
Change-Id: I110b653a58f312fbe069dca59892a877ae9bc911
2011-03-14 16:53:18 -07:00
Mike Lockwood
3f14ff34df
DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
Change-Id: I61d889b107bd5e052ebac393883b87dac730ea6a
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-03-14 19:16:28 -04:00
Mike Lockwood
2bb79ad9b5
Update USB accessory kernel header to include serial number support
...
Change-Id: Ic94e3f5ad278df43777fc4ea97f1fc67f6ccab0e
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-03-14 17:50:44 -04:00
Iliyan Malchev
368070454b
bionic: remove LOCAL_PRELINK_MODULE
...
Change-Id: Iad65ae18446b20d2aace7b8fe19b1a032b616e9c
Signed-off-by: Iliyan Malchev <malchev@google.com >
2011-03-14 14:25:58 -07:00
Elliott Hughes
aa54339415
Merge "Upgrade to tzdata2011d."
2011-03-14 14:14:29 -07:00
Mike Lockwood
78befc1211
am 6139fa33: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit '6139fa33ab823e935471fa71bba4c6f715ad6c56':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-14 13:35:03 -07:00
Chris Dearman
c1519a52ef
Use sigemptyset to initialise sigset_t values.
...
sigset_t may not be implemented as an integral type.
Change-Id: I3f5ec86d6383685979d8d23ef508b6c609569b38
Signed-off-by: Raghu Gandham <raghu@mips.com >
2011-03-14 12:15:22 -07:00
Brad Fitzpatrick
70828ae0ea
am f9316d37: am 08a4ce98: am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit 'f9316d37b462d523438c621f75c47f52a12e4087':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 12:10:07 -07:00
David 'Digit' Turner
a90a1213da
am 8d1f2e6f: am 638608b1: am da8ea213: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
...
* commit '8d1f2e6ffc7230e4000e5352e5798095a1f6d428':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
2011-03-14 12:05:58 -07:00
David 'Digit' Turner
37bec5d740
am 448a1b9f: am b299039d: am e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
...
* commit '448a1b9f1827cbebad69383ba3f09cc0be5b4986':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
2011-03-14 12:05:54 -07:00
Brad Fitzpatrick
f9316d37b4
am 08a4ce98: am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit '08a4ce983ba14cef394e5198c9561349ec7fef44':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 11:50:56 -07:00
David 'Digit' Turner
8d1f2e6ffc
am 638608b1: am da8ea213: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
...
* commit '638608b11afbd255ddbd15e739f0f638791a4305':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
2011-03-14 10:53:11 -07:00
David 'Digit' Turner
448a1b9f18
am b299039d: am e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
...
* commit 'b299039d060eb5f523c05e4f9b6934a6b897a54f':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
2011-03-14 10:53:09 -07:00
Brad Fitzpatrick
08a4ce983b
am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit '0c3989854fa3ea3ffb4152c013f68f2a21a52dc1':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 10:52:05 -07:00
Brad Fitzpatrick
0c3989854f
Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
2011-03-14 10:39:10 -07:00
Elliott Hughes
fe3186b9c1
Upgrade to tzdata2011d.
...
Affects Cuba, Samoa, and Turkey.
Change-Id: Ib1d41c9462ba12995214710f2750888f50fffde5
2011-03-14 10:31:33 -07:00
Mike Lockwood
6139fa33ab
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
...
For bugs b/4079236, b/4073248 and b/4080288
Change-Id: Id9cdbe95d7dd892bf38e16e7da505ee0eae26b99
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-03-11 19:02:16 -05:00
David 'Digit' Turner
306641a893
am 3134b56b: am 0d6bbc7a: am dfe6eda5: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
...
* commit '3134b56bb077d9dce1a8d49ac805878baef33603':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
2011-03-11 15:56:32 -08:00
David 'Digit' Turner
c32c913e5a
am b868a32d: am 0b73dac8: am d6722bdd: Merge "libc: <stdint.h>: Proper C++"
...
* commit 'b868a32df691c5deee1ce2f40878419e3c49d1a3':
libc: <stdint.h>: Proper C++
2011-03-11 15:56:30 -08:00
David 'Digit' Turner
3134b56bb0
am 0d6bbc7a: am dfe6eda5: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
...
* commit '0d6bbc7af091ee05dd032492ae594c263404e4aa':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
2011-03-11 15:40:21 -08:00
David 'Digit' Turner
b868a32df6
am 0b73dac8: am d6722bdd: Merge "libc: <stdint.h>: Proper C++"
...
* commit '0b73dac8aa9546c0f532c7ea5e0bf72dd029f271':
libc: <stdint.h>: Proper C++
2011-03-11 15:40:16 -08:00
David 'Digit' Turner
638608b11a
am da8ea213: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
...
* commit 'da8ea213abb8bec08da37622179061630bd8e2f8':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
2011-03-11 11:13:45 -08:00
David 'Digit' Turner
b299039d06
am e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
...
* commit 'e6e2ba1d40241c85de16d75cbd397cc3670d7535':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
2011-03-11 11:12:11 -08:00
David 'Digit' Turner
da8ea213ab
Merge "libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
2011-03-11 09:32:33 -08:00
David 'Digit' Turner
e6e2ba1d40
Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"
2011-03-11 09:31:57 -08:00
David 'Digit' Turner
847b183f63
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
...
See http://code.google.com/p/android/issues/detail?id=15221
Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
2011-03-11 14:51:19 +01:00
David 'Digit' Turner
8b3cea6732
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
...
Change-Id: I8b0ea266eab9c6f75d8407b704953ecaef948221
2011-03-11 14:39:05 +01:00
David 'Digit' Turner
0d6bbc7af0
am dfe6eda5: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
...
* commit 'dfe6eda57e1e463427f941d5d71f8ccb5297d6d2':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
2011-03-10 12:14:51 -08:00
David 'Digit' Turner
0b73dac8aa
am d6722bdd: Merge "libc: <stdint.h>: Proper C++"
...
* commit 'd6722bdd201e2747c55ec7255db7f1d5864ccdd3':
libc: <stdint.h>: Proper C++
2011-03-10 12:11:41 -08:00
David 'Digit' Turner
dfe6eda57e
Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
2011-03-10 11:35:58 -08:00
David 'Digit' Turner
0e5411b4ba
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
...
Change-Id: I3c74269901a288c448734dd7eb442a62b9348db8
2011-03-10 20:35:17 +01:00
Paul Lind
865e3789dd
[ENDIAN] Build md5 code correctly for bigendian targets
...
Signed-off-by: Raghu Gandham <raghu@mips.com >
2011-03-10 11:13:50 -08:00
David 'Digit' Turner
d6722bdd20
Merge "libc: <stdint.h>: Proper C++"
2011-03-10 11:01:24 -08:00
Chris Dearman
db4bce0549
Use MAP_FIXED when allocating prelinked shared library regions
...
Prelinked libraries must be mapped to a fixed address. MAP_FIXED is ignored
for non-prelinked libraries (si->base==0)
Signed-off-by: Raghu Gandham <raghu@mips.com >
2011-03-10 10:48:14 -08:00
David 'Digit' Turner
08ff1a6474
libc: <stdint.h>: Proper C++
...
This patch prevents the definition of various macros when <stdint.h> is
included from C++. The ISO C99 standard mentions that when this header
is included from a C++ source file, limit and constant related macros
should only be defined when asked explicitely by defining
__STDC_LIMIT_MACROS and __STD_CONSTANT_MACROS, respectively.
The <stdint.h> lacked the proper #ifdef .. #endif blocks for the
following macros:
INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, PTRDIFF_MIN, PTRDIFF_MAX
INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX,
INPTR_C, UINTPR_C, PTRDIFF_C, INTMAX_C, UINTMAX_C
This is intended to fix http://code.google.com/p/android/issues/detail?id=14380
after we copy this file to development/ndk/platforms/android-3/include/
Change-Id: Ia77e0822edfaaf568ea599d7de673b310eeeaa4a
2011-03-10 18:02:01 +01:00
Mike Lockwood
00588f13d8
am 1a0775f1: am c0fc678e: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit '1a0775f1ca5ed1ef9142be5d8239dc6cc500a46f':
linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-10 07:57:17 -08:00
Mike Lockwood
1a0775f1ca
am c0fc678e: linux/usb/f_accessory.h: Update USB accessory kernel header
...
* commit 'c0fc678e969885cf95d2dacaad647cdc3f704f6e':
linux/usb/f_accessory.h: Update USB accessory kernel header
2011-03-10 07:52:33 -08:00
David 'Digit' Turner
dcf5164daa
am 81d79f9f: am 962dcb22: am fed58049: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
...
* commit '81d79f9fb38d9ae8a5711f5774aa5a1516f6cc26':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
2011-03-10 01:59:42 -08:00
David 'Digit' Turner
81d79f9fb3
am 962dcb22: am fed58049: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
...
* commit '962dcb22218a1a6d4ebd05e4fc4a69875d037234':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
2011-03-10 01:55:35 -08:00
David 'Digit' Turner
962dcb2221
am fed58049: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
...
* commit 'fed58049d50083e4c960d89f4bbd516a181c2d18':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
2011-03-10 01:51:19 -08:00
David 'Digit' Turner
fed58049d5
Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
2011-03-10 01:26:26 -08:00
David 'Digit' Turner
ca4462d76c
libc: Fix PTHREAD_RWLOCK_INITIALIZER
...
The macro definition was incorrect and resulted in a compile error
when used.
Fixes http://code.google.com/p/android/issues/detail?id=15306
Change-Id: I8fa6047b63e7f56b53653774327099822c469cd1
2011-03-10 10:23:44 +01:00
Mike Lockwood
c0fc678e96
linux/usb/f_accessory.h: Update USB accessory kernel header
...
For bugs b/4079236, b/4073248 and b/4080288
Change-Id: I641a0fa93492c7059900f0193c722356d13eeab5
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-03-09 21:57:00 -05:00
Mike Lockwood
b2dd464951
am b6a562e3: (-s ours) am 2703b704: (-s ours) am 6bd73ed4: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
* commit 'b6a562e3895c51741748e90d56d822b0a9d36710':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
2011-03-09 14:09:34 -08:00
Mike Lockwood
b6a562e389
am 2703b704: (-s ours) am 6bd73ed4: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
* commit '2703b7046cebfadee325500d957501afbba11ebc':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
2011-03-09 14:05:42 -08:00
Mike Lockwood
2703b7046c
am 6bd73ed4: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
* commit '6bd73ed417c52ed57d5f62ea9988b6071a1efbeb':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
2011-03-09 13:31:58 -08:00
Brian Carlstrom
3c2a9aec91
Merge commit 'a08eb1df005189fdf5881b0f7b2f9258a97fec00' into honeycomb-mr1-release-to-dalvik-dev
2011-03-07 13:34:00 -08:00
Elliott Hughes
8d26fbb24a
Upgrade to tzdata2011c.
...
Affects Chile and Annette Island, Alaska.
Change-Id: Ie4985a69e803bbc7ccd30619799ee5a9fd3737ce
2011-03-07 11:54:12 -08:00
Jason Chen
a08eb1df00
am 0ca21df5: (-s ours) am 6519756b: Merge "DO NOT MERGE Cherry-pick of 0ee092fb2 from master" into honeycomb
...
* commit '0ca21df5c6fbb22498cfde93b4fd4cac3235901b':
DO NOT MERGE Cherry-pick of 0ee092fb2 from master
2011-03-02 15:32:53 -08:00
Sriram Raman
d381573876
Merge commit '44892440582ee8df1dcace7167e587fdfe1ada6d' into HEAD
2011-03-01 22:36:18 -05:00
Jason Chen
0ca21df5c6
am 6519756b: Merge "DO NOT MERGE Cherry-pick of 0ee092fb2 from master" into honeycomb
...
* commit '6519756b23a8b18d06dae53cc3ece32c87146972':
DO NOT MERGE Cherry-pick of 0ee092fb2 from master
2011-03-01 17:51:49 -08:00
Jason Chen
6519756b23
Merge "DO NOT MERGE Cherry-pick of 0ee092fb2 from master" into honeycomb
2011-03-01 17:48:25 -08:00
Mattias Falk
4489244058
DO NOT MERGE Cherry-pick of 0ee092fb2 from master
...
Convert cname lenght before use
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I78552d427ef6500d9121fc83423f0744ea0c3087
2011-03-01 17:22:04 -08:00
Erik Gilling
da14b0e1dd
add linux/nvhdcp.h header
...
Change-Id: I74a1cf90bc9807002869aa9c7b5eddb065638db2
2011-03-01 14:46:11 -08:00
Mattias Falk
0ee092fb23
Convert cname lenght before use
...
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I1a0cc12780c47f7493fcf06f690515829f88c01e
2011-03-01 12:52:10 -08:00
Brian Carlstrom
449c8dee92
Merge commit '3224c08bd77043338ad6e9ecacbd4c118205e873' into honeycomb-mr1-release-to-dalvik-dev
2011-02-28 11:36:06 -08:00
Brad Fitzpatrick
1ed86fa491
Merge "Proxy getnameinfo through netd"
2011-02-22 07:18:56 -08:00
David Turner
5d90cb30f4
Merge "Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list"
2011-02-22 07:05:32 -08:00
Mattias Falk
149f7dfe04
Proxy getnameinfo through netd
...
Proxy the parts of getnameinfo that utilize
the dns cache through netd.
Change-Id: I1d57c451ea6b179c34828cf57a4182b262674003
2011-02-22 08:22:16 +01:00
Mike Lockwood
6bd73ed417
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
...
Change-Id: I972d28065ee7e77e93699512310fcd6d5742ed0d
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-02-21 12:35:22 -05:00
David Turner
3224c08bd7
Merge changes I8c481c89,I791406f8,I5f09cef8
...
* changes:
libc: ARM: update syscalls with new script
libc: ARM: add size info to gensyscalls
Add function marks and size indications
2011-02-18 15:22:27 -08:00
David Turner
0999f8dcf2
Merge "Move the zoneinfo generation tool into bionic."
2011-02-18 14:53:03 -08:00
Elliott Hughes
d40e63ee47
Move the zoneinfo generation tool into bionic.
...
This also incorporates a bunch of changes to the previous script; this one
requires no setup, can be run from anywhere, and leaves no droppings.
Change-Id: I38f299f03e33950d2a64e9336f4ba7cb3c5cf6f0
2011-02-17 16:20:28 -08:00
Kenny Root
fb723c8749
libc: ARM: update syscalls with new script
...
Used the new gensyscalls.py script to update the ARM syscalls with the
BEGIN(x) and END(x) macros to give size information for the code of the
syscall. Useful for valgrind.
Change-Id: I8c481c8928401ac110fd19b087f7d67e4db39326
2011-02-17 10:47:47 -08:00
Kenny Root
f540c03bff
libc: ARM: add size info to gensyscalls
...
Add size information to gensyscalls output for ARM syscalls with new
BEGIN(x) and END(x) macros in arch-arm/include/machine/asm.h
Change-Id: I791406f8b17abcb83b70a6d15a65a527de15d3f5
2011-02-17 10:47:20 -08:00
Kenny Root
420878c690
Add function marks and size indications
...
Add a macro to annotate function end and start using both ENTRY and END
for each function. This allows valgrind (and presumably other debugging
tools) to use the debug symbols to trace the functions.
Change-Id: I5f09cef8e22fb356eb6f5cee952b031e567599b6
2011-02-17 09:07:25 -08:00
Kenny Root
0233509c16
Amend previous commit with needed include
...
Change-Id: Idae8daaf095d90513820e05f423144ffed4ba913
2011-02-17 07:50:36 -08:00
David Turner
aac93c2370
Merge "Convert cname lenght before use"
2011-02-16 18:58:45 -08:00
Bruce Beare
48e1feaa9d
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
...
Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-02-16 17:50:23 -08:00
Kenny Root
3a3c1853ac
Use CLZ on ARMv5 and newer
...
Change-Id: Ia5aa6974c0343ae43fbcb91304501213048e9ec0
2011-02-16 16:40:08 -08:00
Mike Lockwood
0d06b42327
Merge "Add linux/usb/f_accessory.h header for USB accessory driver"
2011-02-16 05:57:39 -08:00
Elliott Hughes
56d90bb49a
Add MODULE_LICENSE_PUBLIC_DOMAIN for the tzdata.
...
Change-Id: Ie3dd3daef4610f3bd4cbc60f1de854ad28189038
2011-02-15 14:12:24 -08:00
Elliott Hughes
6ac872a0ee
Update to 2011b tzdata.
...
Change-Id: Ic8c9e9a71a52435441db1367fb40b58ae23efe1a
2011-02-15 13:29:40 -08:00
Mike Lockwood
6783f6a736
Add linux/usb/f_accessory.h header for USB accessory driver
...
Change-Id: Id6ffd75f855028739674c36f30d2592391d90859
Signed-off-by: Mike Lockwood <lockwood@android.com >
2011-02-15 09:20:21 -05:00
Mattias Falk
066ecc8f4a
Convert cname lenght before use
...
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I1a0cc12780c47f7493fcf06f690515829f88c01e
2011-02-15 08:44:20 +01:00
Kenny Root
0aad55369d
Merge "Fix the handle locking in stdio"
2011-02-14 15:46:36 -08:00
Kenny Root
f582340a6a
Fix the handle locking in stdio
...
Fix the handle locking in stdio to use flockfile/funlockfile
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
Based on OpenBSD change by guenther@openbsd.org
http://www.mail-archive.com/source-changes@cvs.openbsd.org/msg01015.html
Bug: 3446659
Change-Id: Ie82116e358c541718d6709ec45ca6796be5a007b
2011-02-14 09:32:56 -08:00
Mattias Falk
3a4910c616
Use system property to set dns cache size
...
Use system property ro.net.dns_cache_size to set
the size of the cache. If the system property
is not set the default cache size is defined by
CONFIG_MAX_ENTRIES.
The number of entries in the hash table will be equal
to the number of max entries allowed in the cache.
Change-Id: I77d69d7c178937fa483d0b40512483ad29232d28
2011-02-14 12:41:11 +01:00
Jean-Baptiste Queru
3e0cb1bc63
am 423d942e: am 69d6c2cc: Merge "Update"
...
* commit '423d942e6dc1e2051466e70d71520ab2e4273ea1':
Update
2011-02-11 12:34:41 -08:00
Jean-Baptiste Queru
423d942e6d
am 69d6c2cc: Merge "Update"
...
* commit '69d6c2ccd943f43e87445d00e96eb98deb690ea1':
Update
2011-02-11 12:32:38 -08:00
Jean-Baptiste Queru
69d6c2ccd9
Merge "Update"
2011-02-11 12:17:21 -08:00
Dmitry Shmidt
a3db183abe
Update
...
Change-Id: I41f590dec6bfd26c36cf01601cf03502d02d29af
2011-02-11 11:49:37 -08:00
Kenny Root
72f9a5c374
Increase SO_MAX to accomodate valgrind
...
system_server loads up 87 shared libraries upon start. Running under
valgrind pushes this just over the edge of 96. Increase SO_MAX to 128 to
give us some more headroom.
Change-Id: Iadceb14ab6d9621bdccd292570d50867828057d9
2011-02-10 17:02:23 -08:00
David Turner
9c2e97e9d3
am b35d80f0: am 76299d19: Merge "Remove an extra register move."
...
* commit 'b35d80f0b0a6d87ba20aa2de594db19a0ccf93df':
Remove an extra register move.
2011-02-07 13:51:27 -08:00
David Turner
86ca12cfff
am d7cf6382: am 8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
...
* commit 'd7cf638288f100f29f6ba733c50f12ecdb5e192b':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
2011-02-07 13:51:25 -08:00
David Turner
ae54025061
am 9e401df6: am 1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
...
* commit '9e401df692e3c47124cbaff7b866f55eec3bba27':
move some typedefs to procfs.h required by gdbserver build
2011-02-07 13:51:22 -08:00
David Turner
761cb55ab3
am dd279aa9: am 2282ecc2: Merge "Use more optimized version of memmove"
...
* commit 'dd279aa99f6b6310480e28ba1e843a23f722c87e':
Use more optimized version of memmove
2011-02-07 13:43:54 -08:00
David Turner
b35d80f0b0
am 76299d19: Merge "Remove an extra register move."
...
* commit '76299d196f8cc731b5bd72880f63d9d9cfd05694':
Remove an extra register move.
2011-02-07 08:00:04 -08:00
David Turner
d7cf638288
am 8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
...
* commit '8db7bcb14f6a3222151bb5304a55670bad0dc5a1':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
2011-02-07 08:00:02 -08:00
David Turner
9e401df692
am 1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
...
* commit '1447332ffa163f608ebed332e09ab5519e4b17dd':
move some typedefs to procfs.h required by gdbserver build
2011-02-07 08:00:00 -08:00
David Turner
76299d196f
Merge "Remove an extra register move."
2011-02-06 15:01:57 -08:00
David Turner
8db7bcb14f
Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
2011-02-06 15:01:39 -08:00
David Turner
1447332ffa
Merge "move some typedefs to procfs.h required by gdbserver build"
2011-02-06 15:01:02 -08:00
David 'Digit' Turner
62e1f374d1
Merge "libc: Update auto-gen scripts"
2011-02-06 12:53:23 -08:00
Brian Carlstrom
b16b7364e3
Merge commit 'c4dff905d430d9e313efe013dbc03b6388ce351a' into honeycomb-release-to-dalvik-dev
2011-02-05 17:10:52 -08:00
The Android Automerger
c4dff905d4
merge in honeycomb-release history after reset to honeycomb
2011-02-04 22:25:57 -08:00
The Android Automerger
e34bd9e5a2
merge in honeycomb-release history after reset to honeycomb
2011-02-04 21:55:42 -08:00
Andy McFadden
81a844a0fc
Added _memmove_words
...
Added a memmove() variant for Dalvik's System.arraycopy()
implementation. It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.
Bug 3398352
(cherry-pick from master)
Change-Id: I5e64de1c76971ba234bf2dd05477ba390e0412a4
2011-02-04 20:06:04 -08:00
The Android Automerger
a15beddec2
merge in honeycomb-release history after reset to honeycomb
2011-02-04 17:35:30 -08:00
Andy McFadden
4ce737f5df
Added _memmove_words
...
Added a memmove() variant for Dalvik's System.arraycopy()
implementation. It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.
Bug 3398352
Change-Id: Ie7bd246305ef0ff8290513663327c5b81680368d
2011-02-04 14:49:49 -08:00
The Android Automerger
8d0d37cb9c
merge in honeycomb-release history after reset to honeycomb
2011-02-04 11:49:06 -08:00
The Android Automerger
b511304d47
merge in honeycomb-release history after reset to honeycomb
2011-02-04 10:26:03 -08:00
David Turner
dd279aa99f
am 2282ecc2: Merge "Use more optimized version of memmove"
...
* commit '2282ecc295b58197a1e22f38a20750ccab4e3c69':
Use more optimized version of memmove
2011-02-04 10:16:01 -08:00
The Android Automerger
4f60dabb9f
merge in honeycomb-release history after reset to honeycomb
2011-02-04 07:18:56 -08:00
David Turner
2282ecc295
Merge "Use more optimized version of memmove"
2011-02-04 05:13:35 -08:00
Brian Carlstrom
e2d3af00cc
Merge commit '94074360b9006a10a00412131c10944ce6daebda' into honeycomb-release-to-dalvik-dev
2011-02-03 21:47:27 -08:00
Brad Fitzpatrick
5b98774566
am b8175727: am 9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
...
* commit 'b8175727c7a165076311f18c29f09bdc27d7be10':
Add time-to-live (TTL) support to resolver cache
2011-02-03 18:07:54 -08:00
The Android Automerger
94074360b9
merge in honeycomb-release history after reset to honeycomb
2011-02-03 15:26:32 -08:00
Bruce Beare
f4680b57ed
Remove an extra register move.
...
Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-02-03 12:21:04 -08:00
Bruce Beare
0f2001b147
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
...
Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-02-03 12:21:03 -08:00
Bruce Beare
f6ccc15457
move some typedefs to procfs.h required by gdbserver build
...
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-02-03 12:21:02 -08:00
Brian Carlstrom
599ad0c581
Merge commit 'd40d6bb6158696265df2ea31f328ffe97aff6af3' into honeycomb-release-to-dalvik-dev
2011-02-03 12:03:08 -08:00
Brad Fitzpatrick
b8175727c7
am 9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
...
* commit '9a3305128920e0ff018d267d1bf4f5e58a5146e5':
Add time-to-live (TTL) support to resolver cache
2011-02-03 11:45:27 -08:00
The Android Automerger
d40c04273d
merge in honeycomb-release history after reset to honeycomb
2011-02-03 11:23:20 -08:00
David 'Digit' Turner
d51564f918
Merge "libc: Fix struct user_vfp definition."
2011-02-03 10:31:27 -08:00
David 'Digit' Turner
fc2693110e
libc: Update auto-gen scripts
...
Make the scripts use external/kernel-headers/original by default.
clean_header.py: Document -k<path>, add -d<path>
find_headers.py: Make kernel config files optional
update_all.py: Allow setting the path to kernel headers on the command-line
update_all.py: Better formatting of output on ttys
update_all.py: Automatically perform "git add/rm" on affected files.
SYSCALLS.TXT: Fix typo in __socketcall definition.
checksyscalls.py: Add support for superH architecture in the checks.
gensyscalls.py: Automatically perform "git add/rm" on affected files.
cpp.py: Fixed a bug that prevented certain type definitions to
be kept in the generated clean header (e.g.
struct ethtool_drvinfo in <linux/ethtool.h>)
All scripts will use the content of external/kernel-headers/original by default now.
The generated code removes all empty lines and trailing whitespace. This is useful
to ensure a unified output even if we change the parser again in the future.
The top-level disclaimer has been edited with update instructions to regenerate
the headers when needed.
Also, a warning is now inserted every 8th line in the final output:
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Changes under kernel/arch-arm and kernel/arch-x86 should correspond to whitespace
differences and additionnal struct definitions that were missed by the previous
parser implementation.
Change-Id: Icd1c056bacd766759f3e9b7bb5d63a246f3d656a
WARNING: If you run these script, do not submit the result to gerrit for now.
It seems there are discrepancies between the content of original headers
and those currently commited under bionic/libc/kernel/.
(This problem is the main motivation to insert the warning repeatedly).
Current list of issues:
- Missing SuperH headers (i.e. external/kernel-headers/original/asm-sh)
2011-02-03 18:07:41 +01:00
The Android Automerger
4c2fd970ba
merge in honeycomb-release history after reset to honeycomb
2011-02-03 07:17:34 -08:00
Johannes Carlsson
0f67de14e6
Use more optimized version of memmove
...
On ARM there is currently no assembler optimized memmove in libc.
There is however a more optimized bcopy which copies long instead
of bytes where possible. This almost doubles the performance in
best case.
Change-Id: I1f1cd27529443358047c385730deaf938ce4e642
2011-02-03 15:17:13 +01:00
David Turner
820e6867e2
Merge "Bug 3330205 Thread safety for bignum powers of 5"
2011-02-03 04:45:51 -08:00
David Turner
d1c780e5d3
Merge changes I6b304dfb,I4a3c2035,I5af12b3f,I0ef33ca6,I149c46e7
...
* changes:
Add icmp6.h and ip6.h files from current NetBSD libc.
Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
Update IPv6 kernel headers with new 2.6.37 headers, cleaned by update_all.py. (It wanted to do many other changes, most of them cosmetic, but I only included the IPv6 changes.)
Fix syntax error in defaults.py.
2011-02-03 04:44:31 -08:00
The Android Automerger
d40d6bb615
merge in honeycomb-release history after reset to honeycomb
2011-02-02 16:13:06 -08:00
Brad Fitzpatrick
9a33051289
Merge "Add time-to-live (TTL) support to resolver cache"
2011-02-02 14:55:20 -08:00
Mattias Falk
3e0c5102e6
Add time-to-live (TTL) support to resolver cache
...
Use the the TTL of the answer as the time a query
shall remain in the resolver cache.
Added some debugging support as well, i.e.
parse answer and print a la dig.
Change-Id: I724d3392245032592f1912f3ca7a81a8987ebbac
2011-02-02 16:40:01 +01:00
The Android Automerger
1d8bd9da0c
merge in honeycomb-release history after reset to honeycomb
2011-02-02 07:21:34 -08:00
Brian Carlstrom
f10a41b5a1
Merge commit '2e5574379e355feef79279ef6b2db0efe7c581e5' into honeycomb-release-to-dalvik-dev
2011-02-01 13:49:41 -08:00
The Android Automerger
8e87548b05
merge in honeycomb-release history after reset to honeycomb
2011-02-01 10:12:06 -08:00
David 'Digit' Turner
30b4d82bba
libc: Fix struct user_vfp definition.
...
This patch moves the definition of struct user_vfp from <asm/ptrace.h>
to <asm/user.h> for the ARM platform, in order to match the original
kernel headers.
See patches 94519 and 94520 for a description of the problem and a
fix for debuggerd that uses the structure.
This prevented us from properly re-running the kernel headers cleanup
scripts.
Change-Id: I43718a59ae49b9d89fc2d1c8affb65973fb2919c
2011-02-01 15:28:36 +01:00
The Android Automerger
2e5574379e
merge in honeycomb-release history after reset to honeycomb
2011-01-31 17:24:30 -08:00
David 'Digit' Turner
040e18f362
Merge "libc: fix kernel cleanup script typo."
2011-01-31 07:53:11 -08:00
The Android Automerger
62e10eaef7
merge in honeycomb-release history after reset to honeycomb
2011-01-30 13:37:36 -08:00
The Android Open Source Project
727c443a27
am 977e0cb4: Reconcile gingerbread-plus-aosp and honeycomb
...
* commit '977e0cb4d378368a655b39157161218f0ce5c078':
2011-01-30 12:53:48 -08:00
The Android Open Source Project
9bfd3f54e6
Mass merge from gingerbread - do not merge
...
Change-Id: I105c2c728aef42629dbb44af8e3d1044c4ae1e97
2011-01-30 12:39:43 -08:00
The Android Open Source Project
977e0cb4d3
Reconcile gingerbread-plus-aosp and honeycomb
...
Change-Id: I39eeb24bc7dc2fe2f9223e079aeccf4966d92d38
2011-01-30 12:39:43 -08:00
The Android Automerger
0dae6718be
merge in honeycomb-release history after reset to honeycomb
2011-01-30 09:58:53 -08:00
The Android Automerger
9f7b092e01
merge in honeycomb-release history after reset to honeycomb
2011-01-28 15:49:06 -08:00
Steinar H. Gunderson
6846a45882
Add icmp6.h and ip6.h files from current NetBSD libc.
...
Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
bdca379412
Include the Linux ipv6.h header from netinet/in.h, to get things like in6_pktinfo.
...
Change-Id: I4a3c2035ff8e2846352345580756a1bdc2768ec4
2011-01-28 18:28:27 +01:00
Steinar H. Gunderson
3de0321690
Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do not provide it anymore.
...
Change-Id: I5af12b3f38097ed165e64a408253dc375aa605d7
2011-01-28 18:28:19 +01:00
The Android Automerger
fe6d7ca344
merge in honeycomb-release history after reset to honeycomb
2011-01-28 07:25:04 -08:00
Brian Carlstrom
7f842b3f9c
Merge commit '8b9bc8330f90699d027045001389c69f35c55877' into honeycomb-release-to-dalvik-dev
2011-01-27 22:18:02 -08:00
David Turner
b0350d9b22
am 2081fda6: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '2081fda69a68505c914324797400b1b798516904':
Only look up A records if the system has IPv4.
2011-01-27 18:28:28 -08:00
Steinar H. Gunderson
24e570257e
am 2e23e292: Backport (simple cherry-pick) d33019030c to gingerbread.
...
* commit '2e23e29245aa42d0f9419187c94e72dba3888eef':
Backport (simple cherry-pick) d33019030c to gingerbread.
2011-01-27 08:49:03 -08:00
Steinar H. Gunderson
1e9496756c
am f4dca7be: Backport (simple cherry-pick) 64b6c43379 to gingerbread.
...
* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
Backport (simple cherry-pick) 64b6c43379 to gingerbread.
2011-01-27 08:49:01 -08:00
Steinar H. Gunderson
7704f449c9
am a798b9f0: Backport (simple cherry-pick) d1624add2b to gingerbread.
...
* commit 'a798b9f0e171643b0bc7bbf79f14cb018689f715':
Backport (simple cherry-pick) d1624add2b to gingerbread.
2011-01-27 08:48:53 -08:00
The Android Automerger
9ad150d7d2
merge in honeycomb-release history after reset to honeycomb
2011-01-27 07:26:05 -08:00
The Android Automerger
8b9bc8330f
merge in honeycomb-release history after reset to honeycomb
2011-01-26 07:26:14 -08:00
David 'Digit' Turner
0d1ef5a3df
am 59290f4c: am 8e2ff164: libm: Add nanf() and tgammaf() implementations.
...
* commit '59290f4c88241c23f3f9cfcbb28e3011035f1012':
libm: Add nanf() and tgammaf() implementations.
2011-01-26 05:38:56 -08:00
David 'Digit' Turner
59290f4c88
am 8e2ff164: libm: Add nanf() and tgammaf() implementations.
...
* commit '8e2ff164cc327aad8666333a1d75f86291858da0':
libm: Add nanf() and tgammaf() implementations.
2011-01-26 05:34:40 -08:00
Brad Fitzpatrick
c12170c601
am 90da07a8: am d05446b3: am 7a2e1a02: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit '90da07a88225161feedbf518a37a3c22ec12a879':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 16:22:30 -08:00
Brad Fitzpatrick
bd4502a736
am 901f24b9: resolved conflicts for merge of ff242869 to honeycomb-plus-aosp
...
* commit '901f24b988029ae127362d72f11af67b545a24b6':
DNS proxy: the start. proxies getaddrinfo calls.
2011-01-25 16:22:27 -08:00
Brad Fitzpatrick
90da07a882
am d05446b3: am 7a2e1a02: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit 'd05446b34e416d89261a31452afee10eb12bb71d':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 16:14:11 -08:00
Brad Fitzpatrick
901f24b988
resolved conflicts for merge of ff242869 to honeycomb-plus-aosp
...
Change-Id: I560f07374589a844bdf611da8ec5e358dc451ba4
2011-01-25 16:11:42 -08:00
Brad Fitzpatrick
d05446b34e
am 7a2e1a02: Merge "Don\'t proxy getaddrinfo when net.dns1.[MYPID] is set."
...
* commit '7a2e1a0245f5645661fdbc6887c2bc7c7f49e0ee':
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
2011-01-25 15:41:28 -08:00
Brad Fitzpatrick
ff24286911
am 0ec85334: Merge "DNS proxy: the start. proxies getaddrinfo calls."
...
* commit '0ec85334ff375a2b7823f322e083d4a0ea24c289':
DNS proxy: the start. proxies getaddrinfo calls.
2011-01-25 15:41:21 -08:00
Brad Fitzpatrick
7a2e1a0245
Merge "Don't proxy getaddrinfo when net.dns1.[MYPID] is set."
2011-01-25 15:09:13 -08:00
Brad Fitzpatrick
0ec85334ff
Merge "DNS proxy: the start. proxies getaddrinfo calls."
2011-01-25 15:09:09 -08:00
Brian Carlstrom
c7703c481a
Merge commit '7d545233acf6c4d73a623c16ca96cb7d4b9f5db7' into honeycomb-release-to-dalvik-dev
2011-01-25 14:32:09 -08:00
David 'Digit' Turner
8e2ff164cc
libm: Add nanf() and tgammaf() implementations.
...
Requested by b/3370708 to export these through RenderScript.
Change-Id: I1ae69f87a1ad4765b2dee8e4a6f2f3a6eb7c5ad4
2011-01-25 17:07:26 +01:00
The Android Automerger
5b7158cd71
merge in honeycomb-release history after reset to honeycomb
2011-01-25 07:25:18 -08:00
The Android Automerger
5f9117d007
merge in honeycomb-release history after reset to honeycomb
2011-01-24 07:22:17 -08:00
The Android Automerger
7d545233ac
merge in honeycomb-release history after reset to honeycomb
2011-01-23 07:21:47 -08:00
The Android Automerger
ef80f2f803
merge in honeycomb-release history after reset to honeycomb
2011-01-22 07:23:11 -08:00
tedbo
dd3bcd1330
Fix bug in linker environment variable lookup.
...
The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.
This was introduced in git change
be5755969d .
The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.
Change-Id: I14228df9252010e9fb4c1862bed5735f23e97aec
2011-01-21 16:05:40 -08:00
David Turner
3b3944e42f
am f03e2d3f: am 5d45fa40: am 2081fda6: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit 'f03e2d3f3104a85d64f66a18ab13d5ba5fb4131c':
Only look up A records if the system has IPv4.
2011-01-21 15:53:46 -08:00
David Turner
f03e2d3f31
am 5d45fa40: am 2081fda6: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '5d45fa4049d9ba03c0d922ece18d1d2dda119dc7':
Only look up A records if the system has IPv4.
2011-01-21 15:50:23 -08:00
tedbo
bdb51d0830
am ccd54780: am b67c1bac: Fix bug in linker environment variable lookup.
...
* commit 'ccd547800a9c734d3a1c6054860e7c18538c8d02':
Fix bug in linker environment variable lookup.
2011-01-21 13:12:26 -08:00
tedbo
ccd547800a
am b67c1bac: Fix bug in linker environment variable lookup.
...
* commit 'b67c1bacd0fc27c26cc3ec19bd2c9ded19cecd08':
Fix bug in linker environment variable lookup.
2011-01-21 13:10:24 -08:00
Colin Cross
5c6a8a6f41
am 84f4753d: am 56faf66f: raise: Send signal to current thread
...
* commit '84f4753d1b5f89ace0cc89021916f6f5b44e6540':
raise: Send signal to current thread
2011-01-21 12:40:07 -08:00
Colin Cross
84f4753d1b
am 56faf66f: raise: Send signal to current thread
...
* commit '56faf66fd7a90ea11835f8f0c9a7d6d8b350a09d':
raise: Send signal to current thread
2011-01-21 12:36:31 -08:00
tedbo
b67c1bacd0
Fix bug in linker environment variable lookup.
...
The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.
This was introduced in git change
be5755969d .
The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.
Change-Id: I14228df9252010e9fb4c1862bed5735f23e97aec
2011-01-21 21:15:08 +01:00
Colin Cross
56faf66fd7
raise: Send signal to current thread
...
Change-Id: Ie4318b8ddd01cc2f58f5e07c1d71376953943153
2011-01-21 11:39:15 -08:00
tedbo
b3cdf7fef8
Fix bug in linker environment variable lookup.
...
The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.
This was introduced in git change
be5755969d .
The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.
Change-Id: I169024de4a005321e768accd38246fc1d717271b
2011-01-20 20:44:44 -08:00
Steinar H. Gunderson
0688023af7
Update IPv6 kernel headers with new 2.6.37 headers, cleaned by update_all.py. (It wanted to do many other changes, most of them cosmetic, but I only included the IPv6 changes.)
...
Change-Id: I0ef33ca6d890d067949fce772104cd03335f612d
2011-01-20 06:08:40 +01:00
Steinar H. Gunderson
db7c59df6c
Fix syntax error in defaults.py.
...
Change-Id: I149c46e7541af16856264b7f826981ce0d33290b
2011-01-20 06:08:40 +01:00
Glenn Kasten
441d7608b7
Merge "Fix typos"
2011-01-19 16:33:31 -08:00
Glenn Kasten
2cc0d38afb
Bug 3330205, 3362385 clock(3) SMP safety and epoch
...
Change-Id: Ida1e4400489c8c19818c6af5640ab89942c8f712
2011-01-19 16:14:51 -08:00
David Turner
5d45fa4049
am 2081fda6: Merge "Only look up A records if the system has IPv4." into gingerbread
...
* commit '2081fda69a68505c914324797400b1b798516904':
Only look up A records if the system has IPv4.
2011-01-18 17:34:33 -08:00
Glenn Kasten
1f353828c3
Fix typos
...
Change-Id: Ia02baba53be7034903f325258205441e5c193f7b
2011-01-18 09:36:38 -08:00
Steinar H. Gunderson
eae3fb664e
am 76b6f084: am 2be18508: am 2e23e292: Backport (simple cherry-pick) d33019030c to gingerbread.
...
* commit '76b6f084ab555ea5610156153371659320f7b56d':
Backport (simple cherry-pick) d33019030c to gingerbread.
2011-01-17 12:21:40 -08:00
Steinar H. Gunderson
0c1f88a2cd
am 8217a941: am 4eb4c932: am f4dca7be: Backport (simple cherry-pick) 64b6c43379 to gingerbread.
...
* commit '8217a9414fb81932074929afd5afd626e45d07bf':
Backport (simple cherry-pick) 64b6c43379 to gingerbread.
2011-01-17 12:21:38 -08:00
Steinar H. Gunderson
58f708da07
am 4fbecd29: am 42e449e9: am a798b9f0: Backport (simple cherry-pick) d1624add2b to gingerbread.
...
* commit '4fbecd297ab642c56c94fc7b73348742ff19dac3':
Backport (simple cherry-pick) d1624add2b to gingerbread.
2011-01-17 12:21:36 -08:00
Steinar H. Gunderson
76b6f084ab
am 2be18508: am 2e23e292: Backport (simple cherry-pick) d33019030c to gingerbread.
...
* commit '2be18508f349b74b60b09e1b1118d879afb5928c':
Backport (simple cherry-pick) d33019030c to gingerbread.
2011-01-17 12:19:01 -08:00
Steinar H. Gunderson
8217a9414f
am 4eb4c932: am f4dca7be: Backport (simple cherry-pick) 64b6c43379 to gingerbread.
...
* commit '4eb4c932dccdca663a651630fed14c760ea1e88c':
Backport (simple cherry-pick) 64b6c43379 to gingerbread.
2011-01-17 12:18:59 -08:00
Steinar H. Gunderson
4fbecd297a
am 42e449e9: am a798b9f0: Backport (simple cherry-pick) d1624add2b to gingerbread.
...
* commit '42e449e972c94d4af5a5ddffe2ffa73cc5666712':
Backport (simple cherry-pick) d1624add2b to gingerbread.
2011-01-17 12:18:57 -08:00
Steinar H. Gunderson
2be18508f3
am 2e23e292: Backport (simple cherry-pick) d33019030c to gingerbread.
...
* commit '2e23e29245aa42d0f9419187c94e72dba3888eef':
Backport (simple cherry-pick) d33019030c to gingerbread.
2011-01-17 12:15:45 -08:00
Steinar H. Gunderson
4eb4c932dc
am f4dca7be: Backport (simple cherry-pick) 64b6c43379 to gingerbread.
...
* commit 'f4dca7be3b7bc181f1534be187428c5a52cb8c6a':
Backport (simple cherry-pick) 64b6c43379 to gingerbread.
2011-01-17 12:15:44 -08:00
Steinar H. Gunderson
42e449e972
am a798b9f0: Backport (simple cherry-pick) d1624add2b to gingerbread.
...
* commit 'a798b9f0e171643b0bc7bbf79f14cb018689f715':
Backport (simple cherry-pick) d1624add2b to gingerbread.
2011-01-17 12:15:41 -08:00
Glenn Kasten
144a5d3c86
Bug 3330205 Thread safety for bignum powers of 5
...
Change-Id: I739a06f9037a9fb643276f61601f0f3e192581b8
2011-01-17 11:32:11 -08:00
Glenn Kasten
f4e10b721e
Merge "Bug 3330205 Put blanks and zeroes in const area"
2011-01-16 08:50:20 -08:00
Lorenzo Colitti
f65368a693
Merge "Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01."
2011-01-14 12:12:37 -08:00
Steinar H. Gunderson
d33019030c
Implement RFC3484 policy table changes from draft-ietf-6man-rfc3484-revise-01.
...
The changes in a nutshell:
- Handle v4-mapped as different from v4-compat (this was probably
an existing bug in our code).
- Add policy entries for ULA, above most everything else.
- Put v4-compat, old-style IPv6 site-local and 6bone addresses
way down in the preference table.
The rest is just shuffling numbers around (no actual changes to
priority).
Change-Id: Ieb111e0edd705992bc9d066befaaee95a8c1a5df
2011-01-13 17:42:58 +01:00
David Turner
e955e6ca6c
Merge "Bug 3330205 Thread safe strptime implementation"
2011-01-13 02:34:38 -08:00
Jean-Baptiste Queru
8897e7301a
am 6bf5bce6: am f588772b: Merge changes I9347ab44,I3f080b34
...
* commit '6bf5bce64439f196a131cb94f48ba785ee483e99':
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-11 15:22:59 -08:00
Jean-Baptiste Queru
6bf5bce644
am f588772b: Merge changes I9347ab44,I3f080b34
...
* commit 'f588772b05c35f19e25404bedc7890289de7c4b9':
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-11 14:56:52 -08:00
Glenn Kasten
b138e4f90f
Bug 3330205 Thread safe strptime implementation
...
Change-Id: I03e72b0253a7a2e015455ab81dbf155ed1e574d2
2011-01-11 09:33:04 -08:00
David 'Digit' Turner
b969b5a32a
libc: fix kernel cleanup script typo.
...
Change-Id: I5fc119be535ed47dadc780234665335efa6b9ac5
2011-01-11 17:23:10 +01:00
Glenn Kasten
43164fcbdf
Merge "Bug 3330205 Reentrant MD5"
2011-01-10 16:27:56 -08:00
Glenn Kasten
604085c380
Merge "Bug 3330205 Remove unnecessary static variable"
2011-01-10 16:25:47 -08:00
Glenn Kasten
a37cf34ede
Bug 3330205 Reentrant MD5
...
Change-Id: I4c8e4a8f3ef4cdaac50f32d9e55accb16133ab35
2011-01-09 12:37:26 -08:00
Glenn Kasten
e9d0518394
Bug 3330205 Remove unnecessary static variable
...
Change-Id: I7e781d26d6565952712f8fb0274d336462b441fd
2011-01-09 11:47:42 -08:00
Glenn Kasten
0946b1f6e9
Bug 3330205 Put blanks and zeroes in const area
...
Change-Id: I8f25aebd1ded3617dc60951271767281f73b8684
2011-01-09 11:38:56 -08:00
Bruce Beare
684305fe24
am 3c56ce49: use consistent guards for off_t and size_t defines for IA
...
* commit '3c56ce497d1ea3baa6406c49be82c1245fda2443':
use consistent guards for off_t and size_t defines for IA
2011-01-08 13:14:40 -08:00
Bruce Beare
e66695d083
am ce6c1d61: Simplify variable typing for IA builds
...
* commit 'ce6c1d6184b76bbaee65d91dd715c771fd1a4652':
Simplify variable typing for IA builds
2011-01-08 13:14:37 -08:00
Bruce Beare
3c56ce497d
use consistent guards for off_t and size_t defines for IA
...
Change-Id: Ie92b7597883c99e7f4101f4cf5e0ad267b4ee706
2011-01-07 11:42:54 -08:00
Bruce Beare
ce6c1d6184
Simplify variable typing for IA builds
...
Change-Id: I065e5176b3a15bd74ba832f8827b4a4e4837b0f7
2011-01-07 11:40:42 -08:00
Jean-Baptiste Queru
f588772b05
Merge changes I9347ab44,I3f080b34
...
* changes:
use consistent guards for off_t and size_t defines for IA
Simplify variable typing for IA builds
2011-01-07 11:39:25 -08:00
Dmitry Shmidt
015610e64e
Merge "Update headers for iproute2 ver 2.6.35"
2011-01-06 16:24:47 -08:00
Dmitry Shmidt
ce69c5e62f
Update headers for iproute2 ver 2.6.35
...
Change-Id: I170cc175b52379be6f5bd1106d43692ca7a629d2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2011-01-06 15:30:35 -08:00
Brad Fitzpatrick
555e02dee7
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
...
Part of on-going DNS proxy/cache work.
Bug: 1146676
Change-Id: I5e6028169c81c2223efc34c3b57e348c44f26d26
2011-01-06 11:24:52 -08:00
Brad Fitzpatrick
52583cc679
DNS proxy: the start. proxies getaddrinfo calls.
...
Will also need to do gethostinfo, but that's probably about it.
It was cleaner to do it at this level, rather than speaking in terms
of DNS packets.
Change-Id: I047cc459979ffb0170a3eb0d432a7e827fb71c26
2011-01-06 11:24:43 -08:00
Steinar H. Gunderson
64b6c43379
Add a new #define IN6_IS_ADDR_ULA, for testing for Universal Local IPv6 Unicast addresses (ULAs). These replace the old site-local IPv6 addresses.
...
Change-Id: I2656423764569d07b92b8eb8fe6dcad6eba5b0bb
2011-01-05 13:55:40 +01:00
David 'Digit' Turner
72a23d0560
Merge "libc: Fix the definition of SIGRTMAX"
2011-01-05 00:19:20 -08:00
Lorenzo Colitti
81e03be699
Merge "Don't treat private IPv4 addresses as being in a non-global scope. The effect of this change is essentially to prefer NATed IPv4 over 6to4."
2011-01-04 20:09:37 -08:00
David 'Digit' Turner
2a9b0df9e7
Merge "libc: remove obsolete sha1hash.c source file"
2011-01-04 12:30:23 -08:00
Bruce Beare
3fbd2b3f6d
use consistent guards for off_t and size_t defines for IA
...
Change-Id: I9347ab4407c48c71c99f42583523ebe31a5e67ae
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-01-02 17:00:11 -08:00
Bruce Beare
42c701708f
Simplify variable typing for IA builds
...
Change-Id: I3f080b34360bfade0dbd5e2d8d0365e049162e4c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2011-01-02 17:00:10 -08:00
David Turner
99d685d288
am 3de4dcdb: Merge "android-x86: use proper variable typing"
...
* commit '3de4dcdb189262e5beb73fe8431df67d51ec9f5f':
android-x86: use proper variable typing
2010-12-31 03:03:42 -08:00
David Turner
ce13670546
am ae5df14f: Merge "Use __asm__ instead of asm in public libc headers"
...
* commit 'ae5df14f9349a000356cf45ec0292bc21ceb5b3a':
Use __asm__ instead of asm in public libc headers
2010-12-31 03:03:39 -08:00
David Turner
3de4dcdb18
Merge "android-x86: use proper variable typing"
2010-12-31 02:35:25 -08:00
David Turner
ae5df14f93
Merge "Use __asm__ instead of asm in public libc headers"
2010-12-31 02:30:33 -08:00
Jean-Baptiste Queru
53c3e86fae
am 3d302be4: Merge "android-x86: add sigsetjmp.S"
...
* commit '3d302be485bc2f62a889fac85e386c9b8775eb59':
android-x86: add sigsetjmp.S
2010-12-29 11:29:33 -08:00
Jean-Baptiste Queru
3d302be485
Merge "android-x86: add sigsetjmp.S"
2010-12-29 11:01:23 -08:00
Jean-Baptiste Queru
6042658cb5
am b05aa150: Merge "Replace all occurrances of asm with __asm__ in the output headers"
...
* commit 'b05aa1500035d0e02d30143a0702a72b111f200e':
Replace all occurrances of asm with __asm__ in the output headers
2010-12-28 11:35:22 -08:00
Jean-Baptiste Queru
b05aa15000
Merge "Replace all occurrances of asm with __asm__ in the output headers"
2010-12-28 11:10:31 -08:00
Chih-Wei Huang
18635d9c17
android-x86: add sigsetjmp.S
...
It adds two functions sigsetjmp and siglongjmp
that fix compiling errors in bluetooth and mksh.
Copy directly from sigsetjmp.S of OpenBSD.
Change-Id: I4696f82ee6f85d1c93cbdd3c9e40f4917d50f3a6
2010-12-26 09:22:13 -08:00
Chih-Wei Huang
b9aedb2c57
android-x86: use proper variable typing
...
Change-Id: Iff99932acd2f6cb482fc5da9ff586d7ab2a8b209
2010-12-23 09:32:12 +08:00
David Turner
4ad2f19f14
am a4f6d228: Merge "Add a method for replacing tokens in the preprocessed headers"
...
* commit 'a4f6d2281f979c013080e28b1f658c2ba9a8e9f3':
Add a method for replacing tokens in the preprocessed headers
2010-12-22 11:29:30 -08:00
David 'Digit' Turner
0546fd7ee0
libc: remove obsolete sha1hash.c source file
...
The source file is not part of the C library build, so the Android.mk
is unaffected. In other words, this source file was never compiled.
Change-Id: Idec3d5b6ec30dc9ee38296d12dc6e522997df29a
2010-12-20 16:03:07 +01:00
David 'Digit' Turner
5c8c00a95a
libc: Fix the definition of SIGRTMAX
...
After this change, SIGRTMAX will be set to 64 (instead of 32 currently).
Note that this doesn't change the fact that our sigset_t is still defined
as a 32-bit unsigned integer, so most functions that deal with this type
won't support real-time signals though.
Change-Id: Ie1e2f97d646f1664f05a0ac9cac4a43278c3cfa8
2010-12-20 15:58:06 +01:00
David 'Digit' Turner
be5755969d
linker: Remove unsecure env. variable for setuid programs.
...
This removes several unsecure environment variables from the
environment block when the program being loaded is setuid. The
list of env. variables is the same than what GLibc uses at this
point.
Change-Id: I456d3ea0880fe0d4de0d3c5dd51871dd36e87fd6
2010-12-20 12:06:45 +01:00
David Turner
a4f6d2281f
Merge "Add a method for replacing tokens in the preprocessed headers"
2010-12-20 02:43:26 -08:00
Steinar H. Gunderson
d1624add2b
Don't treat private IPv4 addresses as being in a non-global scope. The effect of this change is essentially to prefer NATed IPv4 over 6to4.
...
Change-Id: I53a8613ca9eb61cac0bf18f0b5f98a2d35ab9c50
2010-12-20 11:15:33 +01:00
Elliott Hughes
10f2093f3b
Merge remote branch 'goog/master' into mm
...
Plus a hack in cpu-features.h to avoid errors like this:
bionic/libc/arch-arm/bionic/strcpy.S: Assembler messages:
bionic/libc/arch-arm/bionic/strcpy.S:42: Error: bad instruction `pld(r1, #0 )'
(The alternative would probably have been to pull in the build change
that defines __ASSEMBLY__, but I don't want to do any more than necessary.)
Change-Id: Idad9665eb8cf5ef6a093c85d3098d11a37f5ac6a
2010-12-16 19:09:51 -08:00
David 'Digit' Turner
d4a65d28d4
libc: Add missing declarations in <netinet/in.h>
...
Add missing declarations:
INET_ADDRSTRLEN
IN6_IS_ADDR_MC_NODELOCAL
IN6_IS_ADDR_MC_GLOBAL
It has been reported that these prevent compilation of the Boost libraries
with the NDK. The corresponding patch has already been performed under
development/ndk/platforms/android-3/include.
Change-Id: I4ac514973daf3c06a8ef5538d7df79142a98e562
2010-12-16 20:53:03 +01:00
David 'Digit' Turner
95d751feac
libc: Add ftruncate64 and improve 64-bit parameter syscall handling.
...
This patch improves the handling of 64-bit parameters in syscalls on ARM.
The ARM EABI mandates that 64-bit quantities be passed in even/odd register
pairs, which requires special treatment.
This allows us to simplify our implementations of pread() and pwrite()
and remove the C stubs for pread64() and pwrite64().
Also add ftruncate64() to <unistd.h>
Change-Id: I407e2fd223ba0093dd2d0b04c6152fadfc9ce3ef
Bug 3107933
2010-12-16 17:04:41 +01:00
David 'Digit' Turner
4a7f31fad7
libc: Remove duplicate eventfd declaration from SYSCALLS.TXT
...
The second declaration came from an incorrect change in AOSP.
The eventfd stubs are not affected by this, they are already correct.
Change-Id: Icfc7612a68fc37a48dde2687137960a5d1dbc534
2010-12-16 14:57:31 +01:00
Jean-Baptiste Queru
6dba546e53
am c99892f1: am a9e5bbfd: Merge "Support usage of __ARM_HAVE_LDREX_STREX"
...
* commit 'c99892f155efd1d3005abf8a2bae83d290606ba1':
Support usage of __ARM_HAVE_LDREX_STREX
2010-12-15 09:37:48 -08:00
Jean-Baptiste Queru
c99892f155
am a9e5bbfd: Merge "Support usage of __ARM_HAVE_LDREX_STREX"
...
* commit 'a9e5bbfd3d321bf52226d3fd57ed390925ab6a3d':
Support usage of __ARM_HAVE_LDREX_STREX
2010-12-15 09:29:06 -08:00
Jean-Baptiste Queru
a9e5bbfd3d
Merge "Support usage of __ARM_HAVE_LDREX_STREX"
2010-12-15 09:21:34 -08:00
David Turner
bb8717109e
am 572fced5: am 9691ecc9: Merge "Remove extra/unneeded copy of fenv.h"
...
* commit '572fced5b0376a0bdc9111843aa89065cba82629':
Remove extra/unneeded copy of fenv.h
2010-12-14 07:25:28 -08:00
David Turner
572fced5b0
am 9691ecc9: Merge "Remove extra/unneeded copy of fenv.h"
...
* commit '9691ecc9a768e7e08cb6af0b454029195ffc285f':
Remove extra/unneeded copy of fenv.h
2010-12-14 07:19:17 -08:00
David Turner
9691ecc9a7
Merge "Remove extra/unneeded copy of fenv.h"
2010-12-14 07:09:35 -08:00
Bruce Beare
ff3129b0fe
sigsetmask.c was not processing the "mask" argument.
...
Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2010-12-09 15:17:28 -08:00
Yu Shan Emily Lau
abdffc4e23
Revert "sigsetmask.c was not processing the "mask" argument."
...
This reverts commit 9a9c1619b8 .
2010-12-09 11:57:42 -08:00
Martin Storsjo
c9205dba43
Replace all occurrances of asm with __asm__ in the output headers
...
asm() conflicts with userland code compiled with -std=c99, the userland
libc should only use __asm__() instead. Therefore, this transformation
has to be applied to all exported headers.
This only changes arch-arm/asm/byteorder.h.
Change-Id: I1cf88c37201c3a91668d387293a18885c316d53c
2010-12-08 11:41:37 +01:00
Martin Storsjo
d32c8052fc
Add a method for replacing tokens in the preprocessed headers
...
Change-Id: I14cf6337945560b012732ae0fe7a247074810678
2010-12-08 11:40:59 +01:00
Martin Storsjo
5775163f04
Use __asm__ instead of asm in public libc headers
...
If compiling userland code with -std=c99, the current header produces an
error. The content of this header originally is a kernel internal header,
where asm() is acceptable. In a header visible to userland, this should be
__asm__ instead.
Change-Id: I4d3188dd96f7836148ca89f5053d0389dd459d6e
2010-12-08 09:40:12 +01:00
David Turner
0a0c1edd80
am 48bebaec: am 4efbf95d: Merge "Use proper variable typing"
...
* commit '48bebaeca84cd9014171d2874785ddb57d1103ae':
Use proper variable typing
2010-12-07 06:44:41 -08:00
David Turner
48bebaeca8
am 4efbf95d: Merge "Use proper variable typing"
...
* commit '4efbf95d8c88a3a203d687d9048b51e256ef3641':
Use proper variable typing
2010-12-07 06:38:26 -08:00
David Turner
4efbf95d8c
Merge "Use proper variable typing"
2010-12-07 06:27:23 -08:00
David 'Digit' Turner
6a916acce2
Merge "<sched.h>: Add sched_getcpu() and cpu_set_t"
2010-12-07 04:51:40 -08:00
David 'Digit' Turner
6451571aef
Merge "<time.h>: Add timegm(), timelocal() and others."
2010-12-07 04:26:32 -08:00
David 'Digit' Turner
b338686778
Merge "libc: Add <android/api-level.h>"
2010-12-07 04:26:27 -08:00
David Turner
bd4ab138d8
am e05762a5: am 8e6435ea: Merge "Add defines for CAIF support"
...
* commit 'e05762a5312261b96d20597eb6c3a61abaeac2cf':
Add defines for CAIF support
2010-12-06 16:44:46 -08:00
Jean-Baptiste Queru
5d7995be24
am b11d7c3e: am bcb0a925: Merge "sigsetmask.c was not processing the "mask" argument."
...
* commit 'b11d7c3eca0e5bc04c14afe82a530429f173706c':
sigsetmask.c was not processing the "mask" argument.
2010-12-06 16:44:30 -08:00
David Turner
e05762a531
am 8e6435ea: Merge "Add defines for CAIF support"
...
* commit '8e6435ead5b118f1fd458d4acbdd0bf86754ab1b':
Add defines for CAIF support
2010-12-06 13:31:43 -08:00
David Turner
8e6435ead5
Merge "Add defines for CAIF support"
2010-12-06 13:18:37 -08:00
Jean-Baptiste Queru
b11d7c3eca
am bcb0a925: Merge "sigsetmask.c was not processing the "mask" argument."
...
* commit 'bcb0a925b0d6d545bbd9a4ebd9ac61bdacbfa2fe':
sigsetmask.c was not processing the "mask" argument.
2010-12-06 10:55:14 -08:00
Jean-Baptiste Queru
bcb0a925b0
Merge "sigsetmask.c was not processing the "mask" argument."
2010-12-06 10:42:08 -08:00
David 'Digit' Turner
72e6fd4242
<sched.h>: Add sched_getcpu() and cpu_set_t
...
This adds the cpu_set_t type definition and related functions
and macros used to handle CPU thread affinity.
sched_getcpu()
sched_setaffinity()
sched_getaffinity()
Change-Id: If382ecafde8926341a88478062b275553645065b
2010-12-06 13:42:54 +01:00
David 'Digit' Turner
6481b91520
<time.h>: Add timegm(), timelocal() and others.
...
Add timegm(), timelocal(), time2posix() and posix2time() to the
C library.
Change-Id: I34d5771ed83dd994870a5ca58a511d01898b1ffb
2010-12-06 12:25:52 +01:00
David 'Digit' Turner
23d24394e7
libc: Add <android/api-level.h>
...
Add a new header that defines __ANDROID_API__ as a constant integer
corresponding to the current native API level. This header is included
by <sys/cdefs.h>
Change-Id: Ib4774e247b395991266245815a24292afc919848
NOTE: This header is already provided by the NDK's platform headers.
for levels 3 to 9.
2010-12-06 12:05:11 +01:00
Bruce Beare
9a9c1619b8
sigsetmask.c was not processing the "mask" argument.
...
Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2010-12-03 16:48:47 -08:00
Bruce Beare
2bf3ec03c3
Add defines for CAIF support
...
Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com >
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2010-12-03 16:14:59 -08:00
Ed Heyl
9962cef7c6
Merge "Add mkdtemp() prototype to stdlib.h."
2010-12-02 13:20:15 -08:00
tedbo
ad1ff2fb26
Add mkdtemp() prototype to stdlib.h.
...
The mkdtemp() function is implemented in libc/stdio/mktemp.c but not
exposed in stdlib.h. This change adds the prototype to stdlib.h.
Change-Id: I5a98650c665d2e45b2cf6ed3382742f7bdc7c88a
2010-11-30 12:45:02 -08:00
Brian Carlstrom
55930b5ffd
Merge commit '7bbd4580afe0347892a0680b5917ec7df38c003a' into gingerbread-release-to-dalvik-dev
2010-11-29 14:02:32 -08:00
tedbo
16e02c2e3b
Add wcscasecmp() and wcsncasecmp() prototypes to wchar.h.
...
The above prototypes are missing from libc/include/wchar.h but
the functions are present (although with a limited implementation)
in libc.
Change-Id: I1b7c6accfc59ff0f56f3f41a9d3c075e935ac54a
2010-11-29 13:15:07 -08:00
Kenny Root
72e64e0869
Add support for pread64/pwrite64
...
64-bit pread() and pwrite() is needed for ZipFileRO to be able to read
ludicrously large ZIP files just in case someone is crazy enough to do
it.
Also fix a license header that was apparently mangled.
Change-Id: I6819ef8b36e46b63b40749c95717b1ecf9307033
2010-11-24 13:14:50 -08:00
Iliyan Malchev
c1974ee144
bionic: update processed kernel header tegra_audio.h
...
Change-Id: Idefc8cae9315f1f4f340330ee1b38a7c0acb5fd8
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-11-22 16:52:22 -08:00
Jean-Baptiste Queru
9c8ea7fa3f
am 24dc9363: resolved conflicts for merge of 1bc98ccb to gingerbread-plus-aosp
...
* commit '24dc936346b4a31005ac28c4bd464320cca9320a':
bionic: Add ARM optimized strcpy()
2010-11-22 13:38:44 -08:00
Jean-Baptiste Queru
24dc936346
resolved conflicts for merge of 1bc98ccb to gingerbread-plus-aosp
...
Change-Id: Ief9ec3d0472660e26864e082e03c26e09a043b9d
2010-11-22 13:34:59 -08:00
Jean-Baptiste Queru
1bc98ccb76
Merge "bionic: Add ARM optimized strcpy()"
2010-11-22 13:02:25 -08:00
Jim Huang
73c04b3269
bionic: Add ARM optimized strcpy()
...
Reference results of the experiments on Qualcomm MSM7x25 (524MHz):
[original C code]
prc thr usecs/call samples errors cnt/samp
size
strcpy_1k 1 1 14.56159 99 0 1000
1024
[ARM optimized code]
prc thr usecs/call samples errors cnt/samp
size
strcpy_1k 1 1 3.46653 99 0 1000
1024
The work was derived from ARM Ltd.
Change-Id: I906ac53bb7a7285e14693c77d3ce8d4ed6f98bfd
2010-11-22 13:01:32 -08:00
Jean-Baptiste Queru
0befb8b56d
am 9f1a7f93: am ea0fe856: Merge "Bionic: Aliasing problems with frexpf"
...
* commit '9f1a7f933dbf3446d29cbbff959a29f0ab49b308':
Bionic: Aliasing problems with frexpf
2010-11-18 22:41:28 -08:00
Jean-Baptiste Queru
9f1a7f933d
am ea0fe856: Merge "Bionic: Aliasing problems with frexpf"
...
* commit 'ea0fe8563db2a5854d30b3c770c406356f55cfe8':
Bionic: Aliasing problems with frexpf
2010-11-18 22:39:15 -08:00
Erik Gilling
6c57fbf7a7
update linux/tegrafb.h
...
Change-Id: Ib09e70b51b900447d17e9f992b0f81fd5f638677
2010-11-18 16:10:50 -08:00
Jean-Baptiste Queru
ea0fe8563d
Merge "Bionic: Aliasing problems with frexpf"
2010-11-17 18:15:58 -08:00
Mike Lockwood
88fb10f838
Update f_mtp.h kernel header
...
Driver has changed to support transferring > 4 gigabyte files
Change-Id: I9ddca13e8e906a403fe84c9af27ec1fab565be77
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-11-16 17:33:50 -05:00
Dima Zavin
c343d3fcd3
kernel/linux: add tegra avp/rpc/sema headers
...
Change-Id: I7b8ee1e3e6a5db6a090f106d3d70f2122e12124c
Signed-off-by: Dima Zavin <dima@android.com >
2010-11-05 15:40:27 -07:00
Rodrigo Obregon
fddaafceda
Bionic: Aliasing problems with frexpf
...
This patch fixes a known bug in bionic libm
due to aliasing issues in gcc 4.2 and 4.4; more
specifically in frexpf.
The function frexpf is used to extract the
mantissa and exponent from a double precision number.
The bug has already been reported here:
https://code.google.com/p/android/issues/detail?id=6697
Change-Id: I2e1f2e0a45906642d2225b9d150ed391d2bf331c
Signed-off-by: Rodrigo Obregon <robregon@ti.com >
2010-11-05 12:15:26 -05:00
Elliott Hughes
ff590cadc2
Use a modern chdir(2)-free realpath(3) implementation.
...
(This is the current OpenBSD implementation.)
Bug: 3055824, 2281992
Change-Id: Iafa8f78e8d6e44c036a547c7210a13d559b7483a
2010-11-04 17:53:06 -07:00
David Turner
fb76fd5b61
Merge "Add missing PTRACE_SETVFPREGS."
2010-11-04 03:20:31 -07:00
Doug Kwan
459436f2f6
Add missing PTRACE_SETVFPREGS.
...
Change-Id: I070903ea7ceb90a3ff54fbae09c0ac70a7af1e3d
2010-11-03 16:51:32 -07:00
Iliyan Malchev
bb3bcbc6dc
bionic: update processed cpcap_audio.h and spi/cpcap.h headers
...
Change-Id: Ied7210d4f03eec3218c51cea8ee2e667d2014153
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-11-02 15:58:36 -07:00
Iliyan Malchev
8465bf90ea
bionic: update processed cpcap_audio.h
...
Change-Id: I8c8b917268cae4ff7a79e9f60522df59f8ed499a
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-11-01 16:04:12 -07:00
Nick Pelly
ffc0120471
am 61c9b8e1: am 7bbd4580: Add pn544.h clean kernel header
...
* commit '61c9b8e14a69b969456976b9d0d24f2caff4d01e':
Add pn544.h clean kernel header
2010-11-01 14:04:20 -07:00
Nick Pelly
61c9b8e14a
am 7bbd4580: Add pn544.h clean kernel header
...
* commit '7bbd4580afe0347892a0680b5917ec7df38c003a':
Add pn544.h clean kernel header
2010-11-01 14:02:02 -07:00
Brian Carlstrom
4e56e7f2a3
Merge commit '1df986c21ee52c6756846b4a5e45cb316f772112' into gingerbread-release-to-dalvik-dev
2010-11-01 11:42:02 -07:00
Brad Fitzpatrick
7858564582
Don't proxy getaddrinfo when net.dns1.[MYPID] is set.
...
Part of on-going DNS proxy/cache work.
Bug: 1146676
Change-Id: I5e6028169c81c2223efc34c3b57e348c44f26d26
2010-10-28 13:22:20 -07:00
Brad Fitzpatrick
78778cdd8c
Merge "DNS proxy: the start. proxies getaddrinfo calls."
2010-10-28 11:34:27 -07:00
Brad Fitzpatrick
a1dbf0b453
DNS proxy: the start. proxies getaddrinfo calls.
...
Will also need to do gethostinfo, but that's probably about it.
It was cleaner to do it at this level, rather than speaking in terms
of DNS packets.
Change-Id: I047cc459979ffb0170a3eb0d432a7e827fb71c26
2010-10-28 11:31:22 -07:00
Erik Gilling
1ec041f096
update tegrafb
...
Change-Id: I22308d65994ae4e06e5c65d2047299c8cd559c01
2010-10-27 17:43:36 -07:00
Rebecca Schultz Zavin
369197cb75
Merge "Update libc/kernel/common/media/soc2030.h"
2010-10-26 11:18:45 -07:00
Jean-Baptiste Queru
fa8fef9506
am f2c05baa: am 96c03c7d: Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
...
Merge commit 'f2c05baac40bceb754ac69a38b83250c3a5aaddd'
* commit 'f2c05baac40bceb754ac69a38b83250c3a5aaddd':
Remove duplicated _rand48 implementation. Use stdlib version instead
2010-10-25 18:00:00 -07:00
Jean-Baptiste Queru
f2c05baac4
am 96c03c7d: Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
...
Merge commit '96c03c7dcc8cad59f2b8f3e6fef6a77a43750756' into gingerbread-plus-aosp
* commit '96c03c7dcc8cad59f2b8f3e6fef6a77a43750756':
Remove duplicated _rand48 implementation. Use stdlib version instead
2010-10-25 17:32:13 -07:00
Jean-Baptiste Queru
96c03c7dcc
Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
2010-10-25 16:28:03 -07:00
Jim Huang
70478100d5
Remove duplicated _rand48 implementation. Use stdlib version instead
...
Originally, there are _rand48 (in libc/bionic/_rand48.c) and __rand48
(in libc/stdlib/_rand48.c) implemented in bionic. Besides the naming,
the functionality is identical. This patch removes the duplicated
_rand48. Also, drand48 and erand48 are modified accordingly.
Change-Id: Ie5761a0a97f45df8538222a77edacb7c3e0125d7
2010-10-25 16:27:47 -07:00
Rebecca Schultz Zavin
6858e651d4
Update libc/kernel/common/media/soc2030.h
...
Several ioctls have been added
Change-Id: I33d4d5d0aaa96c2f95a909ec361b35b07ce6b5e0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2010-10-22 18:44:52 -07:00
David 'Digit' Turner
209cf82593
am f7ad13b0: am 1df986c2: libc: fix executable destruction support.
...
Merge commit 'f7ad13b0ce5ad2d2f0340c066b09eb8174877739'
* commit 'f7ad13b0ce5ad2d2f0340c066b09eb8174877739':
libc: fix executable destruction support.
2010-10-21 13:50:42 -07:00
Jean-Baptiste Queru
ff44eeef97
am aeb41ec1: am b2061a30: Merge "resolv: make internal symbols static/hidden"
...
Merge commit 'aeb41ec103103c37bf4a1700de714d9ff1befe8e'
* commit 'aeb41ec103103c37bf4a1700de714d9ff1befe8e':
resolv: make internal symbols static/hidden
2010-10-21 13:48:21 -07:00
Jean-Baptiste Queru
51a4f7872a
am 001a3218: am 4afe0f47: Merge "time64: make helper functions static"
...
Merge commit '001a321897d0f053b87799dafe17a39036b72470'
* commit '001a321897d0f053b87799dafe17a39036b72470':
time64: make helper functions static
2010-10-21 13:48:17 -07:00
Jean-Baptiste Queru
f97ce8cb7b
am 6ac5660e: am ade2a929: Merge "bionic: stubs: Make internal symbol static"
...
Merge commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b'
* commit '6ac5660e1c8fc9934d11ed675771063624ac1b4b':
bionic: stubs: Make internal symbol static
2010-10-21 13:48:14 -07:00
Jean-Baptiste Queru
d3ecb3cd05
am 1203671b: am 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
...
Merge commit '1203671b47246efd20279a39ab9bd7ea934ae8dc'
* commit '1203671b47246efd20279a39ab9bd7ea934ae8dc':
pthread-timers: Hide internal symbol __timer_table_start_stop
2010-10-21 13:48:11 -07:00
Jean-Baptiste Queru
51ae972502
am 958214aa: am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
...
Merge commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde'
* commit '958214aa998d9378e7d70c7c08ffab4c5f9d3fde':
stdlib: strtod: Hide internal symbol __dtoa
2010-10-21 09:54:49 -07:00
Jean-Baptiste Queru
fd1cf2c42e
am 1a6939d2: am 1e0a4e18: Merge "stdio: make internal symbols static/hidden"
...
Merge commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4'
* commit '1a6939d27b1cc53d506d6583fa2bc2d90c9c7fc4':
stdio: make internal symbols static/hidden
2010-10-21 09:54:41 -07:00
Jean-Baptiste Queru
d445a2b275
am bcd94044: am 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
...
Merge commit 'bcd940444513a24268d5f9c9a6186274cf09c8dd'
* commit 'bcd940444513a24268d5f9c9a6186274cf09c8dd':
__set_errno: Hide internal symbol __set_syscall_errno
2010-10-21 09:54:38 -07:00
Jean-Baptiste Queru
482358fda7
am d29b8a51: am 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
...
Merge commit 'd29b8a51a5f95a3f38e5fb812231e12e5a66a865'
* commit 'd29b8a51a5f95a3f38e5fb812231e12e5a66a865':
Reconcile assembly-only macros in <machine/cpu-features.h>
2010-10-21 09:54:30 -07:00
David 'Digit' Turner
f7ad13b0ce
am 1df986c2: libc: fix executable destruction support.
...
Merge commit '1df986c21ee52c6756846b4a5e45cb316f772112' into gingerbread-plus-aosp
* commit '1df986c21ee52c6756846b4a5e45cb316f772112':
libc: fix executable destruction support.
2010-10-21 09:43:19 -07:00
Jean-Baptiste Queru
aeb41ec103
am b2061a30: Merge "resolv: make internal symbols static/hidden"
...
Merge commit 'b2061a30da29ee531c16862a5be3566e3b860839' into gingerbread-plus-aosp
* commit 'b2061a30da29ee531c16862a5be3566e3b860839':
resolv: make internal symbols static/hidden
2010-10-20 19:10:09 -07:00
Jean-Baptiste Queru
001a321897
am 4afe0f47: Merge "time64: make helper functions static"
...
Merge commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb' into gingerbread-plus-aosp
* commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb':
time64: make helper functions static
2010-10-20 18:57:55 -07:00
Jean-Baptiste Queru
6ac5660e1c
am ade2a929: Merge "bionic: stubs: Make internal symbol static"
...
Merge commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d' into gingerbread-plus-aosp
* commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d':
bionic: stubs: Make internal symbol static
2010-10-20 18:57:53 -07:00
Jean-Baptiste Queru
1203671b47
am 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
...
Merge commit '2215c11325d0af07cde67bfee7bafa09ee5556a7' into gingerbread-plus-aosp
* commit '2215c11325d0af07cde67bfee7bafa09ee5556a7':
pthread-timers: Hide internal symbol __timer_table_start_stop
2010-10-20 18:57:51 -07:00
Jean-Baptiste Queru
b2061a30da
Merge "resolv: make internal symbols static/hidden"
2010-10-20 18:55:52 -07:00
Jean-Baptiste Queru
4afe0f4724
Merge "time64: make helper functions static"
2010-10-20 18:54:17 -07:00
Jean-Baptiste Queru
ade2a92991
Merge "bionic: stubs: Make internal symbol static"
2010-10-20 18:52:10 -07:00
Jean-Baptiste Queru
2215c11325
Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
2010-10-20 18:49:51 -07:00
Jean-Baptiste Queru
28ebb94c98
Merge "Clean up NOTICE files."
2010-10-19 16:46:44 -07:00
Iliyan Malchev
9883f396cc
bionic: update preprocessed kernel header tegra_audio.h
...
Change-Id: I07fe566e3ec86be5d017e96cc37fa83d2e0a4eb8
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-10-19 15:23:42 -07:00
Jean-Baptiste Queru
958214aa99
am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
...
Merge commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5' into gingerbread-plus-aosp
* commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5':
stdlib: strtod: Hide internal symbol __dtoa
2010-10-19 15:22:22 -07:00
Jean-Baptiste Queru
1a6939d27b
am 1e0a4e18: Merge "stdio: make internal symbols static/hidden"
...
Merge commit '1e0a4e18927805a2a1b602659c512916df345bde' into gingerbread-plus-aosp
* commit '1e0a4e18927805a2a1b602659c512916df345bde':
stdio: make internal symbols static/hidden
2010-10-19 15:22:20 -07:00
Jean-Baptiste Queru
bcd9404445
am 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
...
Merge commit '847223de9ceff6db468a8246792542517a12d39f' into gingerbread-plus-aosp
* commit '847223de9ceff6db468a8246792542517a12d39f':
__set_errno: Hide internal symbol __set_syscall_errno
2010-10-19 15:22:17 -07:00
Jean-Baptiste Queru
d29b8a51a5
am 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
...
Merge commit '5109146f954d8cca39d34689bff2762e15bc6933' into gingerbread-plus-aosp
* commit '5109146f954d8cca39d34689bff2762e15bc6933':
Reconcile assembly-only macros in <machine/cpu-features.h>
2010-10-19 15:21:57 -07:00
David Deephanphongs
4f0555bf26
Clean up NOTICE files.
...
Change Copyright date in libc/NOTICE to reflect the current modifications.
Change-Id: I313d719656caaa449c1100d35dbb7d14c1489e1a
2010-10-19 15:12:40 -07:00
Jean-Baptiste Queru
8ad63d745d
Merge "stdlib: strtod: Hide internal symbol __dtoa"
2010-10-19 15:02:44 -07:00
Jean-Baptiste Queru
1e0a4e1892
Merge "stdio: make internal symbols static/hidden"
2010-10-19 14:58:11 -07:00
Jean-Baptiste Queru
847223de9c
Merge "__set_errno: Hide internal symbol __set_syscall_errno"
2010-10-19 14:53:28 -07:00
Jean-Baptiste Queru
5109146f95
Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
2010-10-19 14:49:28 -07:00
Brian Carlstrom
75785e9413
Merge commit 'd3f0638aeec0b1daf4d3347386a5e441d5a4bcc4' into gingerbread-release-to-dalvik-dev
2010-10-19 14:11:02 -07:00
Jean-Baptiste Queru
2eeddec9cc
am 82775ae0: resolved conflicts for merge of 347db52a to gingerbread-plus-aosp
...
Merge commit '82775ae0acf7cac647c057c80fbcc7f13d0554d3'
* commit '82775ae0acf7cac647c057c80fbcc7f13d0554d3':
Update ATOM string routines to latest
2010-10-16 09:43:33 -07:00
Jean-Baptiste Queru
82775ae0ac
resolved conflicts for merge of 347db52a to gingerbread-plus-aosp
...
Change-Id: I706a5158e781cbbc00344a72badca1543bcbca15
2010-10-15 12:52:21 -07:00
Jean-Baptiste Queru
347db52a1d
Merge "Update ATOM string routines to latest"
2010-10-15 09:38:46 -07:00
David 'Digit' Turner
8d8034eae0
am 5c485373: am d3f0638a: libc: fix typo in waitid() declaration.
...
Merge commit '5c485373563c1183db2ba02ec2aca695d1c87cc8'
* commit '5c485373563c1183db2ba02ec2aca695d1c87cc8':
libc: fix typo in waitid() declaration.
2010-10-15 00:05:36 -07:00
Jim Huang
cd9c98dfda
__set_errno: Hide internal symbol __set_syscall_errno
...
Change-Id: I21e7ef6bf0bca288069275add43bd53294c0760d
2010-10-15 03:07:22 +08:00
Jim Huang
c9a41a6997
pthread-timers: Hide internal symbol __timer_table_start_stop
...
Change-Id: If99c5816fe6fa9107aa6bef4697048fabf92283f
2010-10-15 02:28:22 +08:00
Jim Huang
c940945155
bionic: stubs: Make internal symbol static
...
Thread-specific state for the stubs functions should not be exposed to
applications.
Change-Id: I4d35dab6009dab8db7781671ac5cc9b5f6904e84
2010-10-15 02:23:00 +08:00
Jim Huang
8b2707a6a0
time64: make helper functions static
...
Change-Id: I98d9a5f736482e52904228c171a1bdefd2f5b213
2010-10-15 02:16:16 +08:00
Jim Huang
7cc5666d94
resolv: make internal symbols static/hidden
...
Change-Id: I988b83613e6252c0cc961555e81c10f856a38b37
2010-10-15 02:10:29 +08:00
Jim Huang
cec75a765f
stdlib: strtod: Hide internal symbol __dtoa
...
Change-Id: Iaaec7ea4d04c859fe98ad3331fd71e7d000c826b
2010-10-15 01:39:27 +08:00
Jim Huang
b4867734b0
stdio: make internal symbols static/hidden
...
Although header libc/stdio/local.h declares the macros and private
variables of stdio, there are several internal symbols exposed
unexpectedly.
Change-Id: Ie7a07f85b70322fb9cd05b3c8e1bcc416061eb4b
2010-10-15 01:10:31 +08:00
David 'Digit' Turner
5c48537356
am d3f0638a: libc: fix typo in waitid() declaration.
...
Merge commit 'd3f0638aeec0b1daf4d3347386a5e441d5a4bcc4' into gingerbread-plus-aosp
* commit 'd3f0638aeec0b1daf4d3347386a5e441d5a4bcc4':
libc: fix typo in waitid() declaration.
2010-10-13 10:28:31 -07:00
Ying Wang
26cd0fce57
Merge "Remove duplicate item"
2010-10-12 09:41:12 -07:00
Jean-Baptiste Queru
168f267723
am ff7d9453: am f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"
...
Merge commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a'
* commit 'ff7d94530db60cf4fe4a4c287ee8821ebdf6263a':
Hide the symbol of helper function __libc_android_abort
2010-10-12 01:45:31 -07:00
David 'Digit' Turner
2410512c4f
am d69ec35b: am 1aa6708c: Fix the build. Oops.
...
Merge commit 'd69ec35bef0d3aa11bfb55501951eed8c3042fda'
* commit 'd69ec35bef0d3aa11bfb55501951eed8c3042fda':
Fix the build. Oops.
2010-10-12 01:45:28 -07:00
David 'Digit' Turner
364462ea2e
am 1aeeeae1: am b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread
...
Merge commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896'
* commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896':
libc: tag missing functions in system headers.
2010-10-11 18:59:30 -07:00
Jean-Baptiste Queru
8c44765841
am a9b706bd: am 66ad3429: Merge "gethnamaddr: make helper functions static"
...
Merge commit 'a9b706bd2b0814fcb45c4e8396c2bdddecb1f5de'
* commit 'a9b706bd2b0814fcb45c4e8396c2bdddecb1f5de':
gethnamaddr: make helper functions static
2010-10-11 18:57:22 -07:00
Bruce Beare
52eed0aeb7
Remove extra/unneeded copy of fenv.h
...
Change-Id: I80da2521c50df7e8967af48164cc834abf499c50
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2010-10-11 12:34:26 -07:00
Bruce Beare
58f2b7ed66
Use proper variable typing
...
Change-Id: If5c33d90b33f538448ac12e7bee94b4b9173d39c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2010-10-11 12:34:10 -07:00
Bruce Beare
124a542aa4
Update ATOM string routines to latest
...
Change-Id: I22a600e7f172681cfd38ff73a64e3fd07b284959
Signed-off-by: Lu, Hongjiu <hongjiu.lu@intel.com >
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
2010-10-11 12:33:58 -07:00
Jean-Baptiste Queru
ff7d94530d
am f67e5211: Merge "Hide the symbol of helper function __libc_android_abort"
...
Merge commit 'f67e5211e045af1b12f646448a5a35f96ba5e8f1' into gingerbread-plus-aosp
* commit 'f67e5211e045af1b12f646448a5a35f96ba5e8f1':
Hide the symbol of helper function __libc_android_abort
2010-10-11 07:27:01 -07:00
Jean-Baptiste Queru
f67e5211e0
Merge "Hide the symbol of helper function __libc_android_abort"
2010-10-11 07:13:10 -07:00
David 'Digit' Turner
d69ec35bef
am 1aa6708c: Fix the build. Oops.
...
Merge commit '1aa6708cc2b7792a647ada960a66a1e0146fb209' into gingerbread-plus-aosp
* commit '1aa6708cc2b7792a647ada960a66a1e0146fb209':
Fix the build. Oops.
2010-10-11 06:30:00 -07:00
David 'Digit' Turner
1aeeeae166
am b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread
...
Merge commit 'b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac' into gingerbread-plus-aosp
* commit 'b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac':
libc: tag missing functions in system headers.
2010-10-11 06:11:56 -07:00
Jean-Baptiste Queru
a9b706bd2b
am 66ad3429: Merge "gethnamaddr: make helper functions static"
...
Merge commit '66ad34293b84d979cae5ffda4b3b90b746127ebb' into gingerbread-plus-aosp
* commit '66ad34293b84d979cae5ffda4b3b90b746127ebb':
gethnamaddr: make helper functions static
2010-10-10 18:14:58 -07:00
Jean-Baptiste Queru
66ad34293b
Merge "gethnamaddr: make helper functions static"
2010-10-10 18:00:51 -07:00
Brian Carlstrom
2e4ec5ae45
Merge commit '5b81b918173b4bf446c1a85240c094e4dd77231f' into mm
2010-10-10 14:30:07 -07:00
David 'Digit' Turner
0144b0b67c
am 5dce6d19: am 5b81b918: libc: optimize memmove() with memcpy() if possible.
...
Merge commit '5dce6d195ac2c44614351f349e00ff5d8ebbe0bf'
* commit '5dce6d195ac2c44614351f349e00ff5d8ebbe0bf':
libc: optimize memmove() with memcpy() if possible.
2010-10-10 11:26:53 -07:00
Ying Wang
76a34d6628
Remove duplicate item
...
This elimates the makefile warning at the beginning of each build:
libc_common_intermediates/arch-arm/syscalls/eventfd.o' given more than once in the same rule.
Change-Id: I25cc0c373d55b5036dd17811a595c097fd6ca69a
2010-10-08 17:09:55 -07:00
David 'Digit' Turner
5dce6d195a
am 5b81b918: libc: optimize memmove() with memcpy() if possible.
...
Merge commit '5b81b918173b4bf446c1a85240c094e4dd77231f' into gingerbread-plus-aosp
* commit '5b81b918173b4bf446c1a85240c094e4dd77231f':
libc: optimize memmove() with memcpy() if possible.
2010-10-07 14:48:31 -07:00
David Turner
dac542655c
Merge "get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero."
2010-10-07 02:50:39 -07:00
Iliyan Malchev
b55ab95837
bionic: update processed kernel header cpcap_audio.h
...
Change-Id: If0aef2babd70c440456fb7f3e10c3c2ec6752c6e
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-10-06 20:34:09 -07:00
tedbo
9d8be5485c
get_malloc_leak_info: Fix assumption that totalMemory out parameter was initialized to zero.
...
The get_malloc_leak_info() currently asssumes that the totalMemory out parameter
was pre-initialized to zero before the routine is called. If it is not then the
accumulated totalMemory value will be incorrect. It is likely that many callers
will simply allocate totalMemory on the stack with no initialization and assume
that get_malloc_leak_info will set the proper value.
As an example, the caller in frameworks/base/core/jni/android_os_Debug.cpp
calls get_malloc_leak_info() with the address uninitiazed stack variable
for totalMemory. It is probably best to fix this in get_malloc_leak_info.
Change-Id: I84c927c3781419585794726115b7d34d8fdd24ae
2010-10-05 13:23:28 -07:00
Iliyan Malchev
fff0c58e9a
bionic: update processed kernel header tegra_audio.h
...
Change-Id: I23d03e0f651f26a1f6c170f982891dba2a2fe20d
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-10-04 23:08:21 -07:00
Jim Huang
94e5c5ef37
Reconcile assembly-only macros in <machine/cpu-features.h>
...
The change explicitly isolates the assembly-only macros in header
<machine/cpu-features.h> in order to prevent mis-inclusion in C/C++
source files.
Change-Id: I0258e87c5ac3fd24944fb227290ac3b9cac4bfba
2010-10-01 17:00:46 +08:00
Elliott Hughes
570cb24498
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
...
1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.
2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.
3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.
4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.
(git cherry-pick of 3cf53d1a78 )
2010-09-30 19:23:52 -07:00
Brian Carlstrom
b11f6e0850
Merge commit 'af00228b705b53165c132a22b30c2d6cbb9acd13' into mm
2010-09-28 22:23:37 -07:00
Marco Nelissen
abdb3695b2
am 0da2a8eb: am af00228b: Revert "libc: memmove(): non-overlapping block optim."
...
Merge commit '0da2a8eb8728395867ec8a669e0aee2f243113db'
* commit '0da2a8eb8728395867ec8a669e0aee2f243113db':
Revert "libc: memmove(): non-overlapping block optim."
2010-09-28 13:20:45 -07:00
repo sync
319de1758c
am 686af0b3: resolved conflicts for merge of defd1622 to gingerbread-plus-aosp
...
Merge commit '686af0b3a5978356be3b1a97187c765d63f11623'
* commit '686af0b3a5978356be3b1a97187c765d63f11623':
libc: add <sys/eventfd.h> and corresponding implementations.
2010-09-28 12:48:34 -07:00
David 'Digit' Turner
2336503264
am a511f245: am 9973a564: libc: Add missing waitid() implementation.
...
Merge commit 'a511f245614d8e6c7700df624e13a41a084ad7e4'
* commit 'a511f245614d8e6c7700df624e13a41a084ad7e4':
libc: Add missing waitid() implementation.
2010-09-28 12:48:32 -07:00
David 'Digit' Turner
37c4305633
am 052fbd88: am a3ae60d3: libc: Add missing fdatasync() implementation
...
Merge commit '052fbd88080c88b7f568612dcac7579092c2e3d9'
* commit '052fbd88080c88b7f568612dcac7579092c2e3d9':
libc: Add missing fdatasync() implementation
2010-09-28 12:48:28 -07:00
David 'Digit' Turner
1e95e58c91
am 5b5212b4: am 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
...
Merge commit '5b5212b457f7308f9d7d4011c02af71ef1cad9c4'
* commit '5b5212b457f7308f9d7d4011c02af71ef1cad9c4':
libc: Add missing C++ guards to <pathconf.h>
2010-09-28 12:48:25 -07:00
David 'Digit' Turner
8300a7aef9
am 16922b7e: am 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread
...
Merge commit '16922b7ebc6115e13bebed4880c6a09765410fc7'
* commit '16922b7ebc6115e13bebed4880c6a09765410fc7':
libc: memmove(): non-overlapping block optim.
2010-09-28 12:48:22 -07:00
David 'Digit' Turner
4903487555
am 5d335a1c: am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
...
Merge commit '5d335a1c6552f74e7da2c5f2d97f65eea8cb8c72'
* commit '5d335a1c6552f74e7da2c5f2d97f65eea8cb8c72':
libc: add missing O_CLOEXEC from <fcntl.h>
2010-09-28 12:48:19 -07:00
David 'Digit' Turner
6f39e611f3
am 914528cd: am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
...
Merge commit '914528cdc90dced0c07055d4d986e68adc8da60c'
* commit '914528cdc90dced0c07055d4d986e68adc8da60c':
libc: Add missing pipe2() declaration and implementation.
2010-09-28 12:48:15 -07:00
David 'Digit' Turner
25abeb155c
am 134f31e2: am 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
...
Merge commit '134f31e234128a90ee74d76f48ca12e1bfd080e7'
* commit '134f31e234128a90ee74d76f48ca12e1bfd080e7':
libm: remove aliasing issue.
2010-09-28 12:48:11 -07:00
David 'Digit' Turner
2172188923
am 9aac3824: am bd8d987b: libc: remove C++ comments from public headers.
...
Merge commit '9aac38249b579282ae8eaa630de3deaf97c4edff'
* commit '9aac38249b579282ae8eaa630de3deaf97c4edff':
libc: remove C++ comments from public headers.
2010-09-28 12:48:07 -07:00
Marco Nelissen
0da2a8eb87
am af00228b: Revert "libc: memmove(): non-overlapping block optim."
...
Merge commit 'af00228b705b53165c132a22b30c2d6cbb9acd13' into gingerbread-plus-aosp
* commit 'af00228b705b53165c132a22b30c2d6cbb9acd13':
Revert "libc: memmove(): non-overlapping block optim."
2010-09-28 10:29:50 -07:00
repo sync
686af0b3a5
resolved conflicts for merge of defd1622 to gingerbread-plus-aosp
...
Conflicts:
libc/arch-arm/syscalls/eventfd.S
libc/include/sys/eventfd.h
libc/include/sys/linux-syscalls.h
Change-Id: I02f6e9536aa5478322240c199ff4c2f4367922d0
2010-09-28 12:23:55 +02:00
David 'Digit' Turner
a511f24561
am 9973a564: libc: Add missing waitid() implementation.
...
Merge commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3' into gingerbread-plus-aosp
* commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3':
libc: Add missing waitid() implementation.
2010-09-28 00:22:25 -07:00
David 'Digit' Turner
052fbd8808
am a3ae60d3: libc: Add missing fdatasync() implementation
...
Merge commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7' into gingerbread-plus-aosp
* commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7':
libc: Add missing fdatasync() implementation
2010-09-28 00:19:31 -07:00
David 'Digit' Turner
5b5212b457
am 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
...
Merge commit '307aadb8473744c3d946add8b3e4947ada5481aa' into gingerbread-plus-aosp
* commit '307aadb8473744c3d946add8b3e4947ada5481aa':
libc: Add missing C++ guards to <pathconf.h>
2010-09-28 00:16:40 -07:00
David 'Digit' Turner
16922b7ebc
am 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread
...
Merge commit '79260746dbed91babab415ea86fba0e3eb086429' into gingerbread-plus-aosp
* commit '79260746dbed91babab415ea86fba0e3eb086429':
libc: memmove(): non-overlapping block optim.
2010-09-28 00:16:38 -07:00
David 'Digit' Turner
5d335a1c65
am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
...
Merge commit '032a713549c12b79b5dde6ef3dff323b7698110d' into gingerbread-plus-aosp
* commit '032a713549c12b79b5dde6ef3dff323b7698110d':
libc: add missing O_CLOEXEC from <fcntl.h>
2010-09-28 00:13:49 -07:00
David 'Digit' Turner
914528cdc9
am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
...
Merge commit '223ddfcfc4cb354641e70da31a60556248db5036' into gingerbread-plus-aosp
* commit '223ddfcfc4cb354641e70da31a60556248db5036':
libc: Add missing pipe2() declaration and implementation.
2010-09-28 00:13:48 -07:00
David 'Digit' Turner
134f31e234
am 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
...
Merge commit '9df22a5a5fc57d511bfde3338806ec98d0cc334f' into gingerbread-plus-aosp
* commit '9df22a5a5fc57d511bfde3338806ec98d0cc334f':
libm: remove aliasing issue.
2010-09-28 00:13:46 -07:00
David 'Digit' Turner
9aac38249b
am bd8d987b: libc: remove C++ comments from public headers.
...
Merge commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204' into gingerbread-plus-aosp
* commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204':
libc: remove C++ comments from public headers.
2010-09-28 00:13:43 -07:00
Elliott Hughes
d285151df6
am 8120a8df: am 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
...
Merge commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310'
* commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310':
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
2010-09-27 11:51:39 -07:00
Elliott Hughes
8120a8df84
am 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
...
Merge commit '3cf53d1a7814e1520df09d24b009c16f4f27db0d' into gingerbread-plus-aosp
* commit '3cf53d1a7814e1520df09d24b009c16f4f27db0d':
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
2010-09-27 11:39:39 -07:00
Jim Huang
e5c35e075f
gethnamaddr: make helper functions static
...
In order not to conflict with the symbols defined in file
libc/netbsd/getaddrinfo.c, this patch makes the internal/helper
functions static.
Change-Id: I0f85599e0b4ce0a637d005ff1680e1805dec4380
2010-09-27 23:40:55 +08:00
Jim Huang
9d16a79b18
Hide the symbol of helper function __libc_android_abort
...
Ideally __libc_android_abort would be static, but it could not be
because gcc would not allow calling a static function from an asm
statement. Instead, using GCC visibility is work around.
Change-Id: Ifff6b9957ca3f0fc03c75c3e42582a48d43cefa2
2010-09-27 22:20:59 +08:00
Elliott Hughes
3cf53d1a78
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
...
1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.
2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.
3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.
4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.
Change-Id: I6a38fad7a9fbe394aff141489617eb3883e1e944
2010-09-26 11:26:53 -07:00
Vinay Harugop
dd06eccffc
Support usage of __ARM_HAVE_LDREX_STREX
...
The __ARM_HAVE_LDREX_STREX define is used to replace
the swp instruction with ldrex/strex for ARM architecture
greater than 6 (armv6, armv7 etc.). However the include
file, cpu-features.h, which defines this flag was never
included.
Change-Id: Ia35e18e8b228ec830b2b42b08909515110753f18
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2010-09-26 14:00:23 +02:00
Jim Huang
02bee57242
Use ARMv6 instruction for handling byte order
...
ARMv6 ISA has several instructions to handle data in different byte order.
For endian conversion (byte swapping) of single data words, it might be a
good idea to use the REV/REV16 instruction simply.
(git cherry-pick -e aa35095517 )
Change-Id: Id6cca2e5e0a978f5abbee6d48876dfa8fa198f6a
2010-09-24 15:23:01 -07:00
Andy McFadden
eb4338e03e
Merge "Add memory barriers to pthread_once."
2010-09-24 07:42:31 -07:00
Rebecca Schultz Zavin
14773193be
Merge "New headers for camera"
2010-09-23 23:19:53 -07:00
Rebecca Schultz Zavin
db21d7e4ed
New headers for camera
...
Change-Id: I1136aba4aa0d588c7c37da9774bd69a78bcac656
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2010-09-23 23:19:26 -07:00
Brian Carlstrom
89d1841616
Merge commit 'b9e49ad56e5776ace7c6eab2e997d5b7acb16792' into mm
2010-09-23 14:01:09 -07:00
Andy McFadden
b1c9cc2f2d
Add memory barriers to pthread_once.
...
The implementation was using a double-checked locking approach that
could break on SMP.
In addition to the barriers I also switched to a volatile pointer. I
don't think this will matter unless gcc can conclude that _normal_lock
can't affect *once_control, but I figured it was better to be safe.
(It seems to have no impact whatsoever on the generated code.)
Bug 3022795.
Change-Id: Ib91da25d57ff5bee4288526e39d457153ef6aacd
2010-09-23 12:30:12 -07:00
Wink Saville
8939c1e1cc
am 6dbfddfe: (-s ours) am b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.
...
Merge commit '6dbfddfe4e76790ee57ddc0a77b64a9457ec08fb'
* commit '6dbfddfe4e76790ee57ddc0a77b64a9457ec08fb':
Use a recursive lock for pthread_once. DO NOT MERGE.
2010-09-23 01:46:42 -07:00
Wink Saville
6dbfddfe4e
am b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.
...
Merge commit 'b9e49ad56e5776ace7c6eab2e997d5b7acb16792' into gingerbread-plus-aosp
* commit 'b9e49ad56e5776ace7c6eab2e997d5b7acb16792':
Use a recursive lock for pthread_once. DO NOT MERGE.
2010-09-23 01:43:43 -07:00
Iliyan Malchev
5797e016f9
bionic: update processed kernel header cpcap_audio.h
...
Change-Id: I1f428e6513b144b5e78233c590b4a8e276cf55b7
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-09-22 15:41:34 -07:00
Brian Carlstrom
d1714c29fc
Merge commit 'fedbcde6ef552e84bf7ce7598bca7dddf1722d6a' into mm
2010-09-20 10:30:10 -07:00
Brian Swetland
c6d4084ad0
am f3833b67: am fedbcde6: add /vendor support
...
Merge commit 'f3833b67ee4773f2732814efe9e099558167976e'
* commit 'f3833b67ee4773f2732814efe9e099558167976e':
add /vendor support
2010-09-19 04:46:14 -07:00
Brian Swetland
f3833b67ee
am fedbcde6: add /vendor support
...
Merge commit 'fedbcde6ef552e84bf7ce7598bca7dddf1722d6a' into gingerbread-plus-aosp
* commit 'fedbcde6ef552e84bf7ce7598bca7dddf1722d6a':
add /vendor support
2010-09-19 03:51:34 -07:00
Brian Carlstrom
9c49fee3f2
Merge commit 'cb99ab98c99291a6c90043009ab8d64ec8058f9d' into mm
2010-09-15 12:09:01 -07:00
Kenny Root
6b0e8b5e20
am b6e3fb0f: am cb99ab98: Add wmemcmp to Android.mk
...
Merge commit 'b6e3fb0f3ffee60e7cf810117e78b81abaeb5046'
* commit 'b6e3fb0f3ffee60e7cf810117e78b81abaeb5046':
Add wmemcmp to Android.mk
2010-09-15 11:38:40 -07:00
Kenny Root
b6e3fb0f3f
am cb99ab98: Add wmemcmp to Android.mk
...
Merge commit 'cb99ab98c99291a6c90043009ab8d64ec8058f9d' into gingerbread-plus-aosp
* commit 'cb99ab98c99291a6c90043009ab8d64ec8058f9d':
Add wmemcmp to Android.mk
2010-09-14 12:31:03 -07:00
Jean-Baptiste Queru
e035a2d7c7
am ef3644d1: am 312be567: Merge "Use ARMv6 instruction for handling byte order"
...
Merge commit 'ef3644d110bcb44010672c0ad0bc7c96fd130c8f'
* commit 'ef3644d110bcb44010672c0ad0bc7c96fd130c8f':
Use ARMv6 instruction for handling byte order
2010-09-10 17:24:24 -07:00
Jean-Baptiste Queru
ef3644d110
am 312be567: Merge "Use ARMv6 instruction for handling byte order"
...
Merge commit '312be567a03aaf851707a268807ee666b12f8c74' into gingerbread-plus-aosp
* commit '312be567a03aaf851707a268807ee666b12f8c74':
Use ARMv6 instruction for handling byte order
2010-09-10 16:37:38 -07:00
Jean-Baptiste Queru
312be567a0
Merge "Use ARMv6 instruction for handling byte order"
2010-09-10 16:02:59 -07:00
Jean-Baptiste Queru
042ebe0e32
am 6bf08d13: am 3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
...
Merge commit '6bf08d131f4109088b7fa1e53196513636c49e9b'
* commit '6bf08d131f4109088b7fa1e53196513636c49e9b':
Move the atom optimization flags into TARGET_linux-x86.mk.
2010-09-10 14:52:37 -07:00
Jean-Baptiste Queru
6bf08d131f
am 3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
...
Merge commit '3558834c565bbfe96dfcf233373c3814b4655347' into gingerbread-plus-aosp
* commit '3558834c565bbfe96dfcf233373c3814b4655347':
Move the atom optimization flags into TARGET_linux-x86.mk.
2010-09-10 13:03:15 -07:00
Jean-Baptiste Queru
3558834c56
Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
2010-09-09 14:09:41 -07:00
Erik Gilling
614628b018
update linux/tegrafb.h
...
Change-Id: I5edab909e5fe491a95729aa89b2f37c02af6bcba
2010-09-08 15:29:08 -07:00
Dmitry Shmidt
cee39c250c
Merge "Update if.h, if_vlan,h and add in_route.h"
2010-09-08 11:36:50 -07:00
Dmitry Shmidt
2a8245c914
Update if.h, if_vlan,h and add in_route.h
...
Change-Id: I557a5ab71ea8dee18f5666b660fc73889c759851
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com >
2010-09-08 11:32:16 -07:00
Keith Deacon
8f670c8e41
am d7b156d2: am 3a1bbee3: Add eventfd system call support
...
Merge commit 'd7b156d2a38e58ab1e5f9e6a4b420588aeb78b46'
* commit 'd7b156d2a38e58ab1e5f9e6a4b420588aeb78b46':
Add eventfd system call support
2010-09-08 03:10:44 -07:00
Keith Deacon
d7b156d2a3
am 3a1bbee3: Add eventfd system call support
...
Merge commit '3a1bbee36b773862e88c6f1895b607c0cd81b499' into gingerbread-plus-aosp
* commit '3a1bbee36b773862e88c6f1895b607c0cd81b499':
Add eventfd system call support
2010-09-08 03:06:26 -07:00
Andy McFadden
f0c5eeeeef
Merge "Add a memory barrier to cond var signaling."
2010-09-07 14:05:33 -07:00
Rebecca Schultz Zavin
b8faf0662b
Merge "Fix libthread_db linkage"
2010-09-03 15:24:33 -07:00
Brian Carlstrom
e0aa3967ee
Merge commit '6e42398dd66d1ec7d84257f78c07dcc7f29a2283' into mm
2010-09-03 10:53:34 -07:00
Iliyan Malchev
575d6b3f10
bionic: update processed cpcap_audio.h
...
Change-Id: I6ef25c4c95aaebdf4efc2561a726a0ce1c90032e
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-09-03 10:09:37 -07:00
Antti Hatala
94962b9c9c
Fix libthread_db linkage
...
libthread_db depends on libc but since unresolved symbols were allowed
in the makefile this problem was never realized until gdbserver tried
to link with it, failing in the runtime.
Change-Id: If2ee319a2503c81abf3010829444f920c7c0c227
2010-09-02 14:00:59 -07:00
Andy McFadden
e2ac89869f
Add a memory barrier to cond var signaling.
...
This adds an explicit memory barrier to condition variable signaling.
It's a little murky as to whether it's strictly required, but it seems
like a wise thing to do.
Change-Id: Id0faa542d61e4b8ffa775e4adf68e4d7471f4fb7
2010-09-02 13:34:53 -07:00
rich cannings
964a14d0dd
am 9579ee38: am 6e42398d: Merge "Fix return value." into gingerbread
...
Merge commit '9579ee380c06f1ac6ca85c78d5172c82f10555d0'
* commit '9579ee380c06f1ac6ca85c78d5172c82f10555d0':
Fix return value.
2010-08-31 15:55:44 -07:00
rich cannings
9579ee380c
am 6e42398d: Merge "Fix return value." into gingerbread
...
Merge commit '6e42398dd66d1ec7d84257f78c07dcc7f29a2283' into gingerbread-plus-aosp
* commit '6e42398dd66d1ec7d84257f78c07dcc7f29a2283':
Fix return value.
2010-08-31 15:52:47 -07:00
Jesse Wilson
a7a86dc553
Make timezones available to the host build.
2010-08-31 15:40:05 -07:00
Keith Deacon
3a1bbee36b
Add eventfd system call support
2010-08-31 16:16:01 -05:00
Jesse Wilson
a93baa9fc6
am 3fda8700: am cc6b1829: Merge "Make timezones available to the host build." into gingerbread
...
Merge commit '3fda8700bd042fbb7ac37e2bbe7496df8a087244'
* commit '3fda8700bd042fbb7ac37e2bbe7496df8a087244':
Make timezones available to the host build.
2010-08-31 14:06:19 -07:00
Jesse Wilson
3fda8700bd
am cc6b1829: Merge "Make timezones available to the host build." into gingerbread
...
Merge commit 'cc6b18291075a7960ad0d638d2047f41be1297e8' into gingerbread-plus-aosp
* commit 'cc6b18291075a7960ad0d638d2047f41be1297e8':
Make timezones available to the host build.
2010-08-31 14:04:15 -07:00
Jean-Baptiste Queru
2577f413fa
am 97b06ef7: Merge (ignore) from open-source master tree
...
Merge commit '97b06ef7ddf66dae500e94b55d943cad61d28ae7'
* commit '97b06ef7ddf66dae500e94b55d943cad61d28ae7':
2010-08-31 13:13:06 -07:00
Jean-Baptiste Queru
97b06ef7dd
Merge (ignore) from open-source master tree
...
Change-Id: Ie735c3282ddc17c1e28e1069b714f3a310c221a2
2010-08-31 13:08:11 -07:00
Jim Huang
aa35095517
Use ARMv6 instruction for handling byte order
...
ARMv6 ISA has several instructions to handle data in different byte order.
For endian conversion (byte swapping) of single data words, it might be a
good idea to use the REV/REV16 instruction simply.
Change-Id: Ic4a5ed6254e082763e54aa70d428f59a0088636e
2010-08-31 14:51:44 +08:00
Jean-Baptiste Queru
c111863fbf
resolved conflicts for merge of a1727092 to gingerbread-plus-aosp
...
Change-Id: Icce8b9cb0c6ebfe2c4278c19c50aafb85a9ba4d8
2010-08-30 14:13:18 -07:00
David 'Digit' Turner
db0017e5e2
am 994b68f5: resolved conflicts for merge of 6a51defa to gingerbread-plus-aosp
...
Merge commit '994b68f5c7d637d2945c06260fe35b266c10379d'
* commit '994b68f5c7d637d2945c06260fe35b266c10379d':
Fix __get_tls() in static C library to use kernel helpers.
2010-08-29 17:48:55 -07:00
David 'Digit' Turner
994b68f5c7
resolved conflicts for merge of 6a51defa to gingerbread-plus-aosp
...
Change-Id: I0367bcffe9179904ca820e3b824dddfa47594f63
2010-08-29 17:41:36 -07:00
Nick Pelly
67b2206bbd
Merge "Add clean kernel header perf_event.h"
2010-08-26 11:31:53 -07:00
Szymon Jakubczak
75a3689b69
am 41e533af: added missing ether_aton and ether_ntoa
...
Merge commit '41e533af4a2720c1dc228ba40b6582ca53085c3a'
* commit '41e533af4a2720c1dc228ba40b6582ca53085c3a':
added missing ether_aton and ether_ntoa
2010-08-25 09:56:25 -07:00
Szymon Jakubczak
41e533af4a
added missing ether_aton and ether_ntoa
...
Change-Id: I32ee448abde4d5693d393030ed77ddc6d2ad1dfc
2010-08-25 08:46:23 -07:00
Brian Carlstrom
8e6451ed0a
Merge commit '22f1e3d4fae7d45cc439da94690d786ed44756fb' into mm
2010-08-24 15:56:52 -07:00
Nick Pelly
976c44be65
Add clean kernel header perf_event.h
...
Change-Id: I0d0e9da7579b1cccb9492ad8d594fe24dc1296e3
Signed-off-by: Nick Pelly <npelly@google.com >
2010-08-24 11:10:05 -07:00
Iliyan Malchev
a169e31a06
bionic: add processed audio-driver (i2s & cpcap) headers
...
Change-Id: Ib7db8aded1d41f54bbd681df116571c1996c569c
Signed-off-by: Iliyan Malchev <malchev@google.com >
2010-08-23 21:01:55 -07:00
Rebecca Schultz Zavin
eae561b2ab
Merge "Headers for tegra_camera device"
2010-08-19 16:55:54 -07:00
Rebecca Schultz Zavin
053febdd3b
Headers for tegra_camera device
...
Change-Id: Iaea67ee157b6ecd7a4485c8f716515da5c56601f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2010-08-18 16:57:19 -07:00
Brian Carlstrom
76fedd24f3
am 0a4a393d: am 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
...
Merge commit '0a4a393d717a2289c9fa2036f502f97c74d56e35'
* commit '0a4a393d717a2289c9fa2036f502f97c74d56e35':
Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
2010-08-18 13:41:09 -07:00
Dima Zavin
e46b482282
am 6b8c6a26: am a7161902: linker: fix overwriting the real linker error string
...
Merge commit '6b8c6a26f1c74db02e91d0cc7ebdd65439af53b2'
* commit '6b8c6a26f1c74db02e91d0cc7ebdd65439af53b2':
linker: fix overwriting the real linker error string
2010-08-18 13:41:07 -07:00
Brian Carlstrom
0a4a393d71
am 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
...
Merge commit '22f1e3d4fae7d45cc439da94690d786ed44756fb' into gingerbread-plus-aosp
* commit '22f1e3d4fae7d45cc439da94690d786ed44756fb':
Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
2010-08-18 13:39:12 -07:00
Dima Zavin
6b8c6a26f1
am a7161902: linker: fix overwriting the real linker error string
...
Merge commit 'a716190241da07f42cf874b04bf044261f36381c' into gingerbread-plus-aosp
* commit 'a716190241da07f42cf874b04bf044261f36381c':
linker: fix overwriting the real linker error string
2010-08-18 13:35:40 -07:00
Jean-Baptiste Queru
076bc8f92d
am 3871d57b: Revert "added missing ether_aton and ether_ntoa"
...
Merge commit '3871d57ba581236142c9bf2f8be2d34cce7c5829'
* commit '3871d57ba581236142c9bf2f8be2d34cce7c5829':
Revert "added missing ether_aton and ether_ntoa"
2010-08-18 13:31:49 -07:00
Jean-Baptiste Queru
3871d57ba5
Revert "added missing ether_aton and ether_ntoa"
...
This reverts commit 4032c1e2df .
2010-08-18 11:15:39 -07:00
Brian Carlstrom
019c5d920a
Merge commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba' into mm
...
Conflicts:
libc/Android.mk
libc/arch-arm/include/machine/cpu-features.h
libc/bionic/pthread.c
libc/bionic/semaphore.c
Change-Id: I599b069b71e381f8beb6c06acfde86b15e049273
2010-08-17 23:13:14 -07:00
Nick Pelly
b3765b2ee7
Add clean kernel headers for cpcap and hid.
...
Change-Id: I83d7395634eea8cb28c2fcf86c6855bb17f9fabb
Signed-off-by: Nick Pelly <npelly@google.com >
2010-08-16 15:31:01 -07:00
Elliott Hughes
18a859aff4
Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
...
(We've been missing the zoneinfo.* files for the host dalvikvm. My fix for
gingerbread will have to wait for someone to return from vacation, but I can
commit here in advance, and I need to so that I can submit
https://android-git.corp.google.com/g/60790 which -- amongst other things --
makes lack of time zone data a hard failure, rather than just silently
pretending all time zones are UTC.)
Bug: 2870945
Change-Id: I95163629c229c6da646af9aae4a0ba976ad5fe6c
2010-08-11 10:53:40 -07:00
Jeff Hamilton
2304a0bf86
Fix pwrite to take a const void* instead of void* for the buffer.
...
Change-Id: I10b315946b8f8f7e34825410dfef37e0220edbee
2010-08-11 11:28:26 -05:00
Christopher Tate
caaf7ecd1c
am 1ff91085: am 52e7d3d9: Bulletproof leak dump against null hash entries
...
Merge commit '1ff910858c8ae5863761101c673a196a6a16bca3'
* commit '1ff910858c8ae5863761101c673a196a6a16bca3':
Bulletproof leak dump against null hash entries
2010-08-09 19:57:25 -07:00
Christopher Tate
1ff910858c
am 52e7d3d9: Bulletproof leak dump against null hash entries
...
Merge commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba' into gingerbread-plus-aosp
* commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba':
Bulletproof leak dump against null hash entries
2010-08-09 19:53:32 -07:00
Jim Huang
a172709259
bionic: Rename _ARM_HAVE_LDREX_STREX to __ARM_HAVE_LDREX_STREX for consistency
...
The patch follows the naming manner in existing macros with prefix
__ARM_HAVE.
Change-Id: I6763ce2bf3ee85fd1da112c719543061d8d19bf4
2010-08-09 05:35:11 +08:00
Rebecca Schultz Zavin
45fe7a42f8
Adding cleaned tegrafb header
...
Change-Id: Iba616e64cc26fb8c2d469bdd3f9f4b048391cc53
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com >
2010-08-06 19:14:45 -07:00
Dima Zavin
63673645c4
libc: make lseek64 proto be glibc compatible (loff_t -> off64_t)
...
Change-Id: Ib79b99be9ca8d4b1f95ceeba416b6abc04187c3c
Signed-off-by: Dima Zavin <dima@android.com >
2010-08-06 11:47:29 -07:00
Thomas Tuttle
1a48b588c6
ublock: add cleaned version of linux/ublock.h to libc kernel headers
...
Change-Id: I8ebc7530690ff47f3160c72f42b8e0822f55a57e
2010-08-02 16:00:59 -07:00
Dima Zavin
19c23cc687
am 91af9e64: am 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"
...
Merge commit '91af9e64b5d86dd5925c0fcfdb3f3db5a86aa43c'
* commit '91af9e64b5d86dd5925c0fcfdb3f3db5a86aa43c':
Revert "Set SA_RESTORER in sigaction()"
2010-07-30 14:21:43 -07:00
Dima Zavin
91af9e64b5
am 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"
...
Merge commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81' into gingerbread-plus-aosp
* commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81':
Revert "Set SA_RESTORER in sigaction()"
2010-07-30 14:19:08 -07:00
Wu-cheng Li
7f14f7ba14
am 37443edd: am 7ed132a1: bionic: update processed kernel header msm_camera.h
...
Merge commit '37443edd9731dbddb1ca0181435d08bcdcafe5c8'
* commit '37443edd9731dbddb1ca0181435d08bcdcafe5c8':
bionic: update processed kernel header msm_camera.h
2010-07-27 14:35:39 -07:00
Wu-cheng Li
37443edd97
am 7ed132a1: bionic: update processed kernel header msm_camera.h
...
Merge commit '7ed132a1ae6e00593918090a964f5d5b09d77f84' into gingerbread-plus-aosp
* commit '7ed132a1ae6e00593918090a964f5d5b09d77f84':
bionic: update processed kernel header msm_camera.h
2010-07-27 14:33:18 -07:00
Eric Fischer
a742200641
am a685faf3: am cd7014fd: Update time zone data to the new version 2010k.
...
Merge commit 'a685faf3e3de181ca6c795b0062432c74073d024'
* commit 'a685faf3e3de181ca6c795b0062432c74073d024':
Update time zone data to the new version 2010k.
2010-07-26 17:22:50 -07:00
Eric Fischer
a685faf3e3
am cd7014fd: Update time zone data to the new version 2010k.
...
Merge commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be' into gingerbread-plus-aosp
* commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be':
Update time zone data to the new version 2010k.
2010-07-26 17:17:27 -07:00
David 'Digit' Turner
28518391d1
am 0291b0ca: resolved conflicts for merge of 6774809b to gingerbread-plus-aosp
...
Merge commit '0291b0cada30c1c8eaaa346577969ff9b4eb5195'
* commit '0291b0cada30c1c8eaaa346577969ff9b4eb5195':
linker: Support dlopen(NULL, ...) properly.
2010-07-26 12:21:19 -07:00
David 'Digit' Turner
0291b0cada
resolved conflicts for merge of 6774809b to gingerbread-plus-aosp
...
Change-Id: I633c3067c874c215da0c6ede00af41d8e3587d8b
2010-07-26 12:18:37 -07:00
Chih-Wei Huang
26c15a8eb9
Move the atom optimization flags into TARGET_linux-x86.mk.
...
Setting libc_crt_target_cflags to be non-recursive is necessary.
Change-Id: I5310d86e705f23da126c21ecb33a97a074da584a
2010-07-26 11:29:08 +08:00
Jean-Baptiste Queru
6b9d2d6839
am 6d4d8cb7: resolved conflicts for merge of 4f086aeb to gingerbread-plus-aosp
...
Merge commit '6d4d8cb79c5578d33ab17806d67b1e53a730fbc3'
* commit '6d4d8cb79c5578d33ab17806d67b1e53a730fbc3':
Implemented pthread_atfork()
2010-07-23 15:04:24 -07:00
Jean-Baptiste Queru
6d4d8cb79c
resolved conflicts for merge of 4f086aeb to gingerbread-plus-aosp
...
Change-Id: Ice2a6d41a7e9d04eca02e15ed189d648d61b5801
2010-07-23 13:53:19 -07:00
Matt Fischer
4f086aeb4a
Implemented pthread_atfork()
...
Change-Id: Ie6c0bf593315d3507b3c4a6c8903a74a1fa053db
2010-07-23 13:10:16 -07:00
Wu-cheng Li
cc1a72b280
am 4e69dfed: am 9d1f5afc: bionic: update processed kernel header msm_camera.h
...
Merge commit '4e69dfed0b0fe672e366bb84d5c3feaedc61d630'
* commit '4e69dfed0b0fe672e366bb84d5c3feaedc61d630':
bionic: update processed kernel header msm_camera.h
2010-07-19 13:50:46 -07:00
Wu-cheng Li
4e69dfed0b
am 9d1f5afc: bionic: update processed kernel header msm_camera.h
...
Merge commit '9d1f5afc34efb8c10672f765704941036fd40da8' into gingerbread-plus-aosp
* commit '9d1f5afc34efb8c10672f765704941036fd40da8':
bionic: update processed kernel header msm_camera.h
2010-07-19 13:48:34 -07:00
The Android Open Source Project
4b315b35b0
am 77ec41cc: merge from open-source master
...
Merge commit '77ec41cc22cf0d08e556e6afe4de1f6eae5e9662'
* commit '77ec41cc22cf0d08e556e6afe4de1f6eae5e9662':
Add kernel header file ipv6_route.h in bionic.
2010-07-19 12:20:03 -07:00
The Android Open Source Project
77ec41cc22
merge from open-source master
...
Change-Id: Ib65087940790a8d3b72d8d345a11e7c9c53896cd
2010-07-19 12:17:17 -07:00
Banavathu, Srinivas Naik
e73a571fd9
Add kernel header file ipv6_route.h in bionic.
...
The header file is needed to add route to an IPv6 host from user space
Change-Id: I25c8a8d8e48013f127542199bc027f976b9672c1
2010-07-16 16:42:48 -07:00
The Android Open Source Project
be96be7e83
am 90e83bcc: merge from open-source master
...
Merge commit '90e83bcc1c41a4d6d310b2bd5cb747a53a88fff3'
* commit '90e83bcc1c41a4d6d310b2bd5cb747a53a88fff3':
Fix undefined reference to dl_iterate_phdr for x86
2010-07-16 13:04:30 -07:00
The Android Open Source Project
90e83bcc1c
merge from open-source master
...
Change-Id: Iadd4a92f0384fdb8afa015613957b7d78b3d100a
2010-07-16 12:59:04 -07:00
The Android Open Source Project
2f606043c7
am b7ebc3bf: am b97c44dc: add meta-files about 3rd party projects
...
Merge commit 'b7ebc3bf78b1cba92bdfb9ef6ce1b28eabc7c4d6'
* commit 'b7ebc3bf78b1cba92bdfb9ef6ce1b28eabc7c4d6':
add meta-files about 3rd party projects
2010-07-16 11:55:45 -07:00
The Android Open Source Project
b7ebc3bf78
am b97c44dc: add meta-files about 3rd party projects
...
Merge commit 'b97c44dc9ecbe38c3bcee5abe55df173cb0fdf18' into gingerbread-plus-aosp
* commit 'b97c44dc9ecbe38c3bcee5abe55df173cb0fdf18':
add meta-files about 3rd party projects
2010-07-16 11:49:13 -07:00
Jean-Baptiste Queru
7f2162689c
Merge "Fix undefined reference to dl_iterate_phdr for x86"
2010-07-16 07:17:48 -07:00
Mike Lockwood
42f160ddfa
Add header for MTP kernel driver.
...
Change-Id: I072e476c28535198689afbe2320a291fa42fe05b
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-07-15 12:33:44 -04:00
The Android Open Source Project
fb6907d39c
am 0e78f786: merge from open-source master
...
Merge commit '0e78f786777a04af498b43564a8d6ed8e15e8940'
* commit '0e78f786777a04af498b43564a8d6ed8e15e8940':
Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb
2010-07-09 10:54:06 -07:00
The Android Open Source Project
4918d4cb0c
am 611793d6: merge from open-source master
...
Merge commit '611793d6abcf504544d6ebccb8c46da06464b701'
* commit '611793d6abcf504544d6ebccb8c46da06464b701':
Fix missing NL
2010-07-09 10:49:04 -07:00
The Android Open Source Project
0e78f78677
merge from open-source master
...
Change-Id: Id84ff747889d6f2c15c0510263e32fdfdd18dbed
2010-07-09 10:48:45 -07:00
The Android Open Source Project
611793d6ab
merge from open-source master
...
Change-Id: Ia22080192681c2ac596582d6cfdac732b1ff4c9f
2010-07-09 10:47:23 -07:00
David 'Digit' Turner
312d86493c
am ea5adb57: am cb7e8c5e: libc: update alarm() implementation to return 0 on error.
...
Merge commit 'ea5adb571e664e5d0444230169062baaa996686f'
* commit 'ea5adb571e664e5d0444230169062baaa996686f':
libc: update alarm() implementation to return 0 on error.
2010-07-08 19:10:55 -07:00
David 'Digit' Turner
85b0c388ed
am 7ab9c068: am ab8b5410: libc: fix fstatfs() implementation.
...
Merge commit '7ab9c068aac3373fe35a94b01a36d360c2bcb97f'
* commit '7ab9c068aac3373fe35a94b01a36d360c2bcb97f':
libc: fix fstatfs() implementation.
2010-07-08 19:10:52 -07:00
David 'Digit' Turner
ea5adb571e
am cb7e8c5e: libc: update alarm() implementation to return 0 on error.
...
Merge commit 'cb7e8c5ef3f5f60a848e469ed40610c8946fe7ac' into gingerbread-plus-aosp
* commit 'cb7e8c5ef3f5f60a848e469ed40610c8946fe7ac':
libc: update alarm() implementation to return 0 on error.
2010-07-08 17:24:45 -07:00
David 'Digit' Turner
7ab9c068aa
am ab8b5410: libc: fix fstatfs() implementation.
...
Merge commit 'ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4' into gingerbread-plus-aosp
* commit 'ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4':
libc: fix fstatfs() implementation.
2010-07-08 17:22:08 -07:00
Jean-Baptiste Queru
fc6d95b10e
Merge "Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb bionic: fix clearenv() compiler warning and related comment typos"
2010-07-08 15:38:13 -07:00
Bruce Beare
aa46fa2403
Fix undefined reference to dl_iterate_phdr for x86
...
Change-Id: I22410b27939e8f54da932d7a1104102550c4685f
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2010-07-08 14:47:50 -07:00
Bruce Beare
16984423bc
Fix missing NL
...
Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com >
2010-07-08 11:12:36 -07:00
David 'Digit' Turner
8173ee9b38
am 973a83f0: am d466780c: Add missing SMP barriers to libstdc++
...
Merge commit '973a83f04d63a984be9ea7d4a8f8fea56ebe2133'
* commit '973a83f04d63a984be9ea7d4a8f8fea56ebe2133':
Add missing SMP barriers to libstdc++
2010-07-07 14:22:28 -07:00
David 'Digit' Turner
973a83f04d
am d466780c: Add missing SMP barriers to libstdc++
...
Merge commit 'd466780c7cedb41edcf13f28ad900556c6aaa5b2' into gingerbread-plus-aosp
* commit 'd466780c7cedb41edcf13f28ad900556c6aaa5b2':
Add missing SMP barriers to libstdc++
2010-07-07 14:20:35 -07:00
David 'Digit' Turner
cf38531741
resolved conflicts for merge of 2576abf0 to master
...
Change-Id: Ibd3ed11f3cc27ff12c0464b0f56d7057be6a7b85
2010-07-02 15:22:19 -07:00
David 'Digit' Turner
2576abf0ed
am 51976326: libc: Fix sem_post() implementation to wake up all waiting threads.
...
Merge commit '519763265ec0b634bd9c264a0aca034882458ecc' into gingerbread-plus-aosp
* commit '519763265ec0b634bd9c264a0aca034882458ecc':
libc: Fix sem_post() implementation to wake up all waiting threads.
2010-07-02 15:12:00 -07:00
The Android Open Source Project
cd122865a5
am 424d027b: merge from open-source master
...
Merge commit '424d027b6e9b2fff2e79b2d65575c00fcf67d915'
* commit '424d027b6e9b2fff2e79b2d65575c00fcf67d915':
Regenerate linux/netfilter_ipv6/ip6_tables.h.
2010-07-02 11:43:48 -07:00
The Android Open Source Project
8a5705c7fa
am d6f31851: merge from open-source master
...
Merge commit 'd6f3185148933e4bae17e8f6efe7610cd1cf7769'
* commit 'd6f3185148933e4bae17e8f6efe7610cd1cf7769':
Allow dlclose() to properly call static C++ destructors.
2010-07-02 11:40:56 -07:00
The Android Open Source Project
424d027b6e
merge from open-source master
...
Change-Id: I895b74454b35da7eba6c0f6250fe2ca6c9907f1d
2010-07-02 11:40:01 -07:00
The Android Open Source Project
d6f3185148
merge from open-source master
...
Change-Id: I6a15428fd9ce1f1dbbb702ff13c6af8da8f54a1e
2010-07-02 11:37:54 -07:00
Jean-Baptiste Queru
6fce15cea1
Merge "Regenerate linux/netfilter_ipv6/ip6_tables.h."
2010-07-02 10:34:04 -07:00
David 'Digit' Turner
3b43f87d29
Allow dlclose() to properly call static C++ destructors.
...
With this patch _and_ an upcoming build/ patch, the destruction
of static C++ objects contained in shared libraries will happen
properly when dlclose() is called.
Note that this change introduces crtbegin_so.S and crtend_so.S which
are currently ignored by the build system.
+ move definition of __dso_handle to the right place
(before that, all shared libraries used the __dso_handle
global variable from the C library).
Note that we keep a 'weak' __dso_handle in aeabi.c to avoid
breaking the build until the next patch to build/core/combo/
appears. We will be able to remove that later.
+ move bionic/aeabi.c to arch-arm/bionic/ (its proper location)
NOTE: The NDK will need to be modified to enable this feature in
the shared libraries that are generated through it.
Change-Id: I99cd801375bbaef0581175893d1aa0943211b9bc
2010-07-01 23:09:28 -07:00
David 'Digit' Turner
4e6043a355
am 7d1d98b9: am a02b93bd: libc: add sanity checks to pthread_mutex_destroy()
...
Merge commit '7d1d98b97e947de22aff4c0b67eec7ae68c822ee'
* commit '7d1d98b97e947de22aff4c0b67eec7ae68c822ee':
libc: add sanity checks to pthread_mutex_destroy()
2010-06-29 12:55:34 -07:00
David 'Digit' Turner
7d1d98b97e
am a02b93bd: libc: add sanity checks to pthread_mutex_destroy()
...
Merge commit 'a02b93bd75a9d156117264d88069566e447397e2' into gingerbread-plus-aosp
* commit 'a02b93bd75a9d156117264d88069566e447397e2':
libc: add sanity checks to pthread_mutex_destroy()
2010-06-29 12:53:13 -07:00
Wink Saville
68bcaa4a7b
Merge "Use a recursive lock for pthread_once."
2010-06-28 12:13:00 -07:00
Wink Saville
ccc3d1eea1
Use a recursive lock for pthread_once.
...
bug: 2292366
Change-Id: I9fc8b790dcfcb30ca94a0beb340d43fe5cd6c22e
2010-06-28 11:41:16 -07:00
David 'Digit' Turner
06b48d847d
am 4a927712: am 0621a279: libstdc++: use extern "C++" in all our C++ system headers.
...
Merge commit '4a927712b7375844bb6c10eb0e495fcc4904d805'
* commit '4a927712b7375844bb6c10eb0e495fcc4904d805':
libstdc++: use extern "C++" in all our C++ system headers.
2010-06-28 11:29:50 -07:00
David 'Digit' Turner
4a927712b7
am 0621a279: libstdc++: use extern "C++" in all our C++ system headers.
...
Merge commit '0621a279adfb981ea1f0564e7fc8280cda78e043' into gingerbread-plus-aosp
* commit '0621a279adfb981ea1f0564e7fc8280cda78e043':
libstdc++: use extern "C++" in all our C++ system headers.
2010-06-28 11:27:32 -07:00
Vilmos Nebehaj
c1a534ba0b
Regenerate linux/netfilter_ipv6/ip6_tables.h.
...
Add ip6t_get_target() to kernel_known_generic_statics in
libc/kernel/tools/defaults.py to be able to build ip6tables.
Change-Id: Iadb885db3faa85b2d0070dc2e0ac493af6e62bb6
2010-06-28 15:13:23 +02:00
Chris Peterson
2bf607d599
Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb
...
bionic: fix clearenv() compiler warning and related comment typos
2010-06-27 20:53:04 -07:00
Nick Pelly
1deef576b3
am 0a79d213: am fa5755ae: Merge "Add clean headers for 7x30 video codec." into gingerbread
...
Merge commit '0a79d2135cf607b257319fb6d4638c0313cab388'
* commit '0a79d2135cf607b257319fb6d4638c0313cab388':
Add clean headers for 7x30 video codec.
2010-06-23 18:01:01 -07:00
Nick Pelly
0a79d2135c
am fa5755ae: Merge "Add clean headers for 7x30 video codec." into gingerbread
...
Merge commit 'fa5755ae980b6f4ac5df37b263ba20f472db31ca' into gingerbread-plus-aosp
* commit 'fa5755ae980b6f4ac5df37b263ba20f472db31ca':
Add clean headers for 7x30 video codec.
2010-06-23 17:58:38 -07:00
David 'Digit' Turner
cb43ffeb10
am cb0f5ed8: am 50ace4fe: Remove compiler warnings when building Bionic.
...
Merge commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a'
* commit 'cb0f5ed8111d4305cf6798aefdb4f9623570c83a':
Remove compiler warnings when building Bionic.
2010-06-23 12:41:50 -07:00
David 'Digit' Turner
cb0f5ed811
am 50ace4fe: Remove compiler warnings when building Bionic.
...
Merge commit '50ace4fec5e8cb5afcbc656a4556fa528adfd760' into gingerbread-plus-aosp
* commit '50ace4fec5e8cb5afcbc656a4556fa528adfd760':
Remove compiler warnings when building Bionic.
2010-06-23 11:17:07 -07:00
David 'Digit' Turner
55cb28032d
am e1a739ec: am 6a9b888d: Allow static C++ destructors to be properly called on dlclose().
...
Merge commit 'e1a739ec38a39fea9e66038dfc7cea364cb6a256'
* commit 'e1a739ec38a39fea9e66038dfc7cea364cb6a256':
Allow static C++ destructors to be properly called on dlclose().
2010-06-23 10:32:05 -07:00
David 'Digit' Turner
e1a739ec38
am 6a9b888d: Allow static C++ destructors to be properly called on dlclose().
...
Merge commit '6a9b888d7c4b246f6f66360789c72b754ff85021' into gingerbread-plus-aosp
* commit '6a9b888d7c4b246f6f66360789c72b754ff85021':
Allow static C++ destructors to be properly called on dlclose().
2010-06-22 11:19:25 -07:00
The Android Open Source Project
e93c115ab1
am 04acf6c8: merge from froyo-plus-aosp
...
Merge commit '04acf6c80ee1fbe64c3915da1255e8ce4e7798ce'
* commit '04acf6c80ee1fbe64c3915da1255e8ce4e7798ce':
Fix for incorrect reply from sysconf(_SC_NPROCESSORS_ONLN)
2010-06-21 10:54:48 -07:00
The Android Open Source Project
04acf6c80e
merge from froyo-plus-aosp
...
Change-Id: I64de22c97a98ec4f1f288c619e3d66d6be261c6d
2010-06-21 10:52:43 -07:00
The Android Open Source Project
e8f79c1f5d
merge from open-source master
...
Change-Id: I408b5705b18d9e93e66bfbfeec0e3baefd618dec
2010-06-18 11:33:00 -07:00
David Turner
c6b5cd8d76
Merge "Fix for incorrect reply from sysconf(_SC_NPROCESSORS_ONLN)"
2010-06-16 17:36:32 -07:00
Mikael Ohlson
b44fcd6e8f
Fix for incorrect reply from sysconf(_SC_NPROCESSORS_ONLN)
...
When calling sysconf with _SC_NPROCESSORS_ONLN, the value one (1) was
returned on systems with two or more cores, since '/proc/stat' was
incorrectly parsed.
The function line_parser_getc (LineParser* p) read 128 characters of
input for each invocation.
The proper and probably aimed for behavior is to read 128 characters
at the first call, then for each subsequent call only return the next
buffered character until a new read is needed and only then read
another 128 characters.
Due to a flipped comparison between the two variables in_len and
in_pos that track the number of bytes of data read into the input
buffer and how much of it has been parsed, a new group of 128
characters were read at almost every call to line_parser_getc,
overwriting the still unhandled bytes from the previous call to
read. This caused the lines to be read to be sampled more than parsed.
Change-Id: I93eec3c8c9b9f19ef798748579d0977111b5c0bb
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com >
2010-06-16 22:02:20 +00:00
Kristian Monsen
70465614e1
Just link fixes for b 2763938.
...
Added wcsxfrm.c and wmemcmp.c to the src files in Android.mk and removed wcsxfrm from wchar.c
Change-Id: Iab9b45cf78c27880d2941c360340a7af6b8964fe
2010-06-16 14:51:52 +01:00
David 'Digit' Turner
c0141a2bdd
am f201ae83: am 6a09cfd9: Merge "wchar.h: improve wchar_t support in Bionic" into kraken
...
Merge commit 'f201ae83fc1742f34f9b0ff248c0c6c48a55f7a4'
* commit 'f201ae83fc1742f34f9b0ff248c0c6c48a55f7a4':
wchar.h: improve wchar_t support in Bionic
2010-06-15 07:09:33 -07:00
David 'Digit' Turner
f201ae83fc
am 6a09cfd9: Merge "wchar.h: improve wchar_t support in Bionic" into kraken
...
Merge commit '6a09cfd9f916e3a60de707ff0806cdeb143d77a4' into gingerbread-plus-aosp
* commit '6a09cfd9f916e3a60de707ff0806cdeb143d77a4':
wchar.h: improve wchar_t support in Bionic
2010-06-15 07:07:44 -07:00
David 'Digit' Turner
9bd7922e5d
am a37ffb0c: am a24bc688: Merge "linker: remove libcutils dependency by re-implementing simpler socket_local_client." into kraken
...
Merge commit 'a37ffb0c74445fc0bc727aec887990d713d20b8e'
* commit 'a37ffb0c74445fc0bc727aec887990d713d20b8e':
linker: remove libcutils dependency by re-implementing simpler socket_local_client.
2010-06-15 07:03:55 -07:00
David 'Digit' Turner
a37ffb0c74
am a24bc688: Merge "linker: remove libcutils dependency by re-implementing simpler socket_local_client." into kraken
...
Merge commit 'a24bc688c037c9ecf0486747cb8d7568af8ec37b' into gingerbread-plus-aosp
* commit 'a24bc688c037c9ecf0486747cb8d7568af8ec37b':
linker: remove libcutils dependency by re-implementing simpler socket_local_client.
2010-06-15 07:01:02 -07:00
The Android Open Source Project
9903f1a79a
am 49b53c0b: merge from froyo-plus-aosp
...
Merge commit '49b53c0b948595ac34a52daca5fc6ef6af336b94'
* commit '49b53c0b948595ac34a52daca5fc6ef6af336b94':
added missing ether_aton and ether_ntoa
2010-06-14 11:20:52 -07:00
The Android Open Source Project
49b53c0b94
merge from froyo-plus-aosp
...
Change-Id: Ibbde24d8ee26259f3eff076ee4d32476f868db85
2010-06-14 11:18:38 -07:00
The Android Open Source Project
04ed4a1c88
merge from open-source master
...
Change-Id: I63e2bfcf87d190fb063c5b2457ebe6b0d50ddd26
2010-06-14 10:49:00 -07:00
Szymon Jakubczak
4032c1e2df
added missing ether_aton and ether_ntoa
...
Change-Id: I32ee448abde4d5693d393030ed77ddc6d2ad1dfc
2010-06-11 20:48:40 -04:00
David 'Digit' Turner
0db9a39e2a
am ef5f1ec3: am da3019b5: libc: add missing truncate() declaration
...
Merge commit 'ef5f1ec301f7be8c35cc073c54f41272e02ae7d2'
* commit 'ef5f1ec301f7be8c35cc073c54f41272e02ae7d2':
libc: add missing truncate() declaration
2010-06-11 14:44:27 -07:00
David 'Digit' Turner
1120749f04
am 1b5b2305: am ecb6d413: libc: Add missing <termio.h> header
...
Merge commit '1b5b23059304cfcc8d7d180ffa28ad48d5f20ac5'
* commit '1b5b23059304cfcc8d7d180ffa28ad48d5f20ac5':
libc: Add missing <termio.h> header
2010-06-11 14:44:20 -07:00
David 'Digit' Turner
ef5f1ec301
am da3019b5: libc: add missing truncate() declaration
...
Merge commit 'da3019b55305ce51b1b483d8727641e791ce0941' into gingerbread-plus-aosp
* commit 'da3019b55305ce51b1b483d8727641e791ce0941':
libc: add missing truncate() declaration
2010-06-11 14:42:58 -07:00
David 'Digit' Turner
1b5b230593
am ecb6d413: libc: Add missing <termio.h> header
...
Merge commit 'ecb6d4133477fef90c2fa23a40637d3c62681ee0' into gingerbread-plus-aosp
* commit 'ecb6d4133477fef90c2fa23a40637d3c62681ee0':
libc: Add missing <termio.h> header
2010-06-11 14:42:56 -07:00
David 'Digit' Turner
8ebb9caa83
am c0b91e65: am 6c8a2f2a: libc: remove cutils dependencies
...
Merge commit 'c0b91e659abab740e99832a0dce7f9fd3e35d765'
* commit 'c0b91e659abab740e99832a0dce7f9fd3e35d765':
libc: remove cutils dependencies
2010-06-11 14:01:16 -07:00
David 'Digit' Turner
c0b91e659a
am 6c8a2f2a: libc: remove cutils dependencies
...
Merge commit '6c8a2f2a5bc8d612ee953f528f2b5eb35983656a' into gingerbread-plus-aosp
* commit '6c8a2f2a5bc8d612ee953f528f2b5eb35983656a':
libc: remove cutils dependencies
2010-06-11 13:58:56 -07:00
Colin Cross
87d44baab4
Merge "Add headers for new sensors"
2010-06-11 12:01:46 -07:00
David 'Digit' Turner
5ccaf62090
resolved conflicts for merge of 43a3d66f to master
...
Change-Id: I5e09ee0778f6971ae2c34de23f719328035c61ed
2010-06-09 18:26:37 -07:00
David 'Digit' Turner
43a3d66f13
am 038fbae5: sysconf(): Fix line parser for /proc files.
2010-06-09 18:19:10 -07:00
Bruce Beare
f45d94425b
am cd11be09: (-s ours) am 9205fdf8: Add missing termios defns to bring on par with ARM - DO NOT MERGE
2010-06-09 15:57:10 -07:00
David 'Digit' Turner
ab37bb30c6
am 59e778eb: (-s ours) am 2beac0f5: DO NOT MERGE - add sincos.c to libm compilation
2010-06-09 15:55:25 -07:00
Bruce Beare
cd11be09cb
am 9205fdf8: Add missing termios defns to bring on par with ARM - DO NOT MERGE
2010-06-09 15:54:41 -07:00
David 'Digit' Turner
59e778eba7
am 2beac0f5: DO NOT MERGE - add sincos.c to libm compilation
2010-06-09 15:53:03 -07:00
Colin Cross
b508876e4c
Add headers for new sensors
...
Change-Id: I1de2bf65310920b3496c58f05b3c39158de4c51d
2010-06-09 15:51:43 -07:00
David 'Digit' Turner
7b6334c3bc
am 2837863f: (-s ours) am 20783c14: Update libthread_db for gdb-7.0 - DO NOT MERGE
2010-06-09 14:47:39 -07:00
David 'Digit' Turner
2837863f35
am 20783c14: Update libthread_db for gdb-7.0 - DO NOT MERGE
2010-06-09 14:45:34 -07:00
David 'Digit' Turner
fde04556fe
am 0f9a0a02: (-s ours) am 410b2ae7: Add sincosl() function to bionic. So that sincos optimization can - DO NOT MERGE be enabled.
2010-06-09 14:39:57 -07:00
David 'Digit' Turner
0f9a0a025a
am 410b2ae7: Add sincosl() function to bionic. So that sincos optimization can - DO NOT MERGE be enabled.
2010-06-09 14:38:40 -07:00
Jing Yu
8e37eda84d
am 4b043b56: am 506b13d9: Remove a gcc-4.5 compilation warning: bionic/libc/include/../include/stdlib.h: In function \'int grantpt(int)\': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter \'__fd\' set but not used [-Wunused-but-set-parameter]
2010-06-09 13:28:48 -07:00
Jing Yu
4b043b56f7
am 506b13d9: Remove a gcc-4.5 compilation warning: bionic/libc/include/../include/stdlib.h: In function \'int grantpt(int)\': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter \'__fd\' set but not used [-Wunused-but-set-parameter]
2010-06-09 13:27:29 -07:00
David 'Digit' Turner
04ce2b3606
am 8946da4f: (-s ours) am b8e6c50c: Fix setjmp()/longjmp() to save FP registers on ARMv7. - DO NOT MERGE
2010-06-09 13:23:12 -07:00
David 'Digit' Turner
8946da4fe1
am b8e6c50c: Fix setjmp()/longjmp() to save FP registers on ARMv7. - DO NOT MERGE
2010-06-09 13:21:51 -07:00
David 'Digit' Turner
de9a1e139e
am 732d133c: (-s ours) am aa4b1d04: Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE
2010-06-09 13:16:37 -07:00
David 'Digit' Turner
732d133c1d
am aa4b1d04: Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE
2010-06-09 13:15:12 -07:00
David 'Digit' Turner
53f3d63a18
Resolved conflict fpr merge of 7d8574ce to master
...
Conflicts:
libc/docs/CHANGES.TXT
Change-Id: I3816ac8346be399b31167b0374a0f018451bb92d
2010-06-08 17:41:10 -07:00
David 'Digit' Turner
7d8574cefe
am 6304d8b2: Use private futexes for semaphores, unless they are initialized with pshared != 0.
2010-06-08 17:29:43 -07:00
Jing Yu
e4d8a9205a
Merge "Add sincosl() function to bionic. So that sincos optimization can be enabled."
2010-06-07 13:14:45 -07:00
The Android Open Source Project
d881b9e10a
am 7980f585: merge from froyo-plus-aosp
2010-06-07 11:22:29 -07:00
The Android Open Source Project
7980f585f7
merge from froyo-plus-aosp
...
Change-Id: I54d3b035f378d92f287b3dd08987c4041fda9997
2010-06-07 11:19:33 -07:00
The Android Open Source Project
15956f9288
merge from open-source master
...
Change-Id: I1cc2f1123a296b05c4faaa419374376395e05936
2010-06-07 11:01:49 -07:00
David Turner
16c91eff09
Merge "Add missing termios defns to bring on par with ARM"
2010-06-05 13:07:40 -07:00
Bruce Beare
84baa86362
Add missing termios defns to bring on par with ARM
...
Change-Id: Ied1871aa0a2e33473b89a4ac6d54e3c44be7f457
2010-06-04 08:14:44 -07:00
Jean-Baptiste Queru
3af8c59b71
am a8a21488: resolved conflicts for merge of 7b6e6fa5 to kraken
2010-06-03 15:08:23 -07:00
Jing Yu
9946750609
Add sincosl() function to bionic. So that sincos optimization can
...
be enabled.
Change-Id: I19671a407dc96a92417c719da938ee0c1669bfb8
2010-06-03 14:13:53 -07:00
Colin Cross
d5578fb652
Merge "Add headers for new kernel drivers"
2010-06-01 19:24:33 -07:00
Colin Cross
1c7708ea7c
Add headers for new kernel drivers
...
Change-Id: I65e682cef2c20b12faa5e526e82e35ab3ca0c379
2010-06-01 17:46:38 -07:00
Andy McFadden
7c99c1856f
Atomic/SMP update, part 3. (manual merge)
...
Update ARM atomic ops to use LDREX/STREX. Stripped out #if 0 chunk.
Insert explicit memory barriers in pthread and semaphore code.
For bug 2721865.
Change-Id: I595cc8e5a8d1e4906b6641115e46208a7e9e755a
2010-06-01 16:25:02 -07:00
Andy McFadden
31b075c7a4
am fcd00ebb: Atomic/SMP update, part 3.
2010-06-01 16:11:07 -07:00
Andy McFadden
b4637f4f1f
Atomic/SMP update. [manual merge to dalvik-dev]
...
Added an underscore to _ARM_HAVE_LDREX_STREX to make it match the others.
Added __ARM_HAVE_DMB and __ARM_HAVE_LDREXD when appropriate.
Fixed some typos.
Change-Id: I85ca1980192b509a09190dd84f1ca4a361e9c3a2
2010-05-21 12:53:29 -07:00
Andy McFadden
f0107db210
am 4fdbadde: Atomic/SMP update.
2010-05-21 12:08:09 -07:00
Jing Yu
3a4b14bac6
Merge "Remove a gcc-4.5 compilation warning: bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)': bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter]"
2010-05-21 10:50:38 -07:00
Jing Yu
bd77d49812
Remove a gcc-4.5 compilation warning:
...
bionic/libc/include/../include/stdlib.h: In function 'int grantpt(int)':
bionic/libc/include/../include/stdlib.h:138:23: warning: parameter '__fd' set but not used [-Wunused-but-set-parameter]
By adding __attribute((unused)) to __fd, the warning is gone, and this
attribute is compatible with gcc-4.4.0, gcc-4.3.1 gcc-4.2.1.
There is no any side effect.
Change-Id: Id9d2b0aeefdd9c37132da0f00c48387f7d897e83
2010-05-21 10:18:53 -07:00
David 'Digit' Turner
5d726df15e
Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>)
...
Change-Id: Ie9168238c3a8e77daab4f39939756d4c53d8af37
2010-05-20 10:55:45 -07:00
David 'Digit' Turner
d11b2bd596
am 8a1d2cf1: (-s ours) Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)
2010-05-19 15:12:26 -07:00
David 'Digit' Turner
ddd235bd9c
Add sincos() and sincosf() implementation.
...
This is a GLibc-compatibility patch required to simplify our
upcoming toolchain work/porting.
Change-Id: I615a20a449763f86b6e2b0e4f5ab43fb029ceb6d
2010-05-19 11:39:16 -07:00
The Android Open Source Project
204e82d0af
am 8e1ee7fd: merge from open-source master
2010-05-17 15:03:01 -07:00
The Android Open Source Project
ac65d2f600
am fdf2454d: merge from open-source master
2010-05-14 13:43:56 -07:00
The Android Open Source Project
1e5db2794b
am 4aef0ae6: merge from open-source master
2010-05-13 14:46:26 -07:00
David 'Digit' Turner
a418c3b837
Add pthread_rwlock_t implementation to the C library
...
Change-Id: I14d0a112554756a7294a51fe88c1c408a16b5ff1
2010-05-12 15:59:46 -07:00
Jean-Baptiste Queru
06fee9d367
am f4394458: fix build
2010-05-12 10:10:41 -07:00
The Android Open Source Project
440de73df9
am bb7928cc: merge from open-source master
2010-05-12 09:51:35 -07:00
David 'Digit' Turner
5e1daa561a
Merge "Fix setjmp()/longjmp() to save FP registers on ARMv7."
2010-05-11 18:16:14 -07:00
Andy McFadden
9b67cc0ba4
Include cpu-features.h.
...
Needed for code that tests for _ARM_HAVE_LDREX_STREX.
Change-Id: I3504eeda935a444900236722e8de70b58b8bd8d1
2010-05-07 14:45:43 -07:00
The Android Open Source Project
afe86d745a
am f450fa5f: merge from open-source master
2010-05-03 15:39:55 -07:00
The Android Open Source Project
702b01c211
am 5ef5272b: merge from open-source master
2010-04-21 09:24:08 -07:00
The Android Open Source Project
424dff854c
am 95faecef: merge from open-source master
2010-04-08 11:23:30 -07:00
San Mehat
32b7c9c6dd
am f1cd18bd: am 91638721: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32
2010-04-06 23:48:03 -07:00
The Android Open Source Project
7cc7433f4a
am 1d168621: merge from open-source master
2010-03-31 14:40:08 -07:00
The Android Open Source Project
717cd61a1b
am d0467251: merge from open-source master
2010-03-31 14:40:06 -07:00
The Android Open Source Project
8ecdf610ca
am 5ffedb22: merge from open-source master
2010-03-31 14:32:53 -07:00
David 'Digit' Turner
519a73f11e
Merge "Update libthread_db for gdb-7.0"
2010-03-29 13:03:55 -07:00
David 'Digit' Turner
68b5f55671
Fix setjmp()/longjmp() to save FP registers on ARMv7.
...
Change-Id: I8ec684c8f8ca1ae58c8feb330b97d1e2b81caeef
2010-03-25 13:24:18 -07:00
David 'Digit' Turner
3d4edfc599
Update libthread_db for gdb-7.0
...
Change-Id: If8fbcea1cf6d06fc465a22d73671e6ff6aa1f312
2010-03-24 14:51:37 -07:00