Re: [Xenomai] running as user issue

2015-08-27 Thread Stéphane ANCELOT
Hi, Enclosed you will find a heap regression test program. The main problem, is that I am not able to bind it using normal user , using pshared and session mode. xenomai configure flags: --enable-smp --enable-pshared --enable-dlopen-libs --enable-tls running this program does follwoing th

Re: [Xenomai] running as user issue

2015-08-05 Thread Stéphane ANCELOT
On 31/07/2015 18:38, Philippe Gerum wrote: On 07/31/2015 06:09 PM, Stéphane ANCELOT wrote: giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run xenomai_init, This does not make sense unless you are trying to bind to an existing session with incompatible user privileges. Do you mea

Re: [Xenomai] running as user issue

2015-07-31 Thread Philippe Gerum
On 07/31/2015 06:09 PM, Stéphane ANCELOT wrote: > giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run > xenomai_init, This does not make sense unless you are trying to bind to an existing session with incompatible user privileges. > but unfortunately, the heap alloc / binds do not

Re: [Xenomai] running as user issue

2015-07-31 Thread Stéphane ANCELOT
giving a+rwx access to /dev/shm/xeno:mysession.heap permits to run xenomai_init, but unfortunately, the heap alloc / binds do not work. Regards, S.Ancelot On 30/07/2015 10:59, Stéphane ANCELOT wrote: Hi, I have problems running as user. pshared mode is enabled, conf tunables are defined (sess

[Xenomai] running as user issue

2015-07-30 Thread Stéphane ANCELOT
Hi, I have problems running as user. pshared mode is enabled, conf tunables are defined (session_label , and mem_pool_size overloaded) and the program is running as root. user's group 1000 has been echoed to /sys/module/xenomai/parameters/allowed_group xenomai_init() reports EACCESS, althoug