Linus Torvalds writes: (Summary) On Fri, May 18, 2018 at 9:12 PM Linus Torvalds < wrote:
Actually, maybe we could just make rw_verify_area() use the new file_mmap_size_max() function.
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.
mmap) use that limit.
That doesn't sound like a horrible idea to try for 4.18. Linus
Linus
Linus
[...]
superblock").Actually, maybe we could just make rw_verify_area() use the new file_mmap_size_max() function.
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.
mmap) use that limit.
That doesn't sound like a horrible idea to try for 4.18. Linus
Linus
Linus