Linux Selinux Policy Writing

Use when writing a custom SELinux policy module for a confined service that the targeted policy does not cover, on systems you administer. Covers generating a type enforcement module from AVC denials with audit2allow, writing .te, .fc, and .if files by hand, compiling with checkmodule and semodule_package, labeling files with file contexts, testing in a permissive domain, and promoting a tested module to enforcing. Defensive policy authoring that keeps enforcement on instead of disabling it.

mizazhaider-ceh Updated
AgentArsenal

File contents

mizazhaider-ceh/AgentArsenal commit e1f46c7c14

Frequently asked questions

npx get-skill add mizazhaider-ceh/linux-selinux-policy-writing