Regexp syntax

Stephen Smalley sds at tycho.nsa.gov
Tue Feb 17 14:40:45 UTC 2009


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

-- 
Stephen Smalley
National Security Agency




More information about the fedora-selinux-list mailing list