Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    853ffaad
    Deduplicate neverallow rules on selinuxfs operations. · 853ffaad
    Stephen Smalley authored
    
    We already have neverallow rules for all domains about
    loading policy, setting enforcing mode, and setting
    checkreqprot, so we can drop redundant ones from netd and appdomain.
    Add neverallow rules to domain.te for setbool and setsecparam
    and exclude them from unconfined to allow fully eliminating
    separate neverallow rules on the :security class from anything
    other than domain.te.
    
    Change-Id: I0122e23ccb2b243f4c5376893e0c894f01f548fc
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    853ffaad
    History
    Deduplicate neverallow rules on selinuxfs operations.
    Stephen Smalley authored
    
    We already have neverallow rules for all domains about
    loading policy, setting enforcing mode, and setting
    checkreqprot, so we can drop redundant ones from netd and appdomain.
    Add neverallow rules to domain.te for setbool and setsecparam
    and exclude them from unconfined to allow fully eliminating
    separate neverallow rules on the :security class from anything
    other than domain.te.
    
    Change-Id: I0122e23ccb2b243f4c5376893e0c894f01f548fc
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>