lkml.org 
[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
    From
    Date
    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/

    \
     
     \ /
      Last update: 2006-06-09 19:24    [W:0.019 / U:127.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site