Commit Graph

23247 Commits

Author SHA1 Message Date
bohu 29c83a9aa9 am 2c6fe7ea: am 22f1bc5d: Bump sdk arm system image size to 750M
* commit '2c6fe7eaa3ccc86204f864169fd0e174fccf0576':
  Bump sdk arm system image size to 750M
2015-04-28 15:12:56 +00:00
bohu 2c6fe7eaa3 am 22f1bc5d: Bump sdk arm system image size to 750M
* commit '22f1bc5db2a4d6ce173d0abad30bb287cfe1d31e':
  Bump sdk arm system image size to 750M
2015-04-28 14:51:50 +00:00
Chris Banes 8f168d1b98 Add design support library docs
BUG: 20524332
Change-Id: I471ab17a2a5ccc43f4ef0fa04b7c2e9077d56361
2015-04-28 12:01:49 +01:00
Evgenii Stepanov e6df056cce am 68f8620c: am 59b0dad7: am 55f3c4c2: Merge "Fix AddressSanitizer link order and multilib setup."
* commit '68f8620ccb4aaac00b58d411f40a41500634690e':
  Fix AddressSanitizer link order and multilib setup.
2015-04-27 23:26:44 +00:00
Evgenii Stepanov 68f8620ccb am 59b0dad7: am 55f3c4c2: Merge "Fix AddressSanitizer link order and multilib setup."
* commit '59b0dad7272118e39be180eef24ffa50c0ffdf17':
  Fix AddressSanitizer link order and multilib setup.
2015-04-27 23:14:37 +00:00
Evgenii Stepanov 59b0dad727 am 55f3c4c2: Merge "Fix AddressSanitizer link order and multilib setup."
* commit '55f3c4c25e4ec9cf80331aa512df8daf8d601fdf':
  Fix AddressSanitizer link order and multilib setup.
2015-04-27 22:56:55 +00:00
Evgenii Stepanov 55f3c4c25e Merge "Fix AddressSanitizer link order and multilib setup." 2015-04-27 22:46:41 +00:00
Evgenii Stepanov f0b15e173b Fix AddressSanitizer link order and multilib setup.
ASan runtime library (when using dynamic linking) must be the first
dependency of the main executable to achieve correct symbol
interposition. This matches how the clang driver works.

In multilib setup, ASan-RT name depends on the target arch:
  /system/lib/libclang_rt.asan-arm-android.so
  /system/lib64/libclang_rt.asan-arm64-android.so

We also set RPATH to /system/lib/asan or /system/lib64/asan
to have a place for ASan-only versions of system libraries.

Change-Id: I5c0cdb89e5e08a1950eb276e406da9f31a6e52dd
2015-04-27 14:48:35 -07:00
Dan Albert 32bbb4d630 am ba25452f: am 55309f84: am 959f0ecc: Merge "Add LOCAL_SANITIZE_RECOVER."
* commit 'ba25452fa72fe253654ff246cc176d817e4dec88':
  Add LOCAL_SANITIZE_RECOVER.
2015-04-27 21:04:19 +00:00
Dan Albert ba25452fa7 am 55309f84: am 959f0ecc: Merge "Add LOCAL_SANITIZE_RECOVER."
* commit '55309f847680c6d6f1821fb1abb59e182e229a75':
  Add LOCAL_SANITIZE_RECOVER.
2015-04-27 20:24:52 +00:00
Dan Albert 55309f8476 am 959f0ecc: Merge "Add LOCAL_SANITIZE_RECOVER."
* commit '959f0eccb444876eb4d30ff4d4542c078e5eb307':
  Add LOCAL_SANITIZE_RECOVER.
2015-04-27 20:09:30 +00:00
bohu 22f1bc5db2 Bump sdk arm system image size to 750M
To fix broken build of arm system images.

Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9
(cherry picked from commit 9f42be14b8)
2015-04-27 19:59:57 +00:00
Dan Albert 959f0eccb4 Merge "Add LOCAL_SANITIZE_RECOVER." 2015-04-27 19:53:02 +00:00
bohu c086745239 Merge "Bump sdk arm system image size to 750M" 2015-04-27 19:48:58 +00:00
bohu 9f42be14b8 Bump sdk arm system image size to 750M
To fix broken build of arm system images.

Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9
2015-04-27 12:07:05 -07:00
Dan Albert 4111d4804a Add LOCAL_SANITIZE_RECOVER.
This is needed for projects that have known ubsan issues that we can't
fix right away (perhaps because it's an upstream project that we're
diligent about keeping in sync with upsteam).

Also make the normal ubsan use -fno-sanitize-recover=all by default.

Change-Id: I1b0f3309792f32dbd08c18816d7306e76c8d7c30
2015-04-27 11:07:38 -07:00
Michael Wright 345ee05e77 Add input HAL to device builds
Change-Id: I11d1624947dcc3cdcd0d648de6cc25901c91dac6
2015-04-27 10:19:47 -07:00
Ryosuke Matsuuchi 566239bc2e am 02ff9f36: am 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '02ff9f36d2e962e783126fc136ec490fb4af5069':
2015-04-27 07:38:01 +00:00
Dirk Dougherty 500e64622e am 2b540ab5: am 1bd563a8: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '2b540ab581f769e7ed5102c770311aec0f80b2cd':
2015-04-27 07:38:00 +00:00
Ryosuke Matsuuchi 02ff9f36d2 am 64879ead: am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '64879ead4514463a4efc7dcd00c4339d14136d11':
2015-04-27 07:24:27 +00:00
Dirk Dougherty 2b540ab581 am 1bd563a8: am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '1bd563a8ab4adb1df9b36e07739804453bc37d0c':
2015-04-27 07:24:25 +00:00
Ryosuke Matsuuchi 64879ead45 am 90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '90ac39d2b56171b92f8d136fb8e35a63f8b70ff1':
  doc: Add Korean version of DAC/distribute/ page.
2015-04-26 19:15:27 +00:00
Dirk Dougherty 1bd563a8ab am 42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '4232142313a582939d80209a1449f3e4a08f6701':
  Doc change: increment metadata for updated Distribute landing page content.
2015-04-26 19:15:15 +00:00
Elliott Hughes 4091bdb168 am 6e40faa2: am 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment typo."
* commit '6e40faa241b241f1c32edb40d36f9c407d8f6790':
  Fix a trivial comment typo.
2015-04-25 18:44:03 +00:00
Elliott Hughes 6e40faa241 am 44984951: am 162e1906: am b271669a: Merge "Fix a trivial comment typo."
* commit '449849513b995021e326b3b1a500139cea712ba8':
  Fix a trivial comment typo.
2015-04-25 18:31:57 +00:00
Elliott Hughes 449849513b am 162e1906: am b271669a: Merge "Fix a trivial comment typo."
* commit '162e19061c7fcdf9e212a561f75427cf1126ea67':
  Fix a trivial comment typo.
2015-04-25 18:23:50 +00:00
Elliott Hughes 162e19061c am b271669a: Merge "Fix a trivial comment typo."
* commit 'b271669a0c6dd4287ed1631acecd94c3f443bc8d':
  Fix a trivial comment typo.
2015-04-25 18:10:58 +00:00
Elliott Hughes b271669a0c Merge "Fix a trivial comment typo." 2015-04-25 18:04:21 +00:00
Elliott Hughes ae1d4b0d18 Fix a trivial comment typo.
Bug: https://code.google.com/p/android/issues/detail?id=170069
Change-Id: Iacd308893561a991971b191d4d10a78ca82753d4
2015-04-25 11:02:40 -07:00
Sami Tolvanen 3edeb4e97b am 045d817c: am 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '045d817cce8cb1feb0186b537306cabf1a5069cd':
  Check partition hash before resorting to block_image_verify
2015-04-25 10:01:53 +00:00
Sami Tolvanen 045d817cce am 497b74d5: am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '497b74d5a28d9471566159535038e454ffa15857':
  Check partition hash before resorting to block_image_verify
2015-04-25 09:48:19 +00:00
Sami Tolvanen 497b74d5a2 am d21d1d27: am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit 'd21d1d273b83e701667beeabe0c76fd6888e15fc':
  Check partition hash before resorting to block_image_verify
2015-04-25 09:32:33 +00:00
Sami Tolvanen d21d1d273b am 00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '00e1f0033eede8f23ff72097c98b7fd70a4e349d':
  Check partition hash before resorting to block_image_verify
2015-04-25 08:07:04 +00:00
Sami Tolvanen 00e1f0033e Merge "Check partition hash before resorting to block_image_verify" 2015-04-25 08:00:03 +00:00
Nick Kralevich b126ae9e3a am c98d6b35: am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit 'c98d6b35ba7e9381089b1b7c8b47f384e5772a4f':
  host compiler: enable compiler hardening flags
2015-04-25 05:15:48 +00:00
Nick Kralevich c98d6b35ba am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit '6612d4a0888bce32ff987e9897dede9829b5a822':
  host compiler: enable compiler hardening flags
2015-04-25 05:04:39 +00:00
Nick Kralevich 6612d4a088 am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit 'edc3371aeaf0f963d95b4d8bfb0e35b8b17ee648':
  host compiler: enable compiler hardening flags
2015-04-25 04:54:12 +00:00
Nick Kralevich edc3371aea am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit 'f3a6b07b80a32b822f63cb1d34de64e8395484a8':
  host compiler: enable compiler hardening flags
2015-04-25 04:44:34 +00:00
Nick Kralevich f3a6b07b80 Merge "host compiler: enable compiler hardening flags" 2015-04-25 04:35:46 +00:00
Nick Kralevich 100acd1001 host compiler: enable compiler hardening flags
Enable the following compiler hardening flags:

* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector

relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.

stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.

Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.

Bug: 20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f
2015-04-24 21:26:08 -07:00
Dmitriy Ivanov 0be46e11a6 am 80421984: am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
* commit '804219841d7f581cf78f3f68e13381b6631513a0':
  Pack relocations for mips64
2015-04-25 00:31:30 +00:00
Dmitriy Ivanov 804219841d am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
* commit 'aac1b9d9bfc82aa739c7f38c82538ac73ea1040f':
  Pack relocations for mips64
2015-04-25 00:20:48 +00:00
Dmitriy Ivanov aac1b9d9bf am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
* commit 'f674a67d6ef3d446dd726ce9600bd905815506b6':
  Pack relocations for mips64
2015-04-25 00:09:51 +00:00
Dmitriy Ivanov f674a67d6e am 573dfb7c: Merge "Pack relocations for mips64"
* commit '573dfb7cb8f768452744ddb781cc65412ed1a618':
  Pack relocations for mips64
2015-04-24 23:59:03 +00:00
Dmitriy Ivanov 573dfb7cb8 Merge "Pack relocations for mips64" 2015-04-24 23:52:40 +00:00
Dmitriy Ivanov 155d7cc845 am 7347196a: am df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '7347196acbf640caaf68e4e790489a40d770a083':
  Do not pack relocations for prebuilts by default
2015-04-24 23:36:21 +00:00
Dmitriy Ivanov 8bd30fe3cb Pack relocations for mips64
Bug: http://b/18051137
Change-Id: I063c5d6cf007658c0efe9cb1d65ed8026b3e7dae
2015-04-24 16:34:09 -07:00
Dmitriy Ivanov 7347196acb am df7afb47: am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit 'df7afb47d8d69f53316218dd4b0510aa8201ce7c':
  Do not pack relocations for prebuilts by default
2015-04-24 23:26:31 +00:00
Dmitriy Ivanov df7afb47d8 am 3b023915: am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '3b023915e8374341c6a69cd40b0811e10b3cb1b5':
  Do not pack relocations for prebuilts by default
2015-04-24 23:14:00 +00:00
Dmitriy Ivanov 3b023915e8 am 4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '4fa4e4befd5bc88ab37d7c7b20d3a67d351a1925':
  Do not pack relocations for prebuilts by default
2015-04-24 23:04:46 +00:00