[PATCH 5/7] support: Add support_socket_time64_timestamp

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Jul 5 18:51:53 GMT 2021



On 05/07/2021 15:46, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
> 
>> Check if the socket support 64-bit network packages timestamps
>> (SO_TIMESTAMP and SO_TIMESTAMPNS).  This will be used on recvmsg
>> and recvmmsg tests to check if the timestamp should be generated.
> 
> Is it possible to probe with getsockopt instead?  Otherwise please
> document that this function disables SO_TIMESTAMP.

I think it would work.

> 
>> +      r = syscall (__NR_setsockopt, 14 /* SOCKOP_setsockopt  */ , args);
> 
> Should that be __NR_socketcall?

Indeed, I will send an updated version.


More information about the Libc-alpha mailing list