qcom/common: Added O_NOFOLLOW to avoid follow the symlink

open system call is added with NOFOLLOW flag

Change-Id: I402643635e3ee11b3ac5df63c3b71a9fd6f0d2db
init.qcom.usb.sh: Initialize persist.sys.usb.config.extra property

commit c6a666ce "init.qcom.usb.sh: Remove the diag_extra section"
removed the section that sanitizes the persist.sys.usb.config.extra
property. However, if it is unset, the init.qcom.usb.rc rules will
fail to parse the empty property upon USB composition switch to
RNDIS. Instead, it needs to at least be initialized to 'none' if
not already set.

Change-Id: I98c08180bcbe791667d0ccb866a11796a7debc12
security: Add appropriate permission for PFT driver

Update the permissions for PFT driver so that only apps
with drmrpc group permission can open it.

Change-Id: Id985234cb62ac34bc92875618ff79dc9d8bc8ad9
Launch QMUXD process as root user to enable it to obtain required

capabilites for accessing wakelocks. QMUXD will downgrade itself

to user radio after getting the necessary capabilities.

Change-Id: I791203a47e9e7931ecb90f33dffe369187ae850c
CRs-Fixed: 655487
common: remove make rules for MMC_FLASHMEM1.dat

removing make rules for MMC_FLASHMEM1.dat

Change-Id: I4b95f073ebb4b0fb5b25fae074baf7b74e254d79
init: Create /dev/bus/usb directory on boot

Create /dev/bus/usb directory on boot.  This allows modules
(such as USB host manager service) to watch changes directly
in /dev/bus/usb without having to look incrementally for
changes to /dev -> /dev/bus -> /dev/bus/usb.

Change-Id: If11e2fd975af1c0e8a886c4c88e976b468311934
Merge "common: remove make rules for MMC_FLASHMEM1.dat"
USB: init.qcom.usb.sh: Add 64-bit kernel target name

Default composition on MSM8916 is different from
other targets and this distinction to switch back
to default composition is made on the basis of
target name.

Because of multiple variants of 32-bit and 64-bit
kernel and userspace, the target names are
assigned different for these builds. Parse the first
seven letters in target name. These seven letters
cover for 'msm' and XXXX digits. A 64-bit build
target name msm8916_32_64k is parsed to msm8916
and msm8916_32 is parsed to msm8916.

CRs-Fixed: 674082
Change-Id: If17afce5612c2a16515a3d2b30eab381e1e92076
common: init.qcom.usb: Configure BAM2BAM_IPA for RNDIS on MSM8994

For MSM8994 targets, RNDIS is enabled with BAM-to-BAM to IPA for
the datapath. Set the transport type accordingly, which allows
the USB composite driver to choose the f_qc_rndis driver that
supports this.

Change-Id: I2a22bff2042801f43eca323d9bedd43469998190
msm8994: Enable compilation of display HALs

Enable display HAL libraries needed for for H/W Composition.

Change-Id: I1d91d67d58972aa6752df77cc245534de4462809
Merge "USB: init.qcom.usb.sh: Add 64-bit kernel target name"
common: init.qcom.usb: Add USB compositions for RmNET w/ IPA

On MSM8994 the RmNET function uses BAM-to-BAM over IPA transport.
Add rules for commonly used RmNET compositions with IPA enabled.

Change-Id: Iaddcb0747fa2dbec4ea3115c69b5c8a1a5bcb6e1
Merge "init: Create /dev/bus/usb directory on boot"
Merge "init.qcom.usb.sh: Initialize persist.sys.usb.config.extra property"
Merge "msm8994: Enable compilation of display HALs"
QTI: Change permission for smdcntl8

Set the permission for /dev/smdcntl8 to enable qti tethering.
This is needed for QTI to open a bridge with USB.

CRs-fixed: 676361
Change-Id: I64347c5f271bb874d41a54e49a3a6ea30ebf93cd
Merge "common: init.qcom.usb: Configure BAM2BAM_IPA for RNDIS on MSM8994"
Merge "common: init.qcom.usb: Add USB compositions for RmNET w/ IPA"
Merge "QTI: Change permission for smdcntl8"
AppOps: Add AntiTheftDemo app to whitelist.

Add AntiTheftDemo app to whitelist.

Change-Id: Id15695adc092a919a251ad4ed5fede2355e2b405