All of lore.kernel.org
 help / color / mirror / Atom feed
* writing refpolicy modules...
@ 2006-02-06 18:09 Joy Latten
  2006-02-06 18:49 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Joy Latten @ 2006-02-06 18:09 UTC (permalink / raw)
  To: selinux; +Cc: dvelarde, selinux-dev

We (Deb and I) have a few questions in regards to creating new modules
within refpolicy architecture. We have installed FC5-Test2 and we
are converting old policy to the new refpolicy format.

Is it ok to use the selinux-policy source rpm from rawhide as
a source tree to build a refpolicy module? I understand that the
necessary headers to build independent of source are not yet available.

Do all refpolicy modules need a require and/or optional statement when
using types/attributes from other modules? I ask this because I had
downloaded the rawhide selinux-policy source rpm and had been using the
modules' code as a guideline for writing a refpolicy module. I noticed
that none of the modules used the require/optional statement, but then
they are all compiled as part of the base policy. So, does this mean any
modules written outside of the base module, must use the require or
optional statements if they want to use attributes or types in the base
module? Because my module is not part of the base module.

Also, if I am using interfaces from the base module, are there any
requirements my module must meet? For example, the type domain is now
used as domain_type(), an interface. So, is my policy ok by just
referring to this interface or must I do something else?

Thanks!

Regards,
Joy and Deb



--
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] 5+ messages in thread

end of thread, other threads:[~2006-02-06 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06 18:09 writing refpolicy modules Joy Latten
2006-02-06 18:49 ` Stephen Smalley
2006-02-06 19:11   ` Stephen Smalley
2006-02-06 19:20     ` Daniel J Walsh
2006-02-06 21:35       ` Karl MacMillan

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.