Elliott Hughes
664b1d46d8
am 8623bf7b
: Merge "Make <sys/param.h> more glibc-like."
...
* commit '8623bf7b4da802ee56618f575e92290499011df9':
Make <sys/param.h> more glibc-like.
2013-12-12 15:44:39 -08:00
Christopher Ferris
7dfd8ae134
am 513d2770
: Merge "Add ioprio.h."
...
* commit '513d2770deebee15fd2d90bf8228050ff71dba5b':
Add ioprio.h.
2013-12-12 15:41:02 -08:00
Elliott Hughes
8623bf7b4d
Merge "Make <sys/param.h> more glibc-like."
2013-12-12 23:38:25 +00:00
Christopher Ferris
513d2770de
Merge "Add ioprio.h."
2013-12-12 23:35:42 +00:00
Elliott Hughes
c2f082f655
Make <sys/param.h> more glibc-like.
...
In particular, add MAX and MIN, needed by elfutils.
Bug: 11864683
Change-Id: I1b876732cdf68cdf5b930319e5ef5b5647586718
2013-12-12 15:31:35 -08:00
Christopher Ferris
802a0a7285
Add ioprio.h.
...
Change-Id: I153d05c5b6e9d640e319d65acb48b9cb12b6dafb
2013-12-12 15:23:22 -08:00
Elliott Hughes
2894204db4
am 5aad083f
: Merge "PTHREAD_KEYS_MAX cleanup."
...
* commit '5aad083f3de0bbcc0ffb1fecb688fbbe5abe5214':
PTHREAD_KEYS_MAX cleanup.
2013-12-12 12:57:00 -08:00
Elliott Hughes
5aad083f3d
Merge "PTHREAD_KEYS_MAX cleanup."
2013-12-12 20:51:50 +00:00
Elliott Hughes
1887621de8
PTHREAD_KEYS_MAX cleanup.
...
I fixed this bug a while back, but didn't remove it from the list,
could have added a better test, and could have written clearer code
that didn't require a comment.
Change-Id: Iebdf0f9a54537a7d5cbca254a5967b1543061f3d
2013-12-12 12:51:08 -08:00
Elliott Hughes
bce693ebe0
am 97e0c1dd
: Merge "Fix debugging issues in vdso handling"
...
* commit '97e0c1dd5a7c5517c19770e47672e216a8b64c66':
Fix debugging issues in vdso handling
2013-12-12 11:25:26 -08:00
Elliott Hughes
97e0c1dd5a
Merge "Fix debugging issues in vdso handling"
2013-12-12 19:19:22 +00:00
Pavel Chupin
5407eed84b
Fix debugging issues in vdso handling
...
Under valgrind ehdr_vdso is null and causing segfault.
Adding debug info for vdso producing plenty of issues on debugging
through gdbserver, removing it. It doesn't seem it should be here.
Unwinding through vdso test still works.
Change-Id: I1a7e233c493f2268d725fa8d7279822d07decc49
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-12-12 11:18:46 -08:00
Elliott Hughes
1336cd6d77
am 38fcbbb3
: Merge "AArch64: Fix mmap64() definition for AArch64, X86_64"
...
* commit '38fcbbb35a40c46e96b4df10d670d1c132910854':
AArch64: Fix mmap64() definition for AArch64, X86_64
2013-12-12 10:50:21 -08:00
Elliott Hughes
38fcbbb35a
Merge "AArch64: Fix mmap64() definition for AArch64, X86_64"
2013-12-12 18:43:43 +00:00
Serban Constantinescu
ed76a9361c
AArch64: Fix mmap64() definition for AArch64, X86_64
...
For 64bit Architectures mmap() is equivalent to mmap64(). This patch
maps mmap64() to mmap() in a similar way to other syscalls that differ
based on the size of off_t and off64_t
Change-Id: If21b21ef71120bad23d9a608d02d4a7de5220a87
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-12 10:41:52 -08:00
Elliott Hughes
5362e8d232
am 7bd08153
: Merge "Remove harmful attempts to be helpful in pthread_mutex functions."
...
* commit '7bd0815371c9bd803ee4ca0981b911b99efd2454':
Remove harmful attempts to be helpful in pthread_mutex functions.
2013-12-11 15:51:48 -08:00
Elliott Hughes
7bd0815371
Merge "Remove harmful attempts to be helpful in pthread_mutex functions."
2013-12-11 23:46:05 +00:00
Elliott Hughes
dff7203ee9
Remove harmful attempts to be helpful in pthread_mutex functions.
...
Most callers won't check for EINVAL, so it's best to fail early.
GCC takes the nonnull attribute as a guarantee that an argument
won't be NULL, so these hacks were already ineffective, which is
how we found that at least one commercial game was using NULL
as if it's a mutex, but actually getting no-op behavior.
Bug: 11971278
Change-Id: I89646e043d931778805a8b692e07a34d076ee6bf
2013-12-11 14:54:00 -08:00
Elliott Hughes
200fcb26d2
am 73ef27cd
: Merge "Clarify a comment."
...
* commit '73ef27cd0de0c6b7d4f6bc9c2250dbae3f0a88c3':
Clarify a comment.
2013-12-11 14:01:22 -08:00
Elliott Hughes
73ef27cd0d
Merge "Clarify a comment."
2013-12-11 21:56:39 +00:00
Elliott Hughes
960ee37f2a
Clarify a comment.
...
Change-Id: Iad2e33fb059170f808023ce3d17e9b8c13191f42
2013-12-11 12:41:54 -08:00
Robert Greenwalt
f2e4f8fd6f
am 2e359155
: Merge "Fix dns search domain use in gethostbyname."
...
* commit '2e3591557f4a382e441ee2d60614d616b5acb434':
Fix dns search domain use in gethostbyname.
2013-12-11 11:38:22 -08:00
Robert Greenwalt
2e3591557f
Merge "Fix dns search domain use in gethostbyname."
2013-12-11 19:32:37 +00:00
Robert Greenwalt
c11f6f0f39
Fix dns search domain use in gethostbyname.
...
Need to load search domain data before we attempt to use it.
bug:6799630
Change-Id: Ib228f4ca260339f71a2e28d5930c0a722bd43c92
2013-12-11 11:30:09 -08:00
Colin Cross
f9599f306a
am a84f88f0
: Merge "bionic: move benchmarks out of tests directory"
...
* commit 'a84f88f0989e9446686ae76a53dc087ff5788fe6':
bionic: move benchmarks out of tests directory
2013-12-11 11:09:55 -08:00
Colin Cross
a84f88f098
Merge "bionic: move benchmarks out of tests directory"
2013-12-11 19:05:25 +00:00
Colin Cross
bd3efbc9b5
bionic: move benchmarks out of tests directory
...
Change-Id: I4d054965198af22c9a9c821d1bc53f4e9ea01248
2013-12-10 18:24:30 -08:00
Christopher Ferris
381bf3f06a
am b3959928
: Merge "Do not clear tids on detached threads."
...
* commit 'b39599286d03db13f51a79e4cfe6644da0079f1a':
Do not clear tids on detached threads.
2013-12-09 10:28:13 -08:00
Christopher Ferris
b39599286d
Merge "Do not clear tids on detached threads."
2013-12-07 16:38:09 +00:00
Christopher Ferris
101fb7d963
Do not clear tids on detached threads.
...
Make sure that the kernel isn't going to try and clear the tid of
freed memory.
Bug: 11963327
Change-Id: I95d02340bfbe92f56036d2cc58dbf0e3079eb7c3
2013-12-06 23:00:44 -08:00
The Android Open Source Project
3f69e994e4
am 33771653
: Merge commit \'04b4339ad5396690329877df10fbe568bd4dd600\' into HEAD
...
* commit '3377165387d455d4cb56807a9c02cd2ece6cb24b':
2013-12-05 17:10:26 -08:00
The Android Open Source Project
3377165387
Merge commit '04b4339ad5396690329877df10fbe568bd4dd600' into HEAD
2013-12-05 12:37:57 -08:00
Christopher Ferris
b679f65420
am 6afe8ab7
: Merge "Add strcmp/memcmp testing."
...
* commit '6afe8ab7533937c7444756ae72dda547b9849fe2':
Add strcmp/memcmp testing.
2013-12-04 13:05:14 -08:00
Christopher Ferris
6afe8ab753
Merge "Add strcmp/memcmp testing."
2013-12-04 19:08:16 +00:00
Christopher Ferris
e5bbb6b6ab
Add strcmp/memcmp testing.
...
Bug: 9797008
Change-Id: I11b1da060d29f7dacbb53f20a3e2082395b5bd8a
2013-12-03 18:42:41 -08:00
Christopher Ferris
df4e7ad88f
am 0b4246b5
: Merge "Add cfi directives to all arm assembly."
...
* commit '0b4246b561550252f51800d822ce9e03d9b5b033':
Add cfi directives to all arm assembly.
2013-12-03 12:35:44 -08:00
Christopher Ferris
0b4246b561
Merge "Add cfi directives to all arm assembly."
2013-12-03 20:28:09 +00:00
Christopher Ferris
ed45970ac5
Add cfi directives to all arm assembly.
...
Since the ENTRY/END macros now have .cfi_startproc/.cfi_endproc, most of the
custom arm assembly has no unwind information. Adding the proper cfi directives
for these and removing the arm directives.
Update the gensyscalls.py script to add these cfi directives for the generated
assembly. Also fix the references to non-uapi headers to the proper uapi
header.
In addition, remove the kill.S, tkill.S, tgkill.S for arm since they are not
needed at all. The unwinder (libunwind) is able to properly unwind using the
normal abort.
After this change, I can unwind through the system calls again.
Bug: 11559337
Bug: 11825869
Bug: 11321283
Change-Id: I18b48089ef2d000a67913ce6febc6544bbe934a3
2013-12-02 19:13:12 -08:00
Elliott Hughes
c566f35af4
am ab0b0cdf
: Merge "Finish <sys/user.h>."
...
* commit 'ab0b0cdf1b07eb25ad89e0de08d4b3fd453602fe':
Finish <sys/user.h>.
2013-11-27 08:12:24 -08:00
Elliott Hughes
3b9aba5549
am 98c910fb
: Merge "Fix the order of arguments to sys_clone for x86."
...
* commit '98c910fb217a5c094e3101e57c52a618beaa23db':
Fix the order of arguments to sys_clone for x86.
2013-11-27 08:12:24 -08:00
Elliott Hughes
ab0b0cdf1b
Merge "Finish <sys/user.h>."
2013-11-27 04:51:35 +00:00
Elliott Hughes
ab797cb4fd
Finish <sys/user.h>.
...
Change-Id: I1d97d7fa3d5be2ff4728571ed5376705a27091ec
2013-11-26 17:57:31 -08:00
Elliott Hughes
98c910fb21
Merge "Fix the order of arguments to sys_clone for x86."
2013-11-27 00:34:44 +00:00
Elliott Hughes
99c393dff3
Fix the order of arguments to sys_clone for x86.
...
Unlike x86-64, x86's arguments are just like every other
architecture's.
Change-Id: Ic6da23f2a70599683b68e7e12ab9ba061e0b349c
2013-11-26 16:20:50 -08:00
Elliott Hughes
cb88d966b0
am 6ae2f22d
: Merge "Work around CLONE_SETTLS being weird on x86."
...
* commit '6ae2f22dc091844f2cf4a1de65d3ff6b225c2635':
Work around CLONE_SETTLS being weird on x86.
2013-11-26 14:44:12 -08:00
Elliott Hughes
6ae2f22dc0
Merge "Work around CLONE_SETTLS being weird on x86."
2013-11-26 22:36:38 +00:00
Elliott Hughes
a1d1a46ef6
am 1c057607
: Merge "Fix _exit_with_stack_teardown for x86."
...
* commit '1c057607d89229f5effaf1acf2ecde24ece41389':
Fix _exit_with_stack_teardown for x86.
2013-11-26 14:01:08 -08:00
Elliott Hughes
80906141f7
Work around CLONE_SETTLS being weird on x86.
...
Unlike other architectures, on x86 (but not x86-64), CLONE_SETTLS
takes a pointer to a struct user_desc instead of a pointer to the
TLS itself. Rather than have to deal with this here, let's just use
the old __set_tls mechanism we used to use (and still use for the
main thread on all architectures, so it's not going away any time
soon).
Bug: 11826724
Change-Id: I02a27939a73ae6cea1134a3f4c1dd7eafea479da
2013-11-26 13:57:21 -08:00
Elliott Hughes
1c057607d8
Merge "Fix _exit_with_stack_teardown for x86."
2013-11-26 21:51:48 +00:00
Elliott Hughes
9dec707bd6
Fix _exit_with_stack_teardown for x86.
...
Change-Id: Ife8f9c538c86f7c0017143015d5ee849a99b625b
2013-11-26 13:48:24 -08:00