[apparmor] [PATCH 02/20] AppArmor: add initial "features" directory to securityfs

John Johansen john.johansen at canonical.com
Wed Feb 22 21:14:09 UTC 2012


On 02/22/2012 01:10 PM, Kees Cook wrote:
> Hi John,
> 
> On Wed, Feb 22, 2012 at 09:22:45AM -0800, John Johansen wrote:
>> +static struct aa_fs_entry aa_fs_entry_features[] = {
>> +	AA_FS_DIR("domain",			aa_fs_entry_domain),
>> +	AA_FS_FILE_BOOLEAN("namespaces",	1),
> 
> If "namespaces" is going to change into a directory, perhaps just leave
> it out for now?
> 
Hrmm yes we could do that, it would be a little cleaner.

Originally I wasn't going to make it a directory but it felt cleaner to
group all the things that affect namespaces in one way or another together.

So the clone flags patch (not posted yet), pivot_root, chroot, apparmor
namespaces, etc.




More information about the AppArmor mailing list