[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzaPA04abVKKL8_CEpj960sE731-BttF5L733U1A-kd4Q@mail.gmail.com>
Date: Fri, 18 May 2018 21:16:16 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: gor@...ux.ibm.com, Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Heiko Carstens <heiko.carstens@...ibm.com>
Subject: Re: [PATCH] procfs: fix mmap() for /proc/vmcore
On Fri, May 18, 2018 at 9:12 PM Linus Torvalds <
torvalds@...ux-foundation.org> wrote:
> (So we'd still have a "sb_maxbytes" that filesystems would fill in, but it
> would only be used as a "fill in inode value for regular files for this
> superblock").
Actually, maybe we could just make rw_verify_area() use the new
file_mmap_size_max() function.
We'd just remove the "mmap" part of the name, and have all IO (and all
mmap) use that limit.
That doesn't sound like a horrible idea to try for 4.18. Hmm?
Linus
Powered by blists - more mailing lists