Allow 'system' user to modify cpufreq control files

This is needed by new CPU Settings in CMParts

Change-Id: I0ec4e0b1705670034a433df549b2895985c476af
rootdir: Change sysfs permissions to allow user control ksm

Change-Id: I8a57a3d3bb7b5cd34d58416ca8778dfd6df3111b

Conflicts:
	rootdir/init.rc
set /system/etc/init.d/* permissions

ported from CM7

Change-Id: I279d78679f7d779d6cd6bbc6c834d94706937ae8
run sysinit during boot

ported from CM7

Change-Id: I08f8e23d83ce45366ff2a994d110dd3431efa017

Conflicts:
	rootdir/init.rc
init: Don't confuse do_exec with other exiting processes.

The waitpid call in do_exec may return early with EINTR when init receives
a signal, e.g., a SIGCHLD from an exiting service process.  do_exec should
check waitpid for an EINTR "error", to ensure that it returns only after
waiting on its child process.
core: allow radio users to access all rmnet* interface

Change-Id: Ibc3bf9654cf68362369422f82afe53ef86e3e710
Increase CMD_ARGS_MAX in FrameworkListener

This increases the maximum number of arguments for a framework command
from 16 to 32. 16 arguments are already used by NetworkManagementService
.startTethering().

Change-Id: I0b369889f7f790f43f9c89da0c4e133a342debd7
init: Add an emmc-specific configuration file

 * Load init.emmc.rc if emmc_boot is set
 * This makes startup much cleaner for devices with a mess of vendor RC
   configurations.

Change-Id: Ifa6d0ca104c11e037740690da0ff6284c2f4a3ca
Add required permissions and files for data

 - Add /data/radio
 - Set gateway property after DNS
 - Allow radio users to set properties associated with
   all rmnet interfaces. Not just rmnet0

Change-Id: Ia60fcb8f90aa73ffd40e839b93356ee50a9e5072