[LTP] [PATCH] syscalls/sendfile: Delete unnecessary loop logic in do_child()

Cyril Hrubis chrubis@suse.cz
Wed Apr 21 14:35:23 CEST 2021


Hi!
Looking at the code the sendfile04 and sendfile05 does not need 99% of
the code in the tests, as a matter of fact it even breaks the tests with
sufficiently large -i parameter.

Can we please instead remove all the server and socket code from
sendfile04 and sendfile05? We can just easily pass in_fd and out_fd
pointing to a regular files to the sendfile() syscall instead.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list