[PATCH 1/1] UBUNTU: Have AUFS use current VFS APIs so it can build with or without AppArmor.
hooanon05 at yahoo.co.jp
hooanon05 at yahoo.co.jp
Fri Mar 20 02:13:00 UTC 2009
brad.figg at canonical.com:
> AUFS would not build without AppArmor configured. The code was using
> pre-AppArmor VFS APIs. These calls have been modified to use the
> new APIs and the fencing for CONFIG_VSERVER and CONFIG_SECURITY_APPARMOR
> have been removed.
To pass NULL as struct vfsmount* skips all tests in AppArmor.
I am not sure it is an expected behaviour.
If you don't want to skip them, try passing the correct vfsmount.
I hope these old patches will help.
http://aufs.cvs.sourceforge.net/viewvc/aufs/aufs/patch/ubuntu-2.6.22-14.46.patch?revision=1.2&view=markup
or
http://aufs.cvs.sourceforge.net/viewvc/aufs/aufs/patch/ubuntu-2.6.24-5.8.patch?revision=1.1&view=markup
You can get all aufs patches by
$ cvs -d:pserver:anonymous at aufs.cvs.sourceforge.net:/cvsroot/aufs login
(CVS password is empty)
$ cvs -z3 -d:pserver:anonymous at aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs
J. R. Okajima
More information about the kernel-team
mailing list