Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support
From: Mimi Zohar
Date: Fri Apr 13 2018 - 12:25:20 EST
[Cc'ing John Johansen]
On Tue, 2018-03-27 at 18:01 -0500, Eric W. Biederman wrote:
[...]
> As such I expect the best way to create the ima namespace is by simply
> writing to securityfs/imafs. Possibly before the user namespace is
> even unshared. That would allow IMA to keep track of things from
> before a container is created.
My initial thought was to stage IMA namespacing with just IMA-audit
first, followed by either IMA-measurement or IMA-appraisal. ÂThis
would allow us to get the basic IMA namespacing framework working and
defer dealing with the securityfs related namespacing of the IMA
policy and measurement list issues to later.
By tying IMA namespacing to a securityfs ima/unshare file, we would
need to address the securityfs issues first.
Mimi