All of lore.kernel.org
 help / color / mirror / Atom feed
* apol and linking
@ 2008-09-19 11:15 Russell Coker
  2008-09-19 11:58 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Russell Coker @ 2008-09-19 11:15 UTC (permalink / raw)
  To: SE-Linux

I have a policy problem that only seems to occur in a particular modular 
configuration.  It ends up with attribute A being allowed access to attribute 
B which grants something I don't desire.

How can I determine what the attribute names are with apol?  When I use the 
policy.23 file the relevant data is gone.  Can I give it a base.pp and a set 
of modules and have it do the link itself?  If so how?

-- 
russell@coker.com.au
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

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

* Re: apol and linking
  2008-09-19 11:15 apol and linking Russell Coker
@ 2008-09-19 11:58 ` Stephen Smalley
  2008-09-19 13:19   ` Joshua Brindle
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2008-09-19 11:58 UTC (permalink / raw)
  To: russell; +Cc: SE-Linux


On Fri, 2008-09-19 at 21:15 +1000, Russell Coker wrote:
> I have a policy problem that only seems to occur in a particular modular 
> configuration.  It ends up with attribute A being allowed access to attribute 
> B which grants something I don't desire.
> 
> How can I determine what the attribute names are with apol?  When I use the 
> policy.23 file the relevant data is gone.  Can I give it a base.pp and a set 
> of modules and have it do the link itself?  If so how?

apol /etc/selinux/targeted/modules/active/base.pp /etc/selinux/targeted/modules/active/modules/*.pp

works for me.

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

* Re: apol and linking
  2008-09-19 11:58 ` Stephen Smalley
@ 2008-09-19 13:19   ` Joshua Brindle
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Brindle @ 2008-09-19 13:19 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: russell, SE-Linux

Stephen Smalley wrote:
> On Fri, 2008-09-19 at 21:15 +1000, Russell Coker wrote:
>> I have a policy problem that only seems to occur in a particular modular 
>> configuration.  It ends up with attribute A being allowed access to attribute 
>> B which grants something I don't desire.
>>
>> How can I determine what the attribute names are with apol?  When I use the 
>> policy.23 file the relevant data is gone.  Can I give it a base.pp and a set 
>> of modules and have it do the link itself?  If so how?
> 
> apol /etc/selinux/targeted/modules/active/base.pp /etc/selinux/targeted/modules/active/modules/*.pp
> 
> works for me.
> 

Or in the gui when you load a policy there are monolithic and modular options, modular lets you specify a base and a set of modules.

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

end of thread, other threads:[~2008-09-19 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-19 11:15 apol and linking Russell Coker
2008-09-19 11:58 ` Stephen Smalley
2008-09-19 13:19   ` Joshua Brindle

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.