svn commit: r313655 - head/sys/vm

Edward Tomasz Napierała trasz at FreeBSD.org
Sat Feb 11 21:31:07 UTC 2017


On 0211T2027, Konstantin Belousov wrote:
> Author: kib
> Date: Sat Feb 11 20:27:39 2017
> New Revision: 313655
> URL: https://svnweb.freebsd.org/changeset/base/313655
> 
> Log:
>   Change type of the prot parameter for kern_vm_mmap() from vm_prot_t to int.
>   
>   This makes the code to pass whole word of the mmap(2) syscall argument
>   prot to the syscall helper kern_vm_mmap(), which can validate all
>   bits.  The change provides temporal fix for sys/vm/mmap_test
>   mmap__bad_arguments, which was broken after r313352.

Thanks, and sorry for the breakage.



More information about the svn-src-head mailing list