Re: [PATCH] Changing RT priority in kernel 2.6 without CAP_SYS_NICE

From: Ingo Molnar
Date: Tue Apr 26 2005 - 03:16:55 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > Presently, a process without the capability CAP_SYS_NICE can not change
> > its own policy, which is OK.
> >
> > But it can also not decrease its RT priority (if scheduled with policy
> > SCHED_RR or SCHED_FIFO), which is what this patch changes.
>
> This patch needed some massaging to copt with the changes in
> nice-and-rt-prio-rlimits.patch - please check.
>
> I guess we should merge nice-and-rt-prio-rlimits.patch.

the massaging looks ok - and i agree that we should merge the rt-rlimits
patch.

Ingo
-
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/