Re: your mail

From: Chris Wright
Date: Mon May 24 2004 - 18:22:41 EST


* Laughlin, Joseph V (Joseph.V.Laughlin@xxxxxxxxxx) wrote:
> Currently, we're using sched_setaffinity() to control it, which existed
> in our 2.4.19 kernel. (but, you have to be root to use it, and we'd
> like non-root users to be able to change the affinity.)

Sounds like it's patched in. And it likely doesn't require root per se,
but CAP_SYS_NICE (as the 2.6 code does).

So, you've got choices of how to disable those capability checks to do
what you want.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
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/