OSDN Git Service

android-x86/bionic.git
10 years agoDon't use __kernel_ulong_t.
Elliott Hughes [Wed, 18 Dec 2013 20:22:33 +0000 (12:22 -0800)]
Don't use __kernel_ulong_t.

Change-Id: Ifdfbac0ac6da647276a84bd64bb342bb5a07ad61

10 years agoMerge "Remove <machine/kernel.h>."
Elliott Hughes [Wed, 18 Dec 2013 19:26:41 +0000 (19:26 +0000)]
Merge "Remove <machine/kernel.h>."

10 years agoRemove <machine/kernel.h>.
Elliott Hughes [Wed, 18 Dec 2013 19:21:55 +0000 (11:21 -0800)]
Remove <machine/kernel.h>.

Bug: 12175484
Change-Id: I127f7f91f36bd879109d653e0c56ec56e2529d4d

10 years agoMerge "Small style cleanup."
Elliott Hughes [Wed, 18 Dec 2013 18:06:16 +0000 (18:06 +0000)]
Merge "Small style cleanup."

10 years agoSmall style cleanup.
Elliott Hughes [Wed, 18 Dec 2013 18:05:42 +0000 (10:05 -0800)]
Small style cleanup.

Change-Id: Ib45a4a2296232968296f9bd7cc3592ba46fd412d

10 years agoMerge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
Elliott Hughes [Wed, 18 Dec 2013 17:56:22 +0000 (17:56 +0000)]
Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"

10 years agoMerge "Move bionic over to GCC's 'warning' attribute."
Elliott Hughes [Wed, 18 Dec 2013 17:52:18 +0000 (17:52 +0000)]
Merge "Move bionic over to GCC's 'warning' attribute."

10 years agoMerge "Fix compilation of crtbegin.c and pthread_debug.cpp."
Elliott Hughes [Wed, 18 Dec 2013 17:48:28 +0000 (17:48 +0000)]
Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."

10 years agoFix compilation of crtbegin.c and pthread_debug.cpp.
Elliott Hughes [Wed, 18 Dec 2013 04:47:06 +0000 (20:47 -0800)]
Fix compilation of crtbegin.c and pthread_debug.cpp.

Because there was no default := for the aarch64 libc_crt_target_cflags,
the += was causing libc_crt_target_cflags to be recursively-defined
variable, which meant that when we were compiling crtbegin.c LOCAL_PATH
would be bionic/tests/ and we'd have -Ibionic/tests/include/ and find
none of our include files.

Also fix linking of pthread_debug.cpp, at least in the disabled mode.
The enabled mode was already broken for all architectures, and continues
to be broken after this change. It's been broken for long enough that
we might want to just remove it...

(aarch64 is using the FSF linker where arm uses the gold linker.)

Change-Id: I7db2e386694f6933db043138e6e97e5ae54d4174

10 years agoMove bionic over to GCC's 'warning' attribute.
Elliott Hughes [Wed, 18 Dec 2013 04:43:30 +0000 (20:43 -0800)]
Move bionic over to GCC's 'warning' attribute.

This is a better solution than the old __warn_references because it's
a compile-time rather than link-time warning, it doesn't rely on something
that doesn't appear to be supported by gold (which is why you only used
to see these warnings on mips builds), and the errors refer to the exact
call site(s) rather than just telling you which object file contains a
reference to the bad function.

This is primarily so we can build bionic for aarch64; building libc.so
caused these warnings to fire (because link time is the wrong time) and
warnings are errors.

Change-Id: I5df9281b2a9d98b164a9b11807ea9472c6faa9e3

10 years agoMerge "AArch64: Linker64 support for AArch64"
Elliott Hughes [Tue, 17 Dec 2013 23:06:49 +0000 (23:06 +0000)]
Merge "AArch64: Linker64 support for AArch64"

10 years agoAArch64: Linker64 support for AArch64
Marcus Oakland [Thu, 10 Oct 2013 14:19:31 +0000 (15:19 +0100)]
AArch64: Linker64 support for AArch64

Addition of support for AArch64 in the linker64 target.

Change-Id: I8dfd9711278f6706063e91f626b6007ea7a3dd6e
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoProperly detect timeout in pthread_mutex_lock_timeout_np_impl
Ken Mixter [Tue, 17 Dec 2013 20:40:08 +0000 (12:40 -0800)]
Properly detect timeout in pthread_mutex_lock_timeout_np_impl

Previously we were checking against a positive errno which
would not be returned from a system call.

Change-Id: I8e3a36f6fbf5ccc2191a152a1def37e2d6f93124

10 years agoMerge "AArch64: Add fixes to bionic/tests"
Elliott Hughes [Tue, 17 Dec 2013 01:41:08 +0000 (01:41 +0000)]
Merge "AArch64: Add fixes to bionic/tests"

10 years agoAArch64: Add fixes to bionic/tests
Serban Constantinescu [Tue, 22 Oct 2013 10:30:12 +0000 (11:30 +0100)]
AArch64: Add fixes to bionic/tests

This patch adds minor fixes to the bionic unit tests.

Change-Id: Ie10f33c631ed6c10987923d678711d22931ddb05
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "AArch64: Initial AArch64 port of libm"
Elliott Hughes [Tue, 17 Dec 2013 01:06:15 +0000 (01:06 +0000)]
Merge "AArch64: Initial AArch64 port of libm"

10 years agoAArch64: Initial AArch64 port of libm
Serban Constantinescu [Fri, 11 Oct 2013 09:44:43 +0000 (10:44 +0100)]
AArch64: Initial AArch64 port of libm

This patch adds intial support for AArch64 to bionic's libm.

Change-Id: I9ae0f895bbdd7fe67815e6ca1ead627581163a27
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "AArch64: Add initial support for AArch64"
Elliott Hughes [Tue, 17 Dec 2013 01:01:01 +0000 (01:01 +0000)]
Merge "AArch64: Add initial support for AArch64"

10 years agoAArch64: Add initial support for AArch64
Serban Constantinescu [Thu, 26 Sep 2013 10:37:10 +0000 (11:37 +0100)]
AArch64: Add initial support for AArch64

This is the first patch out of a series of patches that add support for
AArch64, the new 64bit execution state of the ARMv8 Architecture. The
patches add support for LP64 programming model.

The patch adds:
* "arch-aarch64" to the architecture directories.
* "arch-aarch64/include" - headers used by libc
* "arch-aarch64/bionic":
    - crtbegin, crtend support;
    - aarch64 specific syscall stubs;
    - setjmp, clone, vfork assembly files.

Change-Id: If72b859f81928d03ad05d4ccfcb54c2f5dbf99a5
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "AArch64: Add support for AArch64 atomic operations"
Elliott Hughes [Mon, 16 Dec 2013 21:09:57 +0000 (21:09 +0000)]
Merge "AArch64: Add support for AArch64 atomic operations"

10 years agoAArch64: Add support for AArch64 atomic operations
Serban Constantinescu [Tue, 8 Oct 2013 18:29:55 +0000 (19:29 +0100)]
AArch64: Add support for AArch64 atomic operations

This patch adds support for AArch64 atomic operations. Some
of the stubs use the lightweight store/load exclusive.

Change-Id: Iaf704d048b2dc15bf08cf8e4f0c3ea9f2052fe13
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "Fix typo."
Elliott Hughes [Mon, 16 Dec 2013 21:03:19 +0000 (21:03 +0000)]
Merge "Fix typo."

10 years agoFix typo.
Elliott Hughes [Mon, 16 Dec 2013 21:02:49 +0000 (13:02 -0800)]
Fix typo.

Change-Id: I85157a6b2056b6c17cae193200960b8cae3cb3b3

10 years agoMerge "Clean up the pthread-only atomic stuff a little."
Elliott Hughes [Mon, 16 Dec 2013 18:21:01 +0000 (18:21 +0000)]
Merge "Clean up the pthread-only atomic stuff a little."

10 years agoClean up the pthread-only atomic stuff a little.
Elliott Hughes [Sat, 14 Dec 2013 00:54:16 +0000 (16:54 -0800)]
Clean up the pthread-only atomic stuff a little.

It looks like we can probably just use the generic GCC stuff instead;
the generated code looks pretty similar. We should come back to that.

These routines are only used by the pthread implementation, and
__bionic_atomic_inc isn't used, so we can remove it.

Change-Id: I8b5b8cb30a1b159f0e85c3675aee06ddef39b429

10 years agoMerge "Clean up some ARMv4/ARMv5 cruft."
Elliott Hughes [Fri, 13 Dec 2013 23:42:21 +0000 (23:42 +0000)]
Merge "Clean up some ARMv4/ARMv5 cruft."

10 years agoClean up some ARMv4/ARMv5 cruft.
Elliott Hughes [Fri, 13 Dec 2013 20:17:13 +0000 (12:17 -0800)]
Clean up some ARMv4/ARMv5 cruft.

Change-Id: I29e836fea4b53901e29f96c6888869c35f6726be

10 years agoMerge "Make <sys/param.h> more glibc-like."
Elliott Hughes [Thu, 12 Dec 2013 23:38:25 +0000 (23:38 +0000)]
Merge "Make <sys/param.h> more glibc-like."

10 years agoMerge "Add ioprio.h."
Christopher Ferris [Thu, 12 Dec 2013 23:35:42 +0000 (23:35 +0000)]
Merge "Add ioprio.h."

10 years agoMake <sys/param.h> more glibc-like.
Elliott Hughes [Thu, 12 Dec 2013 23:31:35 +0000 (15:31 -0800)]
Make <sys/param.h> more glibc-like.

In particular, add MAX and MIN, needed by elfutils.

Bug: 11864683
Change-Id: I1b876732cdf68cdf5b930319e5ef5b5647586718

10 years agoAdd ioprio.h.
Christopher Ferris [Thu, 12 Dec 2013 23:23:22 +0000 (15:23 -0800)]
Add ioprio.h.

Change-Id: I153d05c5b6e9d640e319d65acb48b9cb12b6dafb

10 years agoMerge "PTHREAD_KEYS_MAX cleanup."
Elliott Hughes [Thu, 12 Dec 2013 20:51:50 +0000 (20:51 +0000)]
Merge "PTHREAD_KEYS_MAX cleanup."

10 years agoPTHREAD_KEYS_MAX cleanup.
Elliott Hughes [Thu, 12 Dec 2013 19:02:41 +0000 (11:02 -0800)]
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

10 years agoMerge "Fix debugging issues in vdso handling"
Elliott Hughes [Thu, 12 Dec 2013 19:19:22 +0000 (19:19 +0000)]
Merge "Fix debugging issues in vdso handling"

10 years agoFix debugging issues in vdso handling
Pavel Chupin [Mon, 9 Dec 2013 14:08:48 +0000 (18:08 +0400)]
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>
10 years agoMerge "AArch64: Fix mmap64() definition for AArch64, X86_64"
Elliott Hughes [Thu, 12 Dec 2013 18:43:43 +0000 (18:43 +0000)]
Merge "AArch64: Fix mmap64() definition for AArch64, X86_64"

10 years agoAArch64: Fix mmap64() definition for AArch64, X86_64
Serban Constantinescu [Thu, 12 Dec 2013 09:36:27 +0000 (09:36 +0000)]
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>
10 years agoMerge "Remove harmful attempts to be helpful in pthread_mutex functions."
Elliott Hughes [Wed, 11 Dec 2013 23:46:05 +0000 (23:46 +0000)]
Merge "Remove harmful attempts to be helpful in pthread_mutex functions."

10 years agoRemove harmful attempts to be helpful in pthread_mutex functions.
Elliott Hughes [Wed, 11 Dec 2013 22:54:00 +0000 (14:54 -0800)]
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

10 years agoMerge "Clarify a comment."
Elliott Hughes [Wed, 11 Dec 2013 21:56:39 +0000 (21:56 +0000)]
Merge "Clarify a comment."

10 years agoClarify a comment.
Elliott Hughes [Wed, 11 Dec 2013 20:41:54 +0000 (12:41 -0800)]
Clarify a comment.

Change-Id: Iad2e33fb059170f808023ce3d17e9b8c13191f42

10 years agoMerge "Fix dns search domain use in gethostbyname."
Robert Greenwalt [Wed, 11 Dec 2013 19:32:37 +0000 (19:32 +0000)]
Merge "Fix dns search domain use in gethostbyname."

10 years agoFix dns search domain use in gethostbyname.
Robert Greenwalt [Thu, 28 Nov 2013 00:23:09 +0000 (16:23 -0800)]
Fix dns search domain use in gethostbyname.

Need to load search domain data before we attempt to use it.
bug:6799630

Change-Id: Ib228f4ca260339f71a2e28d5930c0a722bd43c92

10 years agoMerge "bionic: move benchmarks out of tests directory"
Colin Cross [Wed, 11 Dec 2013 19:05:24 +0000 (19:05 +0000)]
Merge "bionic: move benchmarks out of tests directory"

10 years agobionic: move benchmarks out of tests directory
Colin Cross [Sat, 16 Nov 2013 01:49:47 +0000 (17:49 -0800)]
bionic: move benchmarks out of tests directory

Change-Id: I4d054965198af22c9a9c821d1bc53f4e9ea01248

10 years agoMerge "Do not clear tids on detached threads."
Christopher Ferris [Sat, 7 Dec 2013 16:38:08 +0000 (16:38 +0000)]
Merge "Do not clear tids on detached threads."

10 years agoDo not clear tids on detached threads.
Christopher Ferris [Sat, 7 Dec 2013 02:54:48 +0000 (18:54 -0800)]
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

10 years agoMerge commit '04b4339ad5396690329877df10fbe568bd4dd600' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:37:57 +0000 (12:37 -0800)]
Merge commit '04b4339ad5396690329877df10fbe568bd4dd600' into HEAD

10 years agoMerge "Add strcmp/memcmp testing."
Christopher Ferris [Wed, 4 Dec 2013 19:08:16 +0000 (19:08 +0000)]
Merge "Add strcmp/memcmp testing."

10 years agoAdd strcmp/memcmp testing.
Christopher Ferris [Wed, 4 Dec 2013 02:39:10 +0000 (18:39 -0800)]
Add strcmp/memcmp testing.

Bug: 9797008
Change-Id: I11b1da060d29f7dacbb53f20a3e2082395b5bd8a

10 years agoMerge "Add cfi directives to all arm assembly."
Christopher Ferris [Tue, 3 Dec 2013 20:28:09 +0000 (20:28 +0000)]
Merge "Add cfi directives to all arm assembly."

10 years agoAdd cfi directives to all arm assembly.
Christopher Ferris [Tue, 3 Dec 2013 01:44:53 +0000 (17:44 -0800)]
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

10 years agoMerge "Finish <sys/user.h>."
Elliott Hughes [Wed, 27 Nov 2013 04:51:34 +0000 (04:51 +0000)]
Merge "Finish <sys/user.h>."

10 years agoFinish <sys/user.h>.
Elliott Hughes [Wed, 27 Nov 2013 01:57:31 +0000 (17:57 -0800)]
Finish <sys/user.h>.

Change-Id: I1d97d7fa3d5be2ff4728571ed5376705a27091ec

10 years agoMerge "Fix the order of arguments to sys_clone for x86."
Elliott Hughes [Wed, 27 Nov 2013 00:34:44 +0000 (00:34 +0000)]
Merge "Fix the order of arguments to sys_clone for x86."

10 years agoFix the order of arguments to sys_clone for x86.
Elliott Hughes [Wed, 27 Nov 2013 00:20:50 +0000 (16:20 -0800)]
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

10 years agoMerge "Work around CLONE_SETTLS being weird on x86."
Elliott Hughes [Tue, 26 Nov 2013 22:36:38 +0000 (22:36 +0000)]
Merge "Work around CLONE_SETTLS being weird on x86."

10 years agoWork around CLONE_SETTLS being weird on x86.
Elliott Hughes [Tue, 26 Nov 2013 21:57:21 +0000 (13:57 -0800)]
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

10 years agoMerge "Fix _exit_with_stack_teardown for x86."
Elliott Hughes [Tue, 26 Nov 2013 21:51:48 +0000 (21:51 +0000)]
Merge "Fix _exit_with_stack_teardown for x86."

10 years agoFix _exit_with_stack_teardown for x86.
Elliott Hughes [Tue, 26 Nov 2013 21:48:24 +0000 (13:48 -0800)]
Fix _exit_with_stack_teardown for x86.

Change-Id: Ife8f9c538c86f7c0017143015d5ee849a99b625b

10 years agoMerge "Make <sys/timerfd.h> standalone."
Elliott Hughes [Mon, 25 Nov 2013 22:00:10 +0000 (22:00 +0000)]
Merge "Make <sys/timerfd.h> standalone."

10 years agoMake <sys/timerfd.h> standalone.
Elliott Hughes [Mon, 25 Nov 2013 21:58:38 +0000 (13:58 -0800)]
Make <sys/timerfd.h> standalone.

There's no uapi timerfd.h.

Bug: 11559337
Change-Id: I77a4b1365fdcf2c9f18673b11341a165e54b4bbd

10 years agoMerge "Regenerate the bionic kernel headers to match external/kernel-headers."
Elliott Hughes [Mon, 25 Nov 2013 21:56:09 +0000 (21:56 +0000)]
Merge "Regenerate the bionic kernel headers to match external/kernel-headers."

10 years agoRegenerate the bionic kernel headers to match external/kernel-headers.
Elliott Hughes [Mon, 25 Nov 2013 21:50:24 +0000 (13:50 -0800)]
Regenerate the bionic kernel headers to match external/kernel-headers.

Bug: 11859767
Change-Id: I3d746188a1c4bdf8db1358521438435d3e63dbac

10 years agoam 14d6be45: Merge "Delete non-uapi headers."
Christopher Ferris [Sun, 24 Nov 2013 08:20:23 +0000 (00:20 -0800)]
am 14d6be45: Merge "Delete non-uapi headers."

* commit '14d6be45b960f8fbb039bd946e22ce406e8b65c3':
  Delete non-uapi headers.

10 years agoMerge "Delete non-uapi headers."
Christopher Ferris [Sun, 24 Nov 2013 08:16:25 +0000 (08:16 +0000)]
Merge "Delete non-uapi headers."

10 years agoam 985c3fbb: Merge "Move arm user.h definitions to sys/user.h."
Christopher Ferris [Sat, 23 Nov 2013 16:02:04 +0000 (08:02 -0800)]
am 985c3fbb: Merge "Move arm user.h definitions to sys/user.h."

* commit '985c3fbb3b1dabfa799e2a8c102867349bcb5a76':
  Move arm user.h definitions to sys/user.h.

10 years agoDelete non-uapi headers.
Christopher Ferris [Sat, 23 Nov 2013 01:57:59 +0000 (17:57 -0800)]
Delete non-uapi headers.

Update headers and delete non-uapi headers that have been removed from
external/kernel-headers project.

Change-Id: I9ed9632a941095fe1bf3b207bafe1151f00de033

10 years agoMerge "Move arm user.h definitions to sys/user.h."
Christopher Ferris [Sat, 23 Nov 2013 15:59:57 +0000 (15:59 +0000)]
Merge "Move arm user.h definitions to sys/user.h."

10 years agoMove arm user.h definitions to sys/user.h.
Christopher Ferris [Sat, 23 Nov 2013 02:00:09 +0000 (18:00 -0800)]
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

10 years agoam 507f95e2: Merge "Update script to copy in extra generated files."
Christopher Ferris [Sat, 23 Nov 2013 01:22:10 +0000 (17:22 -0800)]
am 507f95e2: Merge "Update script to copy in extra generated files."

* commit '507f95e22b39fb58b9ffbba38ab593475b926af5':
  Update script to copy in extra generated files.

10 years agoMerge "Update script to copy in extra generated files."
Christopher Ferris [Sat, 23 Nov 2013 01:17:15 +0000 (01:17 +0000)]
Merge "Update script to copy in extra generated files."

10 years agoUpdate script to copy in extra generated files.
Christopher Ferris [Sat, 23 Nov 2013 01:04:34 +0000 (17:04 -0800)]
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

10 years agoMerge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD
The Android Open Source Project [Fri, 22 Nov 2013 19:08:12 +0000 (11:08 -0800)]
Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD

Change-Id: I786944f80fb1a2d502fed51dc2c391ed5db66761

10 years agoam 26f0e54a: Merge "Script to grab uapi headers from android kernel."
Christopher Ferris [Thu, 21 Nov 2013 22:22:49 +0000 (14:22 -0800)]
am 26f0e54a: Merge "Script to grab uapi headers from android kernel."

* commit '26f0e54ae083727ee66ee35531ed00338570d792':
  Script to grab uapi headers from android kernel.

10 years agoMerge "Script to grab uapi headers from android kernel."
Christopher Ferris [Thu, 21 Nov 2013 22:20:14 +0000 (22:20 +0000)]
Merge "Script to grab uapi headers from android kernel."

10 years agoam fa7b48bf: Merge "Regenerate uapi header files."
Elliott Hughes [Thu, 21 Nov 2013 22:11:39 +0000 (14:11 -0800)]
am fa7b48bf: Merge "Regenerate uapi header files."

* commit 'fa7b48bf8753690bd15706a1fe3d23cf5c42782f':
  Regenerate uapi header files.

10 years agoScript to grab uapi headers from android kernel.
Christopher Ferris [Thu, 21 Nov 2013 03:52:56 +0000 (19:52 -0800)]
Script to grab uapi headers from android kernel.

Change-Id: Ia140e3ab27fbfee6b02f04c085f3e0e351bbe68d

10 years agoMerge "Regenerate uapi header files."
Elliott Hughes [Thu, 21 Nov 2013 22:06:14 +0000 (22:06 +0000)]
Merge "Regenerate uapi header files."

10 years agoRegenerate uapi header files.
Elliott Hughes [Thu, 21 Nov 2013 21:43:23 +0000 (13:43 -0800)]
Regenerate uapi header files.

Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d

10 years agoam 880d0e6c: Merge "Remove hidden __reboot from header"
Elliott Hughes [Thu, 21 Nov 2013 20:41:56 +0000 (12:41 -0800)]
am 880d0e6c: Merge "Remove hidden __reboot from header"

* commit '880d0e6c64eb49736125648d1539726629308316':
  Remove hidden __reboot from header

10 years agoMerge "Remove hidden __reboot from header"
Elliott Hughes [Thu, 21 Nov 2013 20:37:25 +0000 (20:37 +0000)]
Merge "Remove hidden __reboot from header"

10 years agoRemove hidden __reboot from header
Pavel Chupin [Thu, 21 Nov 2013 19:13:08 +0000 (23:13 +0400)]
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>
10 years agoam eec57b37: Merge "Add support for the ternary operator to the header scrubber."
Elliott Hughes [Thu, 21 Nov 2013 19:34:47 +0000 (11:34 -0800)]
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.

10 years agoMerge "Add support for the ternary operator to the header scrubber."
Elliott Hughes [Thu, 21 Nov 2013 19:30:22 +0000 (19:30 +0000)]
Merge "Add support for the ternary operator to the header scrubber."

10 years agoAdd support for the ternary operator to the header scrubber.
Elliott Hughes [Thu, 21 Nov 2013 19:12:34 +0000 (11:12 -0800)]
Add support for the ternary operator to the header scrubber.

Used in various uapi headers.

Change-Id: Id0f862d2adc7ddc9727e8a29160d5435f8d547c3

10 years agoam d4143c8e: Merge "Fix useconds_t for LP64."
Elliott Hughes [Thu, 21 Nov 2013 17:07:15 +0000 (09:07 -0800)]
am d4143c8e: Merge "Fix useconds_t for LP64."

* commit 'd4143c8e4cd8b006d8f422883b53684881e0991a':
  Fix useconds_t for LP64.

10 years agoam 15a64948: Merge "Remove obsolete kernel/arch-mips headers."
Elliott Hughes [Thu, 21 Nov 2013 17:07:14 +0000 (09:07 -0800)]
am 15a64948: Merge "Remove obsolete kernel/arch-mips headers."

* commit '15a64948567e6e885f639070fa1cc56900dcbae0':
  Remove obsolete kernel/arch-mips headers.

10 years agoam b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
Elliott Hughes [Thu, 21 Nov 2013 17:07:13 +0000 (09:07 -0800)]
am b135f6e5: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."

* commit 'b135f6e58cc81a6de64c55017d25496003ebe547':
  Remove the unused arch-x86 and arch-x86-64 kernel headers.

10 years agoMerge "Fix useconds_t for LP64."
Elliott Hughes [Thu, 21 Nov 2013 17:05:04 +0000 (17:05 +0000)]
Merge "Fix useconds_t for LP64."

10 years agoMerge "Remove obsolete kernel/arch-mips headers."
Elliott Hughes [Thu, 21 Nov 2013 17:04:44 +0000 (17:04 +0000)]
Merge "Remove obsolete kernel/arch-mips headers."

10 years agoMerge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
Elliott Hughes [Thu, 21 Nov 2013 17:04:24 +0000 (17:04 +0000)]
Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."

10 years agoFix useconds_t for LP64.
Elliott Hughes [Thu, 21 Nov 2013 16:55:46 +0000 (08:55 -0800)]
Fix useconds_t for LP64.

Change-Id: I869e60484999c1feda3dcdb86bee5b5373e6b3df

10 years agoRemove obsolete kernel/arch-mips headers.
Elliott Hughes [Thu, 21 Nov 2013 02:09:34 +0000 (18:09 -0800)]
Remove obsolete kernel/arch-mips headers.

Bug: 11559337
Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd

10 years agoam ca045a19: Merge "Switch to upstream sleep(3) and usleep(3)."
Elliott Hughes [Thu, 21 Nov 2013 00:44:59 +0000 (16:44 -0800)]
am ca045a19: Merge "Switch to upstream sleep(3) and usleep(3)."

* commit 'ca045a19234a9323ea0e7eccbe3aefd74f9c1bab':
  Switch to upstream sleep(3) and usleep(3).

10 years agoMerge "Switch to upstream sleep(3) and usleep(3)."
Elliott Hughes [Thu, 21 Nov 2013 00:41:30 +0000 (00:41 +0000)]
Merge "Switch to upstream sleep(3) and usleep(3)."

10 years agoSwitch to upstream sleep(3) and usleep(3).
Elliott Hughes [Thu, 21 Nov 2013 00:09:06 +0000 (16:09 -0800)]
Switch to upstream sleep(3) and usleep(3).

Also fix the signature of usleep, and the definition of useconds_t which
should be unsigned, as the 'u' in its name implies.

This patch also cleans up the existing FreeBSD hacks by moving the libm
stuff from <sys/cdefs.h> to a libm-private header, and adding comments
about the hacks we use to build FreeBSD source.

Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6

10 years agoam 39bc7ecd: Merge "Fix <signal.h> for mips uapi."
Elliott Hughes [Wed, 20 Nov 2013 20:57:19 +0000 (12:57 -0800)]
am 39bc7ecd: Merge "Fix <signal.h> for mips uapi."

* commit '39bc7ecd45700e9edac0b29d33cc211383ebb107':
  Fix <signal.h> for mips uapi.

10 years agoMerge "Fix <signal.h> for mips uapi."
Elliott Hughes [Wed, 20 Nov 2013 20:54:03 +0000 (20:54 +0000)]
Merge "Fix <signal.h> for mips uapi."

10 years agoFix <signal.h> for mips uapi.
Elliott Hughes [Wed, 20 Nov 2013 20:51:52 +0000 (12:51 -0800)]
Fix <signal.h> for mips uapi.

Bug: 11559337
Change-Id: I4c6080f162d74ee78c81d698c7b50470b0e09586