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

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to