aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit_watch.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-03-13 01:50:58 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-13 19:21:26 -0400
commit586ce098a23b6ab7383df853a84ae3d48dc889aa (patch)
tree14092479a77973596686554b3159d4630df6a6a4 /kernel/audit_watch.c
parentMerge branch 'media_fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 (diff)
downloadlinux-dev-586ce098a23b6ab7383df853a84ae3d48dc889aa.tar.xz
linux-dev-586ce098a23b6ab7383df853a84ae3d48dc889aa.zip
compat breakage in preadv() and pwritev()
Fix for a dumb preadv()/pwritev() compat bug - unlike the native variants, 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. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions