Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    a3c97a76
    Only allow toolbox exec where /system exec was already allowed. · a3c97a76
    Stephen Smalley authored
    
    When the toolbox domain was introduced, we allowed all domains to exec it
    to avoid breakage.  However, only domains that were previously allowed the
    ability to exec /system files would have been able to do this prior to the
    introduction of the toolbox domain.  Remove the rule from domain.te and add
    rules to all domains that are already allowed execute_no_trans to system_file.
    Requires coordination with device-specific policy changes with the same Change-Id.
    
    Change-Id: Ie46209f0412f9914857dc3d7c6b0917b7031aae5
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    a3c97a76
    History
    Only allow toolbox exec where /system exec was already allowed.
    Stephen Smalley authored
    
    When the toolbox domain was introduced, we allowed all domains to exec it
    to avoid breakage.  However, only domains that were previously allowed the
    ability to exec /system files would have been able to do this prior to the
    introduction of the toolbox domain.  Remove the rule from domain.te and add
    rules to all domains that are already allowed execute_no_trans to system_file.
    Requires coordination with device-specific policy changes with the same Change-Id.
    
    Change-Id: Ie46209f0412f9914857dc3d7c6b0917b7031aae5
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>