Skip to contentSkip to conversation

Policy Language

DISCUSSION Stephen D. Smalley 1 participant 1 message Jan 6, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

I used the wrong terminology (ambiguous) Your are absolutely correct that it is not ambiguous. While the following foo.y is easily handled in a (yacc) file, it is not so easily handled in other languages. While I am asking could we put a ';' at the end of all statements ?

Quoted 7 lines

For a regular expression on the two statements.

CLASS identifier
CLASS identifier { identifier_list }

To identify the second from the first I have to look for a { and not just a white space or a ;

Sounds like you are using the wrong tool for the job (regular expressions rather than a grammar). While it would be straightforward to implement the changes you suggest to the language, such changes don't seem to be justified by your explanation, and others have already developed policy management and analysis tools based on the current language definition.

--
Stephen Smalley, NSA
[email protected]

--
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.