[LAD] [ANNOUNCE] Safe real-time on the desktop by default; Desktop/audio RT developers, read this!

Paul Coccoli pcoccoli at gmail.com
Wed Jun 24 13:55:05 UTC 2009


On Tue, Jun 23, 2009 at 4:27 PM, Paul Davis<paul at linuxaudiosystems.com> wrote:
> here's my halfway (?) summary:
>
>   "distros refuse to even provide a way to enable RLIMIT_RTPRIO because
>     it enables regular users to lockup the machine.
>
>    Up next: 8 other ways for regular users to easily lockup the machine ... "
>

I may be way off base here, but shouldn't SELinux or some sort of
mandatory access control be the mechanism for allowing a user to run a
process with RT scheduling?  So the "system administrator" would set a
policy that said "user paul may run the binary /usr/bin/ardour with
SCHED_FIFO" etc.?

There appears to be a LSM hook for both setscheduler and setrlimit.
Why isn't this sufficient for Fedora?  PAtch selinux-policy and be
done with it.



More information about the Linux-audio-dev mailing list