]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/log
android-sdk/platform-bionic.git
9 years agoFix the types of some of the struct stat fields.
Elliott Hughes [Thu, 18 Dec 2014 23:17:42 +0000 (15:17 -0800)]
Fix the types of some of the struct stat fields.

Bug: 17062519
Change-Id: I5207867939f3c2876bf6448e565fa4364aa7e4f0

9 years agoMerge "Split the shared group data from the shared passwd data."
Elliott Hughes [Thu, 18 Dec 2014 23:12:44 +0000 (23:12 +0000)]
Merge "Split the shared group data from the shared passwd data."

9 years agoMerge "Fix struct stat member types for x86-64."
Elliott Hughes [Thu, 18 Dec 2014 23:05:19 +0000 (23:05 +0000)]
Merge "Fix struct stat member types for x86-64."

9 years agoFix struct stat member types for x86-64.
Elliott Hughes [Thu, 18 Dec 2014 20:38:44 +0000 (12:38 -0800)]
Fix struct stat member types for x86-64.

Bug: 17062519
Change-Id: I93b1e8b1d4b6918ab7c3a985e2f7da277077375e

9 years agoSplit the shared group data from the shared passwd data.
Elliott Hughes [Thu, 18 Dec 2014 21:36:25 +0000 (13:36 -0800)]
Split the shared group data from the shared passwd data.

Found by the toybox id(1) which calls both getpwuid(3) and getgrgid(3) before
looking at either result. The use of a shared buffer in this code meant that
even on a single thread, the data for any of the passwd functions would be
clobbered by the data for any of the group functions (or vice versa).

This might seem like an insufficient fix, but POSIX explicitly says (for
getpwnam) that the result "might be overwritten by a subsequent call to
getpwent(), getpwnam(), or getpwuid()" and likewise for other members of
that group, plus equivalent text for the group-related functions.

Change-Id: I2272f47e91f72e043fdaf7c169fa9f6978ff4370

9 years agoMerge "Disable ASAN for more of our libraries."
Dan Albert [Thu, 18 Dec 2014 16:07:14 +0000 (16:07 +0000)]
Merge "Disable ASAN for more of our libraries."

9 years agoDisable ASAN for more of our libraries.
Dan Albert [Thu, 18 Dec 2014 16:03:49 +0000 (08:03 -0800)]
Disable ASAN for more of our libraries.

Since ASAN depends on these libraries, we need to exclude them from
being instrumented.

Change-Id: I62005b6d04ee7b2283c4bd54ace5304386c67358

9 years agoMerge "Sync with upstream for gethnamaddr.c."
Yabin Cui [Thu, 18 Dec 2014 01:06:10 +0000 (01:06 +0000)]
Merge "Sync with upstream for gethnamaddr.c."

9 years agoSync with upstream for gethnamaddr.c.
Yabin Cui [Wed, 17 Dec 2014 01:03:44 +0000 (17:03 -0800)]
Sync with upstream for gethnamaddr.c.

Bug: 18566967
Change-Id: I37e7410226b49eec67614e20b2c1d5e3e47817a5

9 years agoMerge "Add another test for weak-reference"
Dmitriy Ivanov [Tue, 16 Dec 2014 22:01:47 +0000 (22:01 +0000)]
Merge "Add another test for weak-reference"

9 years agoAdd another test for weak-reference
Dmitriy Ivanov [Tue, 16 Dec 2014 19:40:46 +0000 (11:40 -0800)]
Add another test for weak-reference

  This one covers undefined weak reference in .so
  referenced via JUMP_SLOT relocation.

Bug: 17526061
Change-Id: Ib8764bd30c1f686c4818ebbc6683cf42dee908b2

9 years agoMerge "Fix <net/route.h>."
Elliott Hughes [Tue, 16 Dec 2014 16:53:24 +0000 (16:53 +0000)]
Merge "Fix <net/route.h>."

9 years agoFix <net/route.h>.
Elliott Hughes [Tue, 16 Dec 2014 02:47:14 +0000 (18:47 -0800)]
Fix <net/route.h>.

Previously it couldn't be included alone. Also add a header and include guard,
and fix its siblings' include guards.

Bug: https://code.google.com/p/android/issues/detail?id=82638
Change-Id: I32139a4bda0a6b015508a2319bf4e1a1453345f2

9 years agoMerge "Move the generic arm memcmp.S into the generic directory."
Elliott Hughes [Mon, 15 Dec 2014 19:32:41 +0000 (19:32 +0000)]
Merge "Move the generic arm memcmp.S into the generic directory."

9 years agoMove the generic arm memcmp.S into the generic directory.
Elliott Hughes [Mon, 15 Dec 2014 19:06:34 +0000 (11:06 -0800)]
Move the generic arm memcmp.S into the generic directory.

Change-Id: I48e4d14a0dcddbb246edbac6d0329619574ab44d

9 years agoMerge "Remove arm assembler not referenced from any makefile."
Elliott Hughes [Mon, 15 Dec 2014 18:46:16 +0000 (18:46 +0000)]
Merge "Remove arm assembler not referenced from any makefile."

9 years agoRemove arm assembler not referenced from any makefile.
Elliott Hughes [Mon, 15 Dec 2014 01:52:32 +0000 (17:52 -0800)]
Remove arm assembler not referenced from any makefile.

I also suspect that libc/arch-arm/bionic/memcmp.S is supposed to like in the
generic directory these days, but this change just removes dead code.

Change-Id: I9072488df6e9b7261d79b6014914a0e937cb387b

9 years agoMerge "Fix pthread key num calculation."
Yabin Cui [Sat, 13 Dec 2014 02:51:27 +0000 (02:51 +0000)]
Merge "Fix pthread key num calculation."

9 years agoFix pthread key num calculation.
Yabin Cui [Fri, 12 Dec 2014 04:50:41 +0000 (20:50 -0800)]
Fix pthread key num calculation.

Bug: 18723085
Change-Id: Iba2c834b350e4cdba0b2d771b221560a3e5df952

9 years agoMerge "[MIPS] Add sgidefs.h for mips64"
Elliott Hughes [Sat, 13 Dec 2014 00:28:57 +0000 (00:28 +0000)]
Merge "[MIPS] Add sgidefs.h for mips64"

9 years ago[MIPS] Add sgidefs.h for mips64
Duane Sand [Fri, 12 Dec 2014 23:55:37 +0000 (15:55 -0800)]
[MIPS] Add sgidefs.h for mips64

Sgidefs.h is needed by strace.
Replaced now-duplicate arch-mips64/include directory
by symlink to arch-mips/include.

Change-Id: I7808602cfa452eca3ffbdb94903f4c5bdb33efa3

9 years agoMerge "make stack_protector_DeathTest work for gcc4.9"
Yabin Cui [Fri, 12 Dec 2014 01:38:32 +0000 (01:38 +0000)]
Merge "make stack_protector_DeathTest work for gcc4.9"

9 years agomake stack_protector_DeathTest work for gcc4.9
Yabin Cui [Thu, 11 Dec 2014 22:35:05 +0000 (14:35 -0800)]
make stack_protector_DeathTest work for gcc4.9

Bug: 18721888
Change-Id: I5f0b5c84319f56dbc4efb88e9d828138944667ae

9 years agoMerge "fix runtime issues for scripts"
Christopher Ferris [Thu, 11 Dec 2014 18:31:59 +0000 (18:31 +0000)]
Merge "fix runtime issues for scripts"

9 years agoMerge "Clean up DNS proxying."
Elliott Hughes [Thu, 11 Dec 2014 18:12:10 +0000 (18:12 +0000)]
Merge "Clean up DNS proxying."

9 years agoClean up DNS proxying.
Elliott Hughes [Wed, 10 Dec 2014 22:56:46 +0000 (14:56 -0800)]
Clean up DNS proxying.

Remove code duplication and fall back to trying directly if the proxy
isn't available. With this, tests still work if netd is dead (perhaps
because you've run "adb shell stop", or because you're running on the host).

Bug: 18547878
Change-Id: Ia4a9aa18b1fc79e09735107246989fa7fc6c8455

9 years agoMerge "Fix missing symbol for debug malloc."
Christopher Ferris [Wed, 10 Dec 2014 20:33:52 +0000 (20:33 +0000)]
Merge "Fix missing symbol for debug malloc."

9 years agoMerge "Fix the setjmp tests for mips."
Elliott Hughes [Wed, 10 Dec 2014 20:04:52 +0000 (20:04 +0000)]
Merge "Fix the setjmp tests for mips."

9 years agoFix the setjmp tests for mips.
Elliott Hughes [Wed, 10 Dec 2014 17:31:04 +0000 (09:31 -0800)]
Fix the setjmp tests for mips.

Although the LP32 mips sigset_t is large enough to represent all signals,
their jmp_buf is too small. This test succeeded on arm and x86 because the
RT signals were never in the 'expected' sigset_t, so the equality comparison
with the 'actual' sigset_t worked fine --- everyone was blind to the RT
signal. On mips the tests fail because the 'expected' sigset_t does contain
the RT signal but the 'actual' doesn't because the jmp_buf only saves and
restores the first 32 signals.

There are 32 free bits (currently used as padding) in the LP32 mips jmp_buf,
and they might choose to use those to provide better support than the other
two platforms, but I'll leave that to them. It will be easy to just remove
the #if defined(__LP64__) from this change in that case.

For mips64 it's not to late to increase the size of the jmp_buf and fix
the setjmp family, but since there are decisions to be made here for LP32,
I'll leave it all to Imagination folks...

Bug: 16918359
Change-Id: I6b723712fce0e9210dafa165d8599d950b2d3500

9 years agoMerge "Fix arm64 clone stack handling."
Elliott Hughes [Wed, 10 Dec 2014 19:45:47 +0000 (19:45 +0000)]
Merge "Fix arm64 clone stack handling."

9 years agoMerge "Use machine/timespec.h to separate timespec definition."
Yabin Cui [Wed, 10 Dec 2014 19:29:23 +0000 (19:29 +0000)]
Merge "Use machine/timespec.h to separate timespec definition."

9 years agoFix missing symbol for debug malloc.
Christopher Ferris [Wed, 10 Dec 2014 19:10:00 +0000 (11:10 -0800)]
Fix missing symbol for debug malloc.

Bug: 18686270
Change-Id: I800a6f0940060218413df652d74aca91f6a339f8

9 years agoFix arm64 clone stack handling.
Elliott Hughes [Wed, 10 Dec 2014 19:08:47 +0000 (11:08 -0800)]
Fix arm64 clone stack handling.

Make sure we adjust the stack pointer so a signal can't overwrite data.

Bug: 15195265
Change-Id: I5ab9469a82cb214c32f40a713268a1ab74a4c6fa

9 years agoMerge "Use the stmdb instead of str to save the fn/arg"
Elliott Hughes [Wed, 10 Dec 2014 18:53:47 +0000 (18:53 +0000)]
Merge "Use the stmdb instead of str to save the fn/arg"

9 years agoUse the stmdb instead of str to save the fn/arg
Jiangli Yuan [Wed, 10 Dec 2014 01:02:59 +0000 (17:02 -0800)]
Use the stmdb instead of str to save the fn/arg

   Directly save data into stack without properly adjustment
   of stack point is dangous. For example, if a signal comes,
   kernel will put sigframe into userspace's stack, which
   will overwrite the saved data if sp is not adjusted properly.

Bug: 15195265
Change-Id: Iea0cadfd3b94d50cf40252ad52fe5950811b9192
Signed-off-by: Jiangli Yuan <a6808c@motorola.com>
9 years agofix runtime issues for scripts
Kyunam Jo [Wed, 10 Dec 2014 06:06:46 +0000 (15:06 +0900)]
fix runtime issues for scripts

now, some script to update kernel-headers is not working.
because of wrong variable value and test codes.
so this issue is fixed.

Change-Id: Iffae9607858cc3c1c58fa24244be217b5a1ab06e

9 years agoUse machine/timespec.h to separate timespec definition.
Yabin Cui [Wed, 10 Dec 2014 04:15:48 +0000 (20:15 -0800)]
Use machine/timespec.h to separate timespec definition.

Bug: 18627763
Change-Id: Ib1c406320f0ecc3705d19183a48f986cdf57c279

9 years agoMerge "Fix ptsname(3) and ttyname(3) to use TLS."
Elliott Hughes [Wed, 10 Dec 2014 04:39:06 +0000 (04:39 +0000)]
Merge "Fix ptsname(3) and ttyname(3) to use TLS."

9 years agoFix ptsname(3) and ttyname(3) to use TLS.
Elliott Hughes [Wed, 10 Dec 2014 04:30:23 +0000 (20:30 -0800)]
Fix ptsname(3) and ttyname(3) to use TLS.

Be safe by default.

Change-Id: I6c4a3f1fd4eee3a651b3162ce95b7e873de57521

9 years agoMerge "Move BSD stuff together in <sys/endian.h>."
Elliott Hughes [Wed, 10 Dec 2014 04:16:55 +0000 (04:16 +0000)]
Merge "Move BSD stuff together in <sys/endian.h>."

9 years agoMove BSD stuff together in <sys/endian.h>.
Elliott Hughes [Wed, 10 Dec 2014 03:44:42 +0000 (19:44 -0800)]
Move BSD stuff together in <sys/endian.h>.

Change-Id: I8bb511840f3cd98d5008034e405d82e923bd3203

9 years agoMerge "<net/route.h> should include IPv6 too."
Elliott Hughes [Tue, 9 Dec 2014 23:16:31 +0000 (23:16 +0000)]
Merge "<net/route.h> should include IPv6 too."

9 years ago<net/route.h> should include IPv6 too.
Elliott Hughes [Tue, 9 Dec 2014 23:08:24 +0000 (15:08 -0800)]
<net/route.h> should include IPv6 too.

Change-Id: I866097d8468aa8f326117d072444ebbc2a690719

9 years agoMerge "Sync <net/if_types.h> with upstream."
Elliott Hughes [Tue, 9 Dec 2014 23:07:44 +0000 (23:07 +0000)]
Merge "Sync <net/if_types.h> with upstream."

9 years agoSync <net/if_types.h> with upstream.
Elliott Hughes [Tue, 9 Dec 2014 23:03:51 +0000 (15:03 -0800)]
Sync <net/if_types.h> with upstream.

Change-Id: I2c2ca47f5a21b78754c03deb3e9467ab79d9d033

9 years agoMerge "support _POSIX_REALTIME_SIGNALS"
Yabin Cui [Tue, 9 Dec 2014 20:10:19 +0000 (20:10 +0000)]
Merge "support _POSIX_REALTIME_SIGNALS"

9 years agoMerge "Change _POSIX_CPUTIME macro to make it compitable with glibc."
Yabin Cui [Tue, 9 Dec 2014 17:51:37 +0000 (17:51 +0000)]
Merge "Change _POSIX_CPUTIME macro to make it compitable with glibc."

9 years agoChange _POSIX_CPUTIME macro to make it compitable with glibc.
Yabin Cui [Mon, 8 Dec 2014 19:54:12 +0000 (11:54 -0800)]
Change _POSIX_CPUTIME macro to make it compitable with glibc.

Change-Id: I7a8dbb74bd622693c9fef60bd779687207517b7d

9 years agosupport _POSIX_REALTIME_SIGNALS
Yabin Cui [Tue, 2 Dec 2014 01:41:04 +0000 (17:41 -0800)]
support _POSIX_REALTIME_SIGNALS

Bug: 18489947
Change-Id: I2e834d68bc10ca5fc7ebde047b517a3074179475

9 years agoMerge "Simplify our endian.h implementation."
Elliott Hughes [Tue, 9 Dec 2014 05:02:36 +0000 (05:02 +0000)]
Merge "Simplify our endian.h implementation."

9 years agoSimplify our endian.h implementation.
Elliott Hughes [Tue, 9 Dec 2014 04:32:11 +0000 (20:32 -0800)]
Simplify our endian.h implementation.

We can rely on the compiler's builtins. Tested on arm, arm64, mips, x86,
and x86-64.

Change-Id: I0f774ed7e85b3c791a3178d8ef17c6500e6a9ace

9 years agoMerge "Merge mips setjmp/longjmp family."
Elliott Hughes [Tue, 9 Dec 2014 01:18:32 +0000 (01:18 +0000)]
Merge "Merge mips setjmp/longjmp family."

9 years agoMerge mips setjmp/longjmp family.
Elliott Hughes [Tue, 9 Dec 2014 01:01:11 +0000 (17:01 -0800)]
Merge mips setjmp/longjmp family.

Bug: 16918359
Change-Id: I9033a7d178d431ddb09f1cfa6e4bf95ae02346e9

9 years agoMerge "Switch arch-mips64/include/machine to a symlink."
Elliott Hughes [Tue, 9 Dec 2014 00:51:49 +0000 (00:51 +0000)]
Merge "Switch arch-mips64/include/machine to a symlink."

9 years agoSwitch arch-mips64/include/machine to a symlink.
Elliott Hughes [Tue, 9 Dec 2014 00:48:34 +0000 (16:48 -0800)]
Switch arch-mips64/include/machine to a symlink.

Imagination already did the work to make the contents of these directories
identical. Let's take advantage of that fact.

Change-Id: Ib101ba39041fb500c9c618fa2020e72aa2ccd9c2

9 years agoMerge "Use 64-bit units in the aarch64 setjmp implementation."
Elliott Hughes [Tue, 9 Dec 2014 00:39:16 +0000 (00:39 +0000)]
Merge "Use 64-bit units in the aarch64 setjmp implementation."

9 years agoUse 64-bit units in the aarch64 setjmp implementation.
Elliott Hughes [Tue, 9 Dec 2014 00:23:10 +0000 (16:23 -0800)]
Use 64-bit units in the aarch64 setjmp implementation.

The use of 32-bit units for 64-bit stores and loads was driving me crazy.

Bug: 16918359
Change-Id: Ifb73aad8f8985a2adfcf5913b783ad9424f23e06

9 years agoMerge "Switch arm and arm64 over to the x86 style of jmpbuf."
Elliott Hughes [Tue, 9 Dec 2014 00:16:19 +0000 (00:16 +0000)]
Merge "Switch arm and arm64 over to the x86 style of jmpbuf."

9 years agoSwitch arm and arm64 over to the x86 style of jmpbuf.
Elliott Hughes [Tue, 9 Dec 2014 00:01:20 +0000 (16:01 -0800)]
Switch arm and arm64 over to the x86 style of jmpbuf.

Specifically, use the argument to sigsetjmp as a flag in the buffer
to indicate whether or not the signal mask is valid.

Bug: 16918359
Change-Id: I5bb1f1220f14c105c6bc57e0c28c1dc366d1438f

9 years agoMerge "Fix signal mask save/restore for x86-64."
Elliott Hughes [Mon, 8 Dec 2014 21:40:15 +0000 (21:40 +0000)]
Merge "Fix signal mask save/restore for x86-64."

9 years agoFix signal mask save/restore for x86-64.
Elliott Hughes [Sat, 6 Dec 2014 06:24:49 +0000 (22:24 -0800)]
Fix signal mask save/restore for x86-64.

Bug: 16918359
Change-Id: I30bf61e7d5f1c21daa3a1a21d361e98d77220bf3

9 years agoMerge "Fix signal mask save/restore for arm64."
Elliott Hughes [Mon, 8 Dec 2014 20:27:14 +0000 (20:27 +0000)]
Merge "Fix signal mask save/restore for arm64."

9 years agoFix signal mask save/restore for arm64.
Elliott Hughes [Sat, 6 Dec 2014 06:57:55 +0000 (22:57 -0800)]
Fix signal mask save/restore for arm64.

Bug: 16918359
Change-Id: Ieb15f7f1658f5accee05665b72ba17831a80ea9d

9 years agoMerge "Clean up the x86-64 and x86 setjmp families."
Elliott Hughes [Sat, 6 Dec 2014 06:23:09 +0000 (06:23 +0000)]
Merge "Clean up the x86-64 and x86 setjmp families."

9 years agoClean up the x86-64 and x86 setjmp families.
Elliott Hughes [Sat, 6 Dec 2014 00:25:50 +0000 (16:25 -0800)]
Clean up the x86-64 and x86 setjmp families.

Bug: 16918359
Change-Id: Ic8ca0af9ea99636bc71f19d46071f1cea6eef982

9 years agoMerge "Clean up arm setjmp family."
Elliott Hughes [Fri, 5 Dec 2014 23:53:46 +0000 (23:53 +0000)]
Merge "Clean up arm setjmp family."

9 years agoClean up arm setjmp family.
Elliott Hughes [Fri, 5 Dec 2014 23:39:51 +0000 (15:39 -0800)]
Clean up arm setjmp family.

Bug: 16918359
Change-Id: I9b986bdbdbaefe9d9896a820ee8cfe860adfe5c5

9 years agoMerge "Clean up the arm64 setjmp."
Elliott Hughes [Fri, 5 Dec 2014 23:06:16 +0000 (23:06 +0000)]
Merge "Clean up the arm64 setjmp."

9 years agoClean up the arm64 setjmp.
Elliott Hughes [Fri, 5 Dec 2014 20:17:25 +0000 (12:17 -0800)]
Clean up the arm64 setjmp.

Note that this doesn't address the fact that we don't save/restore the
real-time signals. But it does let us pass the tests we currently fail.

Bug: 16918359
Change-Id: I063a6926164289a71026a412da7f5dd2ca9a74b3

9 years agoMerge "Add cache related sysconf queries"
Tao Bao [Fri, 5 Dec 2014 18:11:53 +0000 (18:11 +0000)]
Merge "Add cache related sysconf queries"

9 years agoAdd cache related sysconf queries
Tao Bao [Thu, 4 Dec 2014 23:24:28 +0000 (15:24 -0800)]
Add cache related sysconf queries

Several cache related queries are added, such as
_SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE and etc. For the
moment, we always return 0 for these queries.

Change-Id: I36f67af8128672d8c1eef49d6f2431cca5a94719

9 years agoMerge "Restore symbols from <arpa/nameser.h>."
Elliott Hughes [Thu, 4 Dec 2014 21:39:58 +0000 (21:39 +0000)]
Merge "Restore symbols from <arpa/nameser.h>."

9 years agoMerge "implement posix_madvise"
Yabin Cui [Thu, 4 Dec 2014 21:30:43 +0000 (21:30 +0000)]
Merge "implement posix_madvise"

9 years agoRestore symbols from <arpa/nameser.h>.
Elliott Hughes [Thu, 4 Dec 2014 20:39:46 +0000 (12:39 -0800)]
Restore symbols from <arpa/nameser.h>.

Bug: 18627252
Bug: https://code.google.com/p/android/issues/detail?id=81690
Change-Id: I45b6c09cf2b5aabb80900e267d27cc0ec93d4dd8

9 years agoMerge "Make the missing symbols script more useful."
Elliott Hughes [Thu, 4 Dec 2014 20:04:39 +0000 (20:04 +0000)]
Merge "Make the missing symbols script more useful."

9 years agoMake the missing symbols script more useful.
Elliott Hughes [Thu, 4 Dec 2014 19:24:48 +0000 (11:24 -0800)]
Make the missing symbols script more useful.

If something's in POSIX, we don't need to show it in the glibc list.

If something's not implemented by glibc, we don't need to show it in the
POSIX list (because it's probably either a macro or obsolete).

Change-Id: Ied0f8d97d3fffb280c22e9cdf6782430d776c02f

9 years agoimplement posix_madvise
Yabin Cui [Wed, 26 Nov 2014 04:17:27 +0000 (20:17 -0800)]
implement posix_madvise

Bug: 18472477
Change-Id: I8183de6c281acf69ed5f7f88351b056b9827b162

9 years agoMerge "Code using neon uses ARCH_ARM_HAVE_NEON."
Elliott Hughes [Thu, 4 Dec 2014 01:45:54 +0000 (01:45 +0000)]
Merge "Code using neon uses ARCH_ARM_HAVE_NEON."

9 years agoCode using neon uses ARCH_ARM_HAVE_NEON.
Elliott Hughes [Thu, 4 Dec 2014 01:41:26 +0000 (17:41 -0800)]
Code using neon uses ARCH_ARM_HAVE_NEON.

Bug: 18556103
Change-Id: Ia8674dda223f81d616d15ee47b402ab4a3f98079

9 years agoMerge "Remove __ARM_HAVE_VFP."
Elliott Hughes [Thu, 4 Dec 2014 01:11:08 +0000 (01:11 +0000)]
Merge "Remove __ARM_HAVE_VFP."

9 years agoRemove __ARM_HAVE_VFP.
Elliott Hughes [Thu, 4 Dec 2014 01:07:01 +0000 (17:07 -0800)]
Remove __ARM_HAVE_VFP.

Bug: 18556103
Change-Id: I6d4cc6a1b359ad2df1ce6687fd26f392059f6efd

9 years agoMerge "Implement <pty.h>."
Elliott Hughes [Thu, 4 Dec 2014 00:45:42 +0000 (00:45 +0000)]
Merge "Implement <pty.h>."

9 years agoImplement <pty.h>.
Elliott Hughes [Wed, 3 Dec 2014 22:39:20 +0000 (14:39 -0800)]
Implement <pty.h>.

Based on the package/apps/Terminal implementation. I'll switch them over
shortly. This also lets us build the toybox version of netcat.

Change-Id: Ia922a100141a67409264b43b937eeca07b21f344

9 years agoMerge "change argument type in madvise"
Yabin Cui [Wed, 3 Dec 2014 19:57:50 +0000 (19:57 +0000)]
Merge "change argument type in madvise"

9 years agochange argument type in madvise
Yabin Cui [Wed, 3 Dec 2014 19:11:50 +0000 (11:11 -0800)]
change argument type in madvise

Make madvise prototype the same as linux man page.

Bug: 18539500
Change-Id: If3fd0e1d9539b9e10531ab9087bc4040e32b6e9b

9 years agoMerge "Fix warning: overriding commands for target"
Dmitriy Ivanov [Wed, 3 Dec 2014 18:55:55 +0000 (18:55 +0000)]
Merge "Fix warning: overriding commands for target"

9 years agoFix warning: overriding commands for target
Dmitriy Ivanov [Wed, 3 Dec 2014 17:50:10 +0000 (09:50 -0800)]
Fix warning: overriding commands for target

Change-Id: I00fb4d6a8ff388722b75de9a0f4316619aaf9320

9 years agoMerge "Switch x86 and x86-64 to __builtin_bswap*."
Elliott Hughes [Wed, 3 Dec 2014 16:20:05 +0000 (16:20 +0000)]
Merge "Switch x86 and x86-64 to __builtin_bswap*."

9 years agoMerge "Switch aarch64 to __builtin_bswap16."
Elliott Hughes [Wed, 3 Dec 2014 16:15:44 +0000 (16:15 +0000)]
Merge "Switch aarch64 to __builtin_bswap16."

9 years agoSwitch x86 and x86-64 to __builtin_bswap*.
Elliott Hughes [Wed, 3 Dec 2014 04:16:05 +0000 (20:16 -0800)]
Switch x86 and x86-64 to __builtin_bswap*.

Bug: 18597513
Change-Id: I0781208efb3b560d7c6fa48f41be7bc6fc83521e

9 years agoSwitch aarch64 to __builtin_bswap16.
Elliott Hughes [Wed, 3 Dec 2014 03:55:38 +0000 (19:55 -0800)]
Switch aarch64 to __builtin_bswap16.

It generates the same code.

Bug: 18597513
Change-Id: I164296da8c676668983dd93697c6dfa05f10ec56

9 years agoMerge "Fix soinfo_unload"
Dmitriy Ivanov [Wed, 3 Dec 2014 03:25:56 +0000 (03:25 +0000)]
Merge "Fix soinfo_unload"

9 years agoFix soinfo_unload
Dmitriy Ivanov [Wed, 3 Dec 2014 01:08:42 +0000 (17:08 -0800)]
Fix soinfo_unload

 1. Take into consideration that the local_group_root_
    is not set for all of not linked libraries.
 2. We need to check visited list earlier to avoid double
    soinfo_free.

Change-Id: Iabc0a06a97c63f7e6bd4641731f50bb1466fed4f

9 years agoMerge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."
Elliott Hughes [Wed, 3 Dec 2014 01:12:47 +0000 (01:12 +0000)]
Merge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."

9 years agoRemove __ARM_HAVE_HALFWORD_MULTIPLY.
Elliott Hughes [Wed, 3 Dec 2014 00:58:17 +0000 (16:58 -0800)]
Remove __ARM_HAVE_HALFWORD_MULTIPLY.

Bug: 18556103
Change-Id: I17e498539f77ddf7d1fb980ee93155d3c3ccd85e

9 years agoMerge "Remove __ARM_HAVE_LDREXD."
Elliott Hughes [Wed, 3 Dec 2014 00:57:27 +0000 (00:57 +0000)]
Merge "Remove __ARM_HAVE_LDREXD."

9 years agoRemove __ARM_HAVE_LDREXD.
Elliott Hughes [Wed, 3 Dec 2014 00:52:46 +0000 (16:52 -0800)]
Remove __ARM_HAVE_LDREXD.

No one uses this.

Bug: 18556103
Change-Id: Icecc3a7b5cb0a36960f27d030d8f4f8ee471f86c

9 years agoMerge "Kill <machine/exec.h>."
Elliott Hughes [Wed, 3 Dec 2014 00:42:55 +0000 (00:42 +0000)]
Merge "Kill <machine/exec.h>."

9 years agoKill <machine/exec.h>.
Elliott Hughes [Wed, 3 Dec 2014 00:16:29 +0000 (16:16 -0800)]
Kill <machine/exec.h>.

Bug: 18546535
Change-Id: I479e003deab21e31eb5caa5393067ed1dc558387

9 years agoMerge "Extract bionic-prepare-run-on-host to inc file."
Dmitriy Ivanov [Wed, 3 Dec 2014 00:02:13 +0000 (00:02 +0000)]
Merge "Extract bionic-prepare-run-on-host to inc file."