OSDN Git Service

android-x86/system-extras.git
8 years agoMerge "Fix build on non-neon targets." am: de104595f3 am: fcf974b439
Christopher Ferris [Thu, 5 Nov 2015 21:56:24 +0000 (21:56 +0000)]
Merge "Fix build on non-neon targets." am: de104595f3 am: fcf974b439
am: 70e4f0ee83

* commit '70e4f0ee834961217a6776e68cbdc14431fea359':
  Fix build on non-neon targets.

8 years agoMerge "Fix build on non-neon targets." am: de104595f3
Christopher Ferris [Thu, 5 Nov 2015 21:50:33 +0000 (21:50 +0000)]
Merge "Fix build on non-neon targets." am: de104595f3
am: fcf974b439

* commit 'fcf974b4399c556a60947fccb5e7f2daf6228867':
  Fix build on non-neon targets.

8 years agoMerge "Fix build on non-neon targets."
Christopher Ferris [Thu, 5 Nov 2015 21:46:51 +0000 (21:46 +0000)]
Merge "Fix build on non-neon targets."
am: de104595f3

* commit 'de104595f3b2001658b50278725d2a7491d724a6':
  Fix build on non-neon targets.

8 years agoMerge "Fix build on non-neon targets."
Christopher Ferris [Thu, 5 Nov 2015 21:42:20 +0000 (21:42 +0000)]
Merge "Fix build on non-neon targets."

8 years agoFix build on non-neon targets.
Christopher Ferris [Thu, 5 Nov 2015 21:41:24 +0000 (13:41 -0800)]
Fix build on non-neon targets.

Change-Id: I6f766ffcab394bd9d0e4f891ed2eff7ff1fa8fdc

8 years agoMerge "Allow creating 32 bit memtest on arm64." am: a3ed8dc78d am: 204dedb3d4
Christopher Ferris [Thu, 5 Nov 2015 21:07:39 +0000 (21:07 +0000)]
Merge "Allow creating 32 bit memtest on arm64." am: a3ed8dc78d am: 204dedb3d4
am: 2aaed157b0

* commit '2aaed157b00e1536952e838f3cf8384021997b44':
  Allow creating 32 bit memtest on arm64.

8 years agoMerge "Allow creating 32 bit memtest on arm64." am: a3ed8dc78d
Christopher Ferris [Thu, 5 Nov 2015 21:04:54 +0000 (21:04 +0000)]
Merge "Allow creating 32 bit memtest on arm64." am: a3ed8dc78d
am: 204dedb3d4

* commit '204dedb3d4ca03feda6067a0437e099ed4b3dfc9':
  Allow creating 32 bit memtest on arm64.

8 years agoMerge "Allow creating 32 bit memtest on arm64."
Christopher Ferris [Thu, 5 Nov 2015 21:02:17 +0000 (21:02 +0000)]
Merge "Allow creating 32 bit memtest on arm64."
am: a3ed8dc78d

* commit 'a3ed8dc78da05a47b127a9d2518961e63f28850e':
  Allow creating 32 bit memtest on arm64.

8 years agoMerge "Allow creating 32 bit memtest on arm64."
Christopher Ferris [Thu, 5 Nov 2015 20:58:43 +0000 (20:58 +0000)]
Merge "Allow creating 32 bit memtest on arm64."

8 years agoAllow creating 32 bit memtest on arm64.
Christopher Ferris [Thu, 5 Nov 2015 20:53:10 +0000 (12:53 -0800)]
Allow creating 32 bit memtest on arm64.

Also do a bit of cleanup in the makefile and a few of the files.

Change-Id: I10d9442a5105f47fe361b5b4fb031989150429d3

8 years agoMerge "Simpleperf: add test for cpu offline whiling recording." am: 09ae351f68 am...
Yabin Cui [Thu, 5 Nov 2015 18:34:43 +0000 (18:34 +0000)]
Merge "Simpleperf: add test for cpu offline whiling recording." am: 09ae351f68 am: 01462b310a
am: 64bdc46345

* commit '64bdc463455866db1e9b4767cee81d73c266084f':
  Simpleperf: add test for cpu offline whiling recording.

8 years agoMerge "Simpleperf: add test for cpu offline whiling recording." am: 09ae351f68
Yabin Cui [Thu, 5 Nov 2015 18:29:30 +0000 (18:29 +0000)]
Merge "Simpleperf: add test for cpu offline whiling recording." am: 09ae351f68
am: 01462b310a

* commit '01462b310a69da9b9282a94c2bf86a4bd8287a08':
  Simpleperf: add test for cpu offline whiling recording.

8 years agoMerge "Simpleperf: add test for cpu offline whiling recording."
Yabin Cui [Thu, 5 Nov 2015 18:27:43 +0000 (18:27 +0000)]
Merge "Simpleperf: add test for cpu offline whiling recording."
am: 09ae351f68

* commit '09ae351f68315adb8921f7bb3e69cfaab83628e1':
  Simpleperf: add test for cpu offline whiling recording.

8 years agoMerge "Simpleperf: add test for cpu offline whiling recording."
Yabin Cui [Thu, 5 Nov 2015 18:23:25 +0000 (18:23 +0000)]
Merge "Simpleperf: add test for cpu offline whiling recording."

8 years agoMerge "Populate BRILLO_PRODUCT_ID from the product config" am: d279f0614d am: fad999d7c6
Will Drewry [Thu, 5 Nov 2015 03:35:06 +0000 (03:35 +0000)]
Merge "Populate BRILLO_PRODUCT_ID from the product config" am: d279f0614d am: fad999d7c6
am: de5ec61c41

* commit 'de5ec61c4169f7449cb91955b8643af8ab8ded82':
  Populate BRILLO_PRODUCT_ID from the product config

8 years agoMerge "Populate BRILLO_PRODUCT_ID from the product config" am: d279f0614d
Will Drewry [Thu, 5 Nov 2015 03:32:24 +0000 (03:32 +0000)]
Merge "Populate BRILLO_PRODUCT_ID from the product config" am: d279f0614d
am: fad999d7c6

* commit 'fad999d7c6e54431d9e6393e9037ce2136a0a8ef':
  Populate BRILLO_PRODUCT_ID from the product config

8 years agoMerge "Populate BRILLO_PRODUCT_ID from the product config"
Will Drewry [Thu, 5 Nov 2015 03:29:46 +0000 (03:29 +0000)]
Merge "Populate BRILLO_PRODUCT_ID from the product config"
am: d279f0614d

* commit 'd279f0614d32554b524ce1618751583b70f33b96':
  Populate BRILLO_PRODUCT_ID from the product config

8 years agoMerge "Populate BRILLO_PRODUCT_ID from the product config"
Will Drewry [Thu, 5 Nov 2015 03:27:14 +0000 (03:27 +0000)]
Merge "Populate BRILLO_PRODUCT_ID from the product config"

8 years agoPopulate BRILLO_PRODUCT_ID from the product config
Will Drewry [Thu, 5 Nov 2015 02:51:35 +0000 (18:51 -0800)]
Populate BRILLO_PRODUCT_ID from the product config

Using cfgtree.mk, add support to load the brillo
product id directly from a file in the product tree
when configured.

BUG=25343470

Change-Id: Icf9777915612bf3b3630112cfe31b95bae23612f

8 years agoSimpleperf: add test for cpu offline whiling recording.
Yabin Cui [Wed, 4 Nov 2015 02:00:01 +0000 (18:00 -0800)]
Simpleperf: add test for cpu offline whiling recording.

Bug: 25193162
Change-Id: I17b34f4e6932698e158719b884efe8ab441fbdef

8 years agoMerge commit \'5b9bbc4f5092f3d42ee8a9527da724d9af540e51\' into HEAD am: 14601351e2
Bill Yi [Tue, 3 Nov 2015 23:48:07 +0000 (23:48 +0000)]
Merge commit \'5b9bbc4f5092f3d42ee8a9527da724d9af540e51\' into HEAD am: 14601351e2
am: a01a3bcb8c

* commit 'a01a3bcb8c43093c3449f0c0b195bdf12b6427a1':

8 years agoMerge commit \'5b9bbc4f5092f3d42ee8a9527da724d9af540e51\' into HEAD
Bill Yi [Tue, 3 Nov 2015 23:34:31 +0000 (23:34 +0000)]
Merge commit \'5b9bbc4f5092f3d42ee8a9527da724d9af540e51\' into HEAD
am: 14601351e2

* commit '14601351e2cd8023f49933620352068331031696':

8 years agoMerge commit '5b9bbc4f5092f3d42ee8a9527da724d9af540e51' into HEAD
Bill Yi [Tue, 3 Nov 2015 22:30:41 +0000 (14:30 -0800)]
Merge commit '5b9bbc4f5092f3d42ee8a9527da724d9af540e51' into HEAD

8 years agoMerge "simpleperf: support --cpu option in record/stat command." am: ce8a1f25ac am...
Yabin Cui [Fri, 30 Oct 2015 20:19:17 +0000 (20:19 +0000)]
Merge "simpleperf: support --cpu option in record/stat command." am: ce8a1f25ac am: 8f383b86f2
am: ebf49fd019

* commit 'ebf49fd01956cdf8754f8cedfeb52167323bbf6d':
  simpleperf: support --cpu option in record/stat command.

8 years agoMerge "simpleperf: support --cpu option in record/stat command." am: ce8a1f25ac
Yabin Cui [Fri, 30 Oct 2015 20:15:04 +0000 (20:15 +0000)]
Merge "simpleperf: support --cpu option in record/stat command." am: ce8a1f25ac
am: 8f383b86f2

* commit '8f383b86f28b62a78f27833404840132bd3707f2':
  simpleperf: support --cpu option in record/stat command.

8 years agoMerge "simpleperf: support --cpu option in record/stat command."
Yabin Cui [Fri, 30 Oct 2015 20:11:18 +0000 (20:11 +0000)]
Merge "simpleperf: support --cpu option in record/stat command."
am: ce8a1f25ac

* commit 'ce8a1f25ace5a8c2e317a347f96d5e14e79d6f2b':
  simpleperf: support --cpu option in record/stat command.

8 years agoMerge "simpleperf: support --cpu option in record/stat command."
Yabin Cui [Fri, 30 Oct 2015 20:05:38 +0000 (20:05 +0000)]
Merge "simpleperf: support --cpu option in record/stat command."

8 years agosimpleperf: support --cpu option in record/stat command.
Yabin Cui [Mon, 26 Oct 2015 23:15:29 +0000 (16:15 -0700)]
simpleperf: support --cpu option in record/stat command.

--cpu option is used to record on selected cpus.

Change-Id: If5bb9b42a064d2ff69fbeec77906fc79943dddc1

8 years agoMerge "brillo_config: Don\'t cache the timestamp." am: 63b10569b9 am: 4cf4f5c152
Bertrand Simonnet [Fri, 30 Oct 2015 18:39:24 +0000 (18:39 +0000)]
Merge "brillo_config: Don\'t cache the timestamp." am: 63b10569b9 am: 4cf4f5c152
am: 8215b1cf5b

* commit '8215b1cf5b22b3a05422c869bd5879c8abc7eaef':
  brillo_config: Don't cache the timestamp.

8 years agoMerge "brillo_config: Don\'t cache the timestamp." am: 63b10569b9
Bertrand Simonnet [Fri, 30 Oct 2015 18:36:19 +0000 (18:36 +0000)]
Merge "brillo_config: Don\'t cache the timestamp." am: 63b10569b9
am: 4cf4f5c152

* commit '4cf4f5c1520863269575b032c559e45625762c0b':
  brillo_config: Don't cache the timestamp.

8 years agoMerge "brillo_config: Don\'t cache the timestamp."
Bertrand Simonnet [Fri, 30 Oct 2015 18:33:20 +0000 (18:33 +0000)]
Merge "brillo_config: Don\'t cache the timestamp."
am: 63b10569b9

* commit '63b10569b9cda3303bad274fee5126f4e8b3a386':
  brillo_config: Don't cache the timestamp.

8 years agoMerge "brillo_config: Don't cache the timestamp."
Bertrand Simonnet [Fri, 30 Oct 2015 18:29:10 +0000 (18:29 +0000)]
Merge "brillo_config: Don't cache the timestamp."

8 years agobrillo_config: Don't cache the timestamp.
Bertrand SIMONNET [Thu, 29 Oct 2015 04:42:56 +0000 (21:42 -0700)]
brillo_config: Don't cache the timestamp.

We want the timestamp to change at every build as we may be using the
resulting image to generate an update and we need different images to
have different versions.

Bug: 25358721
Change-Id: I9ae0ae0ba34ea0f508fc3a5f051368e4bce57b61
Test: Build twice in a row, the timestamp is updated.

8 years agoMerge "ext4_utils: Parse unclean super block" am: a17cfd8b6d am: 0525bd6eae
Sami Tolvanen [Fri, 30 Oct 2015 09:01:23 +0000 (09:01 +0000)]
Merge "ext4_utils: Parse unclean super block" am: a17cfd8b6d am: 0525bd6eae
am: e39126bb65

* commit 'e39126bb653c507c08609421b6000dc427fe2eec':
  ext4_utils: Parse unclean super block

8 years agoMerge "ext4_utils: Parse unclean super block" am: a17cfd8b6d
Sami Tolvanen [Fri, 30 Oct 2015 08:58:11 +0000 (08:58 +0000)]
Merge "ext4_utils: Parse unclean super block" am: a17cfd8b6d
am: 0525bd6eae

* commit '0525bd6eae33f9f8a1e8c593d1e87290f28c458e':
  ext4_utils: Parse unclean super block

8 years agoMerge "ext4_utils: Parse unclean super block"
Sami Tolvanen [Fri, 30 Oct 2015 08:55:21 +0000 (08:55 +0000)]
Merge "ext4_utils: Parse unclean super block"
am: a17cfd8b6d

* commit 'a17cfd8b6dfc820fd6ae88e0097387dc4a442235':
  ext4_utils: Parse unclean super block

8 years agoMerge "ext4_utils: Parse unclean super block"
Sami Tolvanen [Fri, 30 Oct 2015 08:51:51 +0000 (08:51 +0000)]
Merge "ext4_utils: Parse unclean super block"

8 years agoMerge "libfec: remove verity validation cache" am: 98202de709 am: 72b11684dd
Sami Tolvanen [Fri, 30 Oct 2015 04:22:33 +0000 (04:22 +0000)]
Merge "libfec: remove verity validation cache" am: 98202de709 am: 72b11684dd
am: 64f87b748b

* commit '64f87b748b6abe233abd2bd52dbe56c5814a60f5':
  libfec: remove verity validation cache

8 years agoext4_utils: Parse unclean super block
Johan Redestig [Thu, 29 Oct 2015 17:04:47 +0000 (18:04 +0100)]
ext4_utils: Parse unclean super block

Dont fail to parse the superblock just because the file system was
not unmounted cleanly.

Change-Id: I381c3e6c55ef5eb478b53d06d6cc56df1b6f41f4

8 years agoMerge "libfec: remove verity validation cache" am: 98202de709
Sami Tolvanen [Thu, 29 Oct 2015 16:49:31 +0000 (16:49 +0000)]
Merge "libfec: remove verity validation cache" am: 98202de709
am: 72b11684dd

* commit '72b11684dd23cfdeaeef103b02744775948a72d0':
  libfec: remove verity validation cache

8 years agoMerge "libfec: remove verity validation cache"
Sami Tolvanen [Thu, 29 Oct 2015 16:45:08 +0000 (16:45 +0000)]
Merge "libfec: remove verity validation cache"
am: 98202de709

* commit '98202de709ed70ec3b3e80baa061dfc064754b6b':
  libfec: remove verity validation cache

8 years agoMerge "libfec: remove verity validation cache"
Sami Tolvanen [Thu, 29 Oct 2015 16:03:07 +0000 (16:03 +0000)]
Merge "libfec: remove verity validation cache"

8 years agolibfec: remove verity validation cache
Sami Tolvanen [Thu, 29 Oct 2015 15:45:17 +0000 (15:45 +0000)]
libfec: remove verity validation cache

Caching block validation results increases libfec memory usage and
does not provide comparable benefits in normal use cases, which do
not involve re-reading the same blocks.

Change-Id: I71ac47a7059b350b16e32207932004f3f147abcb

8 years agoMerge "Set accept_ra to 2 on all interfaces." am: 4ea2a41464 am: 81ab2106c4
Lorenzo Colitti [Wed, 28 Oct 2015 08:53:57 +0000 (08:53 +0000)]
Merge "Set accept_ra to 2 on all interfaces." am: 4ea2a41464 am: 81ab2106c4
am: 5b9bbc4f50

* commit '5b9bbc4f5092f3d42ee8a9527da724d9af540e51':
  Set accept_ra to 2 on all interfaces.

8 years agoMerge "Move packet definitions to their own file." am: ed1aa266ce am: 564a9cbd13
Lorenzo Colitti [Wed, 28 Oct 2015 08:53:53 +0000 (08:53 +0000)]
Merge "Move packet definitions to their own file." am: ed1aa266ce am: 564a9cbd13
am: 2c4125be42

* commit '2c4125be4289bd44451480ddc93616a15b3fcd2a':
  Move packet definitions to their own file.

8 years agoMerge "Set accept_ra to 2 on all interfaces." am: 4ea2a41464
Lorenzo Colitti [Wed, 28 Oct 2015 08:51:19 +0000 (08:51 +0000)]
Merge "Set accept_ra to 2 on all interfaces." am: 4ea2a41464
am: 81ab2106c4

* commit '81ab2106c4a6f2d8f59b1fc5e383857855ff6668':
  Set accept_ra to 2 on all interfaces.

8 years agoMerge "Move packet definitions to their own file." am: ed1aa266ce
Lorenzo Colitti [Wed, 28 Oct 2015 08:51:16 +0000 (08:51 +0000)]
Merge "Move packet definitions to their own file." am: ed1aa266ce
am: 564a9cbd13

* commit '564a9cbd1304a9311fff33c11f6686d20c9c2402':
  Move packet definitions to their own file.

8 years agoMerge "Set accept_ra to 2 on all interfaces."
Lorenzo Colitti [Wed, 28 Oct 2015 08:48:38 +0000 (08:48 +0000)]
Merge "Set accept_ra to 2 on all interfaces."
am: 4ea2a41464

* commit '4ea2a41464237deabff29bd29a9ffb621ac9f7af':
  Set accept_ra to 2 on all interfaces.

8 years agoMerge "Move packet definitions to their own file."
Lorenzo Colitti [Wed, 28 Oct 2015 08:48:35 +0000 (08:48 +0000)]
Merge "Move packet definitions to their own file."
am: ed1aa266ce

* commit 'ed1aa266cef795e383cc9a7ee77f860eaca8b7fe':
  Move packet definitions to their own file.

8 years agoMerge "Set accept_ra to 2 on all interfaces."
Lorenzo Colitti [Wed, 28 Oct 2015 08:46:42 +0000 (08:46 +0000)]
Merge "Set accept_ra to 2 on all interfaces."

8 years agoMerge "Move packet definitions to their own file."
Lorenzo Colitti [Wed, 28 Oct 2015 08:45:28 +0000 (08:45 +0000)]
Merge "Move packet definitions to their own file."

8 years agoSet accept_ra to 2 on all interfaces.
Lorenzo Colitti [Wed, 28 Oct 2015 07:56:51 +0000 (16:56 +0900)]
Set accept_ra to 2 on all interfaces.

This matches what we do on real devices, and it makes it easier
to write tests that use forwarding.

Change-Id: I720a75864f8fb30b59ff023c33ef3f82d1f35b4b

8 years agoMove packet definitions to their own file.
Lorenzo Colitti [Wed, 28 Oct 2015 07:56:12 +0000 (16:56 +0900)]
Move packet definitions to their own file.

Change-Id: I68c57311915e2a8dbdb6842dfb87367485fcf819

8 years agoMerge "Test SIOCKILLADDR on non-empty addresses too." am: fa61997537 am: e2f9e698bd
Lorenzo Colitti [Wed, 28 Oct 2015 07:16:00 +0000 (07:16 +0000)]
Merge "Test SIOCKILLADDR on non-empty addresses too." am: fa61997537 am: e2f9e698bd
am: 60b793d5b8

* commit '60b793d5b82ce5417879c22d3657432799d50aa4':
  Test SIOCKILLADDR on non-empty addresses too.

8 years agoMerge "Test SIOCKILLADDR on non-empty addresses too." am: fa61997537
Lorenzo Colitti [Wed, 28 Oct 2015 07:13:23 +0000 (07:13 +0000)]
Merge "Test SIOCKILLADDR on non-empty addresses too." am: fa61997537
am: e2f9e698bd

* commit 'e2f9e698bd0c8ae20d2673d477a57a837d914044':
  Test SIOCKILLADDR on non-empty addresses too.

8 years agoMerge "Test SIOCKILLADDR on non-empty addresses too."
Lorenzo Colitti [Wed, 28 Oct 2015 07:09:15 +0000 (07:09 +0000)]
Merge "Test SIOCKILLADDR on non-empty addresses too."
am: fa61997537

* commit 'fa6199753778e95a001400afa092a98395062ec9':
  Test SIOCKILLADDR on non-empty addresses too.

8 years agoMerge "Test SIOCKILLADDR on non-empty addresses too."
Lorenzo Colitti [Wed, 28 Oct 2015 07:07:12 +0000 (07:07 +0000)]
Merge "Test SIOCKILLADDR on non-empty addresses too."

8 years agoTest SIOCKILLADDR on non-empty addresses too.
Lorenzo Colitti [Tue, 27 Oct 2015 08:37:00 +0000 (17:37 +0900)]
Test SIOCKILLADDR on non-empty addresses too.

Change-Id: Ifddc4e16c4cd59f96048dd517186d0a1f440f02c

8 years agoMerge "Add a test for timewait crash." am: 82003283a2 am: 1e659e59f0
Lorenzo Colitti [Tue, 27 Oct 2015 08:16:05 +0000 (08:16 +0000)]
Merge "Add a test for timewait crash." am: 82003283a2 am: 1e659e59f0
am: 378650e823

* commit '378650e823d9347a147bb3c50a1c9217fa7dfa14':
  Add a test for timewait crash.

8 years agoMerge "Test nuking IPv4 sockets as well as IPv6." am: f6dc5650be am: 1634a952c6
Lorenzo Colitti [Tue, 27 Oct 2015 08:16:02 +0000 (08:16 +0000)]
Merge "Test nuking IPv4 sockets as well as IPv6." am: f6dc5650be am: 1634a952c6
am: 8957dbd440

* commit '8957dbd4406f65c98013d4e9aded581cc1fddc33':
  Test nuking IPv4 sockets as well as IPv6.

8 years agoMerge "Add functional tests for tcp_nuke_addr." am: 2f38d11b72 am: 94abb39ded
Lorenzo Colitti [Tue, 27 Oct 2015 08:15:58 +0000 (08:15 +0000)]
Merge "Add functional tests for tcp_nuke_addr." am: 2f38d11b72 am: 94abb39ded
am: d7f3a1a696

* commit 'd7f3a1a696b1df8f97e640b7315d488bb36cb13a':
  Add functional tests for tcp_nuke_addr.

8 years agoMerge "Add a test for timewait crash." am: 82003283a2
Lorenzo Colitti [Tue, 27 Oct 2015 08:13:14 +0000 (08:13 +0000)]
Merge "Add a test for timewait crash." am: 82003283a2
am: 1e659e59f0

* commit '1e659e59f054eb7414f97fdbd29b41b2b0cdd006':
  Add a test for timewait crash.

8 years agoMerge "Test nuking IPv4 sockets as well as IPv6." am: f6dc5650be
Lorenzo Colitti [Tue, 27 Oct 2015 08:13:12 +0000 (08:13 +0000)]
Merge "Test nuking IPv4 sockets as well as IPv6." am: f6dc5650be
am: 1634a952c6

* commit '1634a952c67e75141f07285a7ccb8a2007f5113c':
  Test nuking IPv4 sockets as well as IPv6.

8 years agoMerge "Add functional tests for tcp_nuke_addr." am: 2f38d11b72
Lorenzo Colitti [Tue, 27 Oct 2015 08:13:08 +0000 (08:13 +0000)]
Merge "Add functional tests for tcp_nuke_addr." am: 2f38d11b72
am: 94abb39ded

* commit '94abb39dedb015f7a12ce331efe01eb754fd50cb':
  Add functional tests for tcp_nuke_addr.

8 years agoMerge "Add a test for timewait crash."
Lorenzo Colitti [Tue, 27 Oct 2015 08:08:52 +0000 (08:08 +0000)]
Merge "Add a test for timewait crash."
am: 82003283a2

* commit '82003283a2679a21d91502e66765605254a7a1bb':
  Add a test for timewait crash.

8 years agoMerge "Test nuking IPv4 sockets as well as IPv6."
Lorenzo Colitti [Tue, 27 Oct 2015 08:08:49 +0000 (08:08 +0000)]
Merge "Test nuking IPv4 sockets as well as IPv6."
am: f6dc5650be

* commit 'f6dc5650be488bbf50b53a9344ca9ed32ec46313':
  Test nuking IPv4 sockets as well as IPv6.

8 years agoMerge "Add functional tests for tcp_nuke_addr."
Lorenzo Colitti [Tue, 27 Oct 2015 08:08:46 +0000 (08:08 +0000)]
Merge "Add functional tests for tcp_nuke_addr."
am: 2f38d11b72

* commit '2f38d11b72f27104f3c8d04d28c71778cef4c107':
  Add functional tests for tcp_nuke_addr.

8 years agoMerge "Add a test for timewait crash."
Lorenzo Colitti [Tue, 27 Oct 2015 08:06:17 +0000 (08:06 +0000)]
Merge "Add a test for timewait crash."

8 years agoMerge "Test nuking IPv4 sockets as well as IPv6."
Lorenzo Colitti [Tue, 27 Oct 2015 08:05:55 +0000 (08:05 +0000)]
Merge "Test nuking IPv4 sockets as well as IPv6."

8 years agoMerge "Add functional tests for tcp_nuke_addr."
Lorenzo Colitti [Tue, 27 Oct 2015 08:05:14 +0000 (08:05 +0000)]
Merge "Add functional tests for tcp_nuke_addr."

8 years agoAdd a test for timewait crash.
Lorenzo Colitti [Fri, 16 Oct 2015 04:52:11 +0000 (13:52 +0900)]
Add a test for timewait crash.

Change-Id: I6cbaf2274c002eeef97a62880f31c8546554765e

8 years agoTest nuking IPv4 sockets as well as IPv6.
Lorenzo Colitti [Thu, 1 Oct 2015 08:36:37 +0000 (17:36 +0900)]
Test nuking IPv4 sockets as well as IPv6.

Also, for clarity, use cstruct.Struct to make the ifreq
structures instead of hand-packing them.

Change-Id: I917d6e38b3db067182ef1c971ff6c676fc2d7431

8 years agoAdd functional tests for tcp_nuke_addr.
Lorenzo Colitti [Fri, 25 Sep 2015 08:43:55 +0000 (17:43 +0900)]
Add functional tests for tcp_nuke_addr.

1. Test for the hash table off-by-one error.
2. Test that sockets are closed and read() calls are interrupted
   with ETIMEDOUT.

Change-Id: Id8cdd50f1f5447734c230341f73d71fcfecdddd8

8 years agoMerge "Support reading /proc/net/tcp[6]." am: 794ea2d775 am: a985b52811
Lorenzo Colitti [Tue, 27 Oct 2015 06:41:26 +0000 (06:41 +0000)]
Merge "Support reading /proc/net/tcp[6]." am: 794ea2d775 am: a985b52811
am: c3856a0a25

* commit 'c3856a0a256de8978558028d084572a40e2b198b':
  Support reading /proc/net/tcp[6].

8 years agoMerge "Add support for iif rules." am: 60a057589f am: f9e010c6fe
Lorenzo Colitti [Tue, 27 Oct 2015 06:41:22 +0000 (06:41 +0000)]
Merge "Add support for iif rules." am: 60a057589f am: f9e010c6fe
am: 14b5e3c841

* commit '14b5e3c84149b7d1c52d657011d1442519abef64':
  Add support for iif rules.

8 years agoMerge "Make host network access optional." am: 021e773593 am: fb61164cad
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:55 +0000 (06:38 +0000)]
Merge "Make host network access optional." am: 021e773593 am: fb61164cad
am: 2a15a07bf5

* commit '2a15a07bf567202c5c10e406019d98a0b98f46fd':
  Make host network access optional.

8 years agoMerge "Fix ambiguous commit number." am: 8a6135bb2c am: 8e20adb810
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:51 +0000 (06:38 +0000)]
Merge "Fix ambiguous commit number." am: 8a6135bb2c am: 8e20adb810
am: 4fe7170a60

* commit '4fe7170a602a8e831cc35f150ba50fab2b6d97ef':
  Fix ambiguous commit number.

8 years agoMerge "Support reading /proc/net/tcp[6]." am: 794ea2d775
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:47 +0000 (06:38 +0000)]
Merge "Support reading /proc/net/tcp[6]." am: 794ea2d775
am: a985b52811

* commit 'a985b528113e31a7d48c7fd6758fe465c4936491':
  Support reading /proc/net/tcp[6].

8 years agoMerge "Make tcp_nuke_addr_test pass when run more than once." am: 2e3fb5e458 am:...
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:47 +0000 (06:38 +0000)]
Merge "Make tcp_nuke_addr_test pass when run more than once." am: 2e3fb5e458 am: e572b5a4ae
am: d5ede472c0

* commit 'd5ede472c0068953880d17b71735b3521fa1c91e':
  Make tcp_nuke_addr_test pass when run more than once.

8 years agoMerge "Add support for iif rules." am: 60a057589f
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:42 +0000 (06:38 +0000)]
Merge "Add support for iif rules." am: 60a057589f
am: f9e010c6fe

* commit 'f9e010c6fef768a919cdc11df8932131da9ec512':
  Add support for iif rules.

8 years agoMerge "Add some Android-specific kernel options." am: 54f9bd922a am: 516dd9426e
Lorenzo Colitti [Tue, 27 Oct 2015 06:38:42 +0000 (06:38 +0000)]
Merge "Add some Android-specific kernel options." am: 54f9bd922a am: 516dd9426e
am: 09f32f862e

* commit '09f32f862ee7bd8db65d1e8549a7d2906c6e316a':
  Add some Android-specific kernel options.

8 years agoMerge "Make host network access optional." am: 021e773593
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:56 +0000 (06:35 +0000)]
Merge "Make host network access optional." am: 021e773593
am: fb61164cad

* commit 'fb61164cad4d38ecaefc903f81f18a708c2afa62':
  Make host network access optional.

8 years agoMerge "Fix ambiguous commit number." am: 8a6135bb2c
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:53 +0000 (06:35 +0000)]
Merge "Fix ambiguous commit number." am: 8a6135bb2c
am: 8e20adb810

* commit '8e20adb810cf3629e8fb12b7eb8fad5845266e6d':
  Fix ambiguous commit number.

8 years agoMerge "Make tcp_nuke_addr_test pass when run more than once." am: 2e3fb5e458
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:49 +0000 (06:35 +0000)]
Merge "Make tcp_nuke_addr_test pass when run more than once." am: 2e3fb5e458
am: e572b5a4ae

* commit 'e572b5a4ae5df0023c258381618dbcedf95d805c':
  Make tcp_nuke_addr_test pass when run more than once.

8 years agoMerge "Support reading /proc/net/tcp[6]."
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:48 +0000 (06:35 +0000)]
Merge "Support reading /proc/net/tcp[6]."
am: 794ea2d775

* commit '794ea2d775529863798cf5e0c7800586ade0d392':
  Support reading /proc/net/tcp[6].

8 years agoMerge "Add support for iif rules."
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:45 +0000 (06:35 +0000)]
Merge "Add support for iif rules."
am: 60a057589f

* commit '60a057589fa095a7fed16ea52a927916ab153781':
  Add support for iif rules.

8 years agoMerge "Add some Android-specific kernel options." am: 54f9bd922a
Lorenzo Colitti [Tue, 27 Oct 2015 06:35:45 +0000 (06:35 +0000)]
Merge "Add some Android-specific kernel options." am: 54f9bd922a
am: 516dd9426e

* commit '516dd9426e370464aa4b9d19a6cc0b81bced9eb8':
  Add some Android-specific kernel options.

8 years agoMerge "Support reading /proc/net/tcp[6]."
Lorenzo Colitti [Tue, 27 Oct 2015 06:33:36 +0000 (06:33 +0000)]
Merge "Support reading /proc/net/tcp[6]."

8 years agoMerge "Add support for iif rules."
Lorenzo Colitti [Tue, 27 Oct 2015 06:33:10 +0000 (06:33 +0000)]
Merge "Add support for iif rules."

8 years agoMerge "Make host network access optional."
Lorenzo Colitti [Tue, 27 Oct 2015 06:33:07 +0000 (06:33 +0000)]
Merge "Make host network access optional."
am: 021e773593

* commit '021e773593ca2893d66c26882e53f25307c4e96b':
  Make host network access optional.

8 years agoMerge "Fix ambiguous commit number."
Lorenzo Colitti [Tue, 27 Oct 2015 06:33:04 +0000 (06:33 +0000)]
Merge "Fix ambiguous commit number."
am: 8a6135bb2c

* commit '8a6135bb2c0e5dd2fd7c53792bc3c992f58ba085':
  Fix ambiguous commit number.

8 years agoMerge "Make tcp_nuke_addr_test pass when run more than once."
Lorenzo Colitti [Tue, 27 Oct 2015 06:33:01 +0000 (06:33 +0000)]
Merge "Make tcp_nuke_addr_test pass when run more than once."
am: 2e3fb5e458

* commit '2e3fb5e458b10fecc616bdda08760e9a63de902a':
  Make tcp_nuke_addr_test pass when run more than once.

8 years agoMerge "Add some Android-specific kernel options."
Lorenzo Colitti [Tue, 27 Oct 2015 06:32:57 +0000 (06:32 +0000)]
Merge "Add some Android-specific kernel options."
am: 54f9bd922a

* commit '54f9bd922ac5d4fcfaa34e5878d6de264a565fde':
  Add some Android-specific kernel options.

8 years agoMerge "Make host network access optional."
Lorenzo Colitti [Tue, 27 Oct 2015 06:32:41 +0000 (06:32 +0000)]
Merge "Make host network access optional."

8 years agoMerge "Fix ambiguous commit number."
Lorenzo Colitti [Tue, 27 Oct 2015 06:31:03 +0000 (06:31 +0000)]
Merge "Fix ambiguous commit number."

8 years agoMerge "Make tcp_nuke_addr_test pass when run more than once."
Lorenzo Colitti [Tue, 27 Oct 2015 06:30:53 +0000 (06:30 +0000)]
Merge "Make tcp_nuke_addr_test pass when run more than once."

8 years agoMerge "Add some Android-specific kernel options."
Lorenzo Colitti [Tue, 27 Oct 2015 06:30:35 +0000 (06:30 +0000)]
Merge "Add some Android-specific kernel options."

8 years agoSupport reading /proc/net/tcp[6].
Lorenzo Colitti [Fri, 16 Oct 2015 04:37:33 +0000 (13:37 +0900)]
Support reading /proc/net/tcp[6].

Support the two different TCP socket formats, and move the
parsing code to net_test.py so it can be used for other things
apart from ping.

Change-Id: Iaa10cc323d11834b6ac9429d42708f6cdf89f404

8 years agoAdd support for iif rules.
Lorenzo Colitti [Fri, 16 Oct 2015 04:01:35 +0000 (13:01 +0900)]
Add support for iif rules.

On real systems, we use this to set up tethering.

Change-Id: I0896191754c81e385a08b325922ad42230980d9e

8 years agoMake host network access optional.
Lorenzo Colitti [Fri, 16 Oct 2015 03:57:39 +0000 (12:57 +0900)]
Make host network access optional.

This isn't required to run the tests, so it's an unnecessary
burden - it needs uml_utilities installed, needs root access,
and doesn't even perform a full network setup.

Change-Id: I8b0c3783290526909de9fe7d40ecaf7399891ba8