All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Michael Thalmeier <michael@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] mprotect in Xenomai
Date: Wed, 22 Jun 2011 00:17:13 +0200	[thread overview]
Message-ID: <4E011869.2070307@domain.hid> (raw)
In-Reply-To: <loom.20110621T110521-226@domain.hid>

On 06/21/2011 11:08 AM, Michael Thalmeier wrote:
> Gilles Chanteperdrix <gilles.chanteperdrix <at> xenomai.org> writes:
> 
>>
>> On 06/20/2011 04:14 PM, Michael Thalmeier wrote:
>>>  Hello !
>>>  ...
>>
>> I am afraid this is platform dependent, on what architecture do you get
>> this behaviour?
>>
> I have only tested this behaviour on x86 until now.
> The system runs a kernel 2.6.32.15 with xenomai 2.5.6.

Issue reproduced, and seem specific to x86 (32, the application
segfaults on x86_64).

The answer to the original question is no: we do not provide any service
to do the same thing as mprotect, so, if you want this application to
work, you will have to dig in the kernel mm code and find exactly what
is going on.

-- 
                                                                Gilles.


  parent reply	other threads:[~2011-06-21 22:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20 14:14 [Xenomai-help] mprotect in Xenomai Michael Thalmeier
2011-06-20 14:57 ` Gilles Chanteperdrix
2011-06-20 15:29   ` Johann Obermayr
2011-06-21  9:08   ` Michael Thalmeier
2011-06-21 10:41     ` Gilles Chanteperdrix
2011-06-21 22:17     ` Gilles Chanteperdrix [this message]
2011-06-22  7:08       ` Michael Thalmeier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E011869.2070307@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=michael@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.