Selinux grammar

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Summary of policy grammar selinux)
 
Line 1: Line 1:
 
This is my attempt at documenting the policy grammar
 
This is my attempt at documenting the policy grammar
 
that is accepted by checkpolicy.
 
that is accepted by checkpolicy.
 +
 +
Comments start with a # character and continue to the
 +
end of the line.
 +
 +
Keywords can be in all uppercase or all lowercase.
 +
 +
A file must contain either a '''base_policy''' or a '''module_policy'''.
 +
 +
'''module_policy'''

Revision as of 12:49, 17 October 2008

This is my attempt at documenting the policy grammar that is accepted by checkpolicy.

Comments start with a # character and continue to the end of the line.

Keywords can be in all uppercase or all lowercase.

A file must contain either a base_policy or a module_policy.

module_policy