Skip to content

0x17de/interactiveSelinuxDocs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published