]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: add mkdir/rmdir interface to manage policy namespaces
authorJohn Johansen <john.johansen@canonical.com>
Fri, 26 May 2017 23:45:48 +0000 (16:45 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 11 Jun 2017 00:11:27 +0000 (17:11 -0700)
commit4d02c59ec77f6fddd62a4ea601f37aae122782eb
tree9d75fc20d9fd75333595aaa17e738087aa6912dc
parentf63368d4986fbcf69a36cb26ea421e0108fe2604
apparmor: add mkdir/rmdir interface to manage policy namespaces

When setting up namespaces for containers its easier for them to use
an fs interface to create the namespace for the containers
policy. Allow mkdir/rmdir under the policy/namespaces/ dir to be used
to create and remove namespaces.

BugLink: http://bugs.launchpad.net/bugs/1611078
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c