[LTP] [PATCH 2/3] syscalls/sendfile: Convert sendfile06 to the new API

Cyril Hrubis chrubis@suse.cz
Fri Jun 18 10:03:14 CEST 2021


Hi!
> > 1. Convert sendfile06 to the new API with file descriptors instead
> > of socket descriptors.
> I wonder if this is ok, suppose yes, but better if other check.

In kernels before 2.6.33 out_fd had to be a socket. Kernel 2.6.33 went
out somewhere in 2010 which should be more than old enough.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list