All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Borkhuis <j.borkhuis@domain.hid>
To: Xenomai-help@domain.hid
Subject: [Xenomai-help] Xenomai and mlockall
Date: Mon, 25 Jun 2007 15:00:23 +0200	[thread overview]
Message-ID: <467FBC67.8030805@domain.hid> (raw)

I am trying to run my Xenomai application as non-root. I disabled 
XENO_OPT_SECURITY_ACCESS to allow non-root users to run Xenomai 
applications. However, this causes my application to exit with the error:

Xenomai: process memory not locked (missing mlockall?)

Is there a way to avoid this error? I am running on an embedded system 
without swap and without disk, so there is no real need for mlock or 
mlockall.

Is there a way to "tweak" the CAP_IPC_LOCK capability of the system or 
the task so that I can run mlockall call, or is there a way to disable 
this check on Xenomai?

Kind regards,
    Johan Borkhuis


             reply	other threads:[~2007-06-25 13:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 13:00 Johan Borkhuis [this message]
     [not found] ` <cbe23c50706250904i57afbc0xfbce52fdb9dccc66@domain.hid>
2007-06-25 16:05   ` [Xenomai-help] Fwd: Xenomai and mlockall Eric Noulard
2007-06-26  6:10     ` Johan Borkhuis
2007-06-25 18:04 ` [Xenomai-help] " Paul
2007-06-26  7:26 ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2007-06-26  8:53 Fillod Stephane

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=467FBC67.8030805@domain.hid \
    --to=j.borkhuis@domain.hid \
    --cc=Xenomai-help@domain.hid \
    /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.