public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: Jan Kara <jack@suse.cz>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2 1/1] splice07: Whitelist /dev/zero on pipe write
Date: Fri, 26 Jan 2024 15:14:22 +0100	[thread overview]
Message-ID: <ZbO-Pl9S7KH2cKkb@yuki> (raw)
In-Reply-To: <34c177e9-394a-4338-a61d-816185a49f3c@suse.cz>

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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2024-01-26 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 12:16 [LTP] [PATCH v2 1/1] splice07: Whitelist /dev/zero on pipe write Petr Vorel
2024-01-26 13:11 ` Martin Doucha
2024-01-26 13:20   ` Petr Vorel
2024-01-26 14:14   ` Cyril Hrubis [this message]
2024-01-26 14:19     ` Martin Doucha
2024-01-26 14:26       ` Cyril Hrubis
2024-01-26 14:35         ` Martin Doucha
2024-01-26 14:13 ` Jan Kara
2024-01-29 10:11 ` Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZbO-Pl9S7KH2cKkb@yuki \
    --to=chrubis@suse.cz \
    --cc=jack@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox