WSL2-Linux-Kernel/tools/testing/selftests/splice
Kees Cook 6daf076b71 selftests: splice: Adjust for handler fallback removal
Some pseudo-filesystems do not have an explicit splice fops since adding
commit 36e2c7421f ("fs: don't allow splice read/write without explicit ops"),
and now will reject attempts to use splice() in those filesystem paths.

Reported-by: kernel test robot <rong.a.chen@intel.com>
Link: https://lore.kernel.org/lkml/202009181443.C2179FB@keescook/
Fixes: 36e2c7421f ("fs: don't allow splice read/write without explicit ops")
Cc: Christoph Hellwig <hch@lst.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-06-07 18:39:43 -06:00
..
.gitignore selftests: splice: Check behavior of full and short splices 2020-08-07 10:50:11 -07:00
Makefile selftests: splice: Check behavior of full and short splices 2020-08-07 10:50:11 -07:00
config selftests: splice: Check behavior of full and short splices 2020-08-07 10:50:11 -07:00
default_file_splice_read.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
default_file_splice_read.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
settings selftests: splice: Check behavior of full and short splices 2020-08-07 10:50:11 -07:00
short_splice_read.sh selftests: splice: Adjust for handler fallback removal 2021-06-07 18:39:43 -06:00
splice_read.c selftests: splice: Check behavior of full and short splices 2020-08-07 10:50:11 -07:00