Revert "dd: support skip and seek values greater than 2G on android"

This reverts commit 6a025ba7107abe0c46a29c023ea54262c0dda26a, breaks
dealing with large storages, and it's making simple operations like
"/dd if=/dev/zero of=/dev/block/mmcblk0p3 seek=6144 count=75 bs=1"
fail in recovery

Change-Id: I246072ea7e614ee19fc421a8b11f9d11504c9f45
android ndk defconfig: fix default location of modules

The default location of modules is currently /lib/modules which
we never use on android.  Some kernel modules need to be loaded on
boot with /system/bin or init.d scripts.
busybox: fix build for x86 android

This patchset implements new configs for x86 android, and
stubs some missing syscalls on this platform to let recovery
build.

Patchset #2: s/PREFIX/SUFFIX/

Change-Id: I79e6b9d3a5569dd0376e983e21d893c4ca944589
include sys/resource.h where needed

We use functions from sys/resource.h in misc applets, but don't include
the header.  This breaks building with newer glibc versions, so add the
include where needed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit c5fe9f7b723f949457263ef8e22ab807d5b549ce)

Change-Id: I59ce8b8f68cae23809065ca71c454d75f86dc8a5
build system: use pkg-config to look up selinux libs

Newer versions of libselinux has started linking against more libs.
Rather than continuing hardcoding things, switch to using pkg-config
to query for its dependencies.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Change-Id: Id5bdbb791377e4f85c4653d8b265520cabac3141
unzip: make options parsing more robust on getopt w/o gnu extensions

Also, code shrank:

function                                             old     new   delta
static.extn                                           15      10      -5
packed_usage                                       29231   29217     -14
unzip_main                                          2388    2291     -97
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-116)           Total: -116 bytes

tweak help text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Change-Id: I3d0a3f26037d5388b8d8240f9b373d12534056f1
update config

Change-Id: I356dff95eb8f558cda9f3280864f8e5c1ccdb972
Revert "busybox: fix build for x86 android"

This reverts commit ae51825d, no need for a separate configuration file. Instead, add syscall stubs like those for arm and mips.

Conflicts:
	include-full-x86/autoconf.h
	include-full-x86/usage_compressed.h
	include-minimal-x86/autoconf.h
	include-minimal-x86/usage_compressed.h
Add missing x86 syscall stubs

Bionic is missing a few syscall implementations. Add the x86 equivalents of their ARM and MIPS brethren so that busybox will compile on x86.

Change-Id: Id68bcf048133873b438b29b1dabd14279fadf800
Signed-off-by: Hans Nielsen <hans@stackallocated.com>
Build with -fno-strict-aliasing

Change-Id: I4117a526cdc93c96a9b7102727f5b33542810990
Signed-off-by: Evan McClain <aeroevan@gmail.com>