]> 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)
commit4f3a170aca605dcee58506712022c59d5beb0724
tree9134feaef0f6076f5f1ebe484fb3791d60d1ff7b
parent620dc95b99e8ccad1c315f1098e967b5de028411
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]