rainbow and pam

victor Victor.Lazzarini at nuim.ie
Sat Aug 16 17:15:08 EDT 2008


Aren't these priorities the same ones set in /etc/security/limits.conf?
Or are they set by other means?

Victor
----- Original Message ----- 
From: "Michael Stone" <michael at laptop.org>
To: "victor" <Victor.Lazzarini at nuim.ie>
Cc: "Jim Gettys" <jg at laptop.org>; <devel at lists.laptop.org>
Sent: Saturday, August 16, 2008 8:40 PM
Subject: Re: rainbow and pam


> According to "man sched_setscheduler" you want either CAP_SYS_NICE or a
> non-zero RLIMIT_RTPRIO and giving these to you means that you can
> hardlock the machine anytime by busywaiting. Audio performance is
> clearly important to us in this release -- probably more important than
> stopping random malicious activities from locking the machine -- so that
> means that I should probably help you out on the condition that we may
> need to revise the details of our arrangements in future releases.
> 
> Is that acceptable?
> 
> If so, I propose simply granting all activities an RLIMIT_RTPRIO rlimit
> of some made-up number... say 50?
> 
> Anyone have better ideas?
> 
> (Note that there is a facility for setting per-bundle rlimits that we
> could probably adapt, but it's not very well tested...) 
> 
> Michael



More information about the Devel mailing list