Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

Tetsuo Handa
2013-01-10T13:23:53Z

John Johansen wrote:
> On 01/09/2013 05:28 AM, James Morris wrote:
> > On Tue, 8 Jan 2013, John Johansen wrote:
> >
> >>> I'd say we need to see the actual use-case for Smack and Apparmor being
> >>> used together, along with at least one major distro committing to support
> >>> this.
> >>>
> >>>
> >> Ubuntu is very interested in stacking
> >
> > Which modules?
> >
> Well Yama which has now been special cased, and in the past there has been
> discussion about other special case LSMs like case is proposing for module
> loading. There has been interest around both selinux + apparmor and
> smack + apparmor. I am not sure of all of the use cases that have lead to
> such question but some of them have been around containers, with say
> selinux on the host and apparmor in the container, or visa versa.

My case is I want to use SELinux (or SMACK or something else) for isolation
purpose (little user configuration required) and TOMOYO (or AppArmor or
something else) for behaviour restriction purpose (mostly user configurable
part). SELinux + TOMOYO is a placeholder for stacking.