All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Xenomai and mlockall
@ 2007-06-25 13:00 Johan Borkhuis
       [not found] ` <cbe23c50706250904i57afbc0xfbce52fdb9dccc66@domain.hid>
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Johan Borkhuis @ 2007-06-25 13:00 UTC (permalink / raw)
  To: Xenomai-help

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-26  7:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25 13:00 [Xenomai-help] Xenomai and mlockall Johan Borkhuis
     [not found] ` <cbe23c50706250904i57afbc0xfbce52fdb9dccc66@domain.hid>
2007-06-25 16:05   ` [Xenomai-help] Fwd: " Eric Noulard
2007-06-26  6:10     ` Johan Borkhuis
2007-06-25 18:04 ` [Xenomai-help] " Paul
2007-06-26  7:26 ` Philippe Gerum

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.