All of lore.kernel.org
 help / color / mirror / Atom feed
* Need to break or reduce the dependency on a static libsepol
@ 2008-04-01 12:07 Stephen Smalley
  2008-04-01 12:24 ` Joshua Brindle
  2008-04-01 18:27 ` David Sugar
  0 siblings, 2 replies; 11+ messages in thread
From: Stephen Smalley @ 2008-04-01 12:07 UTC (permalink / raw)
  To: selinux
  Cc: Joshua Brindle, Chad Sellers, Karl MacMillan, Daniel J Walsh,
	Christopher J. PeBenito

This is likely my fault, but we're encountering increasing problems from
growth in the set of things that depend on the static libsepol whenever
we make a change to libsepol, particularly a policy version change.  We
now have (at least) the following dependencies on it:
checkpolicy (always true, not likely to go away)
libselinux (for the audit2why python binding module, which used to be
its own utility in policycoreutils)
setools

Does slide also have this dependency or is it clean?  Anything else to
worry about?

The result is that when a newer libsepol gets incorporated and
libselinux or setools does not, we encounter breakage (unable to find a
policy file they can read or unable to read the policy file at which
they are pointed) or confusion (reading an older policy file left around
from before the libsepol update) upon trying to use audit2why or
setools.

We ran into this problem twice in rawhide / F9, once upon the policy
capability support (policy.22) and now for permissive types (policy.23).

Only real way forward that I can see it to actually encapsulate the
interfaces required by audit2why and setools so that they can use the
shared libsepol.

-- 
Stephen Smalley
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] 11+ messages in thread

end of thread, other threads:[~2008-04-03 14:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 12:07 Need to break or reduce the dependency on a static libsepol Stephen Smalley
2008-04-01 12:24 ` Joshua Brindle
2008-04-02 19:56   ` Joshua Brindle
2008-04-03 13:55     ` Stephen Smalley
2008-04-03 14:06       ` Joshua Brindle
2008-04-03 14:15         ` Stephen Smalley
2008-04-03 14:31           ` Stephen Smalley
2008-04-03 14:36           ` Joshua Brindle
2008-04-01 18:27 ` David Sugar
2008-04-01 19:01   ` Stephen Smalley
2008-04-02 20:14     ` Dave Sugar

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.