Skip to contentSkip to conversation

apol and linking

DISCUSSION Russell Coker 3 participants 3 messages Sep 19, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

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?

Signature · 9 lines
[email protected]
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 7 lines · Russell Coker

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.

Signature · 8 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 5 lines · Stephen Smalley
Quoted 4 lines · Russell Coker

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.

Quoted 8 lines
Quoted 3 lines

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.