All of lore.kernel.org
 help / color / mirror / Atom feed
* Question concerning building policy modules
@ 2007-08-15 18:50 James Carter
  2007-08-21 20:58 ` Daniel J Walsh
  0 siblings, 1 reply; 15+ messages in thread
From: James Carter @ 2007-08-15 18:50 UTC (permalink / raw)
  To: Christopher J. PeBenito, Daniel J Walsh; +Cc: SELinux, Steve Smalley

Why isn't the Makefile and other information needed to build a module
separately in the appropriate /usr/share/selinux/<policy name>
directory?  This seems like the logical place for that information.  The
(not very well documented) "install-headers" make target in the
refpolicy Makefile does this.

Instead, the information to build a module for Fedora is in
the /usr/share/selinux/devel directory.  This directory would seem to be
independent of the policy type, even though it is only for building
Fedora policies.  This seems confusing.  The devel directory should have
stuff that all policies need or could use.

Wouldn't it make sense that if I wanted to build a module for the
current policy, I would use the Makefile in devel which would look
at /etc/selinux/config and include the Makefile for the current policy,
but if I wanted to compile for a particular policy, I would just use the
Makefile in its /usr/share directory?

-- 
James Carter <jwcart2@tycho.nsa.gov>
National Security Agency


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

end of thread, other threads:[~2007-08-23 13:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 18:50 Question concerning building policy modules James Carter
2007-08-21 20:58 ` Daniel J Walsh
2007-08-22 11:13   ` Stephen Smalley
2007-08-22 12:18     ` Daniel J Walsh
2007-08-22 12:57     ` Christopher J. PeBenito
2007-08-22 15:57       ` James Carter
2007-08-22 17:04         ` Christopher J. PeBenito
2007-08-22 16:20   ` James Carter
2007-08-22 16:31     ` Daniel J Walsh
2007-08-22 16:41       ` James Carter
2007-08-22 16:31   ` James Carter
2007-08-22 16:48     ` Daniel J Walsh
2007-08-22 17:01       ` James Carter
2007-08-22 18:36         ` Daniel J Walsh
2007-08-23 13:58           ` 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.