[PATCH] sendfile calls lock_verify_area with wrong parameters
From: Manfred Spraul <manfred@colorfullife.com> sendfile supports reading from a given start offset for in_file, like pread. But for the locks_verify_area call, in_file->f_pos is always used, even if a start offset is used. Result: wrong area is checked for mandatory locks.
Showing
Please register or sign in to comment