summaryrefslogtreecommitdiff
path: root/fs/affs/super.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-09-18 11:45:12 +0100
committerMiklos Szeredi <miklos@szeredi.hu>2015-10-12 15:56:20 +0200
commit0480334fa60488d12ae101a02d7d9e1a3d03d7dd (patch)
treef9dfbb52a2ada460e3513bcf4e58ac488d8c9d3b /fs/affs/super.c
parent64291f7db5bd8150a74ad2036f1037e6a0428df2 (diff)
ovl: use O_LARGEFILE in ovl_copy_up()
Open the lower file with O_LARGEFILE in ovl_copy_up(). Pass O_LARGEFILE unconditionally in ovl_copy_up_data() as it's purely for catching 32-bit userspace dealing with a file large enough that it'll be mishandled if the application isn't aware that there might be an integer overflow. Inside the kernel, there shouldn't be any problems. Reported-by: Ulrich Obergfell <uobergfe@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <stable@vger.kernel.org> # v3.18+
Diffstat (limited to 'fs/affs/super.c')
0 files changed, 0 insertions, 0 deletions