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: John David Anglin <dave dot anglin at bell dot net>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 18 Jul 2017 07:40:29 -0400
- 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>
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.
Dave
--
John David Anglin dave.anglin@bell.net