public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/3] syscalls/sendfile: Convert sendfile06 to the new API
Date: Mon, 21 Jun 2021 14:12:24 +0200	[thread overview]
Message-ID: <YNCCKN3W5RsO28pq@pevik> (raw)
In-Reply-To: <YMxTQliOqBJsYZcu@yuki>

Hi all,

> Hi!
> > > 1. Convert sendfile06 to the new API with file descriptors instead
> > > of socket descriptors.
> > I wonder if this is ok, suppose yes, but better if other check.

> In kernels before 2.6.33 out_fd had to be a socket. Kernel 2.6.33 went
> out somewhere in 2010 which should be more than old enough.
Yes, Ziyao also explained that. Thus merged.
I forgot to mention the reason at commit message, fortunately unlike me other
people aren't lazy to search in man page :).

Thanks!

Kind regards,
Petr

  reply	other threads:[~2021-06-21 12:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03  3:36 [LTP] [PATCH 0/3] Fix and convert sendfile{02, 06} to the new API Xie Ziyao
2021-06-03  3:36 ` [LTP] [PATCH 1/3] syscalls/sendfile: Convert sendfile02 " Xie Ziyao
2021-06-16 14:15   ` Petr Vorel
2021-06-03  3:36 ` [LTP] [PATCH 2/3] syscalls/sendfile: Convert sendfile06 " Xie Ziyao
2021-06-17 20:06   ` Petr Vorel
2021-06-18  3:37     ` Xie Ziyao
2021-06-18  8:14       ` Petr Vorel
2021-06-18  8:03     ` Cyril Hrubis
2021-06-21 12:12       ` Petr Vorel [this message]
2021-06-03  3:36 ` [LTP] [PATCH 3/3] syscalls/sendfile: Remove unnecessary header files Xie Ziyao
2021-06-17 20:08   ` 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=YNCCKN3W5RsO28pq@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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