svn commit: r264269 - in head: sys/conf sys/kern sys/modules sys/modules/imgact_binmisc sys/sys usr.sbin usr.sbin/binmiscctl

John Baldwin jhb at freebsd.org
Tue Apr 8 20:26:11 UTC 2014


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


More information about the svn-src-all mailing list