Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    rs.te: Allow following /data/user/0 symlink · 5cbe41b1
    Nick Kralevich authored
    The bcc command line uses /data/user/0 paths, so renderscript needs to
    be able to follow those symlinks.
    
    Addresses the following denial:
    
      audit(1545249938.830:2274): avc: denied { read } for comm="bcc" name="0" dev="dm-6" ino=101 scontext=u:r:rs:s0:c184,c256,c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=lnk_file permissive=1 app=android.rscpp.cts
    
    Test: cts-tradefed run cts -m CtsRsCppTestCases
    Bug: 121266184
    Bug: 112357170
    Change-Id: I16210f9b95f386bdee0863cf0044c956af99586d
    5cbe41b1