Skip to contentSkip to conversation

Running SOLO without superuser privileges?

Xenomai-help Michael Buksas 2 participants 2 messages Mar 1, 2010 – Mar 2, 2010

lore
Share & tools
lore
#0 lore raw

Hi all,

Is it possible to run, or perhaps build Xenomai/SOLO to run without superuser privileges? I don't need real-time performance guarantees for this particular application.

Thanks,
Mike Buksas

Signature · 4 lines
Michael W. Buksas
CCS-2: Transport Methods
Los Alamos National Laboratory
(505) 667-7580
#1 lore raw
Quoted 5 lines · Michael Buksas

Hi all,

Is it possible to run, or perhaps build Xenomai/SOLO to run without superuser privileges? I don't need real-time performance guarantees for this particular application.

No, this won't work. The entire emulation engine assumes that your threads may be given different static priorities above 0; the current implementation won't work with SCHED_OTHER threads. Besides, this does not make much sense to emulate a priority-based scheduler without any consideration for priority levels.

/etc/security/limits.conf may help to allow selected non-root users to gain RT priority.

Quoted 4 lines

Thanks,
Mike Buksas

Signature · 1 line
Philippe.