[PATCH 0/1][Oneiric][SRU] eCryptfs: Copy up lower inode attrs after setting lower xattr
colin.king at canonical.com
Tue Mar 6 15:15:45 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
After passing through a ->setxattr() call, eCryptfs needs to copy the
inode attributes from the lower inode to the eCryptfs inode, as they
may have changed in the lower filesystem's ->setxattr() path.
One example is if an extended attribute containing a POSIX Access
Control List is being set. The new ACL may cause the lower filesystem to
modify the mode of the lower inode and the eCryptfs inode would need to
be updated to reflect the new mode.
Upstream commit 545d680938be1e86a6c5250701ce9abaf360c495
This patch has already been sent to stable and has been applied
to Precise but was ommitted for Oneiric. (Still trying to verify
if this is required for previous releases).
Tyler Hicks (1):
eCryptfs: Copy up lower inode attrs after setting lower xattr
fs/ecryptfs/inode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
More information about the kernel-team