aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/selinux/genheaders/genheaders.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2011-03-13 23:24:46 +0000
committerLinus Torvalds <[email protected]>2011-03-13 23:29:07 +0000
commitc44ed965be7a84afaa07543c04eb97a5dfe93422 (patch)
treedf96d439962f923eee668e46dbff574b3603ca3f /scripts/selinux/genheaders/genheaders.c
parentMerge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-c44ed965be7a84afaa07543c04eb97a5dfe93422.tar.gz
kernel-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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions