Re: RT exec for exercising RT kernel capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux