From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941042AbdEXUOw (ORCPT ); Wed, 24 May 2017 16:14:52 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:50886 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941028AbdEXUOo (ORCPT ); Wed, 24 May 2017 16:14:44 -0400 Subject: Re: [PATCH 3/3] apparmor: virtualize the policy/ directory To: Kees Cook Cc: linux-security-module , James Morris , LKML References: <20170511024625.13887-1-john.johansen@canonical.com> <20170511024625.13887-4-john.johansen@canonical.com> From: John Johansen Organization: Canonical Message-ID: Date: Wed, 24 May 2017 13:14:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/24/2017 12:38 PM, Kees Cook wrote: > On Wed, May 10, 2017 at 7:46 PM, John Johansen > wrote: >> virtualize the apparmor policy/ directory so that the current namespace >> affects what part of policy is seen. This is done by >> >> * creating a new apparmorfs filesystem >> * creating a magic symlink from securityfs to the correct apparmorfs >> file in the tree (similar to nsfs use). >> >> apparmor fs data and fns also get renamed some to help indicate where >> they are used >> >> aafs - special magic apparmorfs >> aa_sfs - for fns/data that go into securityfs >> aa_fs - for fns/data that may be used in the either of aafs or securityfs >> >> Signed-off-by: John Johansen >> Reviewed-by: Seth Arnold > > This all looks fine to me. If you do a v2 of these patches, it might > make sense to split up some of the logical changes here. For example, > have one patch that does the renamings but no code changes. Then add > the new fs, and finally integrate the new fs. That might make it > easier to review. Regardless: > > Reviewed-by: Kees Cook > Okay, thanks will do.