Chris Metcalf
12810ac9f4
compat: use sys_sendfile64() implementation for sendfile syscall
...
commit 1631fcea83 upstream.
<asm-generic/unistd.h> was set up to use sys_sendfile() for the 32-bit
compat API instead of sys_sendfile64(), but in fact the right thing to
do is to use sys_sendfile64() in all cases. The 32-bit sendfile64() API
in glibc uses the sendfile64 syscall, so it has to be capable of doing
full 64-bit operations. But the sys_sendfile() kernel implementation
has a MAX_NON_LFS test in it which explicitly limits the offset to 2^32.
So, we need to use the sys_sendfile64() implementation in the kernel
for this case.
Acked-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-04-02 09:27:21 -07:00
..
2011-05-26 17:12:38 -07:00
2009-07-27 12:10:38 -07:00
2009-06-15 13:27:38 +10:00
2009-06-12 11:32:58 +02:00
2010-10-22 11:17:06 -07:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2009-06-11 21:02:15 +02:00
2011-03-23 19:46:22 -07:00
2009-06-11 21:02:14 +02:00
2011-05-26 15:00:31 -04:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2011-05-25 08:39:37 -07:00
2009-06-11 21:02:51 +02:00
2010-10-07 14:08:55 +01:00
2011-01-26 12:33:20 +01:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:37 +02:00
2009-07-22 00:28:38 +02:00
2008-06-30 12:51:05 +02:00
2010-08-11 08:59:21 -07:00
2010-05-27 09:12:52 -07:00
2009-06-11 21:02:42 +02:00
2011-03-17 13:08:27 -03:00
2009-06-11 21:02:37 +02:00
2011-03-15 02:21:45 -04:00
2011-03-17 09:19:04 +08:00
2011-03-11 12:23:31 +01:00
2009-06-11 21:02:17 +02:00
2011-06-16 08:40:52 -06:00
2010-10-07 14:08:55 +01:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:14 +02:00
2009-06-11 21:02:14 +02:00
2011-03-17 09:19:03 +08:00
2008-08-12 16:07:31 -07:00
2011-02-17 14:16:30 -08:00
2009-06-11 21:02:15 +02:00
2010-12-17 15:07:19 +01:00
2009-06-11 21:02:37 +02:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-08-14 22:26:51 +02:00
2010-10-09 21:51:44 +02:00
2010-05-25 08:07:03 -07:00
2009-06-11 21:02:37 +02:00
2010-06-09 11:12:36 +02:00
2010-01-05 15:34:49 +09:00
2009-12-04 15:39:55 +01:00
2011-01-13 17:32:47 -08:00
2009-09-22 07:17:41 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2008-10-23 09:18:20 -07:00
2008-10-23 09:18:20 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2010-03-12 15:52:42 -08:00
2009-09-09 13:29:18 -07:00
2010-09-10 10:56:51 +02:00
2009-06-11 21:02:50 +02:00
2009-07-27 12:10:38 -07:00
2009-07-27 12:10:38 -07:00
2012-04-02 09:27:10 -07:00
2012-02-29 16:34:34 -08:00
2009-06-11 21:02:15 +02:00
2011-05-26 17:12:36 -07:00
2011-05-25 08:39:43 -07:00
2009-06-11 21:02:18 +02:00
2010-05-27 09:12:54 -07:00
2011-03-08 17:22:11 +01:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2011-03-31 11:26:23 -03:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2011-03-17 09:19:04 +08:00
2009-10-12 13:26:31 -07:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2010-11-01 15:31:29 -04:00
2010-08-09 16:48:44 -04:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:15 +02:00
2009-09-22 19:56:50 -07:00
2010-08-18 12:12:38 -07:00
2010-10-09 21:51:27 +02:00
2010-08-10 13:47:39 -07:00
2009-06-11 21:01:52 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2011-05-25 08:39:20 -07:00
2009-06-11 21:02:50 +02:00
2010-08-09 20:44:57 -07:00
2011-03-22 17:44:09 -07:00
2009-06-11 21:02:17 +02:00
2011-03-17 09:19:05 +08:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:37 +02:00
2012-04-02 09:27:21 -07:00
2011-03-01 15:49:39 +01:00
2009-06-11 21:02:42 +02:00
2011-05-24 11:53:42 -07:00
2011-05-20 12:50:29 -07:00