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] nptl: Add sendmmsg and recvmmsg cancellation tests


On 06/10/2016 01:46 PM, Adhemerval Zanella wrote:
> 
> 
>> On Jun 10, 2016, at 14:04, Joseph Myers <joseph@codesourcery.com> wrote:
>>
>>> On Fri, 10 Jun 2016, Adhemerval Zanella wrote:
>>>
>>> This patch adds cancellation tests for both sendmmsg and recvmmsg
>>> syscalls.
>>
>> Will these work if those fail with ENOSYS (old kernels, or non-Linux ports 
>> using NPTL)
> 
> Right, I think best approach the to not fail for ENOSYS with a print
> saying it is not supported I the system. I will change that.

If the only thing being tested is skipped then you should exit(77)
to indicate UNSUPPORTED.

-- 
Cheers,
Carlos.


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