init: Load init.carrier.rc for carrier-specific bits

Change-Id: I941230f035182e27bd62316b594ac457316c37b6
mount: fix incorrect string length calculation

Fix bug https://code.google.com/p/android/issues/detail?id=54192
which incorrectly calculated the length of a string.

Fix compiler warning:

system/core/toolbox/mount.c:59:2: warning: initializer-string for array of chars is too long [enabled by default]
system/core/toolbox/mount.c:59:2: warning: (near initialization for 'options[16].str') [enabled by default]

Change-Id: If8663f8311c6348a730fcf731d402b57fee10cb5
Fix issues where the filename is referred to as 'sideload'

The adb sideload utility referes to the filename as 'sideload' in some
places. This patch changes the printouts to display the filename instead.

Change-Id: I38ada01a08bed53a8d9697c03f55ce8cee2abe12
Signed-off-by: Magnus Eriksson <eriksson.mag@gmail.com>
adb : add missing connection states

Both CS_RECOVERY and CS_SIDELOAD where not being checked by
connection_state_name which resulted in adb get-state returning
unknown when a device is in those modes.

Change-Id: I00716024d6a0bdb68d6e2380c8cd7b5d056bd15f
Signed-off-by: trevd <trevd1234@gmail.com>
backup service: fall back to /sbin/bu

Change-Id: I46c67a401da8de92d7ef81ad40c565bb1d2ef93b
init: allow media to set persist.camera property

Change-Id: Ife28c39da107b53b9c497be9fcbad3159031b8fe
Revert "init: allow media to set persist.camera property"

!!! PROPERTY_PERMS_APPEND !!!

This reverts commit 49506dc95cabe45332a34f9ce594a3115c4428ee

Change-Id: I815f0145845336834f9022ceba25527c47a9bd5c
init.rc: setup qtaguid group ownership of ctrl and stat files

This will help get rid of android_aid.h in the kernel.
The group of the proc entries will be used in place of the default
values picked up by the xt_qtaguid netfilter module
(AID_NET_BW_STATS, AID_NET_BW_ACCT).
This change has no effect until the matching kernel changes are submitted.

Change-Id: I3c177e7b5caf9c59300eba6bd4a976634b333674
init: fix indentation and tab

Change-Id: Ia832ab4df5d955b2fa2b791baf9444aca21c2571
init: provide initial pemissions for ondemand governor

also set all governor permissions a bit late

Change-Id: I5c1445b31bcaf34a535efd7438fd612ada460ea2
Merge "init: provide initial pemissions for ondemand governor" into cm-10.1
libsysutils: fix null pointer and memory leak issue

In SocketClient::quoteArg function
1. Fix potential null pointer accessing issue
2. Fix potential memory leak introduced by realloc fail

Change-Id: I1ca0f9089290d43452e9a71428244545f4ed866b
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
Fixed reversed output in netstat Recv-Q Send-Q columns

Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85
Merge "init.rc: setup qtaguid group ownership of ctrl and stat files" into cm-10.1
Merge "libsysutils: fix null pointer and memory leak issue" into cm-10.1
rootdir: Set permissions for additional ondemand sysfs nodes

Change-Id: Id39cab7ab69ea8f67de99f5b4ee342e2c52ebedd
lolcat

Change-Id: I4fecd80884a86c2d9bb720c9e821bd1605814d8c
Merge "Fixed reversed output in netstat Recv-Q Send-Q columns" into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into db42