OSDN Git Service

android-x86/system-extras.git
9 years agoam 71324fb4: Really disable DAD, and get rid of the sleeps.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:21 +0000 (03:29 +0000)]
am 71324fb4: Really disable DAD, and get rid of the sleeps.

* commit '71324fb493cb2225ec4f957033240af1a827f0a7':
  Really disable DAD, and get rid of the sleeps.

9 years agoam 98eb6fdc: Deflakify the PMTU test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:20 +0000 (03:29 +0000)]
am 98eb6fdc: Deflakify the PMTU test.

* commit '98eb6fdc5f8dc40f3923680cb6a5f38d96b15816':
  Deflakify the PMTU test.

9 years agoam 0a3a775f: Change the error messages.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:20 +0000 (03:29 +0000)]
am 0a3a775f: Change the error messages.

* commit '0a3a775f4e7fec0c3326a88f9cf709e2ba665e7b':
  Change the error messages.

9 years agoam 7a743f13: Test the oif rules using SO_BINDTODEVICE.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:19 +0000 (03:29 +0000)]
am 7a743f13: Test the oif rules using SO_BINDTODEVICE.

* commit '7a743f133a5f6e2a658d82dbcddb88820e03b555':
  Test the oif rules using SO_BINDTODEVICE.

9 years agoam d1d32975: Add more tests.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:18 +0000 (03:29 +0000)]
am d1d32975: Add more tests.

* commit 'd1d32975b8a3da041cea5ee322fe3c99cd313d4a':
  Add more tests.

9 years agoam 455a2a69: Fixes to iproute.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:17 +0000 (03:29 +0000)]
am 455a2a69: Fixes to iproute.

* commit '455a2a6964ec6408d8f7cb2c629a65a34bc43f08':
  Fixes to iproute.

9 years agoam d6d303df: Support adding outgoing interface rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:16 +0000 (03:29 +0000)]
am d6d303df: Support adding outgoing interface rules.

* commit 'd6d303df685e53f93d2a9e15496d2fc083928b74':
  Support adding outgoing interface rules.

9 years agoam 460fefc3: Refactor setup and common code into a superclass.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:15 +0000 (03:29 +0000)]
am 460fefc3: Refactor setup and common code into a superclass.

* commit '460fefc3d5298acaec30377aef26b9f06472d53d':
  Refactor setup and common code into a superclass.

9 years agoam cabf6eb8: Updates to mark_test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:14 +0000 (03:29 +0000)]
am cabf6eb8: Updates to mark_test.

* commit 'cabf6eb8a9816682c90d11cd84cb59d0f2d7f4c9':
  Updates to mark_test.

9 years agoam 15654338: Add support for reading routing rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:14 +0000 (03:29 +0000)]
am 15654338: Add support for reading routing rules.

* commit '15654338bcd6d12f8d360007d38d2e71056da29f':
  Add support for reading routing rules.

9 years agoam 2466e38e: Add a module for dealing with C-style structs.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:13 +0000 (03:29 +0000)]
am 2466e38e: Add a module for dealing with C-style structs.

* commit '2466e38ed01367dd81b1f9b5251040c202e94d0e':
  Add a module for dealing with C-style structs.

9 years agoam d2dab451: Support setting the priority of rules.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:12 +0000 (03:29 +0000)]
am d2dab451: Support setting the priority of rules.

* commit 'd2dab4516b902bdaef56a00c14e0121fd5bc18a9':
  Support setting the priority of rules.

9 years agoam 9c53e8a6: Move ip rule functionality to Python.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:12 +0000 (03:29 +0000)]
am 9c53e8a6: Move ip rule functionality to Python.

* commit '9c53e8a60125235f0c2263a06ba9a9d2b5419f2c':
  Move ip rule functionality to Python.

9 years agoam 124b5aae: Fix lint warnings.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:11 +0000 (03:29 +0000)]
am 124b5aae: Fix lint warnings.

* commit '124b5aae8ca65731b363d898e2da7a543e4b0e3e':
  Fix lint warnings.

9 years agoam a25ebd97: Improve MarkTest.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:10 +0000 (03:29 +0000)]
am a25ebd97: Improve MarkTest.

* commit 'a25ebd97dd121c7f89e59fa440b86ffc9822d012':
  Improve MarkTest.

9 years agoam 717357af: Test mark-based routing for outgoing packets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:09 +0000 (03:29 +0000)]
am 717357af: Test mark-based routing for outgoing packets.

* commit '717357af1ea56f3474a17fb909efc0f86db31e15':
  Test mark-based routing for outgoing packets.

9 years agoam ebb4d67d: Don\'t export ARCH and SUBARCH, set them explicitly
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:08 +0000 (03:29 +0000)]
am ebb4d67d: Don\'t export ARCH and SUBARCH, set them explicitly

* commit 'ebb4d67dbf10140dd48675bc8726013ce3e514f4':
  Don't export ARCH and SUBARCH, set them explicitly

9 years agoam b6b1fc33: Add a README file.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:07 +0000 (03:29 +0000)]
am b6b1fc33: Add a README file.

* commit 'b6b1fc335e4a82f7b2d22ce2f7243649f2fbe13d':
  Add a README file.

9 years agoam 6ef3e4fd: Kernel networking test scripts using UML.
Lorenzo Colitti [Wed, 4 Feb 2015 03:23:25 +0000 (03:23 +0000)]
am 6ef3e4fd: Kernel networking test scripts using UML.

* commit '6ef3e4fdfd823b08aca5ea2c2368e956b5e0eaea':
  Kernel networking test scripts using UML.

9 years agoReally disable DAD, and get rid of the sleeps.
Lorenzo Colitti [Mon, 14 Apr 2014 06:07:05 +0000 (15:07 +0900)]
Really disable DAD, and get rid of the sleeps.

Change-Id: I9209549e265921f18f68fd10b305b51e192e90f2

9 years agoDeflakify the PMTU test.
Lorenzo Colitti [Thu, 10 Apr 2014 11:43:15 +0000 (20:43 +0900)]
Deflakify the PMTU test.

For reasons I don't understand, sending traffic and receiving a
Packet Too Big error just after the network is set up sometimes
doesn't work - the packet doesn't even make it to icmpv6_rcv.

Add a sleep statement to fix this for now.

Change-Id: If1751e005a89f44c4d1784ef46bef97031c90a64

9 years agoChange the error messages.
Lorenzo Colitti [Thu, 10 Apr 2014 10:26:08 +0000 (19:26 +0900)]
Change the error messages.

Change-Id: Iad59231db7b3ed5e3fb8b757569cc203cec3c7dd

9 years agoTest the oif rules using SO_BINDTODEVICE.
Lorenzo Colitti [Tue, 8 Apr 2014 09:05:01 +0000 (18:05 +0900)]
Test the oif rules using SO_BINDTODEVICE.

For now, this only tests incoming connections.

Change-Id: Ie1fcf53786d6c65c7f4ec80eb6573e824e730899

9 years agoAdd more tests.
Lorenzo Colitti [Tue, 8 Apr 2014 09:05:01 +0000 (18:05 +0900)]
Add more tests.

1. Check that toggling forwarding deletes autoconf routes in
   all tables.
2. Add a test for Path MTU discovery (IPv6 only for now).
3. Add a test that checks that there are no leftover routes on
   routing table switch. Currently disabled, because there's no
   way to delete routing tables in Linux.

Change-Id: Ie21a2d2c14304d9c0fb7cd688b90cb8715e0bd68

9 years agoFixes to iproute.
Lorenzo Colitti [Thu, 10 Apr 2014 07:17:49 +0000 (16:17 +0900)]
Fixes to iproute.

1. Expect NLMSG_DONE after a dump. Otherwise, the NLMSG_DONE
   message will remain in the socket buffer and the next read on
   the socket (e.g., the read for an ACK) will get an unexpected
   message.
2. Properly pad attributes that are not multiples of 4 bytes
   long. This is useful, for example, for interface names, which
   are not necessarily a multiple of 4 characters long.

Change-Id: I08872ae6b287ec24231fdb4c9e54852c87daca69

9 years agoSupport adding outgoing interface rules.
Lorenzo Colitti [Tue, 8 Apr 2014 08:40:30 +0000 (17:40 +0900)]
Support adding outgoing interface rules.

Also add the ability for verbose debugging.

Change-Id: I7bc4b03bfdb30e554c2a6c9594845f2da6594e0f

9 years agoRefactor setup and common code into a superclass.
Lorenzo Colitti [Tue, 8 Apr 2014 06:45:08 +0000 (15:45 +0900)]
Refactor setup and common code into a superclass.

Change-Id: Iee489954175de6eec12b711d6c3ebb9a64cfd6c3

9 years agoUpdates to mark_test.
Lorenzo Colitti [Fri, 4 Apr 2014 11:22:24 +0000 (20:22 +0900)]
Updates to mark_test.

1. UID routing.
 - Also test per-UID routing, if supported by the kernel.

2. Sysctl changes.
 - Refactor code that sets sysctls, and robustly restore them in
   tearDown.
 - Check for the TCP FWMARK reflect sysctl.
 - Support separate sysctls for IPv4 and IPv6 mark reflection.
 - Switch to using the per-interface RA sysctl, and configure
   routing manually if it's not there.

3. Test coverage.
 - Test TCP FIN and FIN+ACK. This not only increases coverage
   but also makes the test more robust, since retransmitted FINs
   won't confuse other reflection tests.
 - Test behaviour with the mark sysctls off.

4. Robustness changes.
 - Run the reflect and accept tests multiple times to help
   expose any flaky behaviour.
 - Skip multicast packets. This makes things more robust, as
   previously, code that was expecting no packets would fail
   because it would receive an RS instead.

5. Readability improvements.
 - Move code around to make it a bit more readable.

Change-Id: Ieb5f81a1ec077d25d49b212cecbe82c527d69002

9 years agoAdd support for reading routing rules.
Lorenzo Colitti [Fri, 4 Apr 2014 11:18:37 +0000 (20:18 +0900)]
Add support for reading routing rules.

Change-Id: I24e04f691cb5688d87da0b880ce6000fcc22c781

9 years agoAdd a module for dealing with C-style structs.
Lorenzo Colitti [Fri, 4 Apr 2014 11:18:08 +0000 (20:18 +0900)]
Add a module for dealing with C-style structs.

Change-Id: I3faec98ba24aefe9c7eb211ac2c5f95f9f11e027

9 years agoSupport setting the priority of rules.
Lorenzo Colitti [Tue, 1 Apr 2014 08:20:47 +0000 (17:20 +0900)]
Support setting the priority of rules.

Change-Id: I625443a3a7491d16f07e5b7d03e87195adbe457f

9 years agoMove ip rule functionality to Python.
Lorenzo Colitti [Tue, 1 Apr 2014 06:08:35 +0000 (15:08 +0900)]
Move ip rule functionality to Python.

This allows us to experiment with ip rules without having to
compile a modified ip binary for the VM architecture.

Change-Id: Ibb0bc510fc2b1686712b94fffae6f1cea26a82bf

9 years agoFix lint warnings.
Lorenzo Colitti [Mon, 31 Mar 2014 05:33:59 +0000 (14:33 +0900)]
Fix lint warnings.

Change-Id: I1eb3d3b5e182c77e77f33860fe48003ed4cb85cd

9 years agoImprove MarkTest.
Lorenzo Colitti [Mon, 31 Mar 2014 04:25:48 +0000 (13:25 +0900)]
Improve MarkTest.

1. Add TCP SYN+ACK tests including syncookies and checks that
   accepting connections succeeids and that the sockets returned
   by accept() are marked.
2. Mark the tests more robust with respect to extra packets by
   always explicitly expecting packets (including when testing
   outgoing kernel-generated packets) and looking for them
   anywhere in the queue instead of insisting they're the first
   packet in the queue.
3. Make the tests more robust by using random source port,
   disabling ICMP rate limits, setting SO_REUSEADDR, and
   clearing queues more reliably.
4. Move from 2 to 4 interfaces (mostly made possible by the
   robustness improvements above).
5. Use named constants instead of repeating the numbers in
   multiple places.

Change-Id: I596e557a7eea02ccf603c812a9b8ea6f5b2f95da

9 years agoTest mark-based routing for outgoing packets.
Lorenzo Colitti [Fri, 28 Mar 2014 04:18:28 +0000 (13:18 +0900)]
Test mark-based routing for outgoing packets.

Change-Id: Ifd696803f22a29bae162ab1d21d7b3552b9b80d3

9 years agoDon't export ARCH and SUBARCH, set them explicitly
Lorenzo Colitti [Fri, 28 Mar 2014 04:16:12 +0000 (13:16 +0900)]
Don't export ARCH and SUBARCH, set them explicitly

Change-Id: I1f3637202e78ba1c9448769251e641ba0af17624

9 years agoAdd a README file.
Lorenzo Colitti [Fri, 28 Mar 2014 01:18:43 +0000 (10:18 +0900)]
Add a README file.

Change-Id: Iaf13f68c96f3ebbd611dc668689d468d5b0261fd

9 years agoKernel networking test scripts using UML.
Lorenzo Colitti [Thu, 27 Mar 2014 11:10:14 +0000 (20:10 +0900)]
Kernel networking test scripts using UML.

Change-Id: I28a9901e01a53e3dde551b6c8abf6391fe4354a4

9 years agoam 22669b72: Merge "Add missing includes."
Elliott Hughes [Fri, 30 Jan 2015 21:16:15 +0000 (21:16 +0000)]
am 22669b72: Merge "Add missing includes."

* commit '22669b72523d4aee0f5756515c42df82ed67eda7':
  Add missing includes.

9 years agoMerge "Add missing includes."
Elliott Hughes [Fri, 30 Jan 2015 06:25:28 +0000 (06:25 +0000)]
Merge "Add missing includes."

9 years agoAdd missing includes.
Elliott Hughes [Fri, 30 Jan 2015 05:26:35 +0000 (21:26 -0800)]
Add missing includes.

Change-Id: Ie3acca064c1bcecb4e0305e61f01ba8cea4abe03

9 years agoam 9b1f7c8f: Merge "Add missing <string.h> include."
Elliott Hughes [Thu, 29 Jan 2015 16:46:30 +0000 (16:46 +0000)]
am 9b1f7c8f: Merge "Add missing <string.h> include."

* commit '9b1f7c8f3f7f8d52992fc48146dc0362b01dadf3':
  Add missing <string.h> include.

9 years agoMerge "Add missing <string.h> include."
Elliott Hughes [Thu, 29 Jan 2015 06:30:28 +0000 (06:30 +0000)]
Merge "Add missing <string.h> include."

9 years agoAdd missing <string.h> include.
Elliott Hughes [Thu, 29 Jan 2015 06:28:13 +0000 (22:28 -0800)]
Add missing <string.h> include.

Change-Id: I7262823b75bbcce47697fe246f6c8e902a931c8c

9 years agoam 7efbc114: Merge "Add missing <string.h> include."
Elliott Hughes [Wed, 28 Jan 2015 19:26:23 +0000 (19:26 +0000)]
am 7efbc114: Merge "Add missing <string.h> include."

* commit '7efbc1146e91258fecb69ac06c3f52b68afe312e':
  Add missing <string.h> include.

9 years agoMerge "Add missing <string.h> include."
Elliott Hughes [Wed, 28 Jan 2015 19:19:36 +0000 (19:19 +0000)]
Merge "Add missing <string.h> include."

9 years agoAdd missing <string.h> include.
Elliott Hughes [Wed, 28 Jan 2015 19:18:24 +0000 (11:18 -0800)]
Add missing <string.h> include.

Change-Id: Iffdfed00ac49a7920844fa5f9e1a3ffc6a77e641

9 years agoam fcd4849c: Merge "Remove superfluous OpenSSL include paths."
Kenny Root [Mon, 26 Jan 2015 19:12:23 +0000 (19:12 +0000)]
am fcd4849c: Merge "Remove superfluous OpenSSL include paths."

* commit 'fcd4849c30a5e81ed494b0392e175d2d9be67ab7':
  Remove superfluous OpenSSL include paths.

9 years agoMerge "Remove superfluous OpenSSL include paths."
Kenny Root [Mon, 26 Jan 2015 18:53:14 +0000 (18:53 +0000)]
Merge "Remove superfluous OpenSSL include paths."

9 years agoRemove superfluous OpenSSL include paths.
Adam Langley [Fri, 23 Jan 2015 01:18:02 +0000 (17:18 -0800)]
Remove superfluous OpenSSL include paths.

The libcrypto and libssl modules (and their respective static and host
versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module
is sufficient.

Change-Id: I9b5360bb3af65a629c3e7bc6963a7fac78879c5f

9 years agoam 89919a03: Merge "Include bn.h for BN_ functions."
Geremy Condra [Thu, 22 Jan 2015 00:13:20 +0000 (00:13 +0000)]
am 89919a03: Merge "Include bn.h for BN_ functions."

* commit '89919a03f0eee8f9413c0ed64ef0e7fd5388557b':
  Include bn.h for BN_ functions.

9 years agoMerge "Include bn.h for BN_ functions."
Geremy Condra [Wed, 21 Jan 2015 18:39:57 +0000 (18:39 +0000)]
Merge "Include bn.h for BN_ functions."

9 years agoInclude bn.h for BN_ functions.
Adam Langley [Wed, 21 Jan 2015 02:25:27 +0000 (18:25 -0800)]
Include bn.h for BN_ functions.

The BN_ functions used in this source file require bn.h to be included.
At the moment, a transitive include via evp.h is keeping the build
working, but we shouldn't depend on that.

Change-Id: I7153f29ca61d53e6abb7a9df78d0c6aceccafdb2

9 years agoam 368d0a31: Merge "make_ext4fs: workaround for a glibc scandir bug"
Elliott Hughes [Thu, 8 Jan 2015 17:57:43 +0000 (17:57 +0000)]
am 368d0a31: Merge "make_ext4fs: workaround for a glibc scandir bug"

* commit '368d0a31ffb0613dadd2e6b5e7929d8d7b15f764':
  make_ext4fs: workaround for a glibc scandir bug

9 years agoMerge "make_ext4fs: workaround for a glibc scandir bug"
Elliott Hughes [Thu, 8 Jan 2015 17:46:31 +0000 (17:46 +0000)]
Merge "make_ext4fs: workaround for a glibc scandir bug"

9 years agomake_ext4fs: workaround for a glibc scandir bug
Mihai Serban [Wed, 7 Jan 2015 10:44:24 +0000 (12:44 +0200)]
make_ext4fs: workaround for a glibc scandir bug

Due to a bug in glibc scandir the make_ext4fs tool fails sometimes
with error message:
"error: build_directory_structure: scandir: Cannot allocate memory"
A simple retry of the failed scandir in case errno is ENOMEM
greatly increases the chances to finish the operation successfully.

The scandir bug is reported here:
https://sourceware.org/bugzilla/show_bug.cgi?id=17804

Change-Id: I87fa283106c0215e4b358459022497d9ec1edb60
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
9 years agoresolved conflicts for merge of 3701548f to lmp-mr1-dev-plus-aosp
David 'Digit' Turner [Mon, 5 Jan 2015 16:08:40 +0000 (17:08 +0100)]
resolved conflicts for merge of 3701548f to lmp-mr1-dev-plus-aosp

Change-Id: I186fcab7c0d55c1cb60a56429792601f6ae6f2e0

9 years agoMerge "ext4_utils: Support -L LABEL option on mkuserimg"
David Turner [Mon, 5 Jan 2015 15:32:31 +0000 (15:32 +0000)]
Merge "ext4_utils: Support -L LABEL option on mkuserimg"

9 years agoam c8e992de: Merge "Fix missing #includes in system/extras."
Elliott Hughes [Tue, 30 Dec 2014 12:21:16 +0000 (12:21 +0000)]
am c8e992de: Merge "Fix missing #includes in system/extras."

* commit 'c8e992de8e6464d84bdfbad495997618b85b9075':
  Fix missing #includes in system/extras.

9 years agoMerge "Fix missing #includes in system/extras."
Elliott Hughes [Mon, 29 Dec 2014 21:17:25 +0000 (21:17 +0000)]
Merge "Fix missing #includes in system/extras."

9 years agoFix missing #includes in system/extras.
Elliott Hughes [Mon, 29 Dec 2014 20:29:50 +0000 (12:29 -0800)]
Fix missing #includes in system/extras.

Change-Id: I78000cea6b2012f571e596ed400b3f04847cb761

9 years agoext4_utils: Support -L LABEL option on mkuserimg
Christoffer Dall [Wed, 17 Dec 2014 20:35:37 +0000 (21:35 +0100)]
ext4_utils: Support -L LABEL option on mkuserimg

When creating Android images it is practical to be able to specify a
filesystem label on the image files, which can be used to identify
images for the right mount point.

Change-Id: If0cefab3bb8ee27d2da15741ea709f1583ebb2e0
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
9 years agoam e37c6986: Merge "Add missing fcntl.h for pagingtest.c."
Yabin Cui [Wed, 10 Dec 2014 06:43:13 +0000 (06:43 +0000)]
am e37c6986: Merge "Add missing fcntl.h for pagingtest.c."

* commit 'e37c6986b7db382fa93d2fbf9b679681efa60016':
  Add missing fcntl.h for pagingtest.c.

9 years agoMerge "Add missing fcntl.h for pagingtest.c."
Yabin Cui [Wed, 10 Dec 2014 06:31:02 +0000 (06:31 +0000)]
Merge "Add missing fcntl.h for pagingtest.c."

9 years agoAdd missing fcntl.h for pagingtest.c.
Yabin Cui [Wed, 10 Dec 2014 06:29:50 +0000 (22:29 -0800)]
Add missing fcntl.h for pagingtest.c.

Change-Id: I32ff00c9e00978b0d5787beb96c2bd1ad3455910

9 years agoam 97c6f43c: Merge "Change file to include sys/time.h directly."
Yabin Cui [Wed, 10 Dec 2014 06:05:04 +0000 (06:05 +0000)]
am 97c6f43c: Merge "Change file to include sys/time.h directly."

* commit '97c6f43c51ac6efa2174fef523276494b9975011':
  Change file to include sys/time.h directly.

9 years agoMerge "Change file to include sys/time.h directly."
Yabin Cui [Wed, 10 Dec 2014 05:49:33 +0000 (05:49 +0000)]
Merge "Change file to include sys/time.h directly."

9 years agoChange file to include sys/time.h directly.
Yabin Cui [Wed, 10 Dec 2014 05:13:23 +0000 (21:13 -0800)]
Change file to include sys/time.h directly.

Bug: 18627763
Change-Id: Iba26399ab1ae1ae2a37246415bec02d9f9f7c300

9 years agoam 5ebcac32: Merge "Use "-z muldefs" to work around duplicate symbol issues."
Stephen Hines [Thu, 4 Dec 2014 19:52:17 +0000 (19:52 +0000)]
am 5ebcac32: Merge "Use "-z muldefs" to work around duplicate symbol issues."

* commit '5ebcac32772426a8bc0cb0cd15502207f1476011':
  Use "-z muldefs" to work around duplicate symbol issues.

9 years agoMerge "Use "-z muldefs" to work around duplicate symbol issues."
Stephen Hines [Thu, 4 Dec 2014 02:51:30 +0000 (02:51 +0000)]
Merge "Use "-z muldefs" to work around duplicate symbol issues."

9 years agoUse "-z muldefs" to work around duplicate symbol issues.
Stephen Hines [Tue, 2 Dec 2014 18:41:37 +0000 (10:41 -0800)]
Use "-z muldefs" to work around duplicate symbol issues.

Bug: 18389563

The duplicate symbols arise as part of a compiler-rt update, which impacts
libc++_static.a (and causes conflicts with the symbols in libgcc.a).

Change-Id: I67d25c5ffcf6bbf199593a07917b1dc739301a57

9 years agoam f511e6a2: Merge "Fix build in C++11 mode"
Dan Albert [Fri, 28 Nov 2014 05:45:20 +0000 (05:45 +0000)]
am f511e6a2: Merge "Fix build in C++11 mode"

* commit 'f511e6a2fa049753f64bd737a4d74ff0f88cc611':
  Fix build in C++11 mode

9 years agoMerge "Fix build in C++11 mode"
Dan Albert [Fri, 28 Nov 2014 05:34:38 +0000 (05:34 +0000)]
Merge "Fix build in C++11 mode"

9 years agoFix build in C++11 mode
Bernhard Rosenkränzer [Fri, 28 Nov 2014 00:57:48 +0000 (01:57 +0100)]
Fix build in C++11 mode

"PRIu64 is a C++11 literal -- fix it by adding a space

Change-Id: I760bfc31b47c87adbc9d9f224ecfbf08fffcc2e2
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 50fd9b41: Merge "bionic libc tests: clean up the tests for setjmp"
Elliott Hughes [Thu, 27 Nov 2014 13:54:44 +0000 (13:54 +0000)]
am 50fd9b41: Merge "bionic libc tests: clean up the tests for setjmp"

* commit '50fd9b419e75a0468e89fee48a26c622edf03b75':
  bionic libc tests: clean up the tests for setjmp

9 years agoMerge "bionic libc tests: clean up the tests for setjmp"
Elliott Hughes [Thu, 27 Nov 2014 03:43:34 +0000 (03:43 +0000)]
Merge "bionic libc tests: clean up the tests for setjmp"

9 years agoam 9f5593c7: Merge "Remove reference to dead init.testmenu."
Elliott Hughes [Tue, 25 Nov 2014 18:52:25 +0000 (18:52 +0000)]
am 9f5593c7: Merge "Remove reference to dead init.testmenu."

* commit '9f5593c779babb916914e29bb3ae9e5c7b04f907':
  Remove reference to dead init.testmenu.

9 years agoMerge "Remove reference to dead init.testmenu."
Elliott Hughes [Mon, 24 Nov 2014 21:06:48 +0000 (21:06 +0000)]
Merge "Remove reference to dead init.testmenu."

9 years agoRemove reference to dead init.testmenu.
Elliott Hughes [Mon, 24 Nov 2014 20:00:36 +0000 (12:00 -0800)]
Remove reference to dead init.testmenu.

Change-Id: Ibca7ba5f0129c26900b9833c1dc34b86ed8e8e54

9 years agoam 17ba6f0d: Merge "Add a reference C implementation for verifying signatures" into...
Paul Lawrence [Sat, 22 Nov 2014 02:33:23 +0000 (02:33 +0000)]
am 17ba6f0d: Merge "Add a reference C implementation for verifying signatures" into lmp-mr1-dev

* commit '17ba6f0d475126d0a89d5f276d0973bc87df6bc9':
  Add a reference C implementation for verifying signatures

9 years agoMerge "Add a reference C implementation for verifying signatures" into lmp-mr1-dev
Paul Lawrence [Fri, 21 Nov 2014 23:38:27 +0000 (23:38 +0000)]
Merge "Add a reference C implementation for verifying signatures" into lmp-mr1-dev

9 years agoam 0bb5c17b: Merge "Make memtrack an optional module."
Dan Albert [Fri, 21 Nov 2014 22:23:27 +0000 (22:23 +0000)]
am 0bb5c17b: Merge "Make memtrack an optional module."

* commit '0bb5c17b81fb042c62e11c744c081ee4378c6a1c':
  Make memtrack an optional module.

9 years agoMerge "Make memtrack an optional module."
Dan Albert [Fri, 21 Nov 2014 22:13:08 +0000 (22:13 +0000)]
Merge "Make memtrack an optional module."

9 years agoMake memtrack an optional module.
Dan Albert [Fri, 21 Nov 2014 21:43:57 +0000 (13:43 -0800)]
Make memtrack an optional module.

This isn't really _needed_ (someone correct me if I'm wrong), and
right now it's preventing some of us from building for flounder
because of the segfaults in ld.

Change-Id: I5bdf81e1daca757e332447af61523c9e2b941a70

9 years agoAdd a reference C implementation for verifying signatures
Sami Tolvanen [Thu, 20 Nov 2014 13:22:58 +0000 (13:22 +0000)]
Add a reference C implementation for verifying signatures

Due to OEM requests, add a reference implementation for boot/recovery
image signature verification in C. The tool uses OpenSSL for ASN.1 and
crypto routines.

Bug: 18120110
Change-Id: I9f6c59e0b338b68f35ac1c2c4d83c10d31d70cd9

9 years agoam e1eaca2e: Merge "More C++11 compatibility."
Dan Albert [Fri, 21 Nov 2014 02:52:43 +0000 (02:52 +0000)]
am e1eaca2e: Merge "More C++11 compatibility."

* commit 'e1eaca2e35770216fb46ae363ccf050289a7b054':
  More C++11 compatibility.

9 years agoMerge "More C++11 compatibility."
Dan Albert [Fri, 21 Nov 2014 02:41:41 +0000 (02:41 +0000)]
Merge "More C++11 compatibility."

9 years agoSupport [-j <journal_size>] in mkuserimg.sh automerge: 8f85f69
Ying Wang [Fri, 21 Nov 2014 02:38:14 +0000 (02:38 +0000)]
Support [-j <journal_size>] in mkuserimg.sh automerge: 8f85f69
automerge: 4ea0822

* commit '4ea082291fdfd14969e537fe9f999bc380a98010':
  Support [-j <journal_size>] in mkuserimg.sh

9 years agoMore C++11 compatibility.
Dan Albert [Fri, 21 Nov 2014 02:32:52 +0000 (18:32 -0800)]
More C++11 compatibility.

Bug: 18466763
Change-Id: Ia308b7c8017cfdb7bebf5c307730ef3f0ef6f572

9 years agoSupport [-j <journal_size>] in mkuserimg.sh
Ying Wang [Thu, 20 Nov 2014 20:22:42 +0000 (20:22 +0000)]
Support [-j <journal_size>] in mkuserimg.sh
automerge: 8f85f69

* commit '8f85f69f43dc3a2943d33d0d47740b2528a0735f':
  Support [-j <journal_size>] in mkuserimg.sh

9 years agoSupport [-j <journal_size>] in mkuserimg.sh
Ying Wang [Wed, 19 Nov 2014 02:06:56 +0000 (18:06 -0800)]
Support [-j <journal_size>] in mkuserimg.sh

Bug: 18430740

(cherry picked from commit 1ec61e7ac5fd7553b143231e8d650ef4ba432344)

Change-Id: I8704dfd4f91373261b03d7943e40cc9fdf39a0a7

9 years agoam 1ec61e7a: Support [-j <journal_size>] in mkuserimg.sh
Ying Wang [Wed, 19 Nov 2014 19:28:25 +0000 (19:28 +0000)]
am 1ec61e7a: Support [-j <journal_size>] in mkuserimg.sh

* commit '1ec61e7ac5fd7553b143231e8d650ef4ba432344':
  Support [-j <journal_size>] in mkuserimg.sh

9 years agoSupport [-j <journal_size>] in mkuserimg.sh
Ying Wang [Wed, 19 Nov 2014 02:06:56 +0000 (18:06 -0800)]
Support [-j <journal_size>] in mkuserimg.sh

Bug: 18430740
Change-Id: Ia76cd4ef1b35c48c60c4922d7d28b21978d56159

9 years agoam 241f964e: Add signature verification to keystore and verity signers
Sami Tolvanen [Tue, 18 Nov 2014 16:27:23 +0000 (16:27 +0000)]
am 241f964e: Add signature verification to keystore and verity signers

* commit '241f964e10ce8bc6c401073854fdaf1662013dae':
  Add signature verification to keystore and verity signers

9 years agoAdd signature verification to keystore and verity signers
Sami Tolvanen [Fri, 14 Nov 2014 14:51:25 +0000 (14:51 +0000)]
Add signature verification to keystore and verity signers

This change adds -verify flags to keystore and verity signers for
verifying the signatures of the signed content generated by the
same tools. This allows implementers of verified boot to test and
verify the correctness of their implementations.

Bug: 15984840
Change-Id: I327de9c3a9e035cd11dc5022e978c840cd37581c

9 years agoam d2a8aad0: Merge "Move system/extras to libc++."
Dan Albert [Sun, 16 Nov 2014 17:35:38 +0000 (17:35 +0000)]
am d2a8aad0: Merge "Move system/extras to libc++."

* commit 'd2a8aad0cd6dfa5f3d3b1fa1162cdcc9601588fc':
  Move system/extras to libc++.

9 years agoMerge "Move system/extras to libc++."
Dan Albert [Sun, 16 Nov 2014 17:27:04 +0000 (17:27 +0000)]
Merge "Move system/extras to libc++."

9 years agoMove system/extras to libc++.
Dan Albert [Sun, 16 Nov 2014 02:50:10 +0000 (18:50 -0800)]
Move system/extras to libc++.

Bug: 15193147
Change-Id: I2188179aa315b6b94493135cfb243d5a9018fd10

9 years agoam 40193d94: Fix comments in BootSignature.java.
Sami Tolvanen [Fri, 14 Nov 2014 17:17:44 +0000 (17:17 +0000)]
am 40193d94: Fix comments in BootSignature.java.

* commit '40193d94182934b37f4b2ae00fde2402583e59e1':
  Fix comments in BootSignature.java.

9 years agoFix comments in BootSignature.java.
Sami Tolvanen [Fri, 14 Nov 2014 11:00:18 +0000 (11:00 +0000)]
Fix comments in BootSignature.java.

Clearly mark the comment above main() as an example and fix
the parameters in the example command. Also briefly document
the arguments in the main function for clarity.

Bug: 18376609
Change-Id: I84eaf75799a8128100eb97c70e04563c609e9928