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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Elliott Hughes
03ff63cee0
am 429b05a1
: Merge "Upgrade to tzdata2012j."
...
* commit '429b05a1dfa71c6085590d60e0bdfa09beb50844':
Upgrade to tzdata2012j.
2012-11-26 15:12:30 -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
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
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
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
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
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
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
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
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
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
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
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
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
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