All of lore.kernel.org
 help / color / mirror / Atom feed
* keywords in .fc files
@ 2015-02-11 10:57 Colin Powers
  2015-02-11 13:44 ` Stephen Smalley
  2015-02-11 13:47 ` Christopher J. PeBenito
  0 siblings, 2 replies; 3+ messages in thread
From: Colin Powers @ 2015-02-11 10:57 UTC (permalink / raw)
  To: SELinux@tycho.nsa.gov

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-11 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 10:57 keywords in .fc files Colin Powers
2015-02-11 13:44 ` Stephen Smalley
2015-02-11 13:47 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.