[LTP] [PATCH v2 1/1] splice07: Whitelist /dev/zero on pipe write

Cyril Hrubis chrubis@suse.cz
Fri Jan 26 15:14:22 CET 2024


Hi!
> splice() works on /dev/zero and /proc/self/maps on older kernels at 
> least between v4.4 and v5.3.

My guess would have been that this stopped working after the changes for
set_fs removal, see:

https://lwn.net/Articles/832121/

and kernel commit 36e2c7421f02

The article explicitly cites that splice() stopped working for files
that does not implemente splice_read().

So splice for these two didn't work between 5.10 and 6.7.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list