Skip to content
Snippets Groups Projects
  • Jeff Vander Stoep's avatar
    Ban vendor components access to core data types · 4a478c47
    Jeff Vander Stoep authored
    Vendor and system components are only allowed to share files by
    passing open FDs over HIDL. Ban all directory access and all file
    accesses other than what can be applied to an open file:
    stat/read/write/append.
    
    This commit marks core data types as core_data_file_type and bans
    access to non-core domains with an exemption for apps. A temporary
    exemption is also granted to domains that currently rely on
    access with TODOs and bug number for each exemption.
    
    Bug: 34980020
    Test: Build and boot Marlin. Make phone call, watch youtube video.
          No new denials observed.
    Change-Id: I320dd30f9f0a5bf2f9bb218776b4bccdb529b197
    4a478c47