This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780)
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: John David Anglin <dave dot anglin at bell dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 8 Aug 2017 09:12:40 -0300
- Subject: Re: [PATCH] posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780)
- Authentication-results: sourceware.org; auth=none
- References: <1500301787-25312-1-git-send-email-adhemerval.zanella@linaro.org> <31E8ABF4-F583-4BED-A657-BC6CE6F073EC@bell.net> <b8073648-456e-4e05-47a5-475f14fa1c03@linaro.org>
On 18/07/2017 16:02, Adhemerval Zanella wrote:
>
>
> On 18/07/2017 08:40, John David Anglin wrote:
>> On 2017-07-17, at 10:29 AM, Adhemerval Zanella wrote:
>>
>>> Checked on x86_64-linux-gnu and the tst-preadwritev{64}v2 on
>>> hppa-linux-gnu (although due the installed kernel on my testing system
>>> the pwritev{64}v2 with an invalid flag still fails due a known kernel
>>> issue [1]).
>>>
>>> [BZ #21780]
>>> * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
>>> EOPNOTSUPP.
>>> * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
>>> * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
>>> * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
>>> * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
>>> * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
>>> * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
>>> * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
>>
>> Fixes the st-preadwritev{64}v2 test failures on hppa.
>
> Is it ok to push on freeze?
>
If no one opposes it I will commit it shortly.