Re: [PATCH RFC] fuse: add generic file store

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 9, 2021 at 11:16 PM Enrico Weigelt, metux IT consult
<lkml@xxxxxxxxx> wrote:
>
> On 08.06.21 14:41, Peng Tao wrote:
>
> Hi,
>
Hi,
> > The initial RFC mail in the thread has a userspace example code. Does
> > it make sense to you?
>
> Sorry, I had missed that, now found it.
>
> There're some things I don't quite understand:
>
> * it just stores fd's I don't see anything where it is actually returned
>    to some open() operation.
The FUSE_DEV_IOC_RESTORE_FD ioctl returns the opened fd to a different process.

> * the store is machine wide global - everybody uses the same number
>    space, dont see any kind of access conrol ... how about security ?
>
The idea is that anyone capable of opening /dev/fuse can retrieve the FD.

> I don't believe that just storing the fd's somewhere is really helpful
> for that purpose - the fuse server shall be able to reply the open()
> request with an fd, which then is directly transferred to the client.
>
Could you describe your use case a bit? How does your client talk to
your server? Through open syscall or through some process-to-process
RPC calls?

Cheers,
Tao
-- 
Into Sth. Rich & Strange



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux