arch/{ia64,x86_64,s390}: Fix: sys32_sendfile does not set offset on 32bit compat
Quoted 12 lines · Yoshioka Tsuneo
Hello
If we use 64bit kernel on ia64/x86_64/s390 architecture, and we run 32bit binary on 32bit compatibility mode, sendfile system call seems be not set offset argument.
This is because sendfile's return value is not zero but the code regards the result by return value is zero or not.
This problem will be affect to ia64/x86_64/s390 and not affect to other architecture does not affect other architecture (mips/parisc/ppc64/sparc64). So, I have multi-posted this e-mail to ia64/x86_64/s390 maintainer and mailling list.
Quoted 2 lines
Following patch will fix the problem. (I have confirmed on my EM64T machine.)
Thanks, looks good. Just need to figure out which of the architecture maintainers pushes the patch now ,-)
-Andi