Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    0c9708b2
    domain.te: Add backwards compatibility for unlabeled files · 0c9708b2
    Nick Kralevich authored
    For unlabeled files, revert to DAC rules. This is for backwards
    compatibility, as files created before SELinux was in place may
    not be properly labeled.
    
    Over time, the number of unlabeled files will decrease, and we can
    (hopefully) remove this rule in the future.
    
    To prevent inadvertantly introducing the "relabelto" permission, add
    a neverallow domain, and add apps which have a legitimate need to
    relabel to this domain.
    
    Bug: 9777552
    Change-Id: I71b0ff8abd4925432062007c45b5be85f6f70a88
    0c9708b2
    History
    domain.te: Add backwards compatibility for unlabeled files
    Nick Kralevich authored
    For unlabeled files, revert to DAC rules. This is for backwards
    compatibility, as files created before SELinux was in place may
    not be properly labeled.
    
    Over time, the number of unlabeled files will decrease, and we can
    (hopefully) remove this rule in the future.
    
    To prevent inadvertantly introducing the "relabelto" permission, add
    a neverallow domain, and add apps which have a legitimate need to
    relabel to this domain.
    
    Bug: 9777552
    Change-Id: I71b0ff8abd4925432062007c45b5be85f6f70a88