[LTP] [PATCH 0/2 v2] syscalls/sendfile: Convert sendfile{08, 09} to the new API

Xie Ziyao xieziyao@huawei.com
Thu May 20 11:24:47 CEST 2021


v1->v2:
1. Add kernel commit to the tst_test structure as a tags;
2. Move [Restrictions] to [Description] for sendfile09;
3. Fix the bug in the previous version for sendfile09 on 32-bit:
   + #include "lapi/abisize.h"
   +
   + #ifndef TST_ABI32
   ...
   + #else
   + TST_TEST_TCONF("This test is only for 64bit");
   + #endif

Xie Ziyao (2):
  syscalls/sendfile: Convert sendfile08 to the new API
  syscalls/sendfile: Convert sendfile09 to the new API

 .../kernel/syscalls/sendfile/sendfile08.c     | 142 ++++-------
 .../kernel/syscalls/sendfile/sendfile09.c     | 236 ++++++------------
 2 files changed, 126 insertions(+), 252 deletions(-)

--
2.17.1



More information about the ltp mailing list