Re: [PATCH] fuse: Set iov_len to sizeof(int) for FS_IOC_GETFLAGS and FS_IOC_SETFLAGS ioctls

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

 



On Wed, 10 Jul 2024 at 12:10, Ratna Manoj Bolla <manoj.br@xxxxxxxxx> wrote:
>
> Hi,
> User programs are passing integer pointers as argument to these ioctls.
> Many filesystems(xfs, ext) honour this to prevent corrupting the other four bytes.
>
> This was discussed in the fsdevel mailing list with subject "Argument type for FS_IOC_GETFLAGS/FS_IOC_SETFLAGS ioctls"
>
> Please see if we can be compatible by breaking correctness.

I don't get it, FS_IOC_[GS]ETFLAGS is handled by the VFS since forever
(v5.13 to be precise).

Thanks,
Miklos




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

  Powered by Linux