Kafel Policy Language Overview
masterKafel uses a simple domain-specific language to define syscall filtering policies. A policy file consists of statements that can be:
- Constant definitions: Using
#define NAME value. - Policy definitions: Named blocks of rules.
- Policy definition statements: Using
USE nameto compose policies. - Default action statements: Using
DEFAULT actionto specify what happens when no rules match.
Policy definition statements placed at the file scope are added to an implicit top-level policy which is compiled by default.