Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2008 10:02:03 -0700
From:      LI Xin <delphij@delphij.net>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: normal users calling setpriority(2)
Message-ID:  <47FBA50B.6020801@delphij.net>
In-Reply-To: <47FB8F49.6060105@gmail.com>
References:  <47FB8F49.6060105@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+6ULOfuToMruuMARCmDsAJ9w/t/NEJXwayCrbaikB5xgLYPELgCfTmcy
eqOvMz2pepcm6/gBCOcW/tg=
=lEVX
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FBA50B.6020801>