summaryrefslogtreecommitdiff
path: root/mm/kasan
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@amadeus.com>2022-09-28 13:45:35 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-11-09 04:37:13 +0300
commita5454f95246aa1d3527ef5e128cd3a10bc8371de (patch)
tree03de0b8ec4b84edd654850242d7835ade4e88b50 /mm/kasan
parent7848ed6284ec4791eba22026e28edb2062790a3d (diff)
downloadlinux-a5454f95246aa1d3527ef5e128cd3a10bc8371de.tar.xz
tmpfs: ensure O_LARGEFILE with generic_file_open()
Without this check open() will open large files on tmpfs although O_LARGEFILE was not specified. This is inconsistent with other filesystems. Also it will later result in EOVERFLOW on stat() or EFBIG on write(). Link: https://lore.kernel.org/lkml/76bedae6-22ea-4abc-8c06-b424ceb39217@t-8ch.de/ Link: https://lkml.kernel.org/r/20220928104535.61186-1-linux@weissschuh.net Signed-off-by: Thomas Weißschuh <thomas.weissschuh@amadeus.com> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions