Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    dc88dca1
    Get rid of separate platform_app_data_file type. · dc88dca1
    Stephen Smalley authored
    
    The original concept was to allow separation between /data/data/<pkgdir>
    files of "platform" apps (signed by one of the four build keys) and
    untrusted apps.  But we had to allow read/write to support passing of
    open files via Binder or local socket for compatibilty, and it seems
    that direct open by pathname is in fact used in Android as well,
    only passing the pathname via Binder or local socket.  So there is no
    real benefit to keeping it as a separate type.
    
    Retain a type alias for platform_app_data_file to app_data_file until
    restorecon /data/data support is in place to provide compatibility.
    
    Change-Id: Ic15066f48765322ad40500b2ba2801bb3ced5489
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    dc88dca1
    History
    Get rid of separate platform_app_data_file type.
    Stephen Smalley authored
    
    The original concept was to allow separation between /data/data/<pkgdir>
    files of "platform" apps (signed by one of the four build keys) and
    untrusted apps.  But we had to allow read/write to support passing of
    open files via Binder or local socket for compatibilty, and it seems
    that direct open by pathname is in fact used in Android as well,
    only passing the pathname via Binder or local socket.  So there is no
    real benefit to keeping it as a separate type.
    
    Retain a type alias for platform_app_data_file to app_data_file until
    restorecon /data/data support is in place to provide compatibility.
    
    Change-Id: Ic15066f48765322ad40500b2ba2801bb3ced5489
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>