def AaProfile.include

bend-osdev-apparmor@0.1.0.0 · profile.bend:213

import bend-osdev-apparmor@0.1.0.0/profile.bend as Profile
import Base

213# p with the rules r added: what an include of rules r into p does
214def AaProfile.include(p: AaProfile, r: AaRules) -> AaProfile:
215  match p:
216    case AaProfile{n, a, f, r0, c, h}:
217      AaProfile{n, a, f, AaRules.append(r0, r), c, h}

Uses (3)

Used by (17)