diff options
author | Jeff Layton <[email protected]> | 2017-11-14 14:42:57 -0500 |
---|---|---|
committer | Jeff Layton <[email protected]> | 2017-11-15 08:08:36 -0500 |
commit | 4d2dc2cc766c3b51929658cacbc6e34fc8e242fb (patch) | |
tree | cc8fca80ff984b268f9acedbb582f1f7a410ac69 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9280a601e6080c9ff658468c1c775ff6514099a6 (diff) |
fcntl: don't cap l_start and l_end values for F_GETLK64 in compat syscall
Currently, we're capping the values too low in the F_GETLK64 case. The
fields in that structure are 64-bit values, so we shouldn't need to do
any sort of fixup there.
Make sure we check that assumption at build time in the future however
by ensuring that the sizes we're copying will fit.
With this, we no longer need COMPAT_LOFF_T_MAX either, so remove it.
Fixes: 94073ad77fff2 (fs/locks: don't mess with the address limit in compat_fcntl64)
Reported-by: Vitaly Lipatov <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: David Howells <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions