conn_init: set unused attribute for unused param

pEndOfCfg is unused, and self assigning is an error
(with Werror) in Clang. Set this parameter as unused instead.

Change-Id: Ifea8a44579ef842ceed4837791a5a5142d0e3bc4
Merge "conn_init: set unused attribute for unused param"
am a3963f37: Merge "conn_init: set unused attribute for unused param"

* commit 'a3963f37db5e90e1e332673b02f662285a55e12d':
  conn_init: set unused attribute for unused param
Label /dev/qseecom

Otherwise keystore in enforcing is broken.

Bug: 11518274
Change-Id: I10ead7cabe794d1752a8cba4dc3193217aad7805
Merge "Label /dev/qseecom"
am 61ba4c7b: Merge "Label /dev/qseecom"

* commit '61ba4c7b99a1bbacef01bf20e3ae93117807fc39':
  Label /dev/qseecom
Move rmt into its own domain.

Don't run rmt in init's domain. /system/bin/rmt_storage
is a qualcomm specific daemon responsible for servicing modem
filesystem requests. It doesn't make sense to run rmt_storage
in init's domain, as doing so prevents us from fine tuning
its policy.

Keep the domain in permissive mode right now until we address
the following denials:

<5>[    7.497467] type=1400 audit(1383939680.983:5): avc:  denied  { read write } for  pid=193 comm="rmt_storage" name="mem" dev="tmpfs" ino=4010 scontext=u:r:rmt:s0 tcontext=u:object_r:kmem_device:s0 tclass=chr_file
<5>[    7.497741] type=1400 audit(1383939680.983:6): avc:  denied  { open } for  pid=193 comm="rmt_storage" name="mem" dev="tmpfs" ino=4010 scontext=u:r:rmt:s0 tcontext=u:object_r:kmem_device:s0 tclass=chr_file

We still need to get a better understanding of what rmt_storage
does and what rules should be applied to it.

Change-Id: I45d03fb93870f1b4bb64215f5dcd9a2a443f5566
Merge "Move rmt into its own domain."
am 46aa4a3e: Merge "Move rmt into its own domain."

* commit '46aa4a3ed752936fa2ab2c68cb4b4471e4eb2efa':
  Move rmt into its own domain.
Avoid logwrapper calls

Logwrapper is useful for debugging, but isn't intended to be
kept on for production devices. Remove it.

Change-Id: I11c5aaf0cec65e162fcf9a6cc1785f3bc1ed17c1
Drop incorrect param for socket creation.

The socket line in the service stanza doesn't
support multiple groups. Adding multiple listed
groups will conflict with setting the security
context if used.

Change-Id: I4a9e91e6bd5e2d2997789af990f7e5315522dcaa
fix broken wifi on flo/deb

00739e3d14f2f1ea9240037283c3edd836d2aa2f in external/sepolicy
moved ueventd into enforcing. This broke wifi on flo/deb.
Fix it.

This addresses the following denials:

<5>[  219.755523] type=1400 audit(1384456650.969:107): avc:  denied  { search } for  pid=2868 comm="ueventd" name="wifi" dev="mmcblk0p30" ino=637740 scontext=u:r:ueventd:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir
<5>[  219.755706] type=1400 audit(1384456650.969:108): avc:  denied  { read } for  pid=2868 comm="ueventd" name="WCNSS_qcom_cfg.ini" dev="mmcblk0p30" ino=637747 scontext=u:r:ueventd:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=file
<5>[  219.755889] type=1400 audit(1384456650.969:109): avc:  denied  { open } for  pid=2868 comm="ueventd" name="WCNSS_qcom_cfg.ini" dev="mmcblk0p30" ino=637747 scontext=u:r:ueventd:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=file
<5>[  219.756134] type=1400 audit(1384456650.969:110): avc:  denied  { getattr } for  pid=2868 comm="ueventd" path="/data/misc/wifi/WCNSS_qcom_cfg.ini" dev="mmcblk0p30" ino=637747 scontext=u:r:ueventd:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=file

Bug: 11688129
Change-Id: Ice0d3432010cfbbce88dd0ede013af3b2297d3d6
Merge "Drop incorrect param for socket creation."
am 4cae6946: Merge "Drop incorrect param for socket creation."

* commit '4cae69465c8cce60a00b6d9f00dd58e38b52f132':
  Drop incorrect param for socket creation.
Merge "fix broken wifi on flo/deb"
am 4aee7dd9: Merge "fix broken wifi on flo/deb"

* commit '4aee7dd9129993c681525532e8f14edb1add850d':
  fix broken wifi on flo/deb
Merge "Avoid logwrapper calls"
Label kgsl (graphics) nodes.

Created a new label and addressed the following denials.

* For system server
    denied  { read write } for  pid=800 comm="ndroid.systemui" name="kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
    denied  { open } for  pid=800 comm="ndroid.systemui" name="kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
    denied  { ioctl } for  pid=800 comm="ndroid.systemui" path="/dev/kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file

* For surfaceflinger
    denied  { ioctl } for  pid=286 comm="SurfaceFlinger" path="/dev/kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file
    denied  { read write } for  pid=286 comm="SurfaceFlinger" path="/dev/kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file

* For app domains
    denied  { read write } for  pid=800 comm="ndroid.systemui" name="kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
    denied  { open } for  pid=800 comm="ndroid.systemui" name="kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file
    denied  { ioctl } for  pid=800 comm="ndroid.systemui" path="/dev/kgsl-3d0" dev="tmpfs" ino=8426 scontext=u:r:platform_app:s0 tcontext=u:object_r:device:s0 tclass=chr_file

Change-Id: I417bbd12fbdc17cd3d1110dcf3bff73dd5e385a4
am 409b90f8: Merge "Avoid logwrapper calls"

* commit '409b90f8507b9c967b2e443b72a9df9d45654fd8':
  Avoid logwrapper calls
Merge "Label kgsl (graphics) nodes."