Daniel Phillips wrote:
> Unfortunately, negative priority requires root privilege, at least
> on Debian.
> That's dumb. By default, the root privilege requirement should kick
> in at something like -5 or -10, so ordinary users can set priorities
> higher than the default, as well as lower. For the millions of
> desktop users out there, sound ought to work by default, not be
> broken by default.
The security problem, on a multi-user box, is that negative priority
apps can easily take all of the CPU and effectively lock up the box.
Something I've often thought would fix this is to allow normal users
to set negative priority which is limited to using X% of the CPU -
i.e. those tasks would have their priority raised if they spent more
than a small proportion of their time using the CPU.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:25 EST