[PATCH v3 2/2] posix: Implement preadv2 and pwritev2

Florian Weimer fweimer@redhat.com
Fri Jun 2 13:34:00 GMT 2017


On 06/02/2017 03:04 PM, Zack Weinberg wrote:
> I see this as well, for both tst-preadvwritev2 and
> tst-preadvwritev64v2 on my x86-64 machine (kernel 4.9).  Like HJ, if I
> run the test manually, it succeeds.

I see this on x86-64.

pwritev2(3,
[{iov_base="\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360",
iov_len=32},
{iov_base="\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17\17"...,
iov_len=64}], 2, 0, 0x30 /* RWF_??? */) = -1 EOPNOTSUPP (Operation not
supported)

On a kernel which supports pwritev2 in general.  I do not know yet where
the 0x30 comes from.

Florian



More information about the Libc-alpha mailing list