From: Ilya Palachev <i.palachev@samsung.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Vyachelav Barinov <v.barinov@samsung.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Force pread64/pwrite64 to return 0 for zero-length buffer
Date: Wed, 17 Dec 2014 15:56:35 +0300 [thread overview]
Message-ID: <54917D83.3070504@samsung.com> (raw)
In-Reply-To: <CAFEAcA9g4RrPpHHewmfJbBs-UxseHQ_gSx1yWhU1w06L4Rpb+Q@mail.gmail.com>
On 17.12.2014 15:28, Peter Maydell wrote:
> If this is a problem, doesn't it apply to more syscalls than
> just pread64 and pwrite64 ?
Hi,
We were interested in pwrite64/pread64 only since it caused a failure in
elfutils (see https://bugzilla.redhat.com/show_bug.cgi?id=1174267).
Of course, it applies also to other syscalls. There are the following
problems:
- Find what syscalls should be changed (check POSIX specification and
qemu implementation)
- Whether to change them all with "if" statements as for
pread64/pwrite64. Or there is some more convenient way?
- Find they how to test them all after the change is made (make check?)
What do you think about that?
Best regards,
Ilya Palachev
next prev parent reply other threads:[~2014-12-17 12:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 12:02 [Qemu-devel] [PATCH] Force pread64/pwrite64 to return 0 for zero-length buffer Ilya Palachev
2014-12-17 12:28 ` Peter Maydell
2014-12-17 12:56 ` Ilya Palachev [this message]
2014-12-17 13:15 ` Peter Maydell
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=54917D83.3070504@samsung.com \
--to=i.palachev@samsung.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=v.barinov@samsung.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.