2b7b44d80e
Back when the SECMARK implementation was new, the packet class was always checked. Because of that, unlabeled_t packet rules proliferated refpolicy since the common case was to have no SECMARK rules. Since then, the kernel has been modified to only enforce the packet class if there are SECMARK rules. Remove the unlabeled_t packet rules, since users of SECMARK will likely want no unlabeled_t packet rules, and the common case users will have no impact since the packet class isn't enforced on their systems. To have partial SECMARK confinement, the following rule applies: allow { domain -type_i_want_to_constrain_t } unlabeled_t:packet { send recv }; It seems like over-allowing, but if you have no SECMARK rules, it's the equivalent of: allow * unlabeled_t:packet { send recv }; Signed-off-by: Chris PeBenito <cpebenito@tresys.com> |
||
---|---|---|
.. | ||
flask | ||
modules | ||
support | ||
constraints | ||
global_booleans | ||
global_tunables | ||
mcs | ||
mls | ||
policy_capabilities | ||
users |