Regexp syntax
Per Sjoholm
Per.t.Sjoholm at flysta.net
Tue Feb 17 15:29:55 UTC 2009
Stephen Smalley wrote:
> On Tue, 2009-02-17 at 08:40 +0100, Per Sjoholm wrote:
>
>> Updating from CentOS 4.7 to 5.2 with targeting and enforcing.
>> (Main reason for doing the update)
>>
>> Were can I find the syntax description for the regexp used in semange
>> fcontext.
>> And also some non trivial examples.
>>
>> I have read
>> http://fedoraproject.org/wiki/SELinux/ManagingFileContext
>> http://docs.fedoraproject.org/selinux-user-guide/f10/pdf/Security-Enhanced_Linux.pdf
>>
>
> The syntax is just that of a POSIX extended RE.
> man 7 regex
>
Thanks,
This is important as there are several regex behaviours.
Maybe some can add this(POSIX extended RE, man 7 regex) to appropriate
docs and manual pages ?
Info about checking reference policy for example is also good.
More information about the fedora-selinux-list
mailing list