aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-05-14 13:06:14 +0200
committerJohn Rigby <john.rigby@linaro.org>2012-06-20 13:43:08 -0600
commitc69f82b0c71b15277937937ec424e2344e5e4960 (patch)
tree41b23a3273096f89e356db0e69545eba7589335a /security
parentf7db9f04547cc76aa5879e610d9af23a59e0341f (diff)
UBUNTU: ubuntu: overlayfs -- fs: limit filesystem stacking depth
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 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. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions