Re: overlayfs vs. fscrypt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Richard Weinberger <richard@xxxxxx>
- Subject: Re: overlayfs vs. fscrypt
- From: Miklos Szeredi <miklos@xxxxxxxxxx>
- Date: Wed, 13 Mar 2019 13:58:11 +0100
- In-reply-to: <1852545.qrIQg0rEWx@blindfold>
- References: <4603533.ZIfxmiEf7K@blindfold> <CAJfpegsy31D+=VJ+By2a9TLCvZJwvAUpb+_bJ5JVTsmsbZJTKQ@mail.gmail.com> <1852545.qrIQg0rEWx@blindfold>
On Wed, Mar 13, 2019 at 1:47 PM Richard Weinberger <richard@xxxxxx> wrote:
>
> Am Mittwoch, 13. März 2019, 13:36:02 CET schrieb Miklos Szeredi:
> > I don't get it. Does fscrypt try to check permissions via
> > ->d_revalidate? Why is it not doing that via ->permission()?
>
> Please let me explain. Suppose we have a fscrypto directory /mnt and
> I *don't* have the key.
>
> When reading the directory contents of /mnt will return an encrypted filename.
> e.g.
> # ls /mnt
> +mcQ46ne5Y8U6JMV9Wdq2C
Why does showing the encrypted contents make any sense? It could just
return -EPERM on all operations?
Thanks,
Miklos
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]