NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pthread_setaffinity_np() permissions

On Thu, Nov 03, 2011 at 12:20:18AM +0100, Jean-Yves Migeon wrote:
> On 02.11.2011 17:03, Sad Clouds wrote:
> >Hi, is there some setting that would allow pthread_setaffinity_np() to
> >succeed for non-root users, i.e. some form of RBAC?
> Not that I know of. There was a discussion to introduce a sysctl(7),
> but never got implemented actually (here's a quick patch).

Is that patch right?  It appears to allow the variable to be set
regardless of the kernel security level.


Home | Main Index | Thread Index | Old Index