Messages in this thread | | | Subject | Re: RT exec for exercising RT kernel capabilities | From | Lee Revell <> | Date | Fri, 09 Jun 2006 13:20:37 -0400 |
| |
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 : > http://sourceforge.net/projects/realtime-lsm/
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
Lee
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |