diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2011-03-14 00:24:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-14 00:29:07 +0100 |
commit | c44ed965be7a84afaa07543c04eb97a5dfe93422 (patch) | |
tree | df96d439962f923eee668e46dbff574b3603ca3f /mm | |
parent | Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | linux-c44ed965be7a84afaa07543c04eb97a5dfe93422.tar.xz linux-c44ed965be7a84afaa07543c04eb97a5dfe93422.zip |
compat breakage in preadv() and pwritev()
Fix for a dumb preadv()/pwritev() compat bug - unlike the native
variants, the compat_... ones forget to check FMODE_P{READ,WRITE}, so
e.g. on pipe the native preadv() will fail with -ESPIPE and compat one
will act as readv() and succeed.
Not critical, but it's a clear bug with trivial fix, so IMO it's OK for
-final.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions