New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sendfile syscall offset bug ??? #30741
Comments
I'm not sure I understand. Does the 5.11.17 kernel have a bug? |
i don't know that's why i ask... |
Its not an easy test, your test is broken for what its worth. |
Is this not reproducible with C? What happens if you use sendfile as the function exposed by libc? Does it behave differently with different kernel versions? |
sorry all you don't know asm % strace ./sf3-3 +255 =q sf3.s b* % strace ./sf3 +63 :q qq qqa qqs qqw % strace ./sf3 ^63 b* |
for small tasks the time c exec is loaded asm exec did the job ... |
1 similar comment
for small tasks the time c exec is loaded asm exec did the job ... |
This has nothing to do with void linux, you are using the syscall wrong. lseek takes off_t and sendfile takes a off_t pointer. |
sorry Duncaen |
% uname -a
Linux x64-void 5.11.17_1 #1 SMP 1619738815 x86_64 GNU/Linux
sf4.txt
this is to test ;)
The text was updated successfully, but these errors were encountered: