backport sys_sendfile64
Subsystems (2)
PATCH 1/1 backport sys_sendfile64
To support sendfile() in LFS applications we need the sendfile64() syscall that is different from sendfile() only in taking a loff_t offset parameter instead of off_t. Obviously they share the actual implementation so the patch is very small. sendfile64() is supported in 2.5 and many vendor kernel for a long time and in -ac for a while now.
arch/i386/kernel/entry.S +1 -1
@@ -643,7 +643,7 @@ .long SYMBOL_NAME(sys_lremovexattr) .long SYMBOL_NAME(sys_fremovexattr) .long SYMBOL_NAME(sys_tkill) - .long SYMBOL_NAME(sys_ni_syscall) /* reserved for sendfile64 */ + .long SYMBOL_NAME(sys_sendfile64) .long SYMBOL_NAME(sys_ni_syscall) /* 240 reserved for futex */ .long SYMBOL_NAME(sys_ni_syscall) /* reserved for sched_setaffinity */ .long SYMBOL_NAME(sys_ni_syscall) /* reserved for sched_getaffinity */
mm/filemap.c +37 -13
77 lines not on this page · raw message