[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RT exec for exercising RT kernel capabilities
On Fri, 2006-06-09 at 11:15 +0200, Serge Noiraud wrote:
> In the README, you say :
> ...
> The exec must be run as root because of the use of mlockall,
> sched_setscheduler, and sched_setaffinity calls. Sorry but
> there has been no attempt to use the Linux CAPABILITIES API
> so that it could be run as regular user.
> ...
> It's false if you use the LSM patch from here :

Realtime LSM is deprecated, with a reasonably recent PAM and glibc
(Ubuntu Dapper and FC5 should both be good) it's not necessary.

Just add something like:

* - rtprio 99
* - nice -20
* - memlock 500000

to /etc/security/limits.conf


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-09 19:24    [W:0.094 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site