aboutsummaryrefslogtreecommitdiff
path: root/fs/ecryptfs/main.c
Commit message (Collapse)AuthorAgeFilesLines
* fs: limit filesystem stacking depthMiklos Szeredi2017-04-161-0/+7
| | | | | | | | | | | | | | | Add a simple read-only counter to super_block that indicates how 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 be stacked on top of ecryptfs or vice versa. To limit the kernel stack usage we must limit the depth of the filesystem stack. Initially the limit is set to 2. Change-Id: I91549cf876ed11a4265487f6b2d980b459399f9d Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
* first commitMeizu OpenSource2016-08-151-0/+901