[Unionfs] [RFR] unionfs 2.1 for opensuse 10.3 kernel

Thomas Backlund tmb at mandriva.org
Fri Aug 31 14:06:01 EDT 2007


John Johansen skrev:
> On Fri, Aug 31, 2007 at 09:43:21AM +0300, Thomas Backlund wrote:
>> John Johansen skrev:
>>> The suse kernel have the apparmor vfs patches which modify the vfs by
>>> passing to include passing of the vfsmnt, and as such unionfs needs to
>>> be patched to work with them.
>>>
>>> The attached patch modifies unionfs to pass the vfsmnt where necessary.
>>> It has passed limited testing so now it is need of more critical
>>> review.
>>>
>>>
>> Care to send it through another mailserver so we actually can get the patch?
>>
> Ooops my bad patch attached inline this time.

Thanks!

It actually was my ISP antiwirus that removed the patch :-(

As it turns out it made it to the list, so I grabbed it from Gmane...

I'm currently readapting it to unionfs 2.1.2

> 
>> I'm very interested of seeing how you have done it...
>>
> A quick description is that I pass through the lower vfsmnts that unionfs
> already stores off with the lower dentries.  I didn't do any larger
> changes like chaning the work queues to act as a given security context.
> Which means that the unionfs path is mediated but when unionfs is used
> to access the lower paths they aren't mediated.  Ideally the lower paths
> would be mediated too.
> 
>> We are using AppArmor and Unionfs on Mandriva kernels too...
>>
> May I ask which version of AppArmor are you using?
> 

This one:
http://forgeftp.novell.com//apparmor/LKML_Submission-June-07/

Unless this version has any known issues that should be fixed, it will 
be in Mandriva 2008.0 on top of a 2.6.22.6+ series kernel...

--
Thomas


More information about the unionfs mailing list