lkml.org 
[lkml]   [2006]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Where is RLIMIT_RT_CPU?
From
Date
> as long as you can fork and exec as many of those processes as you want
> a per process rlimit is useless security wise... an evil user just fires
> off a second process just before the first one gets killed and a non-RT
> root still is starved out.

Of course, which is why the idea is for the limit to be global, across
all non-root users. AFAIK, that's what Ingo's original (pre-2.6.12)
patch did and also what Con Kolivas' SCHED_ISO patch does. That's also
why I think it would be very hard (if possible at all) to do this in
user space.

Jean-Marc
-
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-07-15 17:07    [W:0.088 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site