Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-22 Thread Greg Kurz
On Mon, 21 Jun 2021 14:36:12 +0100 Stefan Hajnoczi wrote: > On Thu, Jun 17, 2021 at 04:15:18PM +0200, Greg Kurz wrote: > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > > the "fuse_lowlevel.h" heade

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-21 Thread Stefan Hajnoczi
On Thu, Jun 17, 2021 at 04:15:18PM +0200, Greg Kurz wrote: > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > the "fuse_lowlevel.h" header : > > /** > * Open a file > * > * Open flags a

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-18 Thread Miklos Szeredi
On Fri, 18 Jun 2021 at 11:21, Greg Kurz wrote: > > On Fri, 18 Jun 2021 10:58:33 +0200 > Miklos Szeredi wrote: > > > On Thu, 17 Jun 2021 at 16:15, Greg Kurz wrote: > > > > > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > > > supposed to pass O_CREAT along a FUSE_OPEN re

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-18 Thread Greg Kurz
On Fri, 18 Jun 2021 10:58:33 +0200 Miklos Szeredi wrote: > On Thu, 17 Jun 2021 at 16:15, Greg Kurz wrote: > > > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > > the "fuse_lowlevel.h" header : > >

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-18 Thread Miklos Szeredi
On Thu, 17 Jun 2021 at 16:15, Greg Kurz wrote: > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > the "fuse_lowlevel.h" header : > > /** > * Open a file > * > * Open flags are availab

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-18 Thread Greg Kurz
On Thu, 17 Jun 2021 21:40:07 -0400 Vivek Goyal wrote: > On Thu, Jun 17, 2021 at 04:15:18PM +0200, Greg Kurz wrote: > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > > the "fuse_lowlevel.h" header :

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-17 Thread Vivek Goyal
On Thu, Jun 17, 2021 at 04:15:18PM +0200, Greg Kurz wrote: > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > the "fuse_lowlevel.h" header : > > /** > * Open a file > * > * Open flags a

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-17 Thread Greg Kurz
On Thu, 17 Jun 2021 15:29:12 +0100 "Dr. David Alan Gilbert" wrote: > * Greg Kurz (gr...@kaod.org) wrote: > > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > > the "fuse_lowlevel.h" header : > > > >

Re: [PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-17 Thread Dr. David Alan Gilbert
* Greg Kurz (gr...@kaod.org) wrote: > A well behaved FUSE client uses FUSE_CREATE to create files. It isn't > supposed to pass O_CREAT along a FUSE_OPEN request, as documented in > the "fuse_lowlevel.h" header : > > /** > * Open a file > * > * Open flags are available in fi->fla

[PATCH] virtiofsd: Don't allow file creation with FUSE_OPEN

2021-06-17 Thread Greg Kurz
A well behaved FUSE client uses FUSE_CREATE to create files. It isn't supposed to pass O_CREAT along a FUSE_OPEN request, as documented in the "fuse_lowlevel.h" header : /** * Open a file * * Open flags are available in fi->flags. The following rules * apply. * *