Re: [PATCH] proc: clear FMODE_LSEEK flag correctly for permanent pde

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

 



On Fri, 6 Jun 2025 04:57:14 +0100 Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:

> 	* why is that earlier patch sitting someplace that is *NOT*
> in -next?

I recently tenitatively added it to mm.git and haven't pushed that out
yet.

> 	* why bother with those games at all?  Just nick another bit
> from pde->flags (let's call it PROC_ENTRY_proc_lseek for consistency
> sake), set it in same pde_set_flags() where other flags are dealt with
> and just turn that thing into
>         if (!pde_has_proc_lseek(pde))
> 		file->f_mode &= ~FMODE_LSEEK;
> leaving it where it is.  Less intrusive and easier to follow...

Thanks, I'll drop both patches.




[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