Re: [PATCH] fs: Create anon_inode_getfile_fmode()

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

 



On 4/25/24 11:57, Christian Brauner wrote:
On Thu, Apr 25, 2024 at 01:38:59AM +0200, Dawid Osuchowski wrote:
Creates an anon_inode_getfile_fmode() function that works similarly to
anon_inode_getfile() with the addition of being able to set the fmode
member.

And for what use-case exactly?

There was a TODO in the vfio driver [1] to create an interface here that would also allow to set fmode, hence this change.

-- Dawid

[1] https://lore.kernel.org/kvm/20240424234147.7840-1-linux@xxxxxxxxxxx/T/#u





[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