svn commit: r302517 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux modules/linux modules/linux_common

Konstantin Belousov kostikbel at gmail.com
Sun Jul 10 08:30:28 UTC 2016


On Sun, Jul 10, 2016 at 08:22:04AM +0000, Dmitry Chagin wrote:
> Author: dchagin
> Date: Sun Jul 10 08:22:04 2016
> New Revision: 302517
> URL: https://svnweb.freebsd.org/changeset/base/302517
> 
> Log:
>   Fix a copy/paste bug introduced during X86_64 Linuxulator work.
>   FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation
>   use READ_IMPLIES_EXEC flag, introduced in r302515.
>   
>   While here move common part of mmap() and mprotect() code to the files in compat/linux
>   to reduce code dupcliation between Linuxulator's.
>   
>   Reported by:    Johannes Jost Meixner, Shawn Webb
>   
>   MFC after:	1 week
>   XMFC with:	r302515, r302516
> 
> Added:
>   head/sys/compat/linux/linux_mmap.c   (contents, props changed)
>   head/sys/compat/linux/linux_mmap.h   (contents, props changed)
> Modified:
>   head/sys/amd64/linux/linux.h
>   head/sys/amd64/linux/linux_machdep.c
>   head/sys/amd64/linux32/linux.h
>   head/sys/amd64/linux32/linux32_machdep.c
>   head/sys/i386/linux/linux.h
>   head/sys/i386/linux/linux_machdep.c
>   head/sys/modules/linux/Makefile
>   head/sys/modules/linux_common/Makefile

Do conf/files.{i386,amd64} need update as well ?


More information about the svn-src-head mailing list