Re: Policy infrastructure problems and improvement

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

 



On Thu, 2009-04-09 at 21:19 -0700, Casey Schaufler wrote:
> James Carter wrote:
> > I am looking at improving the policy infrastructure.  The ultimate goal
> > is to make SELinux policy writing, policy customization, policy
> > management, and administration easier and less confusing. My focus will
> > be on the userspace parts of SELinux. 
> >
> > My plan to do this is as follows:
> > (1) Determine and enumerate the existing problems of the current
> > infrastructure.
> > (2) Determine the desired capabilities and architecture of the ideal
> > infrastructure.
> > (3) Determine the changes needed to the current architecture to fix the
> > current problems and to provide the desired capabilities.
> > (4) Make the policy infrastructure as close to the ideal as possible
> > while providing some kind of backwards compatibility and taking other
> > practicalities into consideration.
> >
> > I have had some informal discussions with others internally and at
> > Tresys, and the five emails to follow have my summary of the problems
> > that have been identified in those discussions.
> >
> > My hope is that there will be a good discussion and that others on the
> > list will identify other problems and provide more details or examples
> > to the problems already identified.
> >   
> 
> I will throw my traditional comment on the pile as I didn't see that
> you had it on your list anywhere. The policy required to describe a
> system is too large.
> 

That's easy to fix.  Make the system smaller. ;)

I think that this would fit under complexity of SElinux policies.

Again, better layering is needed.  It would be nice if I could just
write policy for the particular domains and resources that I cared about
without having to worry about the policy for the rest of the system.
Unfortunately, policy writing differs from program writing in that while
different programs that run on a system *share* resources and so it
doesn't matter what the other programs do (for the most part) as long as
my program gets to use those resources at some point, all of the
policies work together to *control* resources.  In the end, you must
have one policy.  The question is how to write the policies in a more
layered way and have the policy infrastructure merge the layers
together.  

> Thank you.
> 
> 
> 
> --
> 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.
-- 
James Carter <jwcart2@xxxxxxxxxxxxx>
National Security Agency


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