Re: [PATCH][CFT][experimental] net/socket.c: use straight fdget/fdput (resend)

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

 



On Mon, 27 May 2024 at 09:31, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> Alternatively, with a sane set of helpers we could actually _replace_
> struct fd definition without a huge flagday commit

It wouldn't even be all that huge. We've got less than 200 of those
'struct fd' users, and some of them hardly even look at the result,
but just pass it off to other helpers (ie the kernel/bpf/syscalls.c
pattern).

With just a couple of helpers it would be mostly a cleanup.

               Linus




[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