keywords in .fc files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

We are trying in a .fc file to assign a label to a directory path containing the word 'include', e.g.

/opt/mydir/include(/.*)?		-d	gen_context(system_u:object_r:my_context_t,s0)

However it seems 'include(...)' is interpreted as a keyword/macro which causes a compilation error:
`/.*': No such file or directory

Is there a way around this, other than by doing something funny with the regex, like wildcarding one of the letters?

Cheers
Colin

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux