s.a. wrote: > Hi, > > In my mind , one or more rt process manages everything critical, need > root access for resources reasons , other processes are things like gui > to interact with realtime world, including X11 applications (I know , I > will hurt some people, but this is the truth : X11 !) ..... > My point is: what do you gain by separating the RT core from the logging or gui application? Not much as long as the interface is not robust. This means that your uncritical part must not be able to interfere with the critical one, e.g. by acquiring some common lock or messing up a shared memory which is used blindly by the RT code. If your application design can guarantee this, ok. But then note that Xenomai heaps are unsuited for being shared with not fully trusted parties: management structures reside next to the data, write permission is always acquired (and is required for allocation/release operations), access control beyond go/no-go is not supported. Better use "standard" (Linux) shared memory for this: Invoke shm_open("myshm", ...), adapt the access rights of the newly created /dev/shm/myshm, and let the unprivileged process attach to it. Jan