Superuser 4.3 fixes.

Add support for su daemon to work around SELinux policies
and new capset on zygote/dalvik.

Change-Id: I2bdc7ef61dc17430a878e13dd098e6d0c004ddb2
Fix build

Change-Id: I2f65d0128ef0b885603caf1100a194626d04cbed
cleanups and sanity check string length

Change-Id: I17be8f06edd5ec507ab9b0a14cf305be75afc067
Add missing NULL sentinel.

Change-Id: I95b86d8e60d54a54280dae89ab93ff7eb322fe18
Add missing NULL sentinel.

Change-Id: I95b86d8e60d54a54280dae89ab93ff7eb322fe18
Add support for su daemon installation and detection in recovery zip.

Change-Id: I09f2d2be61c9e8c5dec755de05227d41e08e4de8
Superuser 4.3 fixes.

Add support for su daemon to work around SELinux policies
and new capset on zygote/dalvik.

Change-Id: I2bdc7ef61dc17430a878e13dd098e6d0c004ddb2
Fix build

Change-Id: I2f65d0128ef0b885603caf1100a194626d04cbed
cleanups and sanity check string length

Change-Id: I17be8f06edd5ec507ab9b0a14cf305be75afc067
Add support for su daemon installation and detection in recovery zip.

Change-Id: I09f2d2be61c9e8c5dec755de05227d41e08e4de8
install-recovery.sh packaging

Change-Id: I7f8fb1295b8564d33f3e7a04ab622a9075075a50
Merge remote-tracking branch 'github/cm-10.1' into cm-10.2
Rev the su binary version.
Add --daemon documentation.
Only allow recovery install on 4.3+.

Change-Id: I08624fd435a027c515442e2eef7a45bb7f41d666
fix 4.3 check logic

Change-Id: Id87a853cdc20062e73b0f86786dd9b5d0b83b111
fix script failure

Change-Id: If5b839efbd6a6d6a82a5e1e1de520ed4ad612ede
For some reason log exec calls from the daemon
result in zombie log processes... just disable logging from the daemon.
Forked daemon clients do not seem to have this issue, I presume because they die?

Change-Id: I65867bdbfb6a296af47b1cdf3a3024b33ee1388e
Submitting to POSIX C standard: fork_zero_fucks.
For when you give zero fucks about the state of the child process.
This version of fork understands you dont care about the child.
deadbeat dad fork.

Change-Id: I7babf48658e8601a866f0f522b579e9c8341352f
more cleanups around waitpid

Change-Id: Iad8cd1c6847641a7538614e9ff3c375f7af81c63
unset immutable bit on install-recovery.sh

Change-Id: I4ae0d9cd567eb71736c852b678b74b227a8d4c97
Fix endif spacing

Without this spacing, the required files failed to copy to the build target
directory.

Change-Id: I65c38f899c341b86dbdd65131ad4862c69cf5113
Signed-off-by: Evan Anderson <evan1124@gmail.com>