[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: How should I run genfscon in my module?
- From: "Joshua Brindle" <jbrindle tresys com>
- To: "Karl MacMillan" <kmacmillan mentalrootkit com>, "Stephen Smalley" <sds tycho nsa gov>
- Cc: SELinux List <selinux tycho nsa gov>, fedora-selinux-list redhat com
- Subject: RE: How should I run genfscon in my module?
- Date: Wed, 1 Nov 2006 10:27:59 -0500
> From: Karl MacMillan [mailto:kmacmillan mentalrootkit com]
>
> > > I looked at fixing this by changing genfscon to use
> user_identifier
> > > instead of identifier (they are the same except user_identifier
> > > includes "-"). This made checkpolicy generate a syntax
> error for all
> > > genfscon statements - haven't tracked down what the
> problem is. The
> > > grammer still seems to be unambiguous.
> >
> > Use "user_id" instead. Otherwise, you'll get a syntax
> error when the
> > token is classified as an IDENTIFIER (first match) and the grammar
> > says that it must be a USER_IDENTIFIER.
>
> Right as usual.
>
Maybe make user_id more generic as it is no longer only used for users..
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]