OSDN Git Service

android-x86/system-extras.git
8 years agolibfec: add a function to disable verity
Sami Tolvanen [Tue, 20 Oct 2015 12:23:19 +0000 (13:23 +0100)]
libfec: add a function to disable verity

Add fec_verity_set_status to allow disabling verity on userdebug
builds by updating metadata magic.

Change-Id: I02f83b0d1d4e7ef5cd5d13a37ff0b84f17e23376

8 years agoMerge "Include what we use."
Dan Albert [Mon, 19 Oct 2015 23:59:51 +0000 (23:59 +0000)]
Merge "Include what we use."

8 years agoInclude what we use.
Dan Albert [Mon, 19 Oct 2015 22:57:14 +0000 (15:57 -0700)]
Include what we use.

libc++ used to leak unistd.h, causing ioctl and close to be leaked. It
doesn't anymore, so actually include this.

Change-Id: I510301a71ea0d9526a4862a634c7726053baa8f8

8 years agoMerge "verity: move metadata after the hash tree"
Sami Tolvanen [Mon, 19 Oct 2015 09:49:18 +0000 (09:49 +0000)]
Merge "verity: move metadata after the hash tree"

8 years agoMerge "Setup filesystem for automatic forced repair"
Mohamad Ayyash [Thu, 15 Oct 2015 20:16:03 +0000 (20:16 +0000)]
Merge "Setup filesystem for automatic forced repair"

8 years agoverity: move metadata after the hash tree
Sami Tolvanen [Fri, 25 Sep 2015 13:57:41 +0000 (14:57 +0100)]
verity: move metadata after the hash tree

Move the verity metadata block after the hash tree to make locating
it easier and more reliable.

Needs matching changes from
  I6945cbab99e214566a1f9d3702333f2dbbc35816

Change-Id: Ide48f581bbba77aed6132f77b309db71630d81ed

8 years agoMerge "Add an Android.mk to generate build time configuration."
Bertrand Simonnet [Tue, 13 Oct 2015 19:58:46 +0000 (19:58 +0000)]
Merge "Add an Android.mk to generate build time configuration."

8 years agoAdd an Android.mk to generate build time configuration.
Bertrand SIMONNET [Thu, 8 Oct 2015 20:06:35 +0000 (13:06 -0700)]
Add an Android.mk to generate build time configuration.

Some build time variables need to be installed on the image. Instead of
adding those fields in some system services, create a new Android.mk for
it.

BUG: 24585672

Change-Id: Ia4132ef7a200e7839702fe10f878b70cc4dfff43

8 years agoMerge "slideshow: Switch to android::uptimeMillis"
Sami Tolvanen [Tue, 13 Oct 2015 13:52:11 +0000 (13:52 +0000)]
Merge "slideshow: Switch to android::uptimeMillis"

8 years agoMerge "slideshow: Filter out non key events"
Sami Tolvanen [Tue, 13 Oct 2015 13:51:45 +0000 (13:51 +0000)]
Merge "slideshow: Filter out non key events"

8 years agoslideshow: Switch to android::uptimeMillis
Johan Redestig [Mon, 12 Oct 2015 08:24:30 +0000 (10:24 +0200)]
slideshow: Switch to android::uptimeMillis

time(2) is not guaranteed to always go forward which makes
it a bit dangerous to use in loops like slideshow does.
switch to uptimeMillis which is based on clock_gettime
CLOCK_MONOTONIC which is is safe.

Change-Id: Ica1b7ee50df00fcc7bc849d7eaebe64f62434a47

8 years agoslideshow: Filter out non key events
Johan Redestig [Fri, 9 Oct 2015 11:25:39 +0000 (13:25 +0200)]
slideshow: Filter out non key events

The driver could send EV_SYN events which need
to be filtered out, otherwise we would change
image too soon.

Change-Id: I954e8a4f228da4165a7af3fa544e95a22390a35b

8 years agoMerge "Simpleperf: add runtest for callgraph."
Yabin Cui [Sat, 10 Oct 2015 05:24:10 +0000 (05:24 +0000)]
Merge "Simpleperf: add runtest for callgraph."

8 years agoSimpleperf: add runtest for callgraph.
Yabin Cui [Thu, 8 Oct 2015 18:42:55 +0000 (11:42 -0700)]
Simpleperf: add runtest for callgraph.

Bug: 22885658
Change-Id: Ief8d0f1462f78ceae76a10c3effbbe66e0b3b6c1

8 years agoMerge "slideshow: Trigger on key down only"
Sami Tolvanen [Fri, 9 Oct 2015 09:41:02 +0000 (09:41 +0000)]
Merge "slideshow: Trigger on key down only"

8 years agoMerge "slideshow: Dont crash when -t is used"
Sami Tolvanen [Fri, 9 Oct 2015 09:40:52 +0000 (09:40 +0000)]
Merge "slideshow: Dont crash when -t is used"

8 years agoslideshow: Dont crash when -t is used
Johan Redestig [Fri, 9 Oct 2015 08:37:37 +0000 (10:37 +0200)]
slideshow: Dont crash when -t is used

Change-Id: I68764b86ad05afb3853ed753a28b4a53580cb68c

8 years agoslideshow: Trigger on key down only
Johan Redestig [Fri, 9 Oct 2015 07:54:57 +0000 (09:54 +0200)]
slideshow: Trigger on key down only

Currently slideshow reacts to both key down and release
events which makes the last image just flicker very
briefly.

Change-Id: I5b3215eacf127a7c739826af313c6e1fd0732775

8 years agoMerge "Simpleperf: add a simple gui interface for report command."
Yabin Cui [Thu, 8 Oct 2015 21:44:34 +0000 (21:44 +0000)]
Merge "Simpleperf: add a simple gui interface for report command."

8 years agoSimpleperf: add a simple gui interface for report command.
Yabin Cui [Tue, 6 Oct 2015 21:14:39 +0000 (14:14 -0700)]
Simpleperf: add a simple gui interface for report command.

Change-Id: Ie3293a3f223117bd2dc2b398d0a96f9df8cf484b

8 years agoMerge "Simpleperf: do dwarf unwinding in record command."
Yabin Cui [Tue, 6 Oct 2015 22:02:30 +0000 (22:02 +0000)]
Merge "Simpleperf: do dwarf unwinding in record command."

8 years agoMerge "Simpleperf: add runtest."
Yabin Cui [Tue, 6 Oct 2015 21:03:50 +0000 (21:03 +0000)]
Merge "Simpleperf: add runtest."

8 years agoSimpleperf: add runtest.
Yabin Cui [Fri, 2 Oct 2015 00:24:07 +0000 (17:24 -0700)]
Simpleperf: add runtest.

Bug: 22885658
Change-Id: If710c215340665a8fa7d7bfdcd5a6686598cccbd

8 years agoam 92e11ea1: Merge "Add NOTICE files"
Sami Tolvanen [Mon, 5 Oct 2015 09:03:48 +0000 (09:03 +0000)]
am 92e11ea1: Merge "Add NOTICE files"

* commit '92e11ea1b900fc89cf98604a9e2ebb5c7d570a01':
  Add NOTICE files

8 years agoMerge "Add NOTICE files"
Sami Tolvanen [Mon, 5 Oct 2015 08:04:54 +0000 (08:04 +0000)]
Merge "Add NOTICE files"

8 years agoSimpleperf: do dwarf unwinding in record command.
Yabin Cui [Thu, 1 Oct 2015 00:22:35 +0000 (17:22 -0700)]
Simpleperf: do dwarf unwinding in record command.

As libbacktrace only supports unwinding for the same architecture it is running on, simpleperf
report command running on host can't unwind perf.data collected on device. So we'd better do
unwinding work in record command on device.

Bug: 22229391
Change-Id: I085ca074ea83dab79f08563523bdbc7a36650a64

8 years agoAdd NOTICE files
Sami Tolvanen [Fri, 2 Oct 2015 08:18:08 +0000 (09:18 +0100)]
Add NOTICE files

Bug: 24571219
Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2

8 years agoam eac5440e: Merge "Simpleperf: warn if it can\'t read kernel symbols addresses."
Yabin Cui [Thu, 1 Oct 2015 19:02:28 +0000 (19:02 +0000)]
am eac5440e: Merge "Simpleperf: warn if it can\'t read kernel symbols addresses."

* commit 'eac5440e1fcff3ba0b5ed0779f962e9405918e06':
  Simpleperf: warn if it can't read kernel symbols addresses.

8 years agoMerge "Simpleperf: warn if it can't read kernel symbols addresses."
Yabin Cui [Thu, 1 Oct 2015 18:55:38 +0000 (18:55 +0000)]
Merge "Simpleperf: warn if it can't read kernel symbols addresses."

8 years agoSimpleperf: warn if it can't read kernel symbols addresses.
Yabin Cui [Thu, 1 Oct 2015 18:32:44 +0000 (11:32 -0700)]
Simpleperf: warn if it can't read kernel symbols addresses.

And a little format adjustment.

Bug: 24404256
Change-Id: Ie8dcd37138a693df18101d415e6e3243f4963582

8 years agoam 482fe9e3: Merge "fec: enable building on Mac"
Sami Tolvanen [Tue, 29 Sep 2015 13:12:20 +0000 (13:12 +0000)]
am 482fe9e3: Merge "fec: enable building on Mac"

* commit '482fe9e37737e5d6c7d0a4e0fe303e7d097971aa':
  fec: enable building on Mac

8 years agoMerge "fec: enable building on Mac"
Sami Tolvanen [Tue, 29 Sep 2015 13:07:46 +0000 (13:07 +0000)]
Merge "fec: enable building on Mac"

8 years agofec: enable building on Mac
Sami Tolvanen [Mon, 28 Sep 2015 16:05:11 +0000 (17:05 +0100)]
fec: enable building on Mac

Enable the host libfec and the fec tool to be built on Mac with the
help of <utils/Compat.h>.

Change-Id: I5e7c9fac11f4a00814bad92734e703ec8dc22dc9

8 years agoam 3625af96: Merge "Error correction: Add a tool for en/decoding files"
Sami Tolvanen [Mon, 28 Sep 2015 16:19:36 +0000 (16:19 +0000)]
am 3625af96: Merge "Error correction: Add a tool for en/decoding files"

* commit '3625af964efa97cc7163f88ff711e67fab57af23':
  Error correction: Add a tool for en/decoding files

8 years agoMerge "Error correction: Add a tool for en/decoding files"
Sami Tolvanen [Mon, 28 Sep 2015 16:14:25 +0000 (16:14 +0000)]
Merge "Error correction: Add a tool for en/decoding files"

8 years agoam c82ca9f7: Merge "libfec: fix Mac build"
Sami Tolvanen [Mon, 28 Sep 2015 15:14:14 +0000 (15:14 +0000)]
am c82ca9f7: Merge "libfec: fix Mac build"

* commit 'c82ca9f7c85aa86ce0e1c758e4abddae1e201a15':
  libfec: fix Mac build

8 years agoMerge "libfec: fix Mac build"
Sami Tolvanen [Mon, 28 Sep 2015 15:10:14 +0000 (15:10 +0000)]
Merge "libfec: fix Mac build"

8 years agolibfec: fix Mac build
Sami Tolvanen [Mon, 28 Sep 2015 14:54:42 +0000 (15:54 +0100)]
libfec: fix Mac build

Exclude the host library and executables on Mac.

Change-Id: Ie399b83f3678d16aac67ce9a4414344a93f90055

8 years agoam 13f25b1b: Merge "Error correction: Add libfec to read encoded data"
Sami Tolvanen [Mon, 28 Sep 2015 14:15:57 +0000 (14:15 +0000)]
am 13f25b1b: Merge "Error correction: Add libfec to read encoded data"

* commit '13f25b1b7f337802d3d1ad9d4e57f25737a18045':
  Error correction: Add libfec to read encoded data

8 years agoMerge "Error correction: Add libfec to read encoded data"
Sami Tolvanen [Mon, 28 Sep 2015 14:09:01 +0000 (14:09 +0000)]
Merge "Error correction: Add libfec to read encoded data"

8 years agoam af995fea: Merge "Simpleperf: support dwarf callgraph in report command."
Yabin Cui [Fri, 25 Sep 2015 18:22:38 +0000 (18:22 +0000)]
am af995fea: Merge "Simpleperf: support dwarf callgraph in report command."

* commit 'af995fea111f29215c6a46099f741ebd4566fd5d':
  Simpleperf: support dwarf callgraph in report command.

8 years agoMerge "Simpleperf: support dwarf callgraph in report command."
Yabin Cui [Fri, 25 Sep 2015 18:16:11 +0000 (18:16 +0000)]
Merge "Simpleperf: support dwarf callgraph in report command."

8 years agoError correction: Add a tool for en/decoding files
Sami Tolvanen [Sat, 16 May 2015 14:14:14 +0000 (15:14 +0100)]
Error correction: Add a tool for en/decoding files

Add fec, a tool for generating error-correcting codes for files
and recovering them.

Bug: 21893453
Change-Id: I389c92e5cc7f825d632759b9f96045767e74120a

8 years agoError correction: Add libfec to read encoded data
Sami Tolvanen [Fri, 26 Jun 2015 13:28:31 +0000 (14:28 +0100)]
Error correction: Add libfec to read encoded data

Add libfec to read files or partitions with error-correcting codes
appended to them. Uses verity metadata to speed up I/O and improve
error correction effectiveness.

Bug: 21893453
Change-Id: I94b95058b084418019fc96595bb6055df36e2c2b

8 years agoam a3e9a836: Merge "Simpleperf: fix flaky workload unit tests."
Yabin Cui [Thu, 24 Sep 2015 22:05:10 +0000 (22:05 +0000)]
am a3e9a836: Merge "Simpleperf: fix flaky workload unit tests."

* commit 'a3e9a836bf0d21dc5248622f16c60d8617f54080':
  Simpleperf: fix flaky workload unit tests.

8 years agoMerge "Simpleperf: fix flaky workload unit tests."
Yabin Cui [Thu, 24 Sep 2015 21:59:16 +0000 (21:59 +0000)]
Merge "Simpleperf: fix flaky workload unit tests."

8 years agoSimpleperf: fix flaky workload unit tests.
Yabin Cui [Thu, 24 Sep 2015 19:37:27 +0000 (12:37 -0700)]
Simpleperf: fix flaky workload unit tests.

Move SIGABRT to SIGKILL to make sure the child process is terminated by a signal.
SIGABRT can't guarantee this because the child process can install signal handler for SIGABRT.

Add a final _exit(1) after ChildProcessFn in case execvp() fails.

Change-Id: I353720b10c6ea42826efcafce5ff2699fd246e22

8 years agoam c137c2ba: Merge "Fix multilib build warning."
Ying Wang [Thu, 24 Sep 2015 19:49:55 +0000 (19:49 +0000)]
am c137c2ba: Merge "Fix multilib build warning."

* commit 'c137c2ba3a01c453c75fc0f635aba436cbf25581':
  Fix multilib build warning.

8 years agoMerge "Fix multilib build warning."
Ying Wang [Thu, 24 Sep 2015 19:42:41 +0000 (19:42 +0000)]
Merge "Fix multilib build warning."

8 years agoFix multilib build warning.
Ying Wang [Thu, 24 Sep 2015 19:31:50 +0000 (12:31 -0700)]
Fix multilib build warning.

Change-Id: I3816f7f5352f204795f45d782b8ec80493d78491

8 years agoam 133143c5: Merge "boot_control_copy: Fix getCurrentSlot()."
David Zeuthen [Thu, 24 Sep 2015 17:06:48 +0000 (17:06 +0000)]
am 133143c5: Merge "boot_control_copy: Fix getCurrentSlot()."

* commit '133143c56f336eef6545ef99f4c874dba6637ea6':
  boot_control_copy: Fix getCurrentSlot().

8 years agoMerge "boot_control_copy: Fix getCurrentSlot()."
David Zeuthen [Thu, 24 Sep 2015 16:25:32 +0000 (16:25 +0000)]
Merge "boot_control_copy: Fix getCurrentSlot()."

8 years agoam 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"
Lorenzo Colitti [Thu, 24 Sep 2015 04:47:16 +0000 (04:47 +0000)]
am 8ed1c510: Merge "Add test to exercise the tcp_nuke_addr functionality"

* commit '8ed1c5101b2081784dcece041cf47f765896ef58':
  Add test to exercise the tcp_nuke_addr functionality

8 years agoMerge "Add test to exercise the tcp_nuke_addr functionality"
Lorenzo Colitti [Thu, 24 Sep 2015 04:39:16 +0000 (04:39 +0000)]
Merge "Add test to exercise the tcp_nuke_addr functionality"

8 years agoam 95aef404: Merge "Add a crash test for tcp_nuke_addr."
Lorenzo Colitti [Thu, 24 Sep 2015 04:02:49 +0000 (04:02 +0000)]
am 95aef404: Merge "Add a crash test for tcp_nuke_addr."

* commit '95aef404646b03e3b36a7afc8932ffdc8b8b5ba1':
  Add a crash test for tcp_nuke_addr.

8 years agoMerge "Add a crash test for tcp_nuke_addr."
Lorenzo Colitti [Thu, 24 Sep 2015 03:58:37 +0000 (03:58 +0000)]
Merge "Add a crash test for tcp_nuke_addr."

8 years agoSimpleperf: support dwarf callgraph in report command.
Yabin Cui [Fri, 14 Aug 2015 03:30:20 +0000 (20:30 -0700)]
Simpleperf: support dwarf callgraph in report command.

Use libbacktrace for stack unwinding.

Bug: 22229391
Change-Id: Iab35cdb52936c65c4728e23423ded83050f1db76

8 years agoam 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."
Elliott Hughes [Wed, 23 Sep 2015 18:56:20 +0000 (18:56 +0000)]
am 260e7e2c: Merge "Remove the hack for including libpagemap\'s headers."

* commit '260e7e2c07b1738581c7f0620be6e674ec1a66d1':
  Remove the hack for including libpagemap's headers.

8 years agoMerge "Remove the hack for including libpagemap's headers."
Elliott Hughes [Wed, 23 Sep 2015 18:48:51 +0000 (18:48 +0000)]
Merge "Remove the hack for including libpagemap's headers."

8 years agoboot_control_copy: Fix getCurrentSlot().
David Zeuthen [Wed, 23 Sep 2015 18:07:10 +0000 (14:07 -0400)]
boot_control_copy: Fix getCurrentSlot().

The getCurrentSlot() method wasn't returning the right value if
setActiveBootSlot() was called with another slot since last reboot.

Instead of peeking in the misc partition, just look at the dev_t for
/system and compare it with the dev_t for system_a and system_b.

Bug: 24201805
Change-Id: I601ab5e355e0f423637e6867d0afda97f68b57fd

8 years agoam 34cee2b8: Merge "Use %n to parse maps in libpagemap."
Elliott Hughes [Wed, 23 Sep 2015 05:34:19 +0000 (05:34 +0000)]
am 34cee2b8: Merge "Use %n to parse maps in libpagemap."

* commit '34cee2b8a68c6df87b1abe4f2ef7957dc717044d':
  Use %n to parse maps in libpagemap.

8 years agoRemove the hack for including libpagemap's headers.
Elliott Hughes [Wed, 23 Sep 2015 05:33:10 +0000 (22:33 -0700)]
Remove the hack for including libpagemap's headers.

Change-Id: If75e007111f82178e372c88ab4dce62fd8ff7873

8 years agoMerge "Use %n to parse maps in libpagemap."
Elliott Hughes [Wed, 23 Sep 2015 05:27:36 +0000 (05:27 +0000)]
Merge "Use %n to parse maps in libpagemap."

8 years agoUse %n to parse maps in libpagemap.
Elliott Hughes [Wed, 23 Sep 2015 01:28:04 +0000 (18:28 -0700)]
Use %n to parse maps in libpagemap.

Bug: http://b/24212024
Change-Id: If00782c7af6fde30650045180512132ee5a8fd89

8 years agoam 2f9d35a8: Merge "Example /postinst script module for update_engine."
Alex Deymo [Tue, 22 Sep 2015 01:41:04 +0000 (01:41 +0000)]
am 2f9d35a8: Merge "Example /postinst script module for update_engine."

* commit '2f9d35a840e554bbbbe7b51848e78d827e62b8d1':
  Example /postinst script module for update_engine.

8 years agoMerge "Example /postinst script module for update_engine."
Alex Deymo [Tue, 22 Sep 2015 01:32:55 +0000 (01:32 +0000)]
Merge "Example /postinst script module for update_engine."

8 years agoExample /postinst script module for update_engine.
Alex Deymo [Mon, 21 Sep 2015 23:49:23 +0000 (16:49 -0700)]
Example /postinst script module for update_engine.

The "post-install" program (normally /system/postinst) is a program
stored in the new system but executed from the old system right before
finishing the update. This post-install step provides a way to perform
device-specific tasks needed for old devices to accept the new update
*before* attempting to boot it.

Currently, we don't require any particular task to be performed in this
step, so this is just an example post-install program with some
documentation. Nevertheless, update_engine payload major version 1
requires a /postinst script in the system partition. While we plan to
use payload major version 2 in Brillo, this patch allows to push images
to the pre-release version of update_engine.

Bug: 24194445
Test: `m` includes /postinst in a Brillo target.

Change-Id: I6397537119873c68e0a626a37137ececcf8f03d5

8 years agoresolved conflicts for 6239958b to stage-aosp-master
Yabin Cui [Mon, 21 Sep 2015 19:28:46 +0000 (12:28 -0700)]
resolved conflicts for 6239958b to stage-aosp-master

Change-Id: I66d12e9a15b5e6aecd4938b9ce4ac76a0f3863e4

8 years agoMerge "Simpleperf: rewrite unsupported logging style."
Yabin Cui [Mon, 21 Sep 2015 19:06:56 +0000 (19:06 +0000)]
Merge "Simpleperf: rewrite unsupported logging style."

8 years agoSimpleperf: rewrite unsupported logging style.
Yabin Cui [Fri, 18 Sep 2015 18:10:55 +0000 (11:10 -0700)]
Simpleperf: rewrite unsupported logging style.

Previously we can use a ternary operator to choose the log level, like
(error ? LOG(ERROR) : LOG(DEBUG)) << xxx. But as the LOG() macro is about
to change, we can no longer write like this.

This CL also changes some improper log levels and log messages.

Change-Id: Ib9a55f2ca241516a6e89afad4a733cc07b19570f

8 years agoam 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"
Mark Salyzyn [Sat, 19 Sep 2015 19:52:21 +0000 (19:52 +0000)]
am 6b355fea: Merge "Build Breakage in branch: git_master @ 2265859"

* commit '6b355feae3fe04847f9ea267649eca366b6cf85c':
  Build Breakage in branch: git_master @ 2265859

8 years agoAdd test to exercise the tcp_nuke_addr functionality
Filipe Brandenburger [Fri, 18 Sep 2015 22:37:03 +0000 (15:37 -0700)]
Add test to exercise the tcp_nuke_addr functionality

Change-Id: I5da6a2ae4638a8405c46a03911d1257ca58cc072

8 years agoMerge "Build Breakage in branch: git_master @ 2265859"
Mark Salyzyn [Fri, 18 Sep 2015 21:17:05 +0000 (21:17 +0000)]
Merge "Build Breakage in branch: git_master @ 2265859"

8 years agoBuild Breakage in branch: git_master @ 2265859
Mark Salyzyn [Fri, 18 Sep 2015 21:14:13 +0000 (14:14 -0700)]
Build Breakage in branch: git_master @ 2265859

Split mmap-perf into a 32 and 64-bit version.

Change-Id: I8630d8b62f163990d0f14f3ca48bf9b72df87d45

8 years agoam 50e8ee7d: Merge "Yet another disk performance benchmark."
Mark Salyzyn [Fri, 18 Sep 2015 20:23:20 +0000 (20:23 +0000)]
am 50e8ee7d: Merge "Yet another disk performance benchmark."

* commit '50e8ee7d325260a03f5bf31050db6c04cdea589c':
  Yet another disk performance benchmark.

8 years agoMerge "Yet another disk performance benchmark."
Mark Salyzyn [Fri, 18 Sep 2015 20:17:24 +0000 (20:17 +0000)]
Merge "Yet another disk performance benchmark."

8 years agoYet another disk performance benchmark.
Riley Andrews [Fri, 4 Sep 2015 00:25:14 +0000 (17:25 -0700)]
Yet another disk performance benchmark.

This does memory mapped i/o on huge files, and thus requires
a 64 bit device.

Change-Id: Id91dd59b8c32751b6cb14f166affbd57912f8d28

8 years agoAdd a crash test for tcp_nuke_addr.
Lorenzo Colitti [Mon, 14 Sep 2015 05:54:55 +0000 (14:54 +0900)]
Add a crash test for tcp_nuke_addr.

Bug: 23663111
Change-Id: I3b79362d6a53b7689168488527059ae506161d5f

8 years agoam 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel binary."
Lorenzo Colitti [Fri, 18 Sep 2015 07:27:59 +0000 (07:27 +0000)]
am 7434d1f8: Merge "Allow run_net_test.sh to use a pre-existing kernel binary."

* commit '7434d1f8c965669c4a65d35e79086d757b0eb6db':
  Allow run_net_test.sh to use a pre-existing kernel binary.

8 years agoMerge "Allow run_net_test.sh to use a pre-existing kernel binary."
Lorenzo Colitti [Fri, 18 Sep 2015 07:23:13 +0000 (07:23 +0000)]
Merge "Allow run_net_test.sh to use a pre-existing kernel binary."

8 years agoam c0bc556f: Merge "Annotate more tests with the relevant commits."
Lorenzo Colitti [Fri, 18 Sep 2015 06:19:18 +0000 (06:19 +0000)]
am c0bc556f: Merge "Annotate more tests with the relevant commits."

* commit 'c0bc556fe94bec9d824cb6f9f37a8d4d723070a8':
  Annotate more tests with the relevant commits.

8 years agoAllow run_net_test.sh to use a pre-existing kernel binary.
Lorenzo Colitti [Fri, 18 Sep 2015 02:48:49 +0000 (11:48 +0900)]
Allow run_net_test.sh to use a pre-existing kernel binary.

This is useful to check whether a prebuilt built by the build
server, or one built using build server scripts in a local tree,
passes the tests.

Bug: 23016816
Change-Id: I7001f57c6a7ae335b41eba37caad5aeb2368a223

8 years agoMerge "Annotate more tests with the relevant commits."
Lorenzo Colitti [Fri, 18 Sep 2015 06:13:18 +0000 (06:13 +0000)]
Merge "Annotate more tests with the relevant commits."

8 years agoAnnotate more tests with the relevant commits.
Lorenzo Colitti [Fri, 18 Sep 2015 02:00:19 +0000 (11:00 +0900)]
Annotate more tests with the relevant commits.

Change-Id: Id8a2b2b350d9a58fe42f53cb474c30d891696101

8 years agoam 6e0b388e: Merge "Fix output when -m is not passed"
Colin Cross [Thu, 17 Sep 2015 18:23:46 +0000 (18:23 +0000)]
am 6e0b388e: Merge "Fix output when -m is not passed"

* commit '6e0b388e6e1b9c3453468561f613c26a1e77102b':
  Fix output when -m is not passed

8 years agoam 53133315: Merge "Support TASKSTATS_TYPE_NULL"
Colin Cross [Thu, 17 Sep 2015 18:23:45 +0000 (18:23 +0000)]
am 53133315: Merge "Support TASKSTATS_TYPE_NULL"

* commit '53133315827837d913ed126914e3489ba06429fb':
  Support TASKSTATS_TYPE_NULL

8 years agoMerge "Fix output when -m is not passed"
Colin Cross [Thu, 17 Sep 2015 18:13:08 +0000 (18:13 +0000)]
Merge "Fix output when -m is not passed"

8 years agoFix output when -m is not passed
Colin Cross [Wed, 16 Sep 2015 23:31:31 +0000 (16:31 -0700)]
Fix output when -m is not passed

limit == -1 was being treated as limit == 0, and no tasks were being
printed.

Change-Id: Ie4ec278249bc750a3494e55d483dd983bf7bbdc3

8 years agoMerge "Support TASKSTATS_TYPE_NULL"
Colin Cross [Thu, 17 Sep 2015 18:12:42 +0000 (18:12 +0000)]
Merge "Support TASKSTATS_TYPE_NULL"

8 years agoam ff39d907: Merge "Check command line arguments first."
Gilad Arnold [Thu, 17 Sep 2015 15:15:39 +0000 (15:15 +0000)]
am ff39d907: Merge "Check command line arguments first."

* commit 'ff39d907ea8765e0a3dd8dff1e79333446bb235c':
  Check command line arguments first.

8 years agoMerge "Check command line arguments first."
Gilad Arnold [Thu, 17 Sep 2015 15:09:28 +0000 (15:09 +0000)]
Merge "Check command line arguments first."

8 years agoCheck command line arguments first.
Gilad Arnold [Thu, 17 Sep 2015 12:17:14 +0000 (05:17 -0700)]
Check command line arguments first.

This allows users to see the usage text before attempting to do actual
work. Particularly useful when bootctrl module consistently fails to
load.

Bug: 24157039
Change-Id: Id0f3fa048f4c88ef87156b79f4fff249a77270b4

8 years agoam 510ade28: Merge "boot_signer: allow verification using an external certificate"
Sami Tolvanen [Thu, 17 Sep 2015 10:38:20 +0000 (10:38 +0000)]
am 510ade28: Merge "boot_signer: allow verification using an external certificate"

* commit '510ade28faa0a940965dc2d379c42fa45cdea395':
  boot_signer: allow verification using an external certificate

8 years agoMerge "boot_signer: allow verification using an external certificate"
Sami Tolvanen [Thu, 17 Sep 2015 10:31:11 +0000 (10:31 +0000)]
Merge "boot_signer: allow verification using an external certificate"

8 years agoSupport TASKSTATS_TYPE_NULL
Colin Cross [Wed, 16 Sep 2015 23:28:11 +0000 (16:28 -0700)]
Support TASKSTATS_TYPE_NULL

Some kernels need to pad the netlink packet with an attribute of
type TASKSTATS_TYPE_NULL.

Bug: 24142514
Change-Id: I2745537bacf936325c52a03237ac04459c605271

8 years agoam 35a68e69: Merge "Fix mac build."
Christopher Ferris [Tue, 15 Sep 2015 23:47:24 +0000 (23:47 +0000)]
am 35a68e69: Merge "Fix mac build."

* commit '35a68e69ce08e2d6c2c4696330b0cf918e167559':
  Fix mac build.

8 years agoMerge "Fix mac build."
Christopher Ferris [Tue, 15 Sep 2015 23:29:05 +0000 (23:29 +0000)]
Merge "Fix mac build."

8 years agoFix mac build.
Christopher Ferris [Tue, 15 Sep 2015 23:26:21 +0000 (16:26 -0700)]
Fix mac build.

This disables the host code and host tests on anything but a linux
system.

Change-Id: I1a6396707df216e1c22de537072b10221fcc7fce

8 years agoam 168437c1: Merge "Tool to replay memory allocation recordings."
Christopher Ferris [Tue, 15 Sep 2015 23:15:55 +0000 (23:15 +0000)]
am 168437c1: Merge "Tool to replay memory allocation recordings."

* commit '168437c1ae6cd7fcbad344582efd6a5cfe660ff0':
  Tool to replay memory allocation recordings.

8 years agoMerge "Tool to replay memory allocation recordings."
Christopher Ferris [Tue, 15 Sep 2015 23:04:08 +0000 (23:04 +0000)]
Merge "Tool to replay memory allocation recordings."