[PATCH] linux: Avoid shifting a negative signed on POSIX timer interface

Andreas Schwab schwab@linux-m68k.org
Mon Aug 29 19:49:17 GMT 2022


On Aug 29 2022, Adhemerval Zanella via Libc-alpha wrote:

> @@ -6,13 +14,23 @@
>  #define CPUCLOCK_PID_MASK	7
>  #define CPUCLOCK_PERTHREAD_MASK	4
>  #define CPUCLOCK_WHICH(clock)	((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK)
> -#define CPUCLOCK_CLOCK_MASK	3
> +#define CPUCLOCK_CLOCK_MASK	3KE_PROCESS_CPUCLOCK

Unintentional change.

-- 
Andreas Schwab, schwab@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 Libc-alpha mailing list