Re: [PATCH] fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS

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

 



On Wed, Jul 15, 2020 at 5:05 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
> On Tue, Jul 14, 2020 at 12:26 PM Chirantan Ekbote
> <chirantan@xxxxxxxxxxxx> wrote:
> >
> > The ioctl encoding for this parameter is a long but the documentation
> > says it should be an int and the kernel drivers expect it to be an int.
> > If the fuse driver treats this as a long it might end up scribbling over
> > the stack of a userspace process that only allocated enough space for an
> > int.
> >
> > This was previously discussed in [1] and a patch for fuse was proposed
> > in [2].  From what I can tell the patch in [2] was nacked in favor of
> > adding new, "fixed" ioctls and using those from userspace.  However
> > there is still no "fixed" version of these ioctls and the fact is that
> > it's sometimes infeasible to change all userspace to use the new one.
>
> Okay, applied.
>

...and pushed? I do not see in in fuse.git.

- Sedat -

> Funny that no one came back with this issue for 7 years.
>
> Thanks,
> Miklos



[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