From owner-svn-src-head@FreeBSD.ORG Tue Apr 8 20:26:10 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E34F3E9D; Tue, 8 Apr 2014 20:26:10 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::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 BA4AE1032; Tue, 8 Apr 2014 20:26:10 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id CC413B917; Tue, 8 Apr 2014 16:26:09 -0400 (EDT) From: John Baldwin To: Sean Bruno Subject: Re: svn commit: r264269 - in head: sys/conf sys/kern sys/modules sys/modules/imgact_binmisc sys/sys usr.sbin usr.sbin/binmiscctl Date: Tue, 8 Apr 2014 16:25:23 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <201404082010.s38KAMgg091287@svn.freebsd.org> In-Reply-To: <201404082010.s38KAMgg091287@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201404081625.23418.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 08 Apr 2014 16:26:09 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 20:26:11 -0000 On Tuesday, April 08, 2014 4:10:22 pm Sean Bruno wrote: > Author: sbruno > Date: Tue Apr 8 20:10:22 2014 > New Revision: 264269 > URL: http://svnweb.freebsd.org/changeset/base/264269 > > Log: > Add Stacey Son's binary activation patches that allow remapping of > execution to a emumation program via parsing of ELF header information. > > With this kernel module and userland tool, poudriere is able to build > ports packages via the QEMU userland tools (or another emulator program) > in a different architecture chroot, e.g. TARGET=mips TARGET_ARCH=mips > > I'm not connecting this to GENERIC for obvious reasons, but this should > allow the kernel module to be built by default and enable the building > of the userland tool (which automatically loads the kernel module). > > Submitted by: sson@ > Reviewed by: jhb@ > > Added: > head/sys/kern/imgact_binmisc.c (contents, props changed) > head/sys/modules/imgact_binmisc/ > head/sys/modules/imgact_binmisc/Makefile (contents, props changed) > head/sys/sys/imgact_binmisc.h (contents, props changed) > head/usr.sbin/binmiscctl/ > head/usr.sbin/binmiscctl/Makefile (contents, props changed) > head/usr.sbin/binmiscctl/binmiscctl.8 (contents, props changed) > head/usr.sbin/binmiscctl/binmiscctl.c (contents, props changed) > Modified: > head/sys/conf/files.amd64 > head/sys/conf/files.i386 > head/sys/modules/Makefile > head/usr.sbin/Makefile Maybe put it in sys/conf/files instead of only amd64|i386? You enabled the module build for all architectures. Please also add it to sys/conf/NOTES. -- John Baldwin