All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <method@gentoo.org>
To: James Morris <jmorris@namei.org>
Cc: selinux@tycho.nsa.gov
Subject: Re: Reference policy documentation
Date: Sat, 06 May 2006 12:07:33 -0400	[thread overview]
Message-ID: <445CC9C5.3050603@gentoo.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0605061056310.13769@d.namei>

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.

      reply	other threads:[~2006-05-06 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-06 15:00 Reference policy documentation James Morris
2006-05-06 16:07 ` Joshua Brindle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445CC9C5.3050603@gentoo.org \
    --to=method@gentoo.org \
    --cc=jmorris@namei.org \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.