Re: [PATCH] Realtime LSM

From: Lee Revell
Date: Fri Oct 01 2004 - 15:51:34 EST


On Fri, 2004-10-01 at 00:05, Jack O'Quin wrote:
> Chris Wright <chrisw@xxxxxxxx> writes:
>
> > This uses the basic rlimits infrastructure. You can manage it manually
> > in a shell with ulimit -l, or you can use pam (pam_limits) to configure
> > per uid limits. There's a pam doc that describes limits, and a manpage
> > for ulimit. It's really easy to use, and should eliminate the need for
> > the mlock part of that module.
>
> Thanks for the pointer, Chris.
>
> I'll see if I can figure out a way to make that useable for musicians.
>
> The ulimit approach is way too cumbersome.

Agreed. The whole point of getting realtime-lsm in the kernel is to
make it _easier_ to get a linux audio (or other realtime system) up and
running. Would it be feasible to use rlimits to let users run
SCHED_FIFO processes? The ulimit approach would probably be acceptable
if it subsumed all the functionality of the realtime-lsm module.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/