OSDN Git Service

android-x86/bionic.git
8 years agoam 8bb2141b: am 3230d96a: Merge "libc: krait: Use performance version of memcpy"
Christopher Ferris [Wed, 30 Sep 2015 23:59:47 +0000 (23:59 +0000)]
am 8bb2141b: am 3230d96a: Merge "libc: krait: Use performance version of memcpy"

* commit '8bb2141b7707b593245b77e3c73c26b7bb6f29fd':
  libc: krait: Use performance version of memcpy

8 years agoam 3230d96a: Merge "libc: krait: Use performance version of memcpy"
Christopher Ferris [Wed, 30 Sep 2015 23:44:12 +0000 (23:44 +0000)]
am 3230d96a: Merge "libc: krait: Use performance version of memcpy"

* commit '3230d96a10ab0cfa128487ef03fa5f08c77ebf20':
  libc: krait: Use performance version of memcpy

8 years agoMerge "libc: krait: Use performance version of memcpy"
Christopher Ferris [Wed, 30 Sep 2015 22:54:09 +0000 (22:54 +0000)]
Merge "libc: krait: Use performance version of memcpy"

8 years agolibc: krait: Use performance version of memcpy
Brent DeGraaf [Wed, 2 Oct 2013 13:47:11 +0000 (13:47 +0000)]
libc: krait: Use performance version of memcpy

Change-Id: Iaa52635240da8b8746693186b66b69778e833c32

8 years agoam 889dd564: am a0b9cad0: Merge "Optimize dlopen from a zip file"
Dimitry Ivanov [Wed, 30 Sep 2015 20:16:52 +0000 (20:16 +0000)]
am 889dd564: am a0b9cad0: Merge "Optimize dlopen from a zip file"

* commit '889dd56428fdecedb55e11b990609993294561ff':
  Optimize dlopen from a zip file

8 years agoam a0b9cad0: Merge "Optimize dlopen from a zip file"
Dimitry Ivanov [Wed, 30 Sep 2015 20:10:49 +0000 (20:10 +0000)]
am a0b9cad0: Merge "Optimize dlopen from a zip file"

* commit 'a0b9cad07629439bab926373515d964253426a69':
  Optimize dlopen from a zip file

8 years agoMerge "Optimize dlopen from a zip file"
Dimitry Ivanov [Wed, 30 Sep 2015 19:11:30 +0000 (19:11 +0000)]
Merge "Optimize dlopen from a zip file"

8 years agoOptimize dlopen from a zip file
Dmitriy Ivanov [Mon, 28 Sep 2015 23:38:31 +0000 (16:38 -0700)]
Optimize dlopen from a zip file

This change makes dynamic linker reuse ZipArchiveHandles in
ld_library_path on dlopen to optimize the lookup of dt_needed
libraries.

Bug: http://b/21960534
Change-Id: I65f897910d46dd2ffabdcb0b7842db2f127eee30

8 years agoam 8cd11809: am c1eebd5f: Merge "Fix the way to count online cpus."
Yabin Cui [Wed, 30 Sep 2015 01:33:22 +0000 (01:33 +0000)]
am 8cd11809: am c1eebd5f: Merge "Fix the way to count online cpus."

* commit '8cd1180904a0b8713c20feed5255bbedcfabe4e9':
  Fix the way to count online cpus.

8 years agoam c1eebd5f: Merge "Fix the way to count online cpus."
Yabin Cui [Wed, 30 Sep 2015 01:23:33 +0000 (01:23 +0000)]
am c1eebd5f: Merge "Fix the way to count online cpus."

* commit 'c1eebd5ff42cdf8f8a08be76bfdeaad6a327976c':
  Fix the way to count online cpus.

8 years agoMerge "Fix the way to count online cpus."
Yabin Cui [Wed, 30 Sep 2015 01:17:32 +0000 (01:17 +0000)]
Merge "Fix the way to count online cpus."

8 years agoFix the way to count online cpus.
Yabin Cui [Tue, 29 Sep 2015 23:11:45 +0000 (16:11 -0700)]
Fix the way to count online cpus.

Read /proc/stat to count online cpus is not correct for all android
kernels. Change to reading /sys/devices/system/cpu/online instead.

Bug: 24376925
Change-Id: I3785a6c7aa15a467022a9a261b457194d688fb38

8 years agoam 4f3e3591: am 93a91f0c: Force cts to only run one test at a time.
Christopher Ferris [Tue, 29 Sep 2015 15:26:43 +0000 (15:26 +0000)]
am 4f3e3591: am 93a91f0c: Force cts to only run one test at a time.

* commit '4f3e3591ace36b6d86e3a1bc8b3f438989cb0618':
  Force cts to only run one test at a time.

8 years agoam 93a91f0c: Force cts to only run one test at a time.
Christopher Ferris [Tue, 29 Sep 2015 15:11:45 +0000 (15:11 +0000)]
am 93a91f0c: Force cts to only run one test at a time.

* commit '93a91f0cf4f015762ac1ed57395c4c0de8ba7db3':
  Force cts to only run one test at a time.

8 years agoam 1c34fea8: am 8b279ead: Merge "Pass -q is zip for test"
Colin Cross [Mon, 28 Sep 2015 23:17:43 +0000 (23:17 +0000)]
am 1c34fea8: am 8b279ead: Merge "Pass -q is zip for test"

* commit '1c34fea8033d64b7f2c54366add908aba7fa44dc':
  Pass -q is zip for test

8 years agoam 8b279ead: Merge "Pass -q is zip for test"
Colin Cross [Mon, 28 Sep 2015 23:11:58 +0000 (23:11 +0000)]
am 8b279ead: Merge "Pass -q is zip for test"

* commit '8b279eadd3a635c31df9c570ab2144212bfd07cc':
  Pass -q is zip for test

8 years agoMerge "Pass -q is zip for test"
Colin Cross [Mon, 28 Sep 2015 23:07:04 +0000 (23:07 +0000)]
Merge "Pass -q is zip for test"

8 years agoam 289e58e8: am c80aa3f9: Merge "Turn common INFO messages down to VLOG(1)"
Colin Cross [Mon, 28 Sep 2015 22:57:48 +0000 (22:57 +0000)]
am 289e58e8: am c80aa3f9: Merge "Turn common INFO messages down to VLOG(1)"

* commit '289e58e83e62b600c2b1764c6f9cfd07f1717bdc':
  Turn common INFO messages down to VLOG(1)

8 years agoPass -q is zip for test
Colin Cross [Mon, 28 Sep 2015 22:56:18 +0000 (15:56 -0700)]
Pass -q is zip for test

Pass -q to zip for dlext_testzip to avoid printing:
  adding: empty_file.txt (stored 0%)
on every compile.

Bug: 24409581
Change-Id: I2320f31182a9a332b3ef8b32a22561092ab5aceb

8 years agoam c80aa3f9: Merge "Turn common INFO messages down to VLOG(1)"
Colin Cross [Mon, 28 Sep 2015 22:52:32 +0000 (22:52 +0000)]
am c80aa3f9: Merge "Turn common INFO messages down to VLOG(1)"

* commit 'c80aa3f9e2be9f9390b1e11f8f2b67a2adbd1faa':
  Turn common INFO messages down to VLOG(1)

8 years agoMerge "Turn common INFO messages down to VLOG(1)"
Colin Cross [Mon, 28 Sep 2015 22:46:11 +0000 (22:46 +0000)]
Merge "Turn common INFO messages down to VLOG(1)"

8 years agoTurn common INFO messages down to VLOG(1)
Colin Cross [Mon, 28 Sep 2015 22:30:37 +0000 (15:30 -0700)]
Turn common INFO messages down to VLOG(1)

Turn messages that are printed on every run of relocation_packer down to
VLOG(1) to clean up ninja build output.

Bug: 24409581
Change-Id: I040aed6a7b4261eefa6f7278fa451180115b0716

8 years agoam bfd9255d: am f16f4f8a: Merge "Fix file-check-cxx to handle quoted arguments"
Dan Willemsen [Mon, 28 Sep 2015 20:48:00 +0000 (20:48 +0000)]
am bfd9255d: am f16f4f8a: Merge "Fix file-check-cxx to handle quoted arguments"

* commit 'bfd9255ddba7db2e07de6483bf55f567c7f1f7a3':
  Fix file-check-cxx to handle quoted arguments

8 years agoam f16f4f8a: Merge "Fix file-check-cxx to handle quoted arguments"
Dan Willemsen [Mon, 28 Sep 2015 20:43:06 +0000 (20:43 +0000)]
am f16f4f8a: Merge "Fix file-check-cxx to handle quoted arguments"

* commit 'f16f4f8a6bac035db5f25538ddb4fe810d0719db':
  Fix file-check-cxx to handle quoted arguments

8 years agoMerge "Fix file-check-cxx to handle quoted arguments"
Dan Willemsen [Mon, 28 Sep 2015 20:37:07 +0000 (20:37 +0000)]
Merge "Fix file-check-cxx to handle quoted arguments"

8 years agoFix file-check-cxx to handle quoted arguments
Dan Willemsen [Mon, 28 Sep 2015 20:09:04 +0000 (13:09 -0700)]
Fix file-check-cxx to handle quoted arguments

If the OVERRIDE_C_DATE_TIME environment variable is set, the build
system will add a macro to the global cflags that contains a static
quoted date, like:

  -D__DATE__="\"Sep 28 2015\""

file-check-cxx needs to properly pass that through as a single, still
quoted argument. So use the quoted "$@" instead of turning each word
into an argument.

Change-Id: I6929d712c280d0452062640e0cba8a176d045c97

8 years agoam 97233047: am d5e8a049: Merge "Fix bug number for linker related workarounds"
Dimitry Ivanov [Mon, 28 Sep 2015 18:34:00 +0000 (18:34 +0000)]
am 97233047: am d5e8a049: Merge "Fix bug number for linker related workarounds"

* commit '972330476c26d5f610026fc006d05b128dc45e56':
  Fix bug number for linker related workarounds

8 years agoam d5e8a049: Merge "Fix bug number for linker related workarounds"
Dimitry Ivanov [Mon, 28 Sep 2015 18:23:48 +0000 (18:23 +0000)]
am d5e8a049: Merge "Fix bug number for linker related workarounds"

* commit 'd5e8a0499b9efa147d45aabd47cfb2d2204c2323':
  Fix bug number for linker related workarounds

8 years agoMerge "Fix bug number for linker related workarounds"
Dimitry Ivanov [Mon, 28 Sep 2015 17:54:23 +0000 (17:54 +0000)]
Merge "Fix bug number for linker related workarounds"

8 years agoFix bug number for linker related workarounds
Dmitriy Ivanov [Mon, 28 Sep 2015 17:14:17 +0000 (10:14 -0700)]
Fix bug number for linker related workarounds

Bug: 24425865
Change-Id: I2021674a9df0e768f312ca024d906302db1c494f

8 years agoam b99b3f77: am 55f87a0c: Merge "Force non-color output for bionic FileCheck tests"
Colin Cross [Fri, 25 Sep 2015 22:39:49 +0000 (22:39 +0000)]
am b99b3f77: am 55f87a0c: Merge "Force non-color output for bionic FileCheck tests"

* commit 'b99b3f773cef7d160481f8c30b41c01839ca7090':
  Force non-color output for bionic FileCheck tests

8 years agoam 0f575d44: am 4a54ec82: Merge "Add .PHONY for phony bionic test targets"
Colin Cross [Fri, 25 Sep 2015 22:39:48 +0000 (22:39 +0000)]
am 0f575d44: am 4a54ec82: Merge "Add .PHONY for phony bionic test targets"

* commit '0f575d4482cebbedcc9d44634ba453fa57f21c3f':
  Add .PHONY for phony bionic test targets

8 years agoam 55f87a0c: Merge "Force non-color output for bionic FileCheck tests"
Colin Cross [Fri, 25 Sep 2015 22:33:53 +0000 (22:33 +0000)]
am 55f87a0c: Merge "Force non-color output for bionic FileCheck tests"

* commit '55f87a0c0bb587ee85b5662967563462d52db560':
  Force non-color output for bionic FileCheck tests

8 years agoam 4a54ec82: Merge "Add .PHONY for phony bionic test targets"
Colin Cross [Fri, 25 Sep 2015 22:33:51 +0000 (22:33 +0000)]
am 4a54ec82: Merge "Add .PHONY for phony bionic test targets"

* commit '4a54ec8200356a755aeeb212c4dd9cefad39754c':
  Add .PHONY for phony bionic test targets

8 years agoForce cts to only run one test at a time.
Christopher Ferris [Fri, 25 Sep 2015 01:45:53 +0000 (18:45 -0700)]
Force cts to only run one test at a time.

Also, slightly increase the timeout for each test run.

Bug: 24198050

(cherry picked from commit daaaed18ce1d2f2da9d2240e974922299d937670)

Change-Id: I29e169e962da803a89abf0a28e071abcafa315b7

8 years agoMerge "Force non-color output for bionic FileCheck tests"
Colin Cross [Fri, 25 Sep 2015 22:27:16 +0000 (22:27 +0000)]
Merge "Force non-color output for bionic FileCheck tests"

8 years agoMerge "Add .PHONY for phony bionic test targets"
Colin Cross [Fri, 25 Sep 2015 22:25:58 +0000 (22:25 +0000)]
Merge "Add .PHONY for phony bionic test targets"

8 years agoam c1d4ba88: am b48ca46d: Merge "Force cts to only run one test at a time."
Christopher Ferris [Fri, 25 Sep 2015 22:17:12 +0000 (22:17 +0000)]
am c1d4ba88: am b48ca46d: Merge "Force cts to only run one test at a time."

* commit 'c1d4ba88cfd824b938feed68a706d2a06e993d3a':
  Force cts to only run one test at a time.

8 years agoam b48ca46d: Merge "Force cts to only run one test at a time."
Christopher Ferris [Fri, 25 Sep 2015 22:11:46 +0000 (22:11 +0000)]
am b48ca46d: Merge "Force cts to only run one test at a time."

* commit 'b48ca46d88d9e664763eff39604f772a57d8e2fb':
  Force cts to only run one test at a time.

8 years agoMerge "Force cts to only run one test at a time."
Christopher Ferris [Fri, 25 Sep 2015 21:50:35 +0000 (21:50 +0000)]
Merge "Force cts to only run one test at a time."

8 years agoForce non-color output for bionic FileCheck tests
Colin Cross [Fri, 25 Sep 2015 21:42:07 +0000 (14:42 -0700)]
Force non-color output for bionic FileCheck tests

Turning on color output will break the bionic compilation tests that
check for expected warnings, as they will be matching color output
against non-color expected values.  Turn off color locally.

Bug: 24273983
Change-Id: Ia3b3262ccece121217f0dc0997734b3ad65b928b

8 years agoAdd .PHONY for phony bionic test targets
Colin Cross [Fri, 25 Sep 2015 21:36:15 +0000 (14:36 -0700)]
Add .PHONY for phony bionic test targets

Bug: 24384320
Change-Id: I41038ff8b34391d03ce1e204e30e5ae34ec56614

8 years agoam 4344a02a: am 931e1399: Merge "Add cortex-a53.a57 target for 32 bit big/little."
Christopher Ferris [Fri, 25 Sep 2015 16:44:03 +0000 (16:44 +0000)]
am 4344a02a: am 931e1399: Merge "Add cortex-a53.a57 target for 32 bit big/little."

* commit '4344a02a9efc93ff4f772f5722f1a455d8ef25cd':
  Add cortex-a53.a57 target for 32 bit big/little.

8 years agoam 931e1399: Merge "Add cortex-a53.a57 target for 32 bit big/little."
Christopher Ferris [Fri, 25 Sep 2015 16:35:53 +0000 (16:35 +0000)]
am 931e1399: Merge "Add cortex-a53.a57 target for 32 bit big/little."

* commit '931e1399f13b35a139977354e179403184c649fa':
  Add cortex-a53.a57 target for 32 bit big/little.

8 years agoMerge "Add cortex-a53.a57 target for 32 bit big/little."
Christopher Ferris [Fri, 25 Sep 2015 16:29:33 +0000 (16:29 +0000)]
Merge "Add cortex-a53.a57 target for 32 bit big/little."

8 years agoForce cts to only run one test at a time.
Christopher Ferris [Fri, 25 Sep 2015 01:45:53 +0000 (18:45 -0700)]
Force cts to only run one test at a time.

Also, slightly increase the timeout for each test run.

Bug: 24198050
Change-Id: I2b0ebdebb909023d0f179e0a433c564266a99161

8 years agoam 6eb06b03: am 70a9f0a3: Merge "Fix over read in strcpy/stpcpy/strcat."
Christopher Ferris [Thu, 24 Sep 2015 21:48:52 +0000 (21:48 +0000)]
am 6eb06b03: am 70a9f0a3: Merge "Fix over read in strcpy/stpcpy/strcat."

* commit '6eb06b0399c95f52cd28ff7971582ebec42f45f7':
  Fix over read in strcpy/stpcpy/strcat.

8 years agoam 70a9f0a3: Merge "Fix over read in strcpy/stpcpy/strcat."
Christopher Ferris [Thu, 24 Sep 2015 21:38:47 +0000 (21:38 +0000)]
am 70a9f0a3: Merge "Fix over read in strcpy/stpcpy/strcat."

* commit '70a9f0a3bc310c863b5c90c9860aae842f82e47f':
  Fix over read in strcpy/stpcpy/strcat.

8 years agoMerge "Fix over read in strcpy/stpcpy/strcat."
Christopher Ferris [Thu, 24 Sep 2015 21:26:40 +0000 (21:26 +0000)]
Merge "Fix over read in strcpy/stpcpy/strcat."

8 years agoFix over read in strcpy/stpcpy/strcat.
Christopher Ferris [Thu, 24 Sep 2015 05:09:09 +0000 (22:09 -0700)]
Fix over read in strcpy/stpcpy/strcat.

This bug will happen when these circumstances are met:

- Destination address & 0x7 == 1, strlen of src is 11, 12, 13.
- Destination address & 0x7 == 2, strlen of src is 10, 11, 12.
- Destination address & 0x7 == 3, strlen of src is 9, 10, 11.
- Destination address & 0x7 == 4, strlen of src is 8, 9, 10.

In these cases, the dest alignment code does a ldr which reads 4 bytes,
and it will read past the end of the source. In most cases, this is
probably benign, but if this crosses into a new page it could cause a
crash.

Fix the labels in the cortex-a9 strcat.

Modify the overread test to vary the dst alignment to expost this bug.
Also, shrink the strcat/strlcat overread cases since the dst alignment
variation increases the runtime too much.

Bug: 24345899
Change-Id: Ib34a559bfcebd89861985b29cae6c1e47b5b5855

8 years agoAdd cortex-a53.a57 target for 32 bit big/little.
Christopher Ferris [Thu, 17 Sep 2015 21:11:05 +0000 (14:11 -0700)]
Add cortex-a53.a57 target for 32 bit big/little.

The routines optimized for cortex-a7 and cortex-a53 cause performance
drops on cortex-a57. Instead create a target that is the middle ground
that works relatively well on either core.

Change-Id: Ie2b6cc9a59a01c7b30602ee368b2b90f5e886289

8 years agoam 01030c24: Increase alternative signal stack size on 64-bit devices.
Yabin Cui [Thu, 24 Sep 2015 00:21:13 +0000 (00:21 +0000)]
am 01030c24: Increase alternative signal stack size on 64-bit devices.

* commit '01030c24b0e3ace1b4cdaf415354e2f315f4f3a9':
  Increase alternative signal stack size on 64-bit devices.

8 years agoIncrease alternative signal stack size on 64-bit devices.
Yabin Cui [Tue, 22 Sep 2015 18:16:15 +0000 (11:16 -0700)]
Increase alternative signal stack size on 64-bit devices.

Bug: 23041777
Bug: 24187462
Change-Id: I7d84c0cc775a74753a3e8e101169c0fb5dbf7437

8 years agoam 56446a6c: am c38cee59: Merge "Prevent the build system from hiding our ABI."
Dan Albert [Wed, 23 Sep 2015 20:22:04 +0000 (20:22 +0000)]
am 56446a6c: am c38cee59: Merge "Prevent the build system from hiding our ABI."

* commit '56446a6c8e2fd54f23a348060a2bc121c0846603':
  Prevent the build system from hiding our ABI.

8 years agoam c38cee59: Merge "Prevent the build system from hiding our ABI."
Dan Albert [Wed, 23 Sep 2015 20:15:35 +0000 (20:15 +0000)]
am c38cee59: Merge "Prevent the build system from hiding our ABI."

* commit 'c38cee59dcba23576cc01bfbb97cecc5eb01a75c':
  Prevent the build system from hiding our ABI.

8 years agoMerge "Prevent the build system from hiding our ABI."
Dan Albert [Wed, 23 Sep 2015 20:08:09 +0000 (20:08 +0000)]
Merge "Prevent the build system from hiding our ABI."

8 years agoam 83911975: am cb696c50: Merge "Remove libpagemap include hack."
Elliott Hughes [Wed, 23 Sep 2015 19:04:18 +0000 (19:04 +0000)]
am 83911975: am cb696c50: Merge "Remove libpagemap include hack."

* commit '839119757d4d841359ad5f16d3bde8e4581f8322':
  Remove libpagemap include hack.

8 years agoam cb696c50: Merge "Remove libpagemap include hack."
Elliott Hughes [Wed, 23 Sep 2015 18:56:25 +0000 (18:56 +0000)]
am cb696c50: Merge "Remove libpagemap include hack."

* commit 'cb696c50c293f387c7de46cd3c8573a335e273bf':
  Remove libpagemap include hack.

8 years agoMerge "Remove libpagemap include hack."
Elliott Hughes [Wed, 23 Sep 2015 18:49:22 +0000 (18:49 +0000)]
Merge "Remove libpagemap include hack."

8 years agoRemove libpagemap include hack.
Elliott Hughes [Wed, 23 Sep 2015 05:40:22 +0000 (22:40 -0700)]
Remove libpagemap include hack.

Change-Id: I4c75ae4e311342c9ab4f317026904f893e931384

8 years agoam 12432ca4: am 8d92afe3: Merge "Fix another duplicate maps parser."
Elliott Hughes [Wed, 23 Sep 2015 00:36:13 +0000 (00:36 +0000)]
am 12432ca4: am 8d92afe3: Merge "Fix another duplicate maps parser."

* commit '12432ca4839b4df9b040b2bd3b4401a48e1f8a06':
  Fix another duplicate maps parser.

8 years agoam 8d92afe3: Merge "Fix another duplicate maps parser."
Elliott Hughes [Wed, 23 Sep 2015 00:26:38 +0000 (00:26 +0000)]
am 8d92afe3: Merge "Fix another duplicate maps parser."

* commit '8d92afe32265be8c36ea2adb3c4059298cd583eb':
  Fix another duplicate maps parser.

8 years agoMerge "Fix another duplicate maps parser."
Elliott Hughes [Wed, 23 Sep 2015 00:18:50 +0000 (00:18 +0000)]
Merge "Fix another duplicate maps parser."

8 years agoPrevent the build system from hiding our ABI.
Dan Albert [Tue, 22 Sep 2015 23:30:31 +0000 (16:30 -0700)]
Prevent the build system from hiding our ABI.

Unfortunately --exclude-libs (now passed globally) clobbers our
version script, so we have to prevent the build system from using this
flag.

Bug: http://b/24166967
Change-Id: I33c766d399c418fdc17983c8c0a56608d463201e

8 years agoFix another duplicate maps parser.
Elliott Hughes [Tue, 22 Sep 2015 23:40:14 +0000 (16:40 -0700)]
Fix another duplicate maps parser.

Change-Id: Icb69f59ffbd0d5de7f727142260fae152d36a904

8 years agoam f599ea97: am 9e3a2491: Merge "Clean up /proc/<pid>/maps sscanfs."
Elliott Hughes [Tue, 22 Sep 2015 23:05:43 +0000 (23:05 +0000)]
am f599ea97: am 9e3a2491: Merge "Clean up /proc/<pid>/maps sscanfs."

* commit 'f599ea9743098a694262b7ab6c3b3d3f11eeb0dd':
  Clean up /proc/<pid>/maps sscanfs.

8 years agoam 9e3a2491: Merge "Clean up /proc/<pid>/maps sscanfs."
Elliott Hughes [Tue, 22 Sep 2015 22:54:45 +0000 (22:54 +0000)]
am 9e3a2491: Merge "Clean up /proc/<pid>/maps sscanfs."

* commit '9e3a24915241c07d8ea886533c8de6a85744a734':
  Clean up /proc/<pid>/maps sscanfs.

8 years agoMerge "Clean up /proc/<pid>/maps sscanfs."
Elliott Hughes [Tue, 22 Sep 2015 22:49:20 +0000 (22:49 +0000)]
Merge "Clean up /proc/<pid>/maps sscanfs."

8 years agoClean up /proc/<pid>/maps sscanfs.
Elliott Hughes [Tue, 22 Sep 2015 22:45:50 +0000 (15:45 -0700)]
Clean up /proc/<pid>/maps sscanfs.

sscanf will swallow whitespace for us.

Change-Id: I59931cbad00f0144fd33ed4749ac0aaad15e6de6

8 years agoam 9583f7e7: am dd514539: Merge "Add preliminary OEM UID/GID support."
Jorge Lucangeli Obes [Tue, 22 Sep 2015 22:09:43 +0000 (22:09 +0000)]
am 9583f7e7: am dd514539: Merge "Add preliminary OEM UID/GID support."

* commit '9583f7e7c2863c63596429ccb23a34fdbf272102':
  Add preliminary OEM UID/GID support.

8 years agoam 1085de1c: am efcb5d9d: Merge "Remove some <sys/cdefs.h> cruft."
Elliott Hughes [Tue, 22 Sep 2015 22:09:42 +0000 (22:09 +0000)]
am 1085de1c: am efcb5d9d: Merge "Remove some <sys/cdefs.h> cruft."

* commit '1085de1cc5f56bf3538ff75ec93939b8c868eb2a':
  Remove some <sys/cdefs.h> cruft.

8 years agoam dd514539: Merge "Add preliminary OEM UID/GID support."
Jorge Lucangeli Obes [Tue, 22 Sep 2015 21:59:02 +0000 (21:59 +0000)]
am dd514539: Merge "Add preliminary OEM UID/GID support."

* commit 'dd51453904f609347ce7951661eff8bc12a1c0a4':
  Add preliminary OEM UID/GID support.

8 years agoam efcb5d9d: Merge "Remove some <sys/cdefs.h> cruft."
Elliott Hughes [Tue, 22 Sep 2015 21:59:00 +0000 (21:59 +0000)]
am efcb5d9d: Merge "Remove some <sys/cdefs.h> cruft."

* commit 'efcb5d9d4c4b482cf21318b2bb4aec6cf6d8e0f5':
  Remove some <sys/cdefs.h> cruft.

8 years agoMerge "Add preliminary OEM UID/GID support."
Jorge Lucangeli Obes [Tue, 22 Sep 2015 21:53:39 +0000 (21:53 +0000)]
Merge "Add preliminary OEM UID/GID support."

8 years agoMerge "Remove some <sys/cdefs.h> cruft."
Elliott Hughes [Tue, 22 Sep 2015 21:52:28 +0000 (21:52 +0000)]
Merge "Remove some <sys/cdefs.h> cruft."

8 years agoam 042a61de: am 3d00f79f: Merge "Increase alternative signal stack size on 64-bit...
Yabin Cui [Tue, 22 Sep 2015 20:59:44 +0000 (20:59 +0000)]
am 042a61de: am 3d00f79f: Merge "Increase alternative signal stack size on 64-bit devices."

* commit '042a61de21296a7c5e4243b1e50ec591d124de98':
  Increase alternative signal stack size on 64-bit devices.

8 years agoam 3d00f79f: Merge "Increase alternative signal stack size on 64-bit devices."
Yabin Cui [Tue, 22 Sep 2015 20:51:36 +0000 (20:51 +0000)]
am 3d00f79f: Merge "Increase alternative signal stack size on 64-bit devices."

* commit '3d00f79f98c8b981a36a79657f07a303a2288a55':
  Increase alternative signal stack size on 64-bit devices.

8 years agoMerge "Increase alternative signal stack size on 64-bit devices."
Yabin Cui [Tue, 22 Sep 2015 20:44:05 +0000 (20:44 +0000)]
Merge "Increase alternative signal stack size on 64-bit devices."

8 years agoam d97f4224: am 822c40a3: Merge "<netinet/udp.h> should include <linux/udp.h>."
Elliott Hughes [Tue, 22 Sep 2015 20:34:32 +0000 (20:34 +0000)]
am d97f4224: am 822c40a3: Merge "<netinet/udp.h> should include <linux/udp.h>."

* commit 'd97f422405cfb3f1d6287f879ce828f7195e68d3':
  <netinet/udp.h> should include <linux/udp.h>.

8 years agoAdd preliminary OEM UID/GID support.
Jorge Lucangeli Obes [Tue, 22 Sep 2015 18:46:43 +0000 (11:46 -0700)]
Add preliminary OEM UID/GID support.

Until we implement full support for passwd/group files, add a simple
way to use the new OEM UID/GID range (5000-5999).

oem_XXX -> 5000 + XXX iff 0 <= XXX < 1000.

Bug: 23225475

Change-Id: If48b88135d5df538313414f747d6c4c63bf0a103

8 years agoam 822c40a3: Merge "<netinet/udp.h> should include <linux/udp.h>."
Elliott Hughes [Tue, 22 Sep 2015 20:25:03 +0000 (20:25 +0000)]
am 822c40a3: Merge "<netinet/udp.h> should include <linux/udp.h>."

* commit '822c40a3389a953d9b43f05ad6e40640fd55f9c4':
  <netinet/udp.h> should include <linux/udp.h>.

8 years agoMerge "<netinet/udp.h> should include <linux/udp.h>."
Elliott Hughes [Tue, 22 Sep 2015 20:19:14 +0000 (20:19 +0000)]
Merge "<netinet/udp.h> should include <linux/udp.h>."

8 years agoRemove some <sys/cdefs.h> cruft.
Elliott Hughes [Tue, 22 Sep 2015 20:00:21 +0000 (13:00 -0700)]
Remove some <sys/cdefs.h> cruft.

In particular, we don't need to record the peculiarities of every
version of GCC ever shipped. It just makes this file harder to follow.

Change-Id: Ie9035d78eae86b4aed9dff3576c6f54e268aaced

8 years ago<netinet/udp.h> should include <linux/udp.h>.
Elliott Hughes [Tue, 22 Sep 2015 19:34:13 +0000 (12:34 -0700)]
<netinet/udp.h> should include <linux/udp.h>.

The comment about "other stuff" referred to pre-uapi headers. Everything
in the current <linux/udp.h> should be exposed to userspace. The only
problem is that BSD and Linux use different names for the members of
struct udphdr. We can move the Linux udphdr out of the way and use an
anonymous union to get the best of both worlds. (Though unfortunately
this means that code that includes <linux/udp.h> directly instead of
using <netinet/udp.h> now won't have any definition of struct udphdr.
We've taken the stance in the past that you shouldn't include a linux/
header if there's a standard equivalent --- you should rely on us
transitively including it for you.)

Change-Id: Ie625892441b0edd8df3b76d3fcf2cbe299077bc4

8 years agoIncrease alternative signal stack size on 64-bit devices.
Yabin Cui [Tue, 22 Sep 2015 18:16:15 +0000 (11:16 -0700)]
Increase alternative signal stack size on 64-bit devices.

Bug: 23041777
Bug: 24187462
Change-Id: I7d84c0cc775a74753a3e8e101169c0fb5dbf7437

8 years agoam 208d8e36: am 13997591: Merge "Add a hint about using --no-isolate for GDB."
Dan Albert [Sat, 19 Sep 2015 19:59:53 +0000 (19:59 +0000)]
am 208d8e36: am 13997591: Merge "Add a hint about using --no-isolate for GDB."

* commit '208d8e369604e76363027289c09e08c9b4fc818b':
  Add a hint about using --no-isolate for GDB.

8 years agoam 4ed36397: am 777bd95c: Merge "Import scsi headers."
Christopher Ferris [Sat, 19 Sep 2015 19:59:52 +0000 (19:59 +0000)]
am 4ed36397: am 777bd95c: Merge "Import scsi headers."

* commit '4ed363972e1120f924c84a56c513eb7e8077dcbc':
  Import scsi headers.

8 years agoam 5fb12bc2: am 96b1323a: Merge "Define WIFCONTINUED()"
Greg Hackmann [Sat, 19 Sep 2015 19:59:52 +0000 (19:59 +0000)]
am 5fb12bc2: am 96b1323a: Merge "Define WIFCONTINUED()"

* commit '5fb12bc23273266b6afb08b61f1b5e558165c3d1':
  Define WIFCONTINUED()

8 years agoam a4ab398c: am 7c460451: Merge "Fix SOCK_* flag definitions"
Greg Hackmann [Sat, 19 Sep 2015 19:59:51 +0000 (19:59 +0000)]
am a4ab398c: am 7c460451: Merge "Fix SOCK_* flag definitions"

* commit 'a4ab398c617055f5f5895f6b9f6ca5bf0f6e520f':
  Fix SOCK_* flag definitions

8 years agoam 13997591: Merge "Add a hint about using --no-isolate for GDB."
Dan Albert [Sat, 19 Sep 2015 19:52:23 +0000 (19:52 +0000)]
am 13997591: Merge "Add a hint about using --no-isolate for GDB."

* commit '1399759118f50071d499f88b18828e36aa2bad00':
  Add a hint about using --no-isolate for GDB.

8 years agoam 777bd95c: Merge "Import scsi headers."
Christopher Ferris [Sat, 19 Sep 2015 19:52:13 +0000 (19:52 +0000)]
am 777bd95c: Merge "Import scsi headers."

* commit '777bd95c63fcbb461deac40b303d706d3b672837':
  Import scsi headers.

8 years agoam 96b1323a: Merge "Define WIFCONTINUED()"
Greg Hackmann [Sat, 19 Sep 2015 19:52:12 +0000 (19:52 +0000)]
am 96b1323a: Merge "Define WIFCONTINUED()"

* commit '96b1323a403bbd946487e4107a076b0a307136b1':
  Define WIFCONTINUED()

8 years agoam 7c460451: Merge "Fix SOCK_* flag definitions"
Greg Hackmann [Sat, 19 Sep 2015 19:52:09 +0000 (19:52 +0000)]
am 7c460451: Merge "Fix SOCK_* flag definitions"

* commit '7c4604518bcd27e27fb305388188275f49dea468':
  Fix SOCK_* flag definitions

8 years agoMerge "Add a hint about using --no-isolate for GDB."
Dan Albert [Fri, 18 Sep 2015 21:18:06 +0000 (21:18 +0000)]
Merge "Add a hint about using --no-isolate for GDB."

8 years agoMerge "Import scsi headers."
Christopher Ferris [Fri, 18 Sep 2015 20:44:58 +0000 (20:44 +0000)]
Merge "Import scsi headers."

8 years agoMerge "Define WIFCONTINUED()"
Greg Hackmann [Fri, 18 Sep 2015 20:39:07 +0000 (20:39 +0000)]
Merge "Define WIFCONTINUED()"

8 years agoMerge "Fix SOCK_* flag definitions"
Greg Hackmann [Fri, 18 Sep 2015 20:38:54 +0000 (20:38 +0000)]
Merge "Fix SOCK_* flag definitions"

8 years agoDefine WIFCONTINUED()
Greg Hackmann [Wed, 26 Aug 2015 00:50:29 +0000 (17:50 -0700)]
Define WIFCONTINUED()

Change-Id: Id0feebd90d0525f3b479eb119b942eae8ca568d1
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoFix SOCK_* flag definitions
Greg Hackmann [Wed, 26 Aug 2015 00:45:46 +0000 (17:45 -0700)]
Fix SOCK_* flag definitions

MIPS and the rest of the world only disagree on the first two SOCK_*
constants, so restructure the #ifdef accordingly.

As a deliberate side effect, this fixes SOCK_DCCP being missing on
non-MIPS platforms.

Change-Id: I2267008f1121a7eebe1ed9097afab6e612bce7f0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoAdd a hint about using --no-isolate for GDB.
Dan Albert [Fri, 18 Sep 2015 20:17:02 +0000 (13:17 -0700)]
Add a hint about using --no-isolate for GDB.

Change-Id: Ib9df5ed986a1c4082c9c7cd793a4d670be21ca66