summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2011-03-13 23:24:46 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-13 16:29:07 -0700
commitc44ed965be7a84afaa07543c04eb97a5dfe93422 (patch)
treedf96d439962f923eee668e46dbff574b3603ca3f /arch
parentc9a816c0ecb8cef8e6573a8eab47fc48c765e0a1 (diff)
downloadop-kernel-dev-c44ed965be7a84afaa07543c04eb97a5dfe93422.zip
op-kernel-dev-c44ed965be7a84afaa07543c04eb97a5dfe93422.tar.gz
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 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud