• Nick Kralevich's avatar
    flo: updates for SELinux · fd585834
    Nick Kralevich authored
    * Move binaries from /system/etc to /system/bin. That's the proper
    place for binaries, and avoids having to preface each service entry
    with /system/bin/sh
    
    * Drop seclabel statements and rely on automatic domain transitions.
    
    * remove call to init.qcom.class_main.sh , which doesn't exist.
    This gets rid of the following unnecessary errors:
      <3>[    5.286834] init: Warning!  Service qcom-c_main-sh needs a SELinux domain defined; please fix!
      <5>[    5.288970] type=1400 audit(1425327865.651:5): avc:  denied  { execute_no_trans } for  pid=191 comm="init" path="/system/bin/sh" dev="mmcblk0p22" ino=341 scontext=u:r:init:s0 tcontext=u:object_r:shell_exec:s0 tclass=file
    
    Fix some other minor policy issues.
    
    Change-Id: Ib47d49b6c239ab7a2ebe6159465deb98b4b8cecb
    fd585834
file_contexts 7.25 KB