On Tue, Aug 19, 2025 at 02:09:29PM -0700, Andrew Morton wrote: > 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? Retroactively it would prevented the bug: assert(lseek(fd, 0, SEEK_SET) == 0); But I didn't want to compile the list of exceptions and maintain it. > > Oh, well. Prevent more embarassement with simple test.