All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] sepolgen: update for the latest reference policy
@ 2007-02-21 18:14 Karl MacMillan
  0 siblings, 0 replies; only message in thread
From: Karl MacMillan @ 2007-02-21 18:14 UTC (permalink / raw)
  To: SELinux Mail List, Daniel J Walsh

These patch series updates the sepolgen parser (refparser.py) to work 
with the latest reference policy. The first patch updates the parsing 
library (PLY) to a more recent version. The second patch updates the 
grammar and includes some general cleanups of the parser.

This highlights why I think that moving the interfaces and other 
reference policy language constructs into the language is a good idea. 
Tracking the reference policy is going to be time consuming and the 
current grammar is ambiguous in ways that are hard to fix. I also end up 
changing the parser to handle harmless "mistakes" in the reference 
policy (e.g., spurious semi-colons at the end of ifdefs). These would be 
caught by a compiler but are silently accepted by M4.

Karl

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-21 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-21 18:14 [PATCH 0/2] sepolgen: update for the latest reference policy Karl MacMillan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.