Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2007 16:25:57 +0200
From:      "Valery V.Chikalov" <valera@chikalov.dp.ua>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Linux emulation on FreeBSD AMD64
Message-ID:  <472C84F5.5030404@chikalov.dp.ua>
In-Reply-To: <20071103093453.GA63079@freebsd.org>
References:  <4721AB07.20708@novakom.com.ua> <fg05l9$n32$2@ger.gmane.org> <4723A8D6.6020002@chikalov.dp.ua> <20071031180639.GA93259@cons.org> <47298F10.4050301@chikalov.dp.ua> <20071101152550.GA10868@cons.org> <472B0454.9040408@chikalov.dp.ua> <472B9CD1.1010607@chikalov.dp.ua> <20071103093453.GA63079@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472C84F5.5030404>