Files
android_kernel_fxtec_sm6115/include/linux
Heiko Carstens dfd948e32a 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 72ec35163f ("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 <heiko.carstens@de.ibm.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: <stable@vger.kernel.org>	[v3.10+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-29 16:22:39 -08:00
..
2014-01-04 20:25:19 -05:00
2014-01-20 11:55:23 -08:00
2014-01-17 01:59:38 +01:00
2010-11-23 20:14:46 +00:00
2012-10-08 13:50:20 +10:30
2012-12-02 00:05:12 +00:00
2014-01-14 14:54:00 -05:00
2013-11-08 08:59:44 -07:00
2011-08-03 11:30:42 -04:00
2008-06-06 11:29:10 -07:00
2013-11-15 09:32:23 +09:00
2007-02-09 17:39:36 -05:00
2008-01-28 23:21:18 +01:00
2013-07-15 11:25:00 +09:30
2014-01-16 10:23:02 +10:30
2013-04-29 18:28:40 -07:00
2014-01-25 23:58:17 -05:00
2013-09-29 18:27:03 -07:00
2014-01-16 11:15:50 +01:00
2013-06-13 17:51:04 -07:00
2013-12-10 22:58:13 -08:00
2013-12-19 10:17:11 -07:00
2014-01-16 10:23:03 +10:30
2014-01-27 21:02:39 -08:00
2014-01-22 21:57:17 -08:00
2014-01-25 03:14:05 -05:00
2012-12-11 17:22:27 -08:00
2014-01-22 19:36:57 +01:00
2011-03-31 11:26:23 -03:00
2010-02-10 17:47:17 -08:00
2014-01-23 16:37:02 -08:00
2014-01-27 21:02:39 -08:00
2013-09-10 18:56:32 -04:00
2014-01-16 16:22:54 -08:00
2005-04-16 15:20:36 -07:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2011-03-31 11:26:23 -03:00