Linux emulation on FreeBSD AMD64

Roman Divacky rdivacky at freebsd.org
Mon Nov 5 07:37:33 PST 2007


> No, this is wrong fix. It changes the ABI for freebsd binaries, and does
> this not only for SysV shm, but for any readable mapping.
 
yes.. the patch is wrong

> Instead, the following things shall be made:
> 1. linux_shmat() shall call kern_shmat().
> 2. kern_shmat() shall take the flag that would force the read mapping
>    to be also executable.
> 3. this flag shall be set when kern_shmat() is called from linux_shmat(),
>    and not set when called from shmat().

that sounds about correct. but I think it should cover 32bit fbsd binaries
running on amd64 as well..

roman


More information about the freebsd-emulation mailing list