Revert "adb: configure /system file permission with fs_config"

This reverts commit 8e79ab24aad6943ebc4d9f345bfa168537f4d2fb.

Change-Id: I6ba3564de51c63834a8bc72c9e3c50be3d26c655
Merge "Revert "adb: configure /system file permission with fs_config"" into android-4.4
init: Do not build logo.c when initlogo is disabled

PS2: Fix spacing.

"For now, logo.c was build even if TARGET_NO_INITLOGO was true.
Changing tty to KD_GRAPHICS is now done in init.c as it should be, when
the logo is not present."
This fixes weird framebuffer distortion on certain devices, if
TARGET_NO_INITLOGO is set to true in some device makefile.

Change-Id: I51153a6a7aa49013de82f625bd58a528da8b8115
rootdir: Add mediaserver to qcom_diag group

Change-Id: If104746ab5438570ab3e06c6968ae3949690da2e
Merge "init: Do not build logo.c when initlogo is disabled" into android-4.4
init.rc: Restored TCP performance tuning

This patch tunes the TCP buffer sizes for high
performance data links including global max rmem
and wmem.

Change-Id: I78dc92bc8190883686678230b0a34a8e32507fa5
CRs-Fixed: 439205 435908
init: fix cache permissions

required fo dexopt

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I299509b68e82a2b3c60eabec1998eaa12c60bc71
init: set permissions on governors

1. interactive
2. ondemand

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ic609ba53981fa0156c1d0d1decf32bbc61a38df9
system: core: increase the polling time for remount_ro to 3600

eMMC4.5 introduces an addition of cache on the device.
We experienced long flush durations in some of the devices,
and therefore the adb reboot resets the target before the flush
completes.
Latest tests show that increasing it to 2400 wasn't enough thus
it was increased to 3600.

Conflicts:
	libcutils/android_reboot.c

Change-Id: Ifbe7af16aa1861d0d57c808b0240361c0317d5c5
init: Fix queue_all_property_triggers with nonexistent properties

Don't queue actions for "on property=*" if the property does not exist.
This fixes these errors on boot:

    init: property 'sys.powerctl' doesn't exist while
    expanding '${sys.powerctl}'
    init: powerctl: cannot expand '${sys.powerctl}

Change-Id: I3bd354d73a860f856be5df2c654f940445f9efd9
Add support for socket security context specification.

Add an optional argument to the socket option for specifying
a SELinux security context for the socket.  Normally the socket
security context is automatically computed from the service security
context or set using the seclabel option, but this facility allows
dealing with two scenarios that cannot be addressed using the existing
mechanisms:
1) Use of logwrapper to wrap a service.
In this case, init cannot determine the service security context
as it does not directly execute it and we do not want logwrapper
to run in the same domain as the service.

2) Situations where a service has multiple sockets and we want to
label them distinctly.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Change-Id: I7ae9088c326a2140e56a8044bfb21a91505aea11