Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    959fdaaa
    Remove unlabeled execute access from domain, add to appdomain. · 959fdaaa
    Stephen Smalley authored
    
    Otherwise all domains can create/write files that are executable
    by all other domains.  If I understand correctly, this should
    only be necessary for app domains executing content from legacy
    unlabeled userdata partitions on existing devices and zygote
    and system_server mappings of dalvikcache files, so only allow
    it for those domains.
    
    If required for others, add it to the individual
    domain .te file, not for all domains.
    
    Change-Id: I6f5715eb1ecf2911e70772b9ab4e531feea18819
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    959fdaaa
    History
    Remove unlabeled execute access from domain, add to appdomain.
    Stephen Smalley authored
    
    Otherwise all domains can create/write files that are executable
    by all other domains.  If I understand correctly, this should
    only be necessary for app domains executing content from legacy
    unlabeled userdata partitions on existing devices and zygote
    and system_server mappings of dalvikcache files, so only allow
    it for those domains.
    
    If required for others, add it to the individual
    domain .te file, not for all domains.
    
    Change-Id: I6f5715eb1ecf2911e70772b9ab4e531feea18819
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>