Fix a few bugs in rand_emmc_perf

Fix the code to properly read urandom to init the random number generator.
Fix to properly read the arguments if any options are given.
Fix to enable it to be built against glibc.

Change-Id: I9127a71232e39afa3054fe9f1612def9ae13d9d3
Store the uid and gid (when running on an Android device). Create a utility executable.

Change-Id: Iae0560ceaf1663a8ac123ef09e213fa2798a7178
mkimage for OMAP
remove su for Superuser version.
ext4_utils: add BoardConfig define to suppress EMMC-corrupting wipe command

If BOARD_SUPPRESS_EMMC_WIPE is true, the EMMC wipe command will not be
issued. This works around a bug in some firmware revisions of Samsung EMMC's
that permanently damages the device when the wipe command is issued.

For affected devices with kernel source, MMC_CAP_ERASE should be removed
from the kernel instead.

This is only part of the solution but it does handle the "flashing CM9
for the first time on an unsafe kernel" situation.

Change-Id: Ie4e31f9268a65218e5d344ae3068b021790fc33c
Store the uid and gid (when running on an Android device). Create a utility executable.

Change-Id: Iae0560ceaf1663a8ac123ef09e213fa2798a7178
ext4: Let make_ext4fs be grandfathered into builds

the asec containers switched from vfat to ext4 in JB, so
make_ext4fs isn't really optional anymore

Change-Id: I2b5820eaa1eda223e52fa33ea9a6744fe0361b65
ext4_utils: Fix bad merge of EMMC wipe suppression

The order of the modules in the Makefile changed.

The Makefile items for eMMC wipe suppression should be
in the sections for target static and dynamic
libext4_utils.  These were the first two modules in the
file previously, but no longer are.

Move the eMMC wipe configuration handling to the proper
modules.

Change-Id: I86861a89824af04a3b08e75049580df28bd239f7
Merge branch 'jb-release' of https://android.googlesource.com/platform/system/extras into aosp
procrank/procmem fail on 0-length page mappings

procrank prints messages such as:
warning: could not read usage for 279
and does not include that pid in its table of results

procmem segfaults when run against that process

The problem is the 0-length page map at the top of the stack:

beb39000-beb39000 rw-p 00000000 00:00 0
beb39000-beb5a000 rw-p 00000000 00:00 0          [stack]

This patch changes the code to skip over that 0-length mapping when calculating
memory usage

Change-Id: I02aaaecdf64affbd28ab43a2d0865edda33816bc
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/system/extras into mr1

Change-Id: Idd8ad3d072643c7c818e332af1c62a4f1885cafe
make_ext4fs: fix static utility executable

- static version of libext4_utils is now
  libext4_utils_static
- add libsparse_static to LOCAL_STATIC_LIBRARIES

Change-Id: I2d2e4eafe69f46d848d5b39b4e11ba163b7d25e5
Merge commit 'android-4.2.1_r1.2' into cm-10.1

Change-Id: I6092a813f02583d25ffe39db8f9e95e458eef5ef
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/system/extras into 1.1

Android 4.2.2 release 1
Merge remote-tracking branch 'cm/cm-10.1' into jb-4.3
revert: merge cm/cm10.1 branch

Change-Id: I2777f3e9afeffc0041740472e4efaa2ea4e81871
 make_ext4fs: fix static utility executable

- static version of libext4_utils is now
  libext4_utils_static
- add libsparse_static to LOCAL_STATIC_LIBRARIES

Change-Id: If466937bef99dae6fc0737fbdc235ecb6311c64a
Kernel: build kernel inline

Change-Id: Ia6c6e534e022139a825317e40304d32c05895c02