Skip to contentSkip to conversation

Use of role dominance declaration

DISCUSSION Mario Fanelli 2 participants 2 messages May 29, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

I don't understand what means role dominance declaration.. Anyone can give me an explanation?

#1 lore raw
Quoted 2 lines · Mario Fanelli

I don’t understand what means role dominance declaration.. Anyone can give me an explanation?

This means that a role will be allowed all the types of all roles that it dominates in addition to those it is explicitly allowed. For example, say you have two roles foo_r and bar_r declared thusly:

role foo_r types a_t;
role bar_r types b_t;

if you make foo_r dominate bar_r:

dominance { role foo_r { role bar_r; } }

then the result is that foo_r is allowed a_t and b_t, and bar_r is allowed b_t.

Signature · 10 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150



--
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.