Research Menu

.
Skip Search Box

SELinux Mailing List

Re: [ SEPOL ] Check if policy file is MLS enabled

From: Ivan Gyurdiev <ivg2_at_cornell.edu>
Date: Mon, 28 Nov 2005 16:23:21 -0500

>>> A much better way to do this would be to extract the header reading
>>> from policydb_read and make a helper function that does it. You will
>>> still be able to do a partial parse of the binary but only 1 function
>>> will have to be changed when a format change happens.
>>>
>> That's true.. will fix.
>>
>
> Other issue here (as noted off-list) is whether this should be acting on
> a module/policy file directly or on a module package file. The latter
> seems more suitable for use by libsemanage, like the existing _info
> interface.
>
>

We could put the fields that get_package_info returns into a structure, and add the mls status to those?

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Mon 28 Nov 2005 - 16:13:31 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service