[LTP] [PATCH 0/2] Introduce SAFE_SPLICE()
Andrea Cervesato
andrea.cervesato@suse.de
Thu Apr 30 19:25:28 CEST 2026
- add SAFE_SPLICE()
- update tests to use the new macro
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (2):
lib: Add SAFE_SPLICE() macro
tee01, vmsplice01, af_alg08: Use SAFE_SPLICE()
include/tst_safe_macros.h | 8 ++++++++
lib/tst_safe_macros.c | 17 +++++++++++++++++
testcases/kernel/crypto/af_alg08.c | 10 ++--------
testcases/kernel/syscalls/tee/tee01.c | 9 ++-------
testcases/kernel/syscalls/vmsplice/vmsplice01.c | 6 +-----
5 files changed, 30 insertions(+), 20 deletions(-)
---
base-commit: 72ca484cca53710b956ba2fcc1ff203fe9c9b73b
change-id: 20260430-safe_splice-a3d6403f99cd
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list