init: Include extra init file in /system/etc/init.local.rc

Change-Id: I2324b3be767a4bf2e0d32645a355f14e0b894c5b

Conflicts:
	rootdir/init.rc
Add group qcom_oncrpc and give permissions to ril-daemon and /dev/oncrpc

Change-Id: I022aae4a81c720a026ea6c1a41bda30acbe60224

Conflicts:
	include/private/android_filesystem_config.h
	rootdir/init.rc
rootdir: Add support for ADB-over-network

Change-Id: I7ae1df85f37cdb2f635403ab342cb978a3c77388
Allow 'system' user to modify cpufreq control files

This is needed by new CPU Settings in CMParts

Change-Id: I0ec4e0b1705670034a433df549b2895985c476af

Conflicts:
	rootdir/init.rc
rootdir: Change sysfs permissions to allow user control ksm

Change-Id: I8a57a3d3bb7b5cd34d58416ca8778dfd6df3111b

Conflicts:
	rootdir/init.rc
run sysinit during boot

ported from CM7

Change-Id: I08f8e23d83ce45366ff2a994d110dd3431efa017

Conflicts:
	rootdir/init.rc
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
handle motorola user ids, if MOTOROLA_UIDS is defined

some of these are required by proprietary binary apps
and tools like lsof which report errors on unknown user 9000

A lot of projects use this android_filesystem_config.h,
so a global CFLAGS is better to handle this in BoardConfig.mk

Added latest ones for OSH (webtop) and whisper (used in pds)

Change-Id: I7e92bacfcac418cd9f21e67543a5789a292137a3

Conflicts:
	include/private/android_filesystem_config.h
set /system/etc/init.d/* permissions

ported from CM7

Change-Id: I279d78679f7d779d6cd6bbc6c834d94706937ae8
diag: Remove world read/write permissions from /dev/diag

/dev/diag has world read/write permissions which is considered
a security risk.  Remove these permissions.  Add new qcom_diag
group for access to /dev/diag

CRs-Fixed: 356415
(cherry picked from commit 14c85ec56fd47c5eb143617a3bd5a6e7ee39cb6e)

Change-Id: I536323a97e19a07bbd8eadffa0265d1955590285
Permissions for I/O scheduler settings

Belongs to:  http://review.cyanogenmod.com/22127

Change-Id: Ic641a368b445afd2959eb98b7ae4b18f3adfbaea
rootdir: Update cpufreq permissions when governor changes

 * Requires a kernel change to send the uevent.
 * This should alleviate some frustration that the performance/kernel
   folks have expressed regarding the Power HAL.

Change-Id: I31e6e13534159214a3b600082b7c0e4249433364
Rootdir: Add terminfo path (cfX adapted/fixed)

Change-Id: Ic879b77d1c34ebedf0f790648d286441d6b2bed1

Conflicts:
	rootdir/init.rc
rootdir: Tighten permissions on boostpulse nodes

 * New PowerHAL code will only write to this as the system user, so
   remove the need for it to be world writable.

Change-Id: Ia9e69a6feff7c5ef1ff34a1180225e4008e8130f
init.rc: Fix compcache and cleanup init file

The "import" keyword is only parsed once, for a one shot execution, during
the initial section setup, and before running "on fs". Having an import of
a file that's located in a filesystem other than root will result in an error
like

<3> init: could not import file '/system/etc/init.local.rc' from '/init.rc'

So... any files imported into init need to be moved to the root fs.
While we're at it, move init.rc changes that are specific to CM (and don't
involve modification of preexisting configs) into this file, to ease future
upstream merges.

Change-Id: I0f70ffad874648198acde67c12e1a7833552ad7c

Conflicts:
	rootdir/init.rc
init.rc: Move cfX's sysinit to the init.cm file

Its current location is broken due to a race condition, anyway...

Change-Id: Ic371455521d10fc09c81331c4c4faeab5cfb89d1
rootdir: Set perms on interactive governor's min_sample_time

Change-Id: I75e9f424af731bdf1ca222eee2f4f18b20a6552b
rootdir: set perms on ondemand governor's up_threshold

Change-Id: I0a042a81be677821fa4099a3e19281d390dd27c3
Set permissions on io_is_busy node for interactive governor

Change-Id: I9dce40b0680fdb594f415aade22dbd92ebffa43c
init: Load init.carrier.rc for carrier-specific bits

Change-Id: I941230f035182e27bd62316b594ac457316c37b6