All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Serge Noiraud <serge.noiraud@bull.net>
Cc: markh@compro.net, linux-kerneL@vger.kernel.org,
	Ingo Molnar <mingo@elte.hu>, Steven Rostedt <rostedt@goodmis.org>
Subject: Re: RT exec for exercising RT kernel capabilities
Date: Fri, 09 Jun 2006 13:20:37 -0400	[thread overview]
Message-ID: <1149873638.3894.195.camel@mindpipe> (raw)
In-Reply-To: <200606091115.50576.Serge.Noiraud@bull.net>

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


  reply	other threads:[~2006-06-09 17:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 19:12 RT exec for exercising RT kernel capabilities Mark Hounschell
2006-06-08 19:46 ` Thomas Gleixner
2006-06-08 20:50   ` Mark Hounschell
2006-06-09 11:53     ` Mark Hounschell
2006-06-09 20:04       ` Mark Hounschell
2006-06-09 20:11         ` Thomas Gleixner
2006-06-09  9:15 ` Serge Noiraud
2006-06-09 17:20   ` Lee Revell [this message]
2006-06-10  9:50 ` Antonio
2006-06-13 14:13 ` Serge Noiraud
2006-06-13 14:34   ` Mark Hounschell
2006-06-13 14:48     ` Serge Noiraud
2006-06-13 14:53       ` Mark Hounschell
2006-06-13 16:24         ` Mark Hounschell
2006-07-14 22:34 ` Lee Revell
2006-07-15  2:04   ` Thomas Gleixner
2006-07-15  2:10     ` Lee Revell
2006-07-17 14:20       ` Mark Hounschell
2006-07-21 18:17         ` Lee Revell
2006-10-02 22:27       ` Lee Revell
2006-10-02 22:39         ` Thomas Gleixner
2006-10-03 11:14           ` Mark Hounschell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1149873638.3894.195.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=linux-kerneL@vger.kernel.org \
    --cc=markh@compro.net \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=serge.noiraud@bull.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.