OSDN Git Service

android-x86/bionic.git
9 years agoam c400e072: am 7eb9b6c5: Merge "Update bionic NOTICE files."
Elliott Hughes [Fri, 19 Dec 2014 03:52:15 +0000 (03:52 +0000)]
am c400e072: am 7eb9b6c5: Merge "Update bionic NOTICE files."

* commit 'c400e072db8dca8710298bf138c86e30c7b47991':
  Update bionic NOTICE files.

9 years agoam 7eb9b6c5: Merge "Update bionic NOTICE files."
Elliott Hughes [Fri, 19 Dec 2014 03:35:24 +0000 (03:35 +0000)]
am 7eb9b6c5: Merge "Update bionic NOTICE files."

* commit '7eb9b6c537c32280571fead8676634c3dfc6388e':
  Update bionic NOTICE files.

9 years agoMerge "Update bionic NOTICE files."
Elliott Hughes [Fri, 19 Dec 2014 01:10:36 +0000 (01:10 +0000)]
Merge "Update bionic NOTICE files."

9 years agoUpdate bionic NOTICE files.
Elliott Hughes [Fri, 19 Dec 2014 00:27:30 +0000 (16:27 -0800)]
Update bionic NOTICE files.

Change-Id: Ic280872ef3137febd9d4a87d5c7662e264692071

9 years agoam a5193f2f: am c631bb21: Merge "Fix the types of some of the struct stat fields."
Elliott Hughes [Thu, 18 Dec 2014 23:45:30 +0000 (23:45 +0000)]
am a5193f2f: am c631bb21: Merge "Fix the types of some of the struct stat fields."

* commit 'a5193f2ffe39ff88f27ffb34a6967e023cb3daee':
  Fix the types of some of the struct stat fields.

9 years agoam c631bb21: Merge "Fix the types of some of the struct stat fields."
Elliott Hughes [Thu, 18 Dec 2014 23:42:02 +0000 (23:42 +0000)]
am c631bb21: Merge "Fix the types of some of the struct stat fields."

* commit 'c631bb215e29981222f19c092ded49c7c1f15845':
  Fix the types of some of the struct stat fields.

9 years agoMerge "Fix the types of some of the struct stat fields."
Elliott Hughes [Thu, 18 Dec 2014 23:38:26 +0000 (23:38 +0000)]
Merge "Fix the types of some of the struct stat fields."

9 years agoam 7cff30c7: am b7f0693a: Merge "Remove bogus #include <endian.h> from <sys/stat...
Elliott Hughes [Thu, 18 Dec 2014 23:35:21 +0000 (23:35 +0000)]
am 7cff30c7: am b7f0693a: Merge "Remove bogus #include <endian.h> from <sys/stat.h>."

* commit '7cff30c7c67454e5b0f97c0dcc6261c73ae664c8':
  Remove bogus #include <endian.h> from <sys/stat.h>.

9 years agoam 7d4d2297: am 8597c2b3: Merge "Split the shared group data from the shared passwd...
Elliott Hughes [Thu, 18 Dec 2014 23:35:20 +0000 (23:35 +0000)]
am 7d4d2297: am 8597c2b3: Merge "Split the shared group data from the shared passwd data."

* commit '7d4d2297856106f132283c4e501b7210fc7b0bd8':
  Split the shared group data from the shared passwd data.

9 years agoam e14086a8: am a9c940a6: Merge "Fix struct stat member types for x86-64."
Elliott Hughes [Thu, 18 Dec 2014 23:35:18 +0000 (23:35 +0000)]
am e14086a8: am a9c940a6: Merge "Fix struct stat member types for x86-64."

* commit 'e14086a8fc137c9900ad895556710385fc423e10':
  Fix struct stat member types for x86-64.

9 years agoam b7f0693a: Merge "Remove bogus #include <endian.h> from <sys/stat.h>."
Elliott Hughes [Thu, 18 Dec 2014 23:27:47 +0000 (23:27 +0000)]
am b7f0693a: Merge "Remove bogus #include <endian.h> from <sys/stat.h>."

* commit 'b7f0693aaac9907070443ee6e47fe1d594b42251':
  Remove bogus #include <endian.h> from <sys/stat.h>.

9 years agoMerge "Remove bogus #include <endian.h> from <sys/stat.h>."
Elliott Hughes [Thu, 18 Dec 2014 23:24:25 +0000 (23:24 +0000)]
Merge "Remove bogus #include <endian.h> from <sys/stat.h>."

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 agoam 8597c2b3: Merge "Split the shared group data from the shared passwd data."
Elliott Hughes [Thu, 18 Dec 2014 23:15:40 +0000 (23:15 +0000)]
am 8597c2b3: Merge "Split the shared group data from the shared passwd data."

* commit '8597c2b3f2ac3df9abe30378cdd3ecd559d995e7':
  Split the shared group data from the shared passwd data.

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 agoRemove bogus #include <endian.h> from <sys/stat.h>.
Elliott Hughes [Thu, 18 Dec 2014 23:10:19 +0000 (15:10 -0800)]
Remove bogus #include <endian.h> from <sys/stat.h>.

Bug: 17062519
Change-Id: I3dc21ee8b90580f112c73c72aff5d3bec4778026

9 years agoam a9c940a6: Merge "Fix struct stat member types for x86-64."
Elliott Hughes [Thu, 18 Dec 2014 23:10:03 +0000 (23:10 +0000)]
am a9c940a6: Merge "Fix struct stat member types for x86-64."

* commit 'a9c940a69a5ad01a92620594d41e462c5d46186e':
  Fix struct stat member types for x86-64.

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 agoam ec3601cd: am 9dd5ab46: Merge "Disable ASAN for more of our libraries."
Dan Albert [Thu, 18 Dec 2014 21:50:34 +0000 (21:50 +0000)]
am ec3601cd: am 9dd5ab46: Merge "Disable ASAN for more of our libraries."

* commit 'ec3601cdf4730e5ec1559079486bbb4f9a43e042':
  Disable ASAN for more of our libraries.

9 years agoam 9a734138: am 370a3e57: Merge "Sync with upstream for gethnamaddr.c."
Yabin Cui [Thu, 18 Dec 2014 21:49:52 +0000 (21:49 +0000)]
am 9a734138: am 370a3e57: Merge "Sync with upstream for gethnamaddr.c."

* commit '9a734138138fcde0a2f0935e86246b9d7ff0ccb1':
  Sync with upstream for gethnamaddr.c.

9 years agoam 9dd5ab46: Merge "Disable ASAN for more of our libraries."
Dan Albert [Thu, 18 Dec 2014 16:10:45 +0000 (16:10 +0000)]
am 9dd5ab46: Merge "Disable ASAN for more of our libraries."

* commit '9dd5ab46194a3ef7992b0c08d18f2e30551f9331':
  Disable ASAN for more of our libraries.

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 agoam 370a3e57: Merge "Sync with upstream for gethnamaddr.c."
Yabin Cui [Thu, 18 Dec 2014 01:11:56 +0000 (01:11 +0000)]
am 370a3e57: Merge "Sync with upstream for gethnamaddr.c."

* commit '370a3e573d1cdff6070c77322d4a07bd53e5db3c':
  Sync with upstream for gethnamaddr.c.

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 agoam 4c344aff: am 92b9cb2c: Merge "Add another test for weak-reference"
Dmitriy Ivanov [Tue, 16 Dec 2014 22:10:00 +0000 (22:10 +0000)]
am 4c344aff: am 92b9cb2c: Merge "Add another test for weak-reference"

* commit '4c344affba81b630241fd4e012e90fe594a7b196':
  Add another test for weak-reference

9 years agoam 92b9cb2c: Merge "Add another test for weak-reference"
Dmitriy Ivanov [Tue, 16 Dec 2014 22:06:05 +0000 (22:06 +0000)]
am 92b9cb2c: Merge "Add another test for weak-reference"

* commit '92b9cb2c899c386954b8f9ad8111aa6c8c63e306':
  Add another test for weak-reference

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 agoam 48bc703a: am 3a50b65f: Merge "Fix <net/route.h>."
Elliott Hughes [Tue, 16 Dec 2014 20:35:01 +0000 (20:35 +0000)]
am 48bc703a: am 3a50b65f: Merge "Fix <net/route.h>."

* commit '48bc703a3c30512f06f65f2660ed9d2841b0acce':
  Fix <net/route.h>.

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 agoam 3a50b65f: Merge "Fix <net/route.h>."
Elliott Hughes [Tue, 16 Dec 2014 16:58:33 +0000 (16:58 +0000)]
am 3a50b65f: Merge "Fix <net/route.h>."

* commit '3a50b65fd152b4a50dc15ec33f19080e8724b02c':
  Fix <net/route.h>.

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 agoam 7de05306: am 16ea2790: Merge "Move the generic arm memcmp.S into the generic direc...
Elliott Hughes [Mon, 15 Dec 2014 21:32:11 +0000 (21:32 +0000)]
am 7de05306: am 16ea2790: Merge "Move the generic arm memcmp.S into the generic directory."

* commit '7de05306c6f3b3077b025d5dd3eade2f125535d5':
  Move the generic arm memcmp.S into the generic directory.

9 years agoam 16ea2790: Merge "Move the generic arm memcmp.S into the generic directory."
Elliott Hughes [Mon, 15 Dec 2014 19:38:34 +0000 (19:38 +0000)]
am 16ea2790: Merge "Move the generic arm memcmp.S into the generic directory."

* commit '16ea2790a84b1e65dc1e485c3ec494de787cc490':
  Move the generic arm memcmp.S into the generic directory.

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 agoam a2bfb531: am ad01c983: Merge "Remove arm assembler not referenced from any makefile."
Elliott Hughes [Mon, 15 Dec 2014 19:27:20 +0000 (19:27 +0000)]
am a2bfb531: am ad01c983: Merge "Remove arm assembler not referenced from any makefile."

* commit 'a2bfb53107a7b770e9ad93287be5745271067786':
  Remove arm assembler not referenced from any makefile.

9 years agoam ad01c983: Merge "Remove arm assembler not referenced from any makefile."
Elliott Hughes [Mon, 15 Dec 2014 19:20:50 +0000 (19:20 +0000)]
am ad01c983: Merge "Remove arm assembler not referenced from any makefile."

* commit 'ad01c9831918ecae815db2406022ef69e74f6e6d':
  Remove arm assembler not referenced from any makefile.

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 agoam 96cd50f2: am 0e32e39d: Merge "Fix pthread key num calculation."
Yabin Cui [Sat, 13 Dec 2014 03:03:51 +0000 (03:03 +0000)]
am 96cd50f2: am 0e32e39d: Merge "Fix pthread key num calculation."

* commit '96cd50f2fc33b0d342f1733894b06fd59a725519':
  Fix pthread key num calculation.

9 years agoam 0e32e39d: Merge "Fix pthread key num calculation."
Yabin Cui [Sat, 13 Dec 2014 02:59:05 +0000 (02:59 +0000)]
am 0e32e39d: Merge "Fix pthread key num calculation."

* commit '0e32e39df0e487ec86d86627f1d4b43d1c8c524d':
  Fix pthread key num calculation.

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 agoam 7dc71bb9: am 732d65c1: Merge "[MIPS] Add sgidefs.h for mips64"
Elliott Hughes [Sat, 13 Dec 2014 00:41:40 +0000 (00:41 +0000)]
am 7dc71bb9: am 732d65c1: Merge "[MIPS] Add sgidefs.h for mips64"

* commit '7dc71bb9d5f73dc2ffe6e070efe29e69b88c14a7':
  [MIPS] Add sgidefs.h for mips64

9 years agoam 732d65c1: Merge "[MIPS] Add sgidefs.h for mips64"
Elliott Hughes [Sat, 13 Dec 2014 00:34:13 +0000 (00:34 +0000)]
am 732d65c1: Merge "[MIPS] Add sgidefs.h for mips64"

* commit '732d65c1b1d33b2eadb5d6f2b1771c6fc536e23f':
  [MIPS] Add sgidefs.h for mips64

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 agoam 96794bd9: am 6d634f9b: Merge "make stack_protector_DeathTest work for gcc4.9"
Yabin Cui [Fri, 12 Dec 2014 01:56:09 +0000 (01:56 +0000)]
am 96794bd9: am 6d634f9b: Merge "make stack_protector_DeathTest work for gcc4.9"

* commit '96794bd9713882a4cd1452b7bca62729d10dc94c':
  make stack_protector_DeathTest work for gcc4.9

9 years agoam 6d634f9b: Merge "make stack_protector_DeathTest work for gcc4.9"
Yabin Cui [Fri, 12 Dec 2014 01:43:50 +0000 (01:43 +0000)]
am 6d634f9b: Merge "make stack_protector_DeathTest work for gcc4.9"

* commit '6d634f9baaf804a91c97e019c832c1e9611a903a':
  make stack_protector_DeathTest work for gcc4.9

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 agoam 3b811c81: am 3115b34c: Merge "fix runtime issues for scripts"
Christopher Ferris [Thu, 11 Dec 2014 18:55:56 +0000 (18:55 +0000)]
am 3b811c81: am 3115b34c: Merge "fix runtime issues for scripts"

* commit '3b811c814e4ebe6591992141040ba5997a12407a':
  fix runtime issues for scripts

9 years agoam 1dff030e: am e7b8bc4e: Merge "Clean up DNS proxying."
Elliott Hughes [Thu, 11 Dec 2014 18:55:55 +0000 (18:55 +0000)]
am 1dff030e: am e7b8bc4e: Merge "Clean up DNS proxying."

* commit '1dff030e6eb527eeb4e7ed163cf19641fdb3872b':
  Clean up DNS proxying.

9 years agoam 3115b34c: Merge "fix runtime issues for scripts"
Christopher Ferris [Thu, 11 Dec 2014 18:36:25 +0000 (18:36 +0000)]
am 3115b34c: Merge "fix runtime issues for scripts"

* commit '3115b34c9299d69919de39d01bfbbbe5e798e3b2':
  fix runtime issues for scripts

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 agoam e7b8bc4e: Merge "Clean up DNS proxying."
Elliott Hughes [Thu, 11 Dec 2014 18:18:57 +0000 (18:18 +0000)]
am e7b8bc4e: Merge "Clean up DNS proxying."

* commit 'e7b8bc4e291a08dfb6f2f84a2bb0ca99f3bbada6':
  Clean up DNS proxying.

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 agoam ca5edfb2: am fec60529: Merge "Fix missing symbol for debug malloc."
Christopher Ferris [Wed, 10 Dec 2014 20:45:10 +0000 (20:45 +0000)]
am ca5edfb2: am fec60529: Merge "Fix missing symbol for debug malloc."

* commit 'ca5edfb23ba45176d1e33fba6f38e7834ef33301':
  Fix missing symbol for debug malloc.

9 years agoam fec60529: Merge "Fix missing symbol for debug malloc."
Christopher Ferris [Wed, 10 Dec 2014 20:38:17 +0000 (20:38 +0000)]
am fec60529: Merge "Fix missing symbol for debug malloc."

* commit 'fec605294e894fae1f1d5b59afe78af8fa84e4fa':
  Fix missing symbol for debug malloc.

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 agoam 38f1804b: am 3a49cfe3: Merge "Fix the setjmp tests for mips."
Elliott Hughes [Wed, 10 Dec 2014 20:16:24 +0000 (20:16 +0000)]
am 38f1804b: am 3a49cfe3: Merge "Fix the setjmp tests for mips."

* commit '38f1804be1f8f27dc2debd69da9d2caf5ddb9cd1':
  Fix the setjmp tests for mips.

9 years agoam 3a49cfe3: Merge "Fix the setjmp tests for mips."
Elliott Hughes [Wed, 10 Dec 2014 20:09:20 +0000 (20:09 +0000)]
am 3a49cfe3: Merge "Fix the setjmp tests for mips."

* commit '3a49cfe3f2121039900ac8b0340b538b01da35c9':
  Fix the setjmp tests for mips.

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 agoam fa465353: am a53c504e: Merge "Fix arm64 clone stack handling."
Elliott Hughes [Wed, 10 Dec 2014 19:58:04 +0000 (19:58 +0000)]
am fa465353: am a53c504e: Merge "Fix arm64 clone stack handling."

* commit 'fa46535316a514e1335836bf065c2deddab1c4f3':
  Fix arm64 clone stack handling.

9 years agoam a53c504e: Merge "Fix arm64 clone stack handling."
Elliott Hughes [Wed, 10 Dec 2014 19:50:18 +0000 (19:50 +0000)]
am a53c504e: Merge "Fix arm64 clone stack handling."

* commit 'a53c504e0c6a19361fe3e66d7577682f6e501a4a':
  Fix arm64 clone stack handling.

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 agoam 1eaf80d6: am 3337435e: Merge "Use machine/timespec.h to separate timespec definition."
Yabin Cui [Wed, 10 Dec 2014 19:42:15 +0000 (19:42 +0000)]
am 1eaf80d6: am 3337435e: Merge "Use machine/timespec.h to separate timespec definition."

* commit '1eaf80d6805352cb74a4ffb392da4bfd17f4caed':
  Use machine/timespec.h to separate timespec definition.

9 years agoam 3337435e: Merge "Use machine/timespec.h to separate timespec definition."
Yabin Cui [Wed, 10 Dec 2014 19:33:41 +0000 (19:33 +0000)]
am 3337435e: Merge "Use machine/timespec.h to separate timespec definition."

* commit '3337435ec8f45b5c04428c7d7d789020e41dfd36':
  Use machine/timespec.h to separate timespec definition.

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 agoam 0eaa218c: am 0952a554: Merge "Use the stmdb instead of str to save the fn/arg"
Elliott Hughes [Wed, 10 Dec 2014 19:07:36 +0000 (19:07 +0000)]
am 0eaa218c: am 0952a554: Merge "Use the stmdb instead of str to save the fn/arg"

* commit '0eaa218c2f567af3ed51ac7538ef9179a9318821':
  Use the stmdb instead of str to save the fn/arg

9 years agoam 0952a554: Merge "Use the stmdb instead of str to save the fn/arg"
Elliott Hughes [Wed, 10 Dec 2014 18:59:48 +0000 (18:59 +0000)]
am 0952a554: Merge "Use the stmdb instead of str to save the fn/arg"

* commit '0952a5540e8bb6ceb74389601b9088398d585771':
  Use the stmdb instead of str to save the fn/arg

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 agoam 18779983: am 6a684524: Merge "Fix ptsname(3) and ttyname(3) to use TLS."
Elliott Hughes [Wed, 10 Dec 2014 04:52:18 +0000 (04:52 +0000)]
am 18779983: am 6a684524: Merge "Fix ptsname(3) and ttyname(3) to use TLS."

* commit '187799839d317b3a6ee0f32a70a19ce64d41fac5':
  Fix ptsname(3) and ttyname(3) to use TLS.

9 years agoam 6a684524: Merge "Fix ptsname(3) and ttyname(3) to use TLS."
Elliott Hughes [Wed, 10 Dec 2014 04:44:14 +0000 (04:44 +0000)]
am 6a684524: Merge "Fix ptsname(3) and ttyname(3) to use TLS."

* commit '6a6845244cf9eb8fe21ecc012b7b45990adad7d8':
  Fix ptsname(3) and ttyname(3) to use TLS.

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 agoam 938c251e: am 3592743f: Merge "Move BSD stuff together in <sys/endian.h>."
Elliott Hughes [Wed, 10 Dec 2014 04:31:18 +0000 (04:31 +0000)]
am 938c251e: am 3592743f: Merge "Move BSD stuff together in <sys/endian.h>."

* commit '938c251e94cd6f38433ca5f6a1480cbaef2783d1':
  Move BSD stuff together in <sys/endian.h>.

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 agoam 3592743f: Merge "Move BSD stuff together in <sys/endian.h>."
Elliott Hughes [Wed, 10 Dec 2014 04:23:50 +0000 (04:23 +0000)]
am 3592743f: Merge "Move BSD stuff together in <sys/endian.h>."

* commit '3592743f7191c69ae1fd2d7e01222bd380d93d3e':
  Move BSD stuff together in <sys/endian.h>.

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 agoam 4beb28d4: am 3f1c604c: Merge "<net/route.h> should include IPv6 too."
Elliott Hughes [Tue, 9 Dec 2014 23:29:19 +0000 (23:29 +0000)]
am 4beb28d4: am 3f1c604c: Merge "<net/route.h> should include IPv6 too."

* commit '4beb28d427a61111e53b12cb78c39599ea1afd7b':
  <net/route.h> should include IPv6 too.

9 years agoam 3f1c604c: Merge "<net/route.h> should include IPv6 too."
Elliott Hughes [Tue, 9 Dec 2014 23:25:25 +0000 (23:25 +0000)]
am 3f1c604c: Merge "<net/route.h> should include IPv6 too."

* commit '3f1c604c9df459f5baecfdc04cbe8ecda07b70eb':
  <net/route.h> should include IPv6 too.

9 years agoam 92fd1774: am 7381e145: Merge "Sync <net/if_types.h> with upstream."
Elliott Hughes [Tue, 9 Dec 2014 23:20:59 +0000 (23:20 +0000)]
am 92fd1774: am 7381e145: Merge "Sync <net/if_types.h> with upstream."

* commit '92fd17748376523e212dae0e606522b67d2c2883':
  Sync <net/if_types.h> with upstream.

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 agoam 7381e145: Merge "Sync <net/if_types.h> with upstream."
Elliott Hughes [Tue, 9 Dec 2014 23:15:15 +0000 (23:15 +0000)]
am 7381e145: Merge "Sync <net/if_types.h> with upstream."

* commit '7381e14521fcdc4e32ca512230793ab2256726bb':
  Sync <net/if_types.h> with upstream.

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