Re: role dominance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Smalley wrote:
On Mon, 2008-01-07 at 10:41 -0500, Joshua Brindle wrote:
While working on policyrep we've found that role dominance is pretty difficult to implement correctly, and apparently there is some ambiguity about how it works. The main problem we are running into now is that converting the role bitmaps of an old module (compatibility) back to a role dominance statement is very difficult.

And likely unnecessary.  It isn't required that a conversion yield the
same source representation, but only that it yield the same end result
when you ultimately generate a kernel binary policy.  Or are you saying
that you can't even do the latter?


The latter is possible.

Also it seems like noone has really used role dominance. During conversations about it here Chris PeBenito suggests that he wants something like it for refpolicy but a role attribute kind of system may be much simpler and easier to implement/understand.

Thoughts?

Any language feature that isn't actually being used should probably be
deprecated.

I vote for deprecation in the current compiler and no implementation in policyrep. If we want to add role attribute that would be fine too. Chris wants some way to group roles and I never really thought role dominance was the right way to do it.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux