diff options
author | David Howells <[email protected]> | 2015-09-18 11:45:12 +0100 |
---|---|---|
committer | Miklos Szeredi <[email protected]> | 2015-10-12 15:56:20 +0200 |
commit | 0480334fa60488d12ae101a02d7d9e1a3d03d7dd (patch) | |
tree | f9dfbb52a2ada460e3513bcf4e58ac488d8c9d3b /tools/perf/scripts/python/sched-migration.py | |
parent | 64291f7db5bd8150a74ad2036f1037e6a0428df2 (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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Cc: <[email protected]> # v3.18+
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions