Skip to content
Snippets Groups Projects
  • Calin Juravle's avatar
    Give dex2oat getattr rights on profiles · f51c0548
    Calin Juravle authored
    Similar to profman, dex2oat does more checks on profiles now.
    It needs to be able to do stat to test for existance and non-emptiness.
    
    03-28 10:41:06.667  8611  8611 W dex2oat : type=1400 audit(0.0:129):
    avc: denied { getattr } for
    path="/data/misc/profiles/ref/com.google.android.apps.magazines/primary.prof"
    dev="dm-0" ino=636928 scontext=u:r:dex2oat:s0
    tcontext=u:object_r:user_profile_data_file:s0 tclass=file permissive=0
    
    Bug: 27860201
    Change-Id: I3a7cb396596ae28a375ea98224ada29f093f475e
    f51c0548