Comment 5 for bug 524919

Revision history for this message
Tyler Hicks (tyhicks) wrote : Re: [Bug 524919] Re: ecryptfs breaks lstat/readlink size assumption

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.