Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [PATCH] procfs: fix mmap() for /proc/vmcore

$
0
0
Linus Torvalds writes: (Summary) On Fri, May 18, 2018 at 8:15 PM Vasily Gorbik <gor@linux.ibm.com> wrote: On Fri, May 18, 2018 at 8:15 PM Vasily Gorbik <gor@linux.ibm.com> If proc doesn't set s_maxbytes, then we should not raise it here magically, there might be various /proc files that get offset accounting wrong. various /proc files that get offset accounting wrong. I'd *much* rather just set FMODE_UNSIGNED_OFFSET for /proc/vmcore _only_, rather than open up all proc files to issues with 4G+ offsets. rather than open up all proc files to issues with 4G+ offsets.

Viewing all articles
Browse latest Browse all 627

Trending Articles