Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    baf49bd5
    Label /data/.layout_version with its own type. · baf49bd5
    Stephen Smalley authored
    
    installd creates /data/.layout_version.  Introduce a separate type
    for this file (and any other file created by installd under a directory
    labeled system_data_file) so that we can allow create/write access by
    installd without allowing it to any system data files created by other
    processes.  This prevents installd from overwriting other system data
    files, and ensure that any files it creates will require explicit
    rules in order to access.
    
    Change-Id: Id04e49cd571390d18792949c8b2b13b1ac59c016
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    baf49bd5
    History
    Label /data/.layout_version with its own type.
    Stephen Smalley authored
    
    installd creates /data/.layout_version.  Introduce a separate type
    for this file (and any other file created by installd under a directory
    labeled system_data_file) so that we can allow create/write access by
    installd without allowing it to any system data files created by other
    processes.  This prevents installd from overwriting other system data
    files, and ensure that any files it creates will require explicit
    rules in order to access.
    
    Change-Id: Id04e49cd571390d18792949c8b2b13b1ac59c016
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>