[PATCH 08/13] fs-limit-filesystem-stacking-depth

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also may b

[PATCH 08/13] fs: limit filesystem stacking depth

2012-09-20 Thread Miklos Szeredi
From: Miklos Szeredi Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also may b

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-09-03 Thread Miklos Szeredi
Sedat Dilek writes: >> >> Yes, setting it to 2 is defensive, it would need more stack depth >> analysis to see what an acceptable number would be. >> > > Can you describe such an analysis method (in case you need help for > testing it)? I attached a systemtap script (x86-64 specific) which prin

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-08-16 Thread Miklos Szeredi
Sedat Dilek writes: > On Wed, Aug 15, 2012 at 5:48 PM, Miklos Szeredi wrote: >> From: Miklos Szeredi >> >> Add a simple read-only counter to super_block that indicates deep this >> is in the stack of filesystems. Previously ecryptfs was the only >> stackable filesystem and it explicitly disall

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-08-16 Thread Sedat Dilek
On Thu, Aug 16, 2012 at 10:02 AM, Sedat Dilek wrote: > On Wed, Aug 15, 2012 at 5:48 PM, Miklos Szeredi wrote: >> From: Miklos Szeredi >> >> Add a simple read-only counter to super_block that indicates deep this >> is in the stack of filesystems. Previously ecryptfs was the only >> stackable fil

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-08-16 Thread Sedat Dilek
On Wed, Aug 15, 2012 at 5:48 PM, Miklos Szeredi wrote: > From: Miklos Szeredi > > Add a simple read-only counter to super_block that indicates deep this > is in the stack of filesystems. Previously ecryptfs was the only > stackable filesystem and it explicitly disallowed multiple layers of > its

[PATCH 08/13] fs: limit filesystem stacking depth

2012-08-15 Thread Miklos Szeredi
From: Miklos Szeredi Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also may b