[LTP] [PATCH v2 0/3] fanotify{14,20}: cleanup

Petr Vorel pvorel@suse.cz
Tue Sep 13 08:21:00 CEST 2022


Hi,

changes v1->v2:
* Rename macro (Cyril)
s/TST_EXP_FD_ERRNO/TST_EXP_FD_OR_FAIL/

Kind regards,
Petr

Petr Vorel (3):
  tst_test_macros: Add TST_EXP_FD_OR_FAIL() macro
  fanotify20: Simplify code
  fanotify14: Use TST_EXP_FD_ERRNO()

 include/tst_test_macros.h                     |  10 ++
 .../kernel/syscalls/fanotify/fanotify14.c     | 118 +++++-------------
 .../kernel/syscalls/fanotify/fanotify20.c     |  81 +++---------
 3 files changed, 62 insertions(+), 147 deletions(-)

-- 
2.37.3



More information about the ltp mailing list