On Jun 20, 2008, at 10:37 AM, Joshua Brindle wrote:
Joe Nall wrote:
...
Attached is a source rpm based on the mcstransd we are using
internally.
It can translate ranges that look like:
Thanks for this. I started looking at the diff and it is pretty
significant, it might take me a while to get through it all. One
thing I noticed immediately is that you are duplicating interfaces
present in libsepol such as mls_level_to_string,
mls_level_from_string and importing private headers from libsepol.
IIRC, the functions were not exported. I'm more than willing to drop
those routines and use libsepol.
I don't think we want to proceed this way. If possible we should be
using the libsepol interfaces and encapsulating the private types as
necessary.
I agree
The ebitmap operations can certainly be put in libsepol but
shouldn't be called directly the way they are.
I like to putting the additional ebitmap functions in libsepol. I was
hoping Stephen would make them faster too :) I don't understand the
'shouldn't be called directly the way they are' comment.
It looks like quite a few todo's and hacks are in there as well.
Yep. It got to this mostly workable state some time ago and other
things have taken precedence since.
I'll try to help as much as I can, and hopefully we can get this in
good shape to merge in to Dan's codebase. Are you going to have any
time to work on this?
Yes. I really want to get some conversion constraints in before OLS.
Things like REL and NOFORN don't go together. An interface to export
which bits are 'inverse' would be very handy within our applications
code. The semanage translation code is broken/obsoleted by these
changes too.
joe
--
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.