All of lore.kernel.org
 help / color / mirror / Atom feed
* Reference policy documentation
@ 2006-05-06 15:00 James Morris
  2006-05-06 16:07 ` Joshua Brindle
  0 siblings, 1 reply; 2+ messages in thread
From: James Morris @ 2006-05-06 15:00 UTC (permalink / raw)
  To: selinux

Is there some canonical documentation on reference policy and related 
infrastructure?

Something which fully describes the format of the source policy modules, 
for example, so I know what to do about:

  ERROR 'This block has no require section.' at token ''

I'm sure I saw something once, but can't remember where.



- James
-- 
James Morris
<jmorris@namei.org>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

* Re: Reference policy documentation
  2006-05-06 15:00 Reference policy documentation James Morris
@ 2006-05-06 16:07 ` Joshua Brindle
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Brindle @ 2006-05-06 16:07 UTC (permalink / raw)
  To: James Morris; +Cc: selinux

James Morris wrote:
> Is there some canonical documentation on reference policy and related 
> infrastructure?
>
> Something which fully describes the format of the source policy modules, 
> for example, so I know what to do about:
>
>   ERROR 'This block has no require section.' at token ''
>
> I'm sure I saw something once, but can't remember where.
>
>
>
> - James
>   
http://serefpolicy.sourceforge.net/index.php?page=documentation has 
refpolicy docs but the error above is the module grammar, and there 
isn't much documentation about it. The error above is saying that there 
is no require { } block in the main section of the module (which is 
required). If you are writing ref policy modules the first line should 
be something like policy_module(foo,1.0) which will take care of that.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2006-05-06 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-06 15:00 Reference policy documentation James Morris
2006-05-06 16:07 ` Joshua Brindle

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.