Re: Where is RLIMIT_RT_CPU?

From: Jean-Marc Valin
Date: Sat Jul 15 2006 - 20:21:22 EST


> I don't think it's a problem. If the admin does not want non-root users
> to be able to lock up the machine, just don't put them in the realtime
> group.

What if the admin *wants* non-root users to have good quality audio, and
just doesn't want them to crash the system (voluntarily and especially
accidentally). Enforcing CPU limits *is* possible and it has already
been done independently by both Ingo and Con. I'm just waiting for the
feature to be available out-of-the box, which is not for today if kernel
space keeps pointing at userspace and vice versa. :-(

Jean-Marc
-
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/