Commit Graph

23737 Commits

Author SHA1 Message Date
Dan Albert 08519f21f8 am c01c0a1c: am 06f0a137: Merge "Remove LOCAL_ADDRESS_SANITIZER."
* commit 'c01c0a1c8d9c48330b4880b478c46f35705b6a93':
  Remove LOCAL_ADDRESS_SANITIZER.
2015-06-17 17:45:38 +00:00
Dan Albert 1a31eea230 am e514639f: am 2a884eef: Merge "Stop disallowing sanitizers."
* commit 'e514639feba9ce77c36b8fee23e893fff8b4be0f':
  Stop disallowing sanitizers.
2015-06-17 17:45:37 +00:00
Dan Albert c01c0a1c8d am 06f0a137: Merge "Remove LOCAL_ADDRESS_SANITIZER."
* commit '06f0a137dce58bf75576b0a2d0a5e7410dae919d':
  Remove LOCAL_ADDRESS_SANITIZER.
2015-06-17 17:32:41 +00:00
Dan Albert e514639feb am 2a884eef: Merge "Stop disallowing sanitizers."
* commit '2a884eeff61c3e0302660660ccb174a52236910a':
  Stop disallowing sanitizers.
2015-06-17 17:32:39 +00:00
Dan Albert 06f0a137dc Merge "Remove LOCAL_ADDRESS_SANITIZER." 2015-06-17 17:21:27 +00:00
Elliott Hughes 4159f578ef am e6faff17: am 40990c83: Merge "Revert "[MIPS] Do not use compact branches until GDB supports them""
* commit 'e6faff17ffa23245d480da6192a75986e02707d3':
  Revert "[MIPS] Do not use compact branches until GDB supports them"
2015-06-17 17:19:49 +00:00
Dan Albert 2a884eeff6 Merge "Stop disallowing sanitizers." 2015-06-17 17:19:25 +00:00
Elliott Hughes e6faff17ff am 40990c83: Merge "Revert "[MIPS] Do not use compact branches until GDB supports them""
* commit '40990c83f0d719d37cd48e52b55fb59b748531b0':
  Revert "[MIPS] Do not use compact branches until GDB supports them"
2015-06-17 17:12:35 +00:00
Elliott Hughes 40990c83f0 Merge "Revert "[MIPS] Do not use compact branches until GDB supports them"" 2015-06-17 17:02:53 +00:00
Nikola Veljkovic 91091280f1 Revert "[MIPS] Do not use compact branches until GDB supports them"
This reverts commit 063ef33089.
2015-06-17 17:22:26 +02:00
Dan Albert b32c0009a3 Remove LOCAL_ADDRESS_SANITIZER.
I've migrated all users of this to the new option now, so we can drop
this.

Dropping `SANITIZE_HOST := true` will have to wait until the build
server configs have been updated.

Change-Id: I591436e197a6c6c079a6cd6a2decb702b574cd71
2015-06-16 22:20:19 -07:00
Dan Albert 944fc40eda Stop disallowing sanitizers.
Change-Id: I641cb3fe998184f8926324e3365a7a99d87263df
2015-06-16 22:20:19 -07:00
Elliott Hughes 96bd749a8e am d2dd0641: am 8ae7aa94: Merge "Remove copy & paste cruft from the mips64 combo."
* commit 'd2dd0641949513a1f76aaf0f6ba0c19d6a8425b2':
  Remove copy & paste cruft from the mips64 combo.
2015-06-16 22:54:32 +00:00
Elliott Hughes d2dd064194 am 8ae7aa94: Merge "Remove copy & paste cruft from the mips64 combo."
* commit '8ae7aa942bf7d0844bcdfb6116076a21837ded4c':
  Remove copy & paste cruft from the mips64 combo.
2015-06-16 22:42:42 +00:00
Elliott Hughes 8ae7aa942b Merge "Remove copy & paste cruft from the mips64 combo." 2015-06-16 22:32:29 +00:00
Elliott Hughes c09eaa7a44 Remove copy & paste cruft from the mips64 combo.
libthread_db hasn't been in bionic for years.

Change-Id: Ibc036d894c6b6bf9ee4653f95ff7a000a223cb2e
2015-06-16 15:22:52 -07:00
Dan Albert 652789bc3b am 42ca21d4: am c27d4717: Merge "Fix libdl inclusion for default-ub."
* commit '42ca21d4960d605fa1a7202e9d91874f82857d5d':
  Fix libdl inclusion for default-ub.
2015-06-16 21:35:48 +00:00
Dan Albert 42ca21d496 am c27d4717: Merge "Fix libdl inclusion for default-ub."
* commit 'c27d471742df9e69d4c0d932e8d7c11455bc3551':
  Fix libdl inclusion for default-ub.
2015-06-16 21:22:39 +00:00
Dan Albert c27d471742 Merge "Fix libdl inclusion for default-ub." 2015-06-16 21:13:44 +00:00
Mohamad Ayyash 1b748051dd common.py: Add support for squashfs
Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-16 13:18:44 -07:00
Mohamad Ayyash cade49ddee Allow flashing a squashfs system image
Change-Id: Ic51d11274784a8d2e9d57d5f0b821ebc89680e5a
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-16 13:11:21 -07:00
Nick Kralevich ad48a4655a am d400f774: am dcac4582: Merge "Add support for LOCAL_DETECT_INTEGER_OVERFLOWS"
* commit 'd400f7740d1f8105c5d4d5fdb355f08808c729a5':
  Add support for LOCAL_DETECT_INTEGER_OVERFLOWS
2015-06-15 22:17:35 +00:00
Nick Kralevich d400f7740d am dcac4582: Merge "Add support for LOCAL_DETECT_INTEGER_OVERFLOWS"
* commit 'dcac45820e4ce7faad4dbfd187f8b788964c9981':
  Add support for LOCAL_DETECT_INTEGER_OVERFLOWS
2015-06-15 22:04:47 +00:00
Nick Kralevich dcac45820e Merge "Add support for LOCAL_DETECT_INTEGER_OVERFLOWS" 2015-06-15 21:54:30 +00:00
Nick Kralevich 99d92506ac Add support for LOCAL_DETECT_INTEGER_OVERFLOWS
Add build system support for LOCAL_DETECT_INTEGER_OVERFLOWS. When enabled,
an attempt to perform an integer arithmetic operation which overflows
will result in a call to abort(). This is intended for security
sensitive code, where integer overflow operations are not expected
nor desirable.

Two classes of underflows/overflows are detected and blocked:

1) Signed integer underflow/overflow.
2) Unsigned integer underflow/overflows.

Signed integer overflows are undefined behavior, according to the
C standard. Unsigned integer overflows are defined behavior, but
still undesirable in security sensitive code.

Only clang is supported today. gcc has -ftrapv for handling signed
integer overflow, but it's widely considered broken
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35412) and we're
deliberately avoiding it's use here.

Change-Id: Ib4918dc84e37e83d4205e5035544545d91671e5f
Vaguely-Related-Bug: 11859726
2015-06-15 14:52:09 -07:00
Dan Albert 7508a81d40 Fix libdl inclusion for default-ub.
We shouldn't be using ldlibs for target libraries because it doesn't
add a real dependency.

Change-Id: Ib1ec40b95356feb521e95674b64d04d5ecc06332
2015-06-15 11:39:29 -07:00
Dan Albert 8b36f7fcc7 am 2bb996f6: am 46cb2ee3: Merge "Force some clang Werrors that *will* break things."
* commit '2bb996f6a58dd4b9e682f9c59a7dad94412bdd86':
  Force some clang Werrors that *will* break things.
2015-06-13 02:25:20 +00:00
Jeff Vander Stoep ccf993ec0c am 5aa6832e: selinux: add tools to dev path
* commit '5aa6832e6b5dc4274066346f4dbab93c17145577':
  selinux: add tools to dev path
2015-06-12 20:19:36 +00:00
Jeff Vander Stoep e50b3ec5f8 am f9af2646: am ed6e4d19: Merge "selinux: add tools to dev path"
* commit 'f9af26462fe9dd7c68ca49a8b5b148f00d4ea3ec':
  selinux: add tools to dev path
2015-06-12 20:05:32 +00:00
Jeff Vander Stoep 5aa6832e6b selinux: add tools to dev path
Adds audit2allow to the path. No build required.

(cherry picked from 5f50f05340)
Bug: 21724977
Change-Id: Ide320a56b9cdbfa426b978443f6df07fa2a38fbc
2015-06-12 20:02:25 +00:00
Dan Albert 2bb996f6a5 am 46cb2ee3: Merge "Force some clang Werrors that *will* break things."
* commit '46cb2ee3cb120a1c03241e9e2aa66d76c890c486':
  Force some clang Werrors that *will* break things.
2015-06-12 19:59:13 +00:00
Dan Albert 46cb2ee3cb Merge "Force some clang Werrors that *will* break things." 2015-06-12 19:52:20 +00:00
Tim Murray 76b604b308 am b461acde: Merge "Add support for cortex-a53 variants when building 64-bit." into mnc-dev
* commit 'b461acdedbc9a13b6f245138d8e454d93d4ca9de':
  Add support for cortex-a53 variants when building 64-bit.
2015-06-12 19:03:31 +00:00
Tim Murray b461acdedb Merge "Add support for cortex-a53 variants when building 64-bit." into mnc-dev 2015-06-12 18:37:11 +00:00
C. Sean Young 3c11468252 am 6f44670a: am cbaead4c: am 540772fa: am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit '6f44670ada093f4a11a343dddf0f8d0a0a8280d6':
  Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
2015-06-12 18:05:03 +00:00
Jeff Vander Stoep f9af26462f am ed6e4d19: Merge "selinux: add tools to dev path"
* commit 'ed6e4d1933cc0a68cd2eb3b7a83d5f0ccefac553':
  selinux: add tools to dev path
2015-06-12 17:44:49 +00:00
C. Sean Young 6f44670ada am cbaead4c: am 540772fa: am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit 'cbaead4cfe737c96c649672b6c1396c35597b5b7':
  Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
2015-06-12 17:43:46 +00:00
Jeff Vander Stoep ed6e4d1933 Merge "selinux: add tools to dev path" 2015-06-12 17:37:24 +00:00
Jeff Vander Stoep 5f50f05340 selinux: add tools to dev path
Adds audit2allow to the path. No build required.

Bug: 21724977
Change-Id: Ide320a56b9cdbfa426b978443f6df07fa2a38fbc
2015-06-12 10:16:06 -07:00
C. Sean Young cbaead4cfe am 540772fa: am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit '540772fa2287e63a0c745229fb72b78903c9cd70':
  Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
2015-06-12 16:29:25 +00:00
Tim Murray b6b20af512 Add support for cortex-a53 variants when building 64-bit.
Change-Id: I3f1fb5dbde731d9c3d6db26a46bc7f0f54d8e071
2015-06-11 16:02:13 -07:00
Tao Bao 05451045c9 am abfe1044: Merge "Support SELinux context label when mounting" into mnc-dev
* commit 'abfe10440836f4bbd513b83cf731788099dd81b4':
  Support SELinux context label when mounting
2015-06-11 02:08:14 +00:00
Dan Albert d160041149 Force some clang Werrors that *will* break things.
Clang is really aggressive at optimizing a handful of cases (read:
clang will ruin your day some if you write bad code). Fortunately, it
also emits a warning when it's about to do this.

To prevent anyone from suffering from these optimizations, make these
warnings errors and make them impossible to disable.

Change-Id: I5e10bb0fc2ca23190017da716b3b84635577a0bd
2015-06-10 17:24:38 -07:00
Adrian Roos 3986d504d6 am 6784cae4: Switch build to stricter aapt symbol generation
* commit '6784cae413a757fc5516cfc344eaf435c6113170':
  Switch build to stricter aapt symbol generation
2015-06-10 23:17:31 +00:00
Tao Bao abfe104408 Merge "Support SELinux context label when mounting" into mnc-dev 2015-06-10 23:08:46 +00:00
Tao Bao 548eb76c8f Support SELinux context label when mounting
If there is a SELinux context label in the recovery.fstab, we should
honor that when mounting the partition.

Bug: 19764039
Change-Id: I4df71a092b418cd340a18b2e3b0936de33d8e3f5
2015-06-10 15:35:34 -07:00
Adrian Roos 6784cae413 Switch build to stricter aapt symbol generation
Prevents aapt from generating java symbols for strings that don't have
a default localization.

Bug: 21537397
Change-Id: I2f17397e33d823045f7dcff02e3d0817f3f81849
2015-06-10 20:00:13 +00:00
C. Sean Young 540772fa22 am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit 'cf4699895ad99b83a24e376007750e2c2c0502f6':
  Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
2015-06-10 18:38:46 +00:00
C. Sean Young cf4699895a Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
These directories are excluded in addition to OUT_DIR.
This can be useful if your build system has other output directories
beyond what OUT_DIR is set to.

Change-Id: I6d98a85bcc8c89279e939406a7fec32547e8922f
2015-06-10 13:00:13 -05:00
Baligh Uddin d80f08688c am 942a42e3: Merge "Allow custom boot_signer and verity_signer." into mnc-dev
* commit '942a42e31de9a0468014a256ed7fdd67cb208e64':
  Allow custom boot_signer and verity_signer.
2015-06-09 23:28:07 +00:00