syscalls/vmsplice: Add testcase
PATCH v2 1/1 syscalls/vmsplice: Add testcase
Add vmsplice03 to test splicing from a pipe to user memory.
Signed-off-by Jorik Cronenberg <[email protected]>
---
V2:
Fixed issues pointed out by Cyril
testcases/kernel/syscalls/vmsplice/.gitignore | 1 + .../kernel/syscalls/vmsplice/vmsplice03.c | 68 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 testcases/kernel/syscalls/vmsplice/vmsplice03.c
testcases/kernel/syscalls/vmsplice/.gitignore +1 -0
@@ -1,2 +1,3 @@ /vmsplice01 /vmsplice02 +/vmsplice03
testcases/kernel/syscalls/vmsplice/vmsplice03.c new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.24.0
PATCH v2 1/1 syscalls/vmsplice: Add testcase
Hi!
I've changed the code slightly so that we make use of guarded buffers (the iovec is allocated as a guarded buffer by the test library now) and pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]