aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2014-01-29 22:05:44 +0000
committerLinus Torvalds <[email protected]>2014-01-30 00:22:39 +0000
commitdfd948e32af2e7b28bcd7a490c0a30d4b8df2a36 (patch)
tree41f14ee51b5d57387a425b241c67f7d33446076b /lib/dma-debug.c
parentmm/mempolicy.c: convert to pr_foo() (diff)
downloadkernel-dfd948e32af2e7b28bcd7a490c0a30d4b8df2a36.tar.gz
kernel-dfd948e32af2e7b28bcd7a490c0a30d4b8df2a36.zip
fs/compat: fix parameter handling for compat readv/writev syscalls
We got a report that the pwritev syscall does not work correctly in compat mode on s390. It turned out that with commit 72ec35163f9f ("switch compat readv/writev variants to COMPAT_SYSCALL_DEFINE") we lost the zero extension of a couple of syscall parameters because the some parameter types haven't been converted from unsigned long to compat_ulong_t. This is needed for architectures where the ABI requires that the caller of a function performed zero and/or sign extension to 64 bit of all parameters. Signed-off-by: Heiko Carstens <[email protected]> Cc: Al Viro <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Hendrik Brueckner <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: <[email protected]> [v3.10+] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions