policygentool

Headers from the SELinux reference policy for building modules

Install

All systems
curl cmd.cat/policygentool.sh
Debian Debian
apt-get install selinux-policy-dev
Ubuntu
apt-get install selinux-policy-dev
image/svg+xml Kali Linux
apt-get install selinux-policy-dev
Windows (WSL2)
sudo apt-get update sudo apt-get install selinux-policy-dev
Raspbian
apt-get install selinux-policy-dev

selinux-policy-dev

Headers from the SELinux reference policy for building modules

The SELinux Reference Policy (refpolicy) is a complete SELinux policy, as an alternative to the existing strict and targeted policies available from http://selinux.sf.net. The goal is to have this policy as the system policy, be and used as the basis for creating other policies. Refpolicy is based on the current strict and targeted policies, but aims to accomplish many additional goals: + Strong Modularity + Clearly stated security Goals + Documentation + Development Tool Support + Forward Looking + Configurability + Flexible Base Policy + Application Policy Variations + Multi-Level Security This package provides header files for building your own SELinux policy packages compatible with official policy packages.