All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with semodule mls policy
@ 2006-03-15 14:26 Daniel J Walsh
  2006-03-15 15:01 ` Stephen Smalley
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel J Walsh @ 2006-03-15 14:26 UTC (permalink / raw)
  To: Stephen Smalley, Christopher J. PeBenito,
	rcok >> Russell Coker, SE Linux

How do I get semodule to create policy.20 at SystemHigh and everything 
other files at SystemLow?


--
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] 10+ messages in thread
* RE: Problem with semodule mls policy
@ 2006-03-15 18:53 Chad Hanson
  0 siblings, 0 replies; 10+ messages in thread
From: Chad Hanson @ 2006-03-15 18:53 UTC (permalink / raw)
  To: Joshua Brindle, Stephen Smalley
  Cc: Daniel J Walsh, Christopher J. PeBenito, Russell Coker, SE Linux


Some comments inline below...

> -----Original Message-----
> From: Joshua Brindle [mailto:jbrindle@tresys.com]
> Sent: Wednesday, March 15, 2006 12:01 PM
> To: Stephen Smalley
> Cc: Daniel J Walsh; Christopher J. PeBenito; Russell Coker; SE Linux
> Subject: Re: Problem with semodule mls policy
>  
> >> The entire module store (/etc/selinux/<type>/modules/*) should be 
> >> entirely inaccessible except by an semanage_t domain (and 
> >> policy server later) via type enforcement, so those shouldn't be
> >> a concern. The policy.20 shouldn't really contain any sensitive 
> >> information so I think the only necessary modification is to 
> >> label seusers differently, correct?
> > 

Other than any range_transitions or any other rule definitions that would
call MLS labels directly I would agree. 

/etc/selinux/mls/contexts/files(/*) should be at SystemHigh since it is
basically a database of the on-disk configuration. 

> > I wasn't sure whether the fact that e.g. netif eth0 is assigned
> > SystemHigh and netif eth1 is assigned SystemLow in interfaces.local
> > (which is then compiled into policy.20) might be considered sensitive.
> > If so, that would make the final policy.20 sensitive as well.
> > 
> 
> I can buy this, as well as nodecons having different levels. The strange 
> thing is that you don't know what the levels are exactly, you just know 
> their relationships to each other. ie: eth0 is s1 and eth1 is s5 so eth1 
> is higher sensitivity even though I don't know what that sensitivity 
> means. How big of an issue is this? Chad?
> 

This information should be at SystemHigh since we are talking about levels.
I think IP addresses could possibly thought of in the same way.... So both
netif/nodecon rules should be protected.

> writing down files of different levels from within libsemanage means any 
> libsemanage client must be mls trusted, which may or may not be an 
> issue, I'm not sure.
> 
> So, if this is an issue then both seusers and policy.20 need to be 
> labeled differently.. should this be done through libsemanage config or 
> some appconfig in the policy?
> 

seusers should be at SystemHigh as well since it MLS labels inside of it. If
on MLS the seusers was purely just a user mapping and the real user labels
were in the policy, this wouldn't be an issue.

-Chad

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

end of thread, other threads:[~2006-03-15 21:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 14:26 Problem with semodule mls policy Daniel J Walsh
2006-03-15 15:01 ` Stephen Smalley
2006-03-15 16:01   ` Joshua Brindle
2006-03-15 16:35     ` Stephen Smalley
2006-03-15 16:37       ` Joshua Brindle
2006-03-15 16:58         ` Stephen Smalley
2006-03-15 18:00           ` Joshua Brindle
2006-03-15 18:19             ` Stephen Smalley
2006-03-15 21:21               ` Daniel J Walsh
  -- strict thread matches above, loose matches on Subject: below --
2006-03-15 18:53 Chad Hanson

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.