On 5/26/21 9:25 PM, Kees Cook wrote:
Some pseudo-filesystems do not have an explicit splice fops since adding commit 36e2c7421f02 ("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: 36e2c7421f02 ("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
Resend of https://lore.kernel.org/linux-kselftest/20201005204517.2652730-1-keescook@ch...
.../selftests/splice/short_splice_read.sh | 119 ++++++++++++++---- 1 file changed, 98 insertions(+), 21 deletions(-)
Will pick this up for 5.14
thanks, -- Shuah