Navigate the selinux refpolicy in your browser. Example: https://www.0x17.de/selinux/#a=&t=cron_role&c=
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
gen.js
index.html

README.md

interactiveSelinuxDocs

Navigate the selinux refpolicy in your browser, even locally. Example: https://www.0x17.de/selinux/#a=&t=cron_role&c=

Assumptions

  • Interface definitions have ') for their ending on a separate line.
  • Quotes (` and ') are counted to separate the inside and outside of definitions.

How to generate the docs

Either download or clone the refpolicy from https://gitweb.gentoo.org/proj/hardened-refpolicy.git

Copy gen.js into the resulting folder and run node gen.js.

The resulting definitions.js needs to be inside the same folder as your index.html.