Linux emulation on FreeBSD AMD64

Valery V.Chikalov valera at chikalov.dp.ua
Sat Nov 3 07:29:01 PDT 2007


Roman Divacky wrote:

>>
>> So, the question is what is changed in AMD64 arch with respect to SYSV 
>> shared memory?
>> Why vm_map_protect from /sys/vm/vm_mmap.c returns 
>> KERN_PROTECTION_FAILURE in attempts to change protection of such type of 
>> memory?
> 
> please try www.vlakno.cz/~rdivacky/pav.patch, I wrote that some time ago... it might
> not apply cleanly.. I am sure you'll cope with that :)
>

  Patch has applied cleanly.

> please report back

Sorry, but nothing has changed.

mprotect returning EACCES,
vm_map_protect returning KERN_PROTECTION_FAILURE.

Thank you for help.
Valery.





More information about the freebsd-emulation mailing list