Re: Race VT+X11 on -current

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Sun, 10 May 2015 19:14:06 +0200
On 05/10/15 19:00, Oliver Pinter wrote:
> Hi Hans!
>
> > Hi,
>>
>> Sounds good. I'll MFC the patch sometime next week. Seems like more
>> people need it for daily FreeBSD use :-)
>
> I have this fix or enhancements in our HardenedBSD codebase:
> https://github.com/HardenedBSD/hardenedBSD/commit/18058137da01598403b6ffa40c37b0a907441530
> Please review them, and if you feel this required in FreeBSD too, and
> cherry-pick them.
>

Hi Oliver,

Your patch is correct from what I can see. Signed modulus can be creepy 
sometimes! Better if VT_MAXWINDOWS was power of two and we used a 
bitwise AND.

https://svnweb.freebsd.org/changeset/base/282730

--HPS
Received on Sun May 10 2015 - 15:13:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC