This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780)



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]