From owner-svn-src-all@freebsd.org Sun Jul 10 08:30:28 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73BB7B751E6; Sun, 10 Jul 2016 08:30:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E74C41188; Sun, 10 Jul 2016 08:30:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id u6A8UH57072545 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 10 Jul 2016 11:30:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua u6A8UH57072545 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id u6A8UHhL072544; Sun, 10 Jul 2016 11:30:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 10 Jul 2016 11:30:17 +0300 From: Konstantin Belousov To: Dmitry Chagin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r302517 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux modules/linux modules/linux_common Message-ID: <20160710083017.GR38613@kib.kiev.ua> References: <201607100822.u6A8M4Kq052786@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201607100822.u6A8M4Kq052786@repo.freebsd.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2016 08:30:28 -0000 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 ?