[Lucid][SRU][PATCH 0/1] Ban ecryptfs over ecryptfs

Colin King colin.king at canonical.com
Wed Feb 15 19:04:43 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

SRU Justification:

Stacking ecryptfs over ecryptfs can lead to many kinds of errors.
There doesn't seem to be any good usecase for this and we should
follow the upstream policy of disallowing the configuration.

Fix: Without the fix, we can stack ecryptfs over ecryptfs which can
lead to all sorts of trouble.  With the fix, mount fails with EINVAL
and the kernel reports:

"Mount on filesystem of the type eCryptfs explicitly disasslowed due
to known incompatibilities"

This is a backport of commit 4403158ba295c8e36f6736b1bb12d0f7e1923dac

https://bugs.launchpad.net/ubuntu/+bug/932987

Colin Ian King (1):
  Ban ecryptfs over ecryptfs

 fs/ecryptfs/main.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)





More information about the kernel-team mailing list