CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/08/18 10:53:02
Modified files:
sys/arch/amd64/amd64: vm_machdep.c
sys/arch/i386/i386: vm_machdep.c
Log message:
We just need arc4random() for kernel stack random bias (modulo bios happens
with arc4random() % N when N is not a power of 2, which is why we normally
use arc4random_uniform(N), but PAGE_SIZE is always going to be a power of 2.
And to make it clear, use bitwise AND rather than %.)
ok deraadt@
