Messages in this thread | | | Date | Mon, 24 May 2004 16:21:15 -0700 | From | Chris Wright <> | Subject | Re: your mail |
| |
* Laughlin, Joseph V (Joseph.V.Laughlin@boeing.com) 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |