[Bug 524919] Re: ecryptfs breaks lstat/readlink size assumption

Tyler Hicks tyhicks at linux.vnet.ibm.com
Fri Feb 26 20:52:11 UTC 2010


On 02/26/2010 02:58 AM, Loïc Minier wrote:
> Wouldn't it make more sense to consistently return unencrypted
> sizes/metadata for all syscalls on ecryptfs files?

I agree with you.  I think it is reasonable to check if the file is a
symlink and then attempt to decrypt the target.  If that's successful,
return the length of the decrypted target.

-- 
ecryptfs breaks lstat/readlink size assumption
https://bugs.launchpad.net/bugs/524919
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list