Skip to content
Snippets Groups Projects
  • Jeff Vander Stoep's avatar
    575e6270
    dexoptanalyzer: suppress access(2) denial · 575e6270
    Jeff Vander Stoep authored
    A legitimate call to access(2) is generating a denial. Use the
    audit_access permission to suppress the denial on just the access()
    call.
    
    avc: denied { write } for name="verified_jars"
    scontext=u:r:dexoptanalyzer:s0
    tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir
    
    Bug: 62597207
    Test: build policy
    Test: The following cmd succeeds but no longer generates a denial
        adb shell cmd package compile -r bg-dexopt --secondary-dex \
        com.google.android.googlequicksearchbox
    
    Change-Id: I7d03df2754c24c039bce11426bf8f317232f5e5f
    575e6270
    History
    dexoptanalyzer: suppress access(2) denial
    Jeff Vander Stoep authored
    A legitimate call to access(2) is generating a denial. Use the
    audit_access permission to suppress the denial on just the access()
    call.
    
    avc: denied { write } for name="verified_jars"
    scontext=u:r:dexoptanalyzer:s0
    tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir
    
    Bug: 62597207
    Test: build policy
    Test: The following cmd succeeds but no longer generates a denial
        adb shell cmd package compile -r bg-dexopt --secondary-dex \
        com.google.android.googlequicksearchbox
    
    Change-Id: I7d03df2754c24c039bce11426bf8f317232f5e5f