Re: [PATCH V9 2/4] fuse: Trace daemon creds
From: Miklos Szeredi
Date: Wed Sep 30 2020 - 14:45:25 EST
On Thu, Sep 24, 2020 at 3:13 PM Alessio Balsini <balsini@xxxxxxxxxxx> wrote:
>
> Add a reference to the FUSE daemon credentials, so that they can be used to
> temporarily raise the user credentials when accessing lower file system
> files in passthrough.
Hmm, I think it would be better to store the creds of the ioctl()
caller together with the open file. The mounter may deliberately
have different privileges from the process doing the actual I/O.
Thanks,
Miklos