sepolgen: update for the latest reference policy
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sepolgen: update ply to the latest versionsepolgen/ sepolgen/ sepolgen/ | +711 | 0 replies | |
| 2/2 | sepolgen: handle the latest reference policysepolgen/ | +88 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] sepolgen: update for the latest reference policy
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.