Re: [PATCH 5/9] Make use of permissions, returned by kobj_lookup

Serge E. Hallyn
2008-03-07T18:31:16Z

Quoting Casey Schaufler (casey@schaufler-ca.com):
>
> --- "Serge E. Hallyn" <serue@us.ibm.com> wrote:
>
> > ...
> >
> > Until user namespaces are complete, selinux seems the only good solution
> > to offer isolation.
>
> Smack does it better and cheaper. (Unless you define good==selinux)
> (insert smiley)

Ah, thanks - I hadn't looked into it, but yes IIUC smack should
definately work. I'll have to give that a shot.

(A basic selinux policy module to isolate a container was pretty simple,
but providing finer-grained intra-container access seems to take some
changes to the base refpolicy. I've been waiting a few weeks to find
time to work on that.)

thanks,
-serge