[LTP] [PATCH 0/2] syscalls/sendfile: Convert sendfile{04, 05} to the new API

Xie Ziyao xieziyao@huawei.com
Fri Apr 23 11:59:42 CEST 2021


1. Convert sendfile{04,05} to the new API;
2. Remove the socket code of server/client and use SAFE_SOCKETPAIR() instead,
which can simplify the code logic.

Xie Ziyao (2):
  syscalls/sendfile: Convert sendfile04 to the new API
  syscalls/sendfile: Convert sendfile05 to the new API

 .../kernel/syscalls/sendfile/sendfile04.c     | 308 ++++--------------
 .../kernel/syscalls/sendfile/sendfile05.c     | 254 +++------------
 2 files changed, 102 insertions(+), 460 deletions(-)

--
2.17.1



More information about the ltp mailing list