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
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
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
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
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
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
3377165387
Merge commit '04b4339ad5396690329877df10fbe568bd4dd600' into HEAD
2013-12-05 12:37:57 -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
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
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
6ae2f22dc0
Merge "Work around CLONE_SETTLS being weird on x86."
2013-11-26 22:36:38 +00: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
Elliott Hughes
a98fff25c3
Merge "Make <sys/timerfd.h> standalone."
2013-11-25 22:00:10 +00:00
Elliott Hughes
e96d4bffe5
Make <sys/timerfd.h> standalone.
...
There's no uapi timerfd.h.
Bug: 11559337
Change-Id: I77a4b1365fdcf2c9f18673b11341a165e54b4bbd
2013-11-25 13:58:38 -08:00
Elliott Hughes
5a52bd34f1
Merge "Regenerate the bionic kernel headers to match external/kernel-headers."
2013-11-25 21:56:10 +00:00
Elliott Hughes
c43d16a458
Regenerate the bionic kernel headers to match external/kernel-headers.
...
Bug: 11859767
Change-Id: I3d746188a1c4bdf8db1358521438435d3e63dbac
2013-11-25 13:50:55 -08:00
Christopher Ferris
cda0c61dc7
am 14d6be45
: Merge "Delete non-uapi headers."
...
* commit '14d6be45b960f8fbb039bd946e22ce406e8b65c3':
Delete non-uapi headers.
2013-11-24 00:20:23 -08:00
Christopher Ferris
14d6be45b9
Merge "Delete non-uapi headers."
2013-11-24 08:16:25 +00:00
Christopher Ferris
dd1d4f1cfd
am 985c3fbb
: Merge "Move arm user.h definitions to sys/user.h."
...
* commit '985c3fbb3b1dabfa799e2a8c102867349bcb5a76':
Move arm user.h definitions to sys/user.h.
2013-11-23 08:02:04 -08:00
Christopher Ferris
e5a9200534
Delete non-uapi headers.
...
Update headers and delete non-uapi headers that have been removed from
external/kernel-headers project.
Change-Id: I9ed9632a941095fe1bf3b207bafe1151f00de033
2013-11-23 08:01:25 -08:00
Christopher Ferris
985c3fbb3b
Merge "Move arm user.h definitions to sys/user.h."
2013-11-23 15:59:57 +00:00
Christopher Ferris
363390eaff
Move arm user.h definitions to sys/user.h.
...
There is no uapi user.h file for arm, it was included by accident.
Move the user struct definition into the file to follow the pattern
used by the other architectures.
Change-Id: Ib9cea0deca551c9268382ddd6de9202fd32ef941
2013-11-22 18:00:09 -08:00
Christopher Ferris
038919d37c
am 507f95e2
: Merge "Update script to copy in extra generated files."
...
* commit '507f95e22b39fb58b9ffbba38ab593475b926af5':
Update script to copy in extra generated files.
2013-11-22 17:22:10 -08:00
Christopher Ferris
507f95e22b
Merge "Update script to copy in extra generated files."
2013-11-23 01:17:16 +00:00
Christopher Ferris
b4091e69f1
Update script to copy in extra generated files.
...
There are files in generated/asm that simply include asm-generic files. The
script now copies any file in generated/asm that also exists in asm-generic.
Change-Id: I075161c68624e9e9e81797224831988ce02220eb
2013-11-22 17:04:34 -08:00
The Android Open Source Project
f00c938c7f
Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD
...
Change-Id: I786944f80fb1a2d502fed51dc2c391ed5db66761
2013-11-22 13:38:33 -08:00
Christopher Ferris
a626e4d8bc
am 26f0e54a
: Merge "Script to grab uapi headers from android kernel."
...
* commit '26f0e54ae083727ee66ee35531ed00338570d792':
Script to grab uapi headers from android kernel.
2013-11-21 14:22:49 -08:00
Christopher Ferris
26f0e54ae0
Merge "Script to grab uapi headers from android kernel."
2013-11-21 22:20:14 +00:00
Elliott Hughes
50f6b8363e
am fa7b48bf
: Merge "Regenerate uapi header files."
...
* commit 'fa7b48bf8753690bd15706a1fe3d23cf5c42782f':
Regenerate uapi header files.
2013-11-21 14:11:39 -08:00
Christopher Ferris
e994d41578
Script to grab uapi headers from android kernel.
...
Change-Id: Ia140e3ab27fbfee6b02f04c085f3e0e351bbe68d
2013-11-21 14:09:54 -08:00
Elliott Hughes
fa7b48bf87
Merge "Regenerate uapi header files."
2013-11-21 22:06:14 +00:00
Elliott Hughes
8cb52b056c
Regenerate uapi header files.
...
Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d
2013-11-21 13:43:23 -08:00
Elliott Hughes
5e818b3314
am 880d0e6c
: Merge "Remove hidden __reboot from header"
...
* commit '880d0e6c64eb49736125648d1539726629308316':
Remove hidden __reboot from header
2013-11-21 12:41:56 -08:00
Elliott Hughes
880d0e6c64
Merge "Remove hidden __reboot from header"
2013-11-21 20:37:26 +00:00
Pavel Chupin
811cba00af
Remove hidden __reboot from header
...
This change is required:
https://android-review.googlesource.com/#/c/70570
Change-Id: Idb991f96a424aa5b0f9e06d9fb787fe8c8530750
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-11-22 00:19:34 +04:00
Elliott Hughes
843367953f
am eec57b37
: Merge "Add support for the ternary operator to the header scrubber."
...
* commit 'eec57b370642f1b83285883104f2e778f32eef73':
Add support for the ternary operator to the header scrubber.
2013-11-21 11:34:47 -08:00
Elliott Hughes
eec57b3706
Merge "Add support for the ternary operator to the header scrubber."
2013-11-21 19:30:22 +00:00