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

Andreas Schwab schwab at linux-m68k.org
Sun Oct 20 23:07:53 AEDT 2019


On Okt 20 2019, Thomas Gleixner <tglx at linutronix.de> 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, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Linuxppc-dev mailing list