android-x86: fix building warnings of kitkat-x86

works also on arm platform, so...

Author:    Chih-Wei Huang <cwhuang@linux.org.tw>
Change-Id: Ic3ade475c5b92de26623e277170c71c49f9e41de
stat: fix printing selinux context and null-dereference

busybox stat tries to always print the selinux context, even if it
is not requested which leads to a segmentation fault due to
dereferencing a null-pointer.

This also changes the format-string used to print the context to
so it actually produces useful output.

Change-Id: Idfe15c931840457f357f860e560fca5b0480ad6f
tar: fix prototype typo, not for android config

Change-Id: I18875e8e8dae4858766d7ddf5b57c11cd8d0823b
busybox-full: enable some new applets

 chvt, deallocvt, fgconsole
 findfs, hwclock, lspci, nmeter
 openvt, rdate, setkeycodes, smemcap

 also enable swapon -p priority, and wc large support

 Unsymlinked: switch_root (only useful in static version)

 setkeycodes can be used to map usb keyboard special keys
 or on devices like tablet pcs with special keys

 Tested on x86 and arm targets

Change-Id: Ib0655715897f4088a81efb4ca74731b60c14ac23
lzop: add overflow check

See CVE-2014-4607
http://www.openwall.com/lists/oss-security/2014/06/26/20

function                                             old     new   delta
lzo1x_decompress_safe                               1010    1031     +21

Change-Id: I98acf36d2474a722759cad25c31bf1c486c00e61
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
busybox-full: tune some config flags

nslookup: enable VERBOSE_RESOLUTION_ERRORS

lzop: enable high compression support (7-9)

adds only 4K to busybox-full (arm)

Change-Id: I994fb45c6f7c7d07bb843429b42f25bb8192e4da
android: add a switch to handle Android L

restore support of wait3()
librpc: inet_makeaddr() is now in bionic

nslookup modified (_res is now hidden in libc dns)
tested on kitkat and built on l-preview

Note:
 With static version built on l-preview,
 nslookup doesnt work on kitkat due to a new socket flag
 named SOCK_CLOEXEC (0x80000), bacon kernel could be
 incompatible with this socket option (to check) or
 dnsproxyd could be not compatible.

 To be tested on a real Android 5.0 build later...

Change-Id: I109bcb6764e84c14c7fc890a6014326238fdf26f
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Rework busybox build process, remove compressed includes

Like the kernel, use an output folder to generate includes

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I988675b071c7a9a959598734fdaff1fdda4e274f
android: fix makefile to build on AOSP

relative path seems could be buggy on aosp,
also some remains in include could make problems.

Change-Id: I4fcbf1bb8d7588d670e2fc5f8beb71397175c8bb
android: fix simple path for cm, add note for later

current AOSP (master) seems a bit different regarding
the variable $(TARGET_OUT_INTERMEDIATES)

Change-Id: I4a92743124950fadffcbff2b88f455db09a45d9e
darwin: fix make prepare, force prebuilt host compiler

also fix relative TARGET_OUT_INTERMEDIATES path on aosp/master

Change-Id: Ie26850726898dcd101eac88d29691a06a94648c5
selinux: remove dependency on libsepol static lib

runcon applet is including flask.h for constants

the only one required is SECCLASS_PROCESS (2)

Change-Id: Ia57abc21b291e7cbf81fdd031baaa5ac4436cbc8
route: remove useless ipv6 header

Change-Id: I4cb0f232be6b7060e9a1bd66b4946060911405de
Always enable reboot applet

Change-Id: I14311a4fbcf559a075fa46c2b6d2c1848b31c362
Fix building swapon priority

Change-Id: I7f7813ce3137f639f33440d24f8120f15c4a787a