OSDN Git Service

android-x86/system-extras.git
9 years agoslideshow: fix format string type
Sami Tolvanen [Wed, 1 Apr 2015 16:53:41 +0000 (17:53 +0100)]
slideshow: fix format string type

Format string specifies %u, even though long int is passed.

Change-Id: I541c15552e403e16bef7a78f53d81eaacb605120

9 years agoMerge "fs_mgr exports its headers."
Elliott Hughes [Tue, 31 Mar 2015 01:36:03 +0000 (01:36 +0000)]
Merge "fs_mgr exports its headers."

9 years agofs_mgr exports its headers.
Elliott Hughes [Tue, 31 Mar 2015 00:48:49 +0000 (17:48 -0700)]
fs_mgr exports its headers.

Change-Id: I6fddb60a902be5ac216d32a751ec8c178c26ebaf

9 years agoMerge "Clean up includes"
Paul Lawrence [Mon, 30 Mar 2015 16:51:54 +0000 (16:51 +0000)]
Merge "Clean up includes"

9 years agoClean up includes
Paul Lawrence [Mon, 30 Mar 2015 16:16:09 +0000 (09:16 -0700)]
Clean up includes

Remove two system files
Remove a circular include dependency by using a callback function

Change-Id: I159357b3a0ad06d0a7ebf45feb82989bcc1b303a

9 years agoMerge "Don't #include "../"."
Elliott Hughes [Sat, 28 Mar 2015 17:49:57 +0000 (17:49 +0000)]
Merge "Don't #include "../"."

9 years agoDon't #include "../".
Elliott Hughes [Sat, 28 Mar 2015 17:39:46 +0000 (10:39 -0700)]
Don't #include "../".

If you have to use a relative path (especially one out of the current
git project), you probably shouldn't be using those headers...

(cherrypick of 0c58a04b5567b84a13269835d9365a045d85b95e.)

Change-Id: Ifef6945cf1e884a4aa7f8f5532f1de660a22dafc

9 years agoMerge "[HACK] Adding e4crypt support"
Paul Lawrence [Fri, 27 Mar 2015 20:36:19 +0000 (20:36 +0000)]
Merge "[HACK] Adding e4crypt support"

9 years ago[HACK] Adding e4crypt support
Paul Lawrence [Wed, 25 Feb 2015 23:11:13 +0000 (15:11 -0800)]
[HACK] Adding e4crypt support

This is a dirty hack requiring a lot of clean up.
Needed to allow other parts to make progress.

Add e4crypt functions to libext4_utils
Add e4crypt command line tool

Change-Id: Iac5ae75e7f39cccc87701faf1f590e44f5209c0e

9 years agoMerge "Special-case "su --help"."
Elliott Hughes [Fri, 27 Mar 2015 02:01:27 +0000 (02:01 +0000)]
Merge "Special-case "su --help"."

9 years agoSpecial-case "su --help".
Elliott Hughes [Fri, 27 Mar 2015 00:09:41 +0000 (17:09 -0700)]
Special-case "su --help".

Rather than force people to move from "su system echo -n hello", where
the -n gets interpreted by getopt_long(3), to "su system -- echo -n hello",
just hard-code the recognition of --help. This seems easier than moving
people over to the more traditional "su -c 'echo -n hello'" style.

Bug: 19948740
Change-Id: I248269343b452a381effb7b8926ac7f2522b941b

9 years agoMerge "Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP."
Elliott Hughes [Tue, 24 Mar 2015 03:41:09 +0000 (03:41 +0000)]
Merge "Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP."

9 years agoUse PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP.
Elliott Hughes [Tue, 24 Mar 2015 03:20:54 +0000 (20:20 -0700)]
Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP.

Change-Id: Ifa87d9a9406acec1d5cdf7dd63af0df52c5cfb3c

9 years agoMerge "system/extras/verity: BoringSSL fix."
Kenny Root [Wed, 18 Mar 2015 17:35:47 +0000 (17:35 +0000)]
Merge "system/extras/verity: BoringSSL fix."

9 years agoMerge "Remove perm_checker and mounts-test.sh."
Elliott Hughes [Wed, 18 Mar 2015 15:47:55 +0000 (15:47 +0000)]
Merge "Remove perm_checker and mounts-test.sh."

9 years agoRemove perm_checker and mounts-test.sh.
Elliott Hughes [Wed, 18 Mar 2015 15:37:08 +0000 (08:37 -0700)]
Remove perm_checker and mounts-test.sh.

These are enforced by SELinux and tested by CTS now.

Change-Id: If506327f108c39449c611264a10623be9f1782fa

9 years agoMerge "Add 64 bit support to verity build."
Sami Tolvanen [Wed, 18 Mar 2015 09:02:13 +0000 (09:02 +0000)]
Merge "Add 64 bit support to verity build."

9 years agoMerge "su should reset PATH, IFS, LOGNAME, and USER."
Elliott Hughes [Wed, 18 Mar 2015 04:30:03 +0000 (04:30 +0000)]
Merge "su should reset PATH, IFS, LOGNAME, and USER."

9 years agosu should reset PATH, IFS, LOGNAME, and USER.
Elliott Hughes [Wed, 18 Mar 2015 04:19:25 +0000 (21:19 -0700)]
su should reset PATH, IFS, LOGNAME, and USER.

Also add -h and --help while we're here (since all the toybox commands carry
their own documentation, and our su isn't much like the real su).

Bug: 19647373
Bug: 19564110
Change-Id: If2e6117b6701dcac03b5831f251e60a272bf0d61

9 years agoMerge "Fix su."
Elliott Hughes [Tue, 17 Mar 2015 21:14:28 +0000 (21:14 +0000)]
Merge "Fix su."

9 years agosystem/extras/verity: BoringSSL fix.
Adam Langley [Tue, 17 Mar 2015 21:08:40 +0000 (14:08 -0700)]
system/extras/verity: BoringSSL fix.

In BoringSSL, the functions that references BIOs have been moved out of
ERR in order to have some reasonable layering of the code.

A recent addition here referenced ERR_print_errors, which is now
BIO_print_errors in BoringSSL for that reason. Additionally, the
BoringSSL headers don't #include so many standard headers for you so an
explicit #include of errno.h is needed here.

Change-Id: Iebcc353b1354bd85d432deebeb7873aae46b0d2a

9 years agoFix su.
Elliott Hughes [Tue, 17 Mar 2015 19:35:45 +0000 (12:35 -0700)]
Fix su.

Manually NULL-terminate the arguments array instead of trying to use memset.
This was accidentally working on LP64 but fails reliably on LP32.

Change-Id: Ic2ecb8ed2019f260c720f27dbd018a55e7cfa569

9 years agoMerge "Clean up su."
Elliott Hughes [Sun, 15 Mar 2015 17:00:43 +0000 (17:00 +0000)]
Merge "Clean up su."

9 years agoClean up su.
Elliott Hughes [Sat, 14 Mar 2015 17:15:06 +0000 (10:15 -0700)]
Clean up su.

Stop building su as a static executable. We don't rely on the getuid
implementation for security, so we have nothing to fear from the dynamic
linker.

Add some missing error checking and improve error reporting.

Remove various special cases that can all be rolled into the general
case.

Bug: 19647373
Change-Id: I2689b8957a89da1f3be571fcdc966b1084efca9a

9 years agoAdd 64 bit support to verity build.
Qin Ying [Tue, 14 Oct 2014 02:53:23 +0000 (11:53 +0900)]
Add 64 bit support to verity build.

Now build verity only support 32bit environment, when the image
size is bigger than 2^32 the verity image size calculation will
be mistake.

Change-Id: I41e5fe720c1269d6c06e23bfce5bc65226fb6e77

9 years agoam d62c4159: Merge "Add tests for cross-family bind() and connect() operations."
Lorenzo Colitti [Thu, 5 Mar 2015 08:35:35 +0000 (08:35 +0000)]
am d62c4159: Merge "Add tests for cross-family bind() and connect() operations."

* commit 'd62c415953ebc69b179cc2d250965754917dccd9':
  Add tests for cross-family bind() and connect() operations.

9 years agoMerge "Add tests for cross-family bind() and connect() operations."
Lorenzo Colitti [Thu, 5 Mar 2015 08:29:01 +0000 (08:29 +0000)]
Merge "Add tests for cross-family bind() and connect() operations."

9 years agoAdd tests for cross-family bind() and connect() operations.
Lorenzo Colitti [Tue, 3 Mar 2015 06:30:23 +0000 (15:30 +0900)]
Add tests for cross-family bind() and connect() operations.

Change-Id: Ie11d593c1ed16e674da6f64dc153dd15b9a4c988

9 years agoam 7846062d: Merge "Introduce mksquashfsimage.sh"
Mohamad Ayyash [Wed, 4 Mar 2015 03:04:16 +0000 (03:04 +0000)]
am 7846062d: Merge "Introduce mksquashfsimage.sh"

* commit '7846062d8e8b545f8a54a0ddc950f3e9fb7f5eb1':
  Introduce mksquashfsimage.sh

9 years agoMerge "Introduce mksquashfsimage.sh"
Mohamad Ayyash [Wed, 4 Mar 2015 02:58:26 +0000 (02:58 +0000)]
Merge "Introduce mksquashfsimage.sh"

9 years agoIntroduce mksquashfsimage.sh
Mohamad Ayyash [Tue, 3 Mar 2015 20:33:48 +0000 (12:33 -0800)]
Introduce mksquashfsimage.sh

Change-Id: I2b916ef3ef60b40f506e1f1be59482f7b071cdb2
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoam f924e231: Merge "Make UID rules specify "iif lo" to match real device configs."
Lorenzo Colitti [Tue, 3 Mar 2015 12:57:52 +0000 (12:57 +0000)]
am f924e231: Merge "Make UID rules specify "iif lo" to match real device configs."

* commit 'f924e231377fbf13c9ec352b5de0e79501c41c0f':
  Make UID rules specify "iif lo" to match real device configs.

9 years agoMerge "Make UID rules specify "iif lo" to match real device configs."
Lorenzo Colitti [Tue, 3 Mar 2015 12:51:23 +0000 (12:51 +0000)]
Merge "Make UID rules specify "iif lo" to match real device configs."

9 years agoMake UID rules specify "iif lo" to match real device configs.
Lorenzo Colitti [Tue, 3 Mar 2015 06:29:10 +0000 (15:29 +0900)]
Make UID rules specify "iif lo" to match real device configs.

Change-Id: Ieddb54dfdf0ea66a13f5ebd3fbeeea786e0c1505

9 years agoam 312d567a: Merge "Add Python wrappers for bind and connect as well as sendmsg."
Lorenzo Colitti [Tue, 3 Mar 2015 08:19:25 +0000 (08:19 +0000)]
am 312d567a: Merge "Add Python wrappers for bind and connect as well as sendmsg."

* commit '312d567ad893f2bab54970471b716e46d68dfcaf':
  Add Python wrappers for bind and connect as well as sendmsg.

9 years agoMerge "Add Python wrappers for bind and connect as well as sendmsg."
Lorenzo Colitti [Tue, 3 Mar 2015 08:14:02 +0000 (08:14 +0000)]
Merge "Add Python wrappers for bind and connect as well as sendmsg."

9 years agoAdd Python wrappers for bind and connect as well as sendmsg.
Lorenzo Colitti [Tue, 3 Mar 2015 06:28:15 +0000 (15:28 +0900)]
Add Python wrappers for bind and connect as well as sendmsg.

Change-Id: Ie75ec2d56a58a74e1680eb01993797a48cec7c70

9 years agoam 7e1e0791: Merge "Add a program to display a slideshow at early boot"
Sami Tolvanen [Fri, 27 Feb 2015 23:19:15 +0000 (23:19 +0000)]
am 7e1e0791: Merge "Add a program to display a slideshow at early boot"

* commit '7e1e079174f9c78e954d15c086acdbfba8d73e83':
  Add a program to display a slideshow at early boot

9 years agoMerge "Add a program to display a slideshow at early boot"
Sami Tolvanen [Fri, 27 Feb 2015 22:23:24 +0000 (22:23 +0000)]
Merge "Add a program to display a slideshow at early boot"

9 years agoAdd a program to display a slideshow at early boot
Sami Tolvanen [Thu, 19 Feb 2015 10:44:12 +0000 (10:44 +0000)]
Add a program to display a slideshow at early boot

Add a small program to display a slideshow of images (specified
on the command line) on the framebuffer device. Images are switched
after a timeout, or user input. The timeout can be optionally set
using the -t command line parameter and defaults to 5s.

If user input occurred, the program will wait for the power button
to be pressed after the last image before exiting. To avoid draining
the battery after an accidental reboot, the program exists after 30s
even if the power button is not pressed.

Change-Id: I58c79a7f3ac747eec0d73a10f018d3d8ade9df7d
(Moved from I743c68b5f38038abcaaf5ae08233fa72fd823c8e)

9 years agoam 3d5ff951: Merge "Add missing include."
Elliott Hughes [Fri, 20 Feb 2015 07:04:31 +0000 (07:04 +0000)]
am 3d5ff951: Merge "Add missing include."

* commit '3d5ff951a033ffa7b679fac3e3a5a6c03fcbe15a':
  Add missing include.

9 years agoMerge "Add missing include."
Elliott Hughes [Fri, 20 Feb 2015 06:59:49 +0000 (06:59 +0000)]
Merge "Add missing include."

9 years agoAdd missing include.
Elliott Hughes [Fri, 20 Feb 2015 06:22:48 +0000 (22:22 -0800)]
Add missing include.

...and remove an unused one.

Change-Id: I7949964b6d74f861ad07ed56f5092014fdfc7c8a

9 years agoam ae48cd80: Merge "Download the rootfs instead of expecting it to be in the tree."
Lorenzo Colitti [Wed, 11 Feb 2015 05:49:18 +0000 (05:49 +0000)]
am ae48cd80: Merge "Download the rootfs instead of expecting it to be in the tree."

* commit 'ae48cd80a5d656714694f3b6b4f132603ce36284':
  Download the rootfs instead of expecting it to be in the tree.

9 years agoMerge "Download the rootfs instead of expecting it to be in the tree."
Lorenzo Colitti [Wed, 11 Feb 2015 05:36:17 +0000 (05:36 +0000)]
Merge "Download the rootfs instead of expecting it to be in the tree."

9 years agoDownload the rootfs instead of expecting it to be in the tree.
Lorenzo Colitti [Tue, 3 Feb 2015 07:20:57 +0000 (16:20 +0900)]
Download the rootfs instead of expecting it to be in the tree.

Change-Id: I17ee3a8389a141218ce8ce99a71e41b9832e8533

9 years agoam ffe4195c: Merge "A simple script to run all tests."
Erik Kline [Wed, 4 Feb 2015 15:49:33 +0000 (15:49 +0000)]
am ffe4195c: Merge "A simple script to run all tests."

* commit 'ffe4195c7b9058bbd3f4e64597d3351c496e90a5':
  A simple script to run all tests.

9 years agoam edce3c3e: Merge "Improvements to iproute."
Lorenzo Colitti [Wed, 4 Feb 2015 15:49:32 +0000 (15:49 +0000)]
am edce3c3e: Merge "Improvements to iproute."

* commit 'edce3c3e1f2f1644812b7d03ca72d9181c901de2':
  Improvements to iproute.

9 years agoam 6f6d494b: Merge "Improve the dump code."
Lorenzo Colitti [Wed, 4 Feb 2015 15:49:31 +0000 (15:49 +0000)]
am 6f6d494b: Merge "Improve the dump code."

* commit '6f6d494bb49461692b7629b024fe49fbee58b765':
  Improve the dump code.

9 years agoMerge "A simple script to run all tests."
Erik Kline [Wed, 4 Feb 2015 10:41:14 +0000 (10:41 +0000)]
Merge "A simple script to run all tests."

9 years agoA simple script to run all tests.
Erik Kline [Wed, 4 Feb 2015 08:33:41 +0000 (17:33 +0900)]
A simple script to run all tests.

Now just type:

    $CHECKOUT/system/extras/tests/net_test/run_net_test.sh all_tests.sh

and everything runs, output test output between banner lines like:

    ##### Found 4 tests.
    ##### ./multinetwork_test.py (1/4)
    ##### ./net_test.py (2/4)
    ##### ./ping6_test.py (3/4)
    ##### ./srcaddr_selection_test.py (4/4)
    ##### 0 failed tests.

The exit code is the number of failed tests.

Change-Id: Ia00c2750c4538c8af5acbd9ec660a564a430677e

9 years agoMerge "Improvements to iproute."
Lorenzo Colitti [Wed, 4 Feb 2015 08:15:40 +0000 (08:15 +0000)]
Merge "Improvements to iproute."

9 years agoMerge "Improve the dump code."
Lorenzo Colitti [Wed, 4 Feb 2015 08:15:32 +0000 (08:15 +0000)]
Merge "Improve the dump code."

9 years agoImprovements to iproute.
Lorenzo Colitti [Wed, 28 Jan 2015 08:41:19 +0000 (17:41 +0900)]
Improvements to iproute.

1. Teach it about links.
2. Use decoded attribute names instead of raw attribute numbers
   in debug output.
3. Add a function to decode netlink messages.

Change-Id: I3cb7581bac750e4784e7fbf5567d373ecc0cefdf

9 years agoImprove the dump code.
Lorenzo Colitti [Wed, 4 Feb 2015 04:54:05 +0000 (13:54 +0900)]
Improve the dump code.

1. Make it generic and not tied to RTMsg only.
2. Support dumps that are spread across multiple recv calls.

Change-Id: Ifad803d80cc5085dd2fe4e8b5fb555d9459bd5ae

9 years agoam 25e83795: Unbreak srcaddr_selection_test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:23 +0000 (03:30 +0000)]
am 25e83795: Unbreak srcaddr_selection_test.

* commit '25e837958e5e86d2c8f9757645093dadff891579':
  Unbreak srcaddr_selection_test.

9 years agoam a9d58ca9: Stop requiring a live Internet connection in ping6_test.py.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:22 +0000 (03:30 +0000)]
am a9d58ca9: Stop requiring a live Internet connection in ping6_test.py.

* commit 'a9d58ca97ef58bb67df3f0d8af619240dd45999a':
  Stop requiring a live Internet connection in ping6_test.py.

9 years agoam 78bf9487: Disable the ping6 flowlabel test, since it doesn\'t work.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:21 +0000 (03:30 +0000)]
am 78bf9487: Disable the ping6 flowlabel test, since it doesn\'t work.

* commit '78bf94879d8b0487c1c8cc879fc667859b557547':
  Disable the ping6 flowlabel test, since it doesn't work.

9 years agoam f5f1c43d: Support setting and clearing the default network.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:21 +0000 (03:30 +0000)]
am f5f1c43d: Support setting and clearing the default network.

* commit 'f5f1c43d6958ef2d4f44a5c942161c4ab59b1864':
  Support setting and clearing the default network.

9 years agoam 334a05a2: Clean up code in preparation for AOSP.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:20 +0000 (03:30 +0000)]
am 334a05a2: Clean up code in preparation for AOSP.

* commit '334a05a24a5e4c27d9318967987fb181530deaff':
  Clean up code in preparation for AOSP.

9 years agoam 105bda9c: Move all setup code to a new multinetwork_base.py
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:19 +0000 (03:30 +0000)]
am 105bda9c: Move all setup code to a new multinetwork_base.py

* commit '105bda9ccf001b11ca15ea48863df44ace2f5ba4':
  Move all setup code to a new multinetwork_base.py

9 years agoam 78a9a2c9: Remove the EXPERIMENTAL from UID routing.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:18 +0000 (03:30 +0000)]
am 78a9a2c9: Remove the EXPERIMENTAL from UID routing.

* commit '78a9a2c9e6f6c6d830ab972f25624163a39230fe':
  Remove the EXPERIMENTAL from UID routing.

9 years agoam 90fdc219: Verify no NSes from optimistic addresses
Erik Kline [Wed, 4 Feb 2015 03:30:16 +0000 (03:30 +0000)]
am 90fdc219: Verify no NSes from optimistic addresses

* commit '90fdc21936e7e5f555e73fe9c3555d1f156617b0':
  Verify no NSes from optimistic addresses

9 years agoam a0142797: Add a test for cross-protocol ping crash.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:14 +0000 (03:30 +0000)]
am a0142797: Add a test for cross-protocol ping crash.

* commit 'a014279741d26eb857e6f5a01c5d2fc040cf7b8f':
  Add a test for cross-protocol ping crash.

9 years agoam cbcbda6d: Skip ping tests instead of failing if the VM has no connectivity.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:12 +0000 (03:30 +0000)]
am cbcbda6d: Skip ping tests instead of failing if the VM has no connectivity.

* commit 'cbcbda6d3d8b0c208590cd769bdcf044396ee68a':
  Skip ping tests instead of failing if the VM has no connectivity.

9 years agoam 1892b4be: Don\'t infinite loop if read() on tun returns 0
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:11 +0000 (03:30 +0000)]
am 1892b4be: Don\'t infinite loop if read() on tun returns 0

* commit '1892b4bef43fc66e64923debd2619e88faaf2f9b':
  Don't infinite loop if read() on tun returns 0

9 years agoam b2ea5d6f: Further testing for optimistic address scenarios.
Erik Kline [Wed, 4 Feb 2015 03:30:09 +0000 (03:30 +0000)]
am b2ea5d6f: Further testing for optimistic address scenarios.

* commit 'b2ea5d6fef9445f25d2f1023643fb620d8c1a216':
  Further testing for optimistic address scenarios.

9 years agoam b87c8131: Fix lint warnings.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:07 +0000 (03:30 +0000)]
am b87c8131: Fix lint warnings.

* commit 'b87c813197ab205074e3bdbad4a5e7e2eb39e9d2':
  Fix lint warnings.

9 years agoam de7c4f07: Manually add directly-connected routes as well as default routes
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:05 +0000 (03:30 +0000)]
am de7c4f07: Manually add directly-connected routes as well as default routes

* commit 'de7c4f07a185470587e7940cb0324823b68ccf28':
  Manually add directly-connected routes as well as default routes

9 years agoam f36fcbac: Don\'t specify lladdr when deleting a neighbour.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:04 +0000 (03:30 +0000)]
am f36fcbac: Don\'t specify lladdr when deleting a neighbour.

* commit 'f36fcbacdd0b86bdc2ba1f7059df57c3423019ba':
  Don't specify lladdr when deleting a neighbour.

9 years agoam 852c1e29: Add debugging capabilities to iproute.
Lorenzo Colitti [Wed, 4 Feb 2015 03:30:02 +0000 (03:30 +0000)]
am 852c1e29: Add debugging capabilities to iproute.

* commit '852c1e29f7b5965cd398e0bac1a91f9a6fcf6cfd':
  Add debugging capabilities to iproute.

9 years agoam fd95dbbd: Add test for source address selection behaviour.
Erik Kline [Wed, 4 Feb 2015 03:30:01 +0000 (03:30 +0000)]
am fd95dbbd: Add test for source address selection behaviour.

* commit 'fd95dbbdec851a6ebec9c5a3dda7b682963a5585':
  Add test for source address selection behaviour.

9 years agoam ea56ba43: net_test environment changes
Erik Kline [Wed, 4 Feb 2015 03:30:00 +0000 (03:30 +0000)]
am ea56ba43: net_test environment changes

* commit 'ea56ba43a8234d545e8e22a09577850972764149':
  net_test environment changes

9 years agoam aca27221: Add basic RTM_GETADDR support.
Erik Kline [Wed, 4 Feb 2015 03:29:59 +0000 (03:29 +0000)]
am aca27221: Add basic RTM_GETADDR support.

* commit 'aca272212f10365ab66891b43c535eed7ef63f72':
  Add basic RTM_GETADDR support.

9 years agoam d7c39756: Make net_test work on 3.1 kernels.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:59 +0000 (03:29 +0000)]
am d7c39756: Make net_test work on 3.1 kernels.

* commit 'd7c3975614112794fccf8a576d442c19e801daa8':
  Make net_test work on 3.1 kernels.

9 years agoam e84f2c1e: Don\'t skip the LeftoverRoutes test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:58 +0000 (03:29 +0000)]
am e84f2c1e: Don\'t skip the LeftoverRoutes test.

* commit 'e84f2c1e83621d3afc7b00b45cba2edeb96d1412':
  Don't skip the LeftoverRoutes test.

9 years agoam 61074387: When changing UID, become a member of AID_INET.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:57 +0000 (03:29 +0000)]
am 61074387: When changing UID, become a member of AID_INET.

* commit '610743878821c018ac1918b280ecfa097b77d6f0':
  When changing UID, become a member of AID_INET.

9 years agoam 1904b962: Use the right version in the rule deletion test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:56 +0000 (03:29 +0000)]
am 1904b962: Use the right version in the rule deletion test.

* commit '1904b96289d82315dd0ec75eb0fd49cd04c605c5':
  Use the right version in the rule deletion test.

9 years agoam ab798de7: Return route attribute types as strings.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:55 +0000 (03:29 +0000)]
am ab798de7: Return route attribute types as strings.

* commit 'ab798de742c067f74a58841ca8b26be2d683308e':
  Return route attribute types as strings.

9 years agoam de6b710f: Also check the MTU via netlink.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:55 +0000 (03:29 +0000)]
am de6b710f: Also check the MTU via netlink.

* commit 'de6b710f4f7f1e1c21e44029e30843d5ba23a033':
  Also check the MTU via netlink.

9 years agoam a207bc0c: Support decoding route attributes, cacheinfo, uid.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:54 +0000 (03:29 +0000)]
am a207bc0c: Support decoding route attributes, cacheinfo, uid.

* commit 'a207bc0c270c3f6d34ad69bb10c7e935295712e3':
  Support decoding route attributes, cacheinfo, uid.

9 years agoam 7ba0cb5b: Fix lint error.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:53 +0000 (03:29 +0000)]
am 7ba0cb5b: Fix lint error.

* commit '7ba0cb5bf39f904f61c55e0e130a3d7f55ba1c8f':
  Fix lint error.

9 years agoam f4f1424e: Check that route deletion does not ignore the table.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:52 +0000 (03:29 +0000)]
am f4f1424e: Check that route deletion does not ignore the table.

* commit 'f4f1424e5a1bcd4642b7a1489a36c1cb3f03e046':
  Check that route deletion does not ignore the table.

9 years agoam 9a2c7bb2: Don\'t check IPv6 echo reply tclass on pre-3.14 kernels
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:51 +0000 (03:29 +0000)]
am 9a2c7bb2: Don\'t check IPv6 echo reply tclass on pre-3.14 kernels

* commit '9a2c7bb233a4c0b0d66c5d8fe0a6e264c8759ace':
  Don't check IPv6 echo reply tclass on pre-3.14 kernels

9 years agoam a608717f: Better tests for Path MTU discovery.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:50 +0000 (03:29 +0000)]
am a608717f: Better tests for Path MTU discovery.

* commit 'a608717fb126073d5b117f5f3b1d2f8fa5767e8a':
  Better tests for Path MTU discovery.

9 years agoam d73faf93: Move sending via pktinfo to a SendOnNetid function.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:49 +0000 (03:29 +0000)]
am d73faf93: Move sending via pktinfo to a SendOnNetid function.

* commit 'd73faf93478dd7e735b4d878fd96954e85c024d5':
  Move sending via pktinfo to a SendOnNetid function.

9 years agoam 1eccad2f: Make olddefconfig optional; it only appeared recently.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:48 +0000 (03:29 +0000)]
am 1eccad2f: Make olddefconfig optional; it only appeared recently.

* commit '1eccad2f9baf2dc69e46d2ef5a6f2b6f928e185b':
  Make olddefconfig optional; it only appeared recently.

9 years agoam 576ddcbe: If there\'s a new root fs, delete the old one
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:47 +0000 (03:29 +0000)]
am 576ddcbe: If there\'s a new root fs, delete the old one

* commit '576ddcbec8256749141a9ef1fccad42667917f29':
  If there's a new root fs, delete the old one

9 years agoam b23e017b: Make iproute.py work on 3.4 kernels too.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:46 +0000 (03:29 +0000)]
am b23e017b: Make iproute.py work on 3.4 kernels too.

* commit 'b23e017b5cd2d1a163259a7cfdc9270d4d982e9b':
  Make iproute.py work on 3.4 kernels too.

9 years agoam 32cb491f: Add a function to build UDP packets with options.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:46 +0000 (03:29 +0000)]
am 32cb491f: Add a function to build UDP packets with options.

* commit '32cb491fea0bf4b4fdf092b155480c4429d967cd':
  Add a function to build UDP packets with options.

9 years agoam 0eaba68a: Add tests for {sticky,non-sticky} pktinfo routing
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:45 +0000 (03:29 +0000)]
am 0eaba68a: Add tests for {sticky,non-sticky} pktinfo routing

* commit '0eaba68afe333b2d62cba5060115a4b8264988a0':
  Add tests for {sticky,non-sticky} pktinfo routing

9 years agoam 720635f6: Add a wrapper for sendmsg.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:44 +0000 (03:29 +0000)]
am 720635f6: Add a wrapper for sendmsg.

* commit '720635f61d1db84884e0de41102a7c8e3af521d2':
  Add a wrapper for sendmsg.

9 years agoam 5a6a2e94: Support returning a C pointer to struct data.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:43 +0000 (03:29 +0000)]
am 5a6a2e94: Support returning a C pointer to struct data.

* commit '5a6a2e948ca06b60a35c11b5af52045a95cb2de3':
  Support returning a C pointer to struct data.

9 years agoam ae73c498: Refactor outgoing routing into its own test.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:43 +0000 (03:29 +0000)]
am ae73c498: Refactor outgoing routing into its own test.

* commit 'ae73c4984e3222e5811ab783e3e18b14b017db1d':
  Refactor outgoing routing into its own test.

9 years agoam 8d010427: Only run iptables when necessary.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:41 +0000 (03:29 +0000)]
am 8d010427: Only run iptables when necessary.

* commit '8d010427e1a6108eb496d82616f411ebc9a3d60e':
  Only run iptables when necessary.

9 years agoam c8cff0d2: Better test incoming connections.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:41 +0000 (03:29 +0000)]
am c8cff0d2: Better test incoming connections.

* commit 'c8cff0d2e6066c4479f2ca74103002a59fd23d5c':
  Better test incoming connections.

9 years agoam 051c2907: Make the test more robust with an unreachable rule
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:40 +0000 (03:29 +0000)]
am 051c2907: Make the test more robust with an unreachable rule

* commit '051c29078188c01d5c451b60a003ba9ec00a2822':
  Make the test more robust with an unreachable rule

9 years agoam 0df6a62a: Make it easier to test IPv4 ping on IPv6 sockets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:39 +0000 (03:29 +0000)]
am 0df6a62a: Make it easier to test IPv4 ping on IPv6 sockets.

* commit '0df6a62a65f2ed142732a0da57965fe7bfbfde9c':
  Make it easier to test IPv4 ping on IPv6 sockets.

9 years agoam d74629e0: Separate the reflect and accept tests.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:39 +0000 (03:29 +0000)]
am d74629e0: Separate the reflect and accept tests.

* commit 'd74629e02cfade2561e6698c2f7f7c0310575257':
  Separate the reflect and accept tests.

9 years agoam 71f0b621: Test raw sockets as well, using GRE packets.
Lorenzo Colitti [Wed, 4 Feb 2015 03:29:38 +0000 (03:29 +0000)]
am 71f0b621: Test raw sockets as well, using GRE packets.

* commit '71f0b6211d9550ae267af2603a61789aa680cd28':
  Test raw sockets as well, using GRE packets.