Re: [PATCH] proc: test lseek on /proc/net/dev

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

 



On Tue, 19 Aug 2025 21:29:16 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> This line in tools/testing/selftests/proc/read.c was added to catch
> oopses, not to verify lseek correctness:
> 
>         (void)lseek(fd, 0, SEEK_SET);

Can you expand on this?  Was some issue discovered with /proc/net/dev? 
If so, what was it?

> Oh, well. Prevent more embarassement with simple test.




[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