]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: splice: Check behavior of full and short splices
authorKees Cook <keescook@chromium.org>
Fri, 7 Aug 2020 06:01:09 +0000 (23:01 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 7 Aug 2020 17:50:11 +0000 (10:50 -0700)
commitb6ed442254ece421aa6dbb779701a0fed1df6f33
tree9134feaef0f6076f5f1ebe484fb3791d60d1ff7b
parent6d17ceb8cad64ee6105a0f495ea42314f8a7d6b2
selftests: splice: Check behavior of full and short splices

In order to help catch regressions in splice vs read behavior in certain
special files, test a few with various different kinds of internal
kernel helpers.

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/splice/.gitignore
tools/testing/selftests/splice/Makefile
tools/testing/selftests/splice/config [new file with mode: 0644]
tools/testing/selftests/splice/settings [new file with mode: 0644]
tools/testing/selftests/splice/short_splice_read.sh [new file with mode: 0755]
tools/testing/selftests/splice/splice_read.c [new file with mode: 0644]