normal users calling setpriority(2)

LI Xin delphij at delphij.net
Tue Apr 8 17:02:18 UTC 2008


Aryeh M. Friedman wrote:
> Is it possible via sysctl or some other method to allow non-superusers 
> to set any priority they want.   The specific question is I often want 
> to set idprio 31 on stuff but don't want to switch to root to do it (I 
> am the only user on the machine).

No if nobody implement PRIV_SCHED_SETPRIORTY support for non-root.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080408/3389c4fc/signature.pgp


More information about the freebsd-hackers mailing list