Skip to contentSkip to conversation

role allow rules

DISCUSSION Russell Coker 2 participants 2 messages Jun 21, 2002 – Jun 24, 2002 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I've CC'd this to the mailing list, as I'm not sure I can answer it properly.

Quoted 8 lines · you

I like to know whenever a role changes , how the
ROLE ALLOW RULES mentioned in the rbac policy configuration file are checked , whether the role change is allowed or not .
I also want to know difference between a
role transition rule and a role allow rule . If there are role transition rules , why there is need of role allow rules .

I believe that role allow rules permit transitions for programs such as login, newrole, and run_init, while transition rules cause automatic transitions and are deprecated in the current model.

I'm sure Stephen can clarify the issue.

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

--
You have received this message because you are subscribed to the selinux 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 8 lines · Vishwakarma Singh [inferred]

I like to know whenever a role changes , how the
ROLE ALLOW RULES mentioned in the rbac policy configuration file are checked , whether the role change is allowed or not .
I also want to know difference between a
role transition rule and a role allow rule . If there are role transition rules , why there is need of role allow rules .

Role allow rules specify authorized transitions between roles based on the pair of roles. These rules are checked for the process transition permission. As noted in Section 4.3.2 of the Configuring the SELinux Policy report, role allow rules serve little purpose in the example policy configuration, since most pairings of roles need to be authorized to support normal transitions among daemons and user processes. The example policy configuration uses the constraints configuration to limit role transitions to certain TE domains that are associated with processes such as login and newrole.

Role allow rules are used in computing access decisions. Role transition rules are used in computing labeling decisions (and are deprecated, as noted in Section 4.3.3). See Section 2.1 (Flask Concepts) for an explanation of access decisions vs. labeling decisions. Labeling decisions must be authorized by corresponding access decisions; we do not implicitly grant the permissions associated with a labeling decision.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.