Bugzilla – Bug 1219188
[Build 20240123] kernel 6.7.1: splice07.c:54: TFAIL: splice() on /dev/zero -> pipe write end succeeded
Last modified: 2024-04-02 08:49:34 UTC
Starting from build 20240123, which brought kernel 6.7 splice fail: splice07.c:54: TFAIL: splice() on /dev/zero -> pipe write end succeeded Jan, could you please have look whether it's a test bug or mainline kernel bug? I can reproduce the problem also on mainline 6.8.0-rc1 (testing with rapido).
Note: splice() from /dev/zero to a writable pipe used to work on SLE kernels 4.4, 4.12 and 5.3. On kernels 5.14 and 6.4 it returns EINVAL.
On Tumbleweed kernel got fixed by LTP upstream commit c04218579 ("splice07: Whitelist /dev/zero on pipe write") https://github.com/linux-test-project/ltp/commit/c04218579773e3c7017a87d8bb121771e3e0f09c