OSDN Git Service

android-x86/system-extras.git
8 years agoam eefe2f9e: mksquashfsimge.sh: Support creating a sparse image
Mohamad Ayyash [Wed, 24 Jun 2015 22:52:11 +0000 (22:52 +0000)]
am eefe2f9e: mksquashfsimge.sh: Support creating a sparse image

* commit 'eefe2f9eb99eac4d2e2195a42a146f899516e874':
  mksquashfsimge.sh: Support creating a sparse image

8 years agoam b4cf7b30: Add switches for compressor
Simon Wilson [Wed, 24 Jun 2015 22:48:03 +0000 (22:48 +0000)]
am b4cf7b30: Add switches for compressor

* commit 'b4cf7b309e8d8dc2ebbc6501ef205091322ab659':
  Add switches for compressor

8 years agomksquashfsimge.sh: Support creating a sparse image
Mohamad Ayyash [Wed, 24 Jun 2015 17:36:40 +0000 (10:36 -0700)]
mksquashfsimge.sh: Support creating a sparse image

Change-Id: Idc28996028e666f929c032e5380312b7b28faa91
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 years agoam 01e42b24: Introduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 18 Jun 2015 23:24:34 +0000 (23:24 +0000)]
am 01e42b24: Introduce squashfs-utils that includes helper functions

* commit '01e42b24c9b56b3ca88a2cf563a8c695d5a74534':
  Introduce squashfs-utils that includes helper functions

8 years agoresolved conflicts for merge of eca016eb to lmp-mr1-ub-dev
Mohamad Ayyash [Thu, 18 Jun 2015 23:19:06 +0000 (16:19 -0700)]
resolved conflicts for merge of eca016eb to lmp-mr1-ub-dev

8 years agoAdd switches for compressor
Simon Wilson [Wed, 17 Jun 2015 19:36:53 +0000 (12:36 -0700)]
Add switches for compressor

Change-Id: I297321db3996d07e9eba3edc0b2837c8d221ab1a

8 years agoIntroduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 2 Apr 2015 02:25:28 +0000 (19:25 -0700)]
Introduce squashfs-utils that includes helper functions

For example: extracting filesystem size from superblock

Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
8 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 agoMerge "fix possible buffer overrun in librank"
Colin Cross [Fri, 24 Apr 2015 21:58:46 +0000 (21:58 +0000)]
Merge "fix possible buffer overrun in librank"

9 years agoMerge "Implement simpleperf stat subcommand."
Yabin Cui [Thu, 23 Apr 2015 23:01:30 +0000 (23:01 +0000)]
Merge "Implement simpleperf stat subcommand."

9 years agoImplement simpleperf stat subcommand.
Yabin Cui [Tue, 21 Apr 2015 01:07:17 +0000 (18:07 -0700)]
Implement simpleperf stat subcommand.

Also add some simple unit-tests.

Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838

9 years agoMerge "Second round of changes to 'perf' profile collection daemon."
Than McIntosh [Thu, 23 Apr 2015 00:31:24 +0000 (00:31 +0000)]
Merge "Second round of changes to 'perf' profile collection daemon."

9 years agofix possible buffer overrun in librank
daegeun.song [Wed, 22 Apr 2015 02:31:29 +0000 (11:31 +0900)]
fix possible buffer overrun in librank

Use snprintf instead of sprintf and fclose() before return.

Change-Id: I2c367b2e7b943f4ed10551c18ecc971e6b830c66
Signed-off-by: Daegeun Song <daegeun.song@lge.com>
9 years agoSecond round of changes to 'perf' profile collection daemon.
Than McIntosh [Fri, 17 Apr 2015 19:10:43 +0000 (15:10 -0400)]
Second round of changes to 'perf' profile collection daemon.

Details:
- avoid use of system() in favor of fork/exec.
- add option to selectively disable/enable mpdecision service around perf
  collection runs to improve profile quality and avoid kernel pmuevents issues.
- default to using 'simpleperf' instead of 'perf'

Change-Id: I27928d8bb647fd852ec944158ebfd8efa38c01b4

9 years agoMerge "Do free and fclose when error occur."
Colin Cross [Wed, 22 Apr 2015 17:57:32 +0000 (17:57 +0000)]
Merge "Do free and fclose when error occur."

9 years agoDo free and fclose when error occur.
daegeun.song [Wed, 22 Apr 2015 05:14:02 +0000 (14:14 +0900)]
Do free and fclose when error occur.

Do free and fclose when error occur.

Change-Id: Ifc611579cf919eeb3fbbf1dff70e7f851a26e083
Signed-off-by: Daegeun Song <daegeun.song@lge.com>
9 years agoMerge "Implement simpleperf list subcommand."
Yabin Cui [Sat, 18 Apr 2015 21:13:26 +0000 (21:13 +0000)]
Merge "Implement simpleperf list subcommand."

9 years agoImplement simpleperf list subcommand.
Yabin Cui [Thu, 16 Apr 2015 22:26:31 +0000 (15:26 -0700)]
Implement simpleperf list subcommand.

simpleperf is used to replace linux/tools/perf. And This CL implements
the list subcommand of it.

Change-Id: I3e6fe854e19cc370070d0fd8416d0aa6fa8f8e90

9 years agoMerge "f2fs_utils: fix build break in static_sdk_tools"
Mark Salyzyn [Thu, 16 Apr 2015 18:02:41 +0000 (18:02 +0000)]
Merge "f2fs_utils: fix build break in static_sdk_tools"

9 years agof2fs_utils: fix build break in static_sdk_tools
Mark Salyzyn [Thu, 16 Apr 2015 16:56:36 +0000 (09:56 -0700)]
f2fs_utils: fix build break in static_sdk_tools

external/f2fs-tools/mkfs/f2fs_format.c:357:
    error: undefined reference to dev_read_version
clang: error:
    linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj/lib/libf2fs_fmt_host_dyn.so] Error 1

Change-Id: I9bf1eec9ee60aa2fc55a3d0793a67d36f271acef

9 years agoMerge "make_ext4fs: use libcutils and libselinux shared libraries"
Mark Salyzyn [Wed, 15 Apr 2015 18:14:37 +0000 (18:14 +0000)]
Merge "make_ext4fs: use libcutils and libselinux shared libraries"

9 years agoMerge "Move away from gr_surface."
Elliott Hughes [Wed, 15 Apr 2015 17:59:52 +0000 (17:59 +0000)]
Merge "Move away from gr_surface."

9 years agoMove away from gr_surface.
Elliott Hughes [Wed, 15 Apr 2015 17:23:15 +0000 (10:23 -0700)]
Move away from gr_surface.

Change-Id: Id23940a2e92bbfd56a2f2e1e021fb89114830dd4

9 years agomake_ext4fs: use libcutils and libselinux shared libraries
Mark Salyzyn [Tue, 7 Apr 2015 16:36:29 +0000 (09:36 -0700)]
make_ext4fs: use libcutils and libselinux shared libraries

- move libcutils and libselinux as shared now that they are
  in DISTTOOL.
- liblog dependency is part of libcutils, and need not be
  called out explicitly now. liblog is in DISTTOOL.
- libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I85d6d0c1fd5cf22f7328fdfcbe9a8511a552857c

9 years agoMerge "select(2) is bad, always use poll(2). Also remove unnecessary loop."
Paul Crowley [Thu, 9 Apr 2015 15:55:35 +0000 (15:55 +0000)]
Merge "select(2) is bad, always use poll(2). Also remove unnecessary loop."

9 years agoselect(2) is bad, always use poll(2). Also remove unnecessary loop.
Paul Crowley [Thu, 9 Apr 2015 09:18:54 +0000 (10:18 +0100)]
select(2) is bad, always use poll(2). Also remove unnecessary loop.

Change-Id: I18cb8d75945413e35dc904bc95362d9b579cb336

9 years agoMerge "Add memmove benchmarking."
Christopher Ferris [Wed, 8 Apr 2015 22:28:38 +0000 (22:28 +0000)]
Merge "Add memmove benchmarking."

9 years agoAdd memmove benchmarking.
Christopher Ferris [Wed, 8 Apr 2015 22:21:42 +0000 (15:21 -0700)]
Add memmove benchmarking.

Change-Id: I75bb907f5633d155cd411941ea6d9d39b9787983

9 years agoMerge "Perf profile collection daemon."
Elliott Hughes [Tue, 7 Apr 2015 20:10:14 +0000 (20:10 +0000)]
Merge "Perf profile collection daemon."

9 years agoPerf profile collection daemon.
Than McIntosh [Thu, 5 Mar 2015 16:05:02 +0000 (11:05 -0500)]
Perf profile collection daemon.

Collects system-wide profiles via periodic invocation of
/system/bin/perf, placing the resulting data files in a destination
directory selected via config file.  Behavior of the daemon, e.g how
often to profile, duration of profiling runs, etc, can also be
controlled with config file settings.

Change-Id: I7978cab62aa0c2507ecf8d70ba073e77db730120

9 years agoMerge "Introduce squashfs-utils that includes helper functions"
Mohamad Ayyash [Tue, 7 Apr 2015 01:24:21 +0000 (01:24 +0000)]
Merge "Introduce squashfs-utils that includes helper functions"

9 years agoIntroduce squashfs-utils that includes helper functions
Mohamad Ayyash [Thu, 2 Apr 2015 02:25:28 +0000 (19:25 -0700)]
Introduce squashfs-utils that includes helper functions

For example: extracting filesystem size from superblock

Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
9 years agoMerge "ext_utils: xattr_free_space assert"
Mark Salyzyn [Mon, 6 Apr 2015 19:41:07 +0000 (19:41 +0000)]
Merge "ext_utils: xattr_free_space assert"

9 years agoext_utils: xattr_free_space assert
Mark Salyzyn [Mon, 6 Apr 2015 19:37:28 +0000 (12:37 -0700)]
ext_utils: xattr_free_space assert

Commit 636d848860e5eac4225a830706fc34d48d8cc01e failed
to modify the assert checking to compensate for the
four null bytes.

Change-Id: Iec618f94f05f8700683507a3c797521689103b5a

9 years agoMerge "ext4_utils: xattr_assert_sane false positives"
Mark Salyzyn [Mon, 6 Apr 2015 19:22:48 +0000 (19:22 +0000)]
Merge "ext4_utils: xattr_assert_sane false positives"

9 years agoext4_utils: xattr_assert_sane false positives
Mark Salyzyn [Mon, 6 Apr 2015 19:16:42 +0000 (12:16 -0700)]
ext4_utils: xattr_assert_sane false positives

xattr_free_space() does not match kernel, it subtracts
sizeof(__u32) as a buffer zone to permit IS_LAST_ENTRY
to function. As documented in .../linux/fs/ext4/xattr.c:

+------------------+
| header           |
| entry 1          | |
| entry 2          | | growing downwards
| entry 3          | v
| four null bytes  | <<<< HERE is why sizeof(__u32)
| . . .            |
| value 1          | ^
| value 3          | | growing upwards
| value 2          | |
+------------------+

Change-Id: Iee6e4e90664a3c2c5056006870b0f2f22b236bad

9 years agoMerge "Fix missing '\n's in kernel logging."
Elliott Hughes [Sat, 4 Apr 2015 19:06:34 +0000 (19:06 +0000)]
Merge "Fix missing '\n's in kernel logging."

9 years agoFix missing '\n's in kernel logging.
Elliott Hughes [Sat, 4 Apr 2015 19:03:52 +0000 (12:03 -0700)]
Fix missing '\n's in kernel logging.

Change-Id: I3a127b2d50012fec2f91fd302bbc611e47e04aff

9 years agoMerge "ext4_utils: move fs_config to libcutils"
Mark Salyzyn [Thu, 2 Apr 2015 20:59:05 +0000 (20:59 +0000)]
Merge "ext4_utils: move fs_config to libcutils"

9 years agoext4_utils: move fs_config to libcutils
Mark Salyzyn [Wed, 1 Apr 2015 14:31:14 +0000 (07:31 -0700)]
ext4_utils: move fs_config to libcutils

Bug: 19908228
Change-Id: Ic868d3e71d2a166603f3f0618aca5ea69639bdaf

9 years agoMerge "ext4_utils: Abstracting ext4 encryption property system"
Paul Lawrence [Thu, 2 Apr 2015 15:39:01 +0000 (15:39 +0000)]
Merge "ext4_utils: Abstracting ext4 encryption property system"

9 years agoext4_utils: Abstracting ext4 encryption property system
Paul Lawrence [Mon, 16 Mar 2015 22:35:55 +0000 (15:35 -0700)]
ext4_utils: Abstracting ext4 encryption property system

Change-Id: Iddca42328e9249eb09eb68e6d5339a02cfebecd0

9 years agoMerge "build_verity_tree: Add verbose flag"
Mohamad Ayyash [Wed, 1 Apr 2015 17:35:05 +0000 (17:35 +0000)]
Merge "build_verity_tree: Add verbose flag"

9 years agoMerge "slideshow: fix format string type"
Sami Tolvanen [Wed, 1 Apr 2015 17:02:48 +0000 (17:02 +0000)]
Merge "slideshow: fix format string type"

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 agobuild_verity_tree: Add verbose flag
Mohamad Ayyash [Tue, 31 Mar 2015 19:27:29 +0000 (12:27 -0700)]
build_verity_tree: Add verbose flag

Change-Id: I0c5607f7aa5e964abc2031bbe71ff5c6e6ef56cc
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
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