SELint - An SELinux Policy Static Analysis Tool
summary
SELint is a static-analysis tool for reference-policy SELinux sources (current release 1.1) that parses refpolicy plus its M4 subset, flags style/convention/warning/error issues, and plugs into build pipelines. It finds concrete bugs: missing interface dependencies (led to 57 instances fixed upstream and the reverse 48), unsafe filecontext regexes (unescaped dots), incorrect allow permissions that miss ioctl unless the proper permission macro is used, and ambiguous M4 argument spacing. Checks are configurable, disableable inline, and can fail CI with a nonzero exit.
AI-written summary · about
chapters (6)
related talks
14mWhat Have I Modified in SELinux: a new addition to your SELinux toolbox
19mSELinux Update
49mSELinux introduction
31mOverview and Recent Developments: SELinux
11mSubsystem Update: State of SELinux, 2019
46m20 years of NSA Security Enhanced Linux, a Retrospective
09mSub-system Update: State of SELinux
31mSELinux: Myths and Realities
