|
From: | Ilya Palachev |
Subject: | Re: [Qemu-devel] [PATCH] Force pread64/pwrite64 to return 0 for zero-length buffer |
Date: | Wed, 17 Dec 2014 15:56:35 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |