init.qcom.usb.rc: Add uvc declarations under a trigger in rc

Sepolicy permissions for creating directory and creating
symlinks from the sh file are revoked which is why when
trying to create those will lead to avc denials.

avc: denied { write } for comm="init.qcom.usb.s" name="uvc.0"
dev="configfs" ino=123302
scontext=u:r:vendor_qti_init_shell:s0
tcontext=u:object_r:configfs:s0 tclass=dir permissive=0

avc: denied { write } for comm="ln" name="header"
dev="configfs" ino=55623
scontext=u:r:vendor_qti_init_shell:s0
tcontext=u:object_r:configfs:s0 tclass=dir permissive=0

Fix that by moving the create and write operations to rc file
since it had the necessary permissions for the same.

Change-Id: I054f0e558498abecac5d0ebd79bb97deef91f7ae
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2 files changed
tree: 335118f9b11747c9a88c7ca70e40e511b3e72674
  1. etc/
  2. hal/
  3. vendor_product.mk