Subject: Re: passing NULL to clock_getres (VDSO): terminated by unexpected signal 11

From: Andreas Schwab <[email-masked]>
Date: Sun, 20 Oct 2019 14:07:53 +0200

On Okt 20 2019, Thomas Gleixner <[email-masked]> wrote:

> clock_getres(NULL) is hardly valid.

Of course not, it lacks a parameter.

> So special casing
>
>     clock_getres(clock, NULL);
>
> just to make a test case happy is a pointless exercise which does not make
> any sense at all.

POSIX requires it to work.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."