> Hello! > > This change makes /proc/net/dev a non-seekable file. There is > software that depends on it to be seekable (1), surprisingly some > other files in /proc still work fine after this change. > > Minimal C testcase: > == > #include <fcntl.h> > #include <stdio.h> > #include <unistd.h> > > int main() { > int fd = open("/proc/net/dev", 0); > off_t o = lseek(fd, 0, SEEK_SET); > if (o == -1) { > perror("lseek"); > } > } > == > > 1) https://github.com/scottchiefbaker/dool/issues/111 > > -- > ŁPM Thanks for your testcase, I have submitted a patch to fix this: https://lore.kernel.org/all/20250821105806.1453833-1-wangzijie1@xxxxxxxxx