From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 8 17:02:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF1E31065670 for ; Tue, 8 Apr 2008 17:02:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 712368FC1D for ; Tue, 8 Apr 2008 17:02:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 1F17928448 for ; Wed, 9 Apr 2008 01:02:17 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 76BFDEC2031; Wed, 9 Apr 2008 01:02:16 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id Flba9RPQMjtW; Wed, 9 Apr 2008 01:02:10 +0800 (CST) Received: from LI-Xins-MacBook.local (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id EA56FEBBA50; Wed, 9 Apr 2008 01:02:09 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=drliVudxOFEIgTnNezFHarYIZMwtu1ThTEhZl7/GrtiqEdtj+9tw+xneEn35pWxTD SgB68qMePWGcewwq0nmqQ== Message-ID: <47FBA50B.6020801@delphij.net> Date: Tue, 08 Apr 2008 10:02:03 -0700 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <47FB8F49.6060105@gmail.com> In-Reply-To: <47FB8F49.6060105@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDFDCA8A953D350A346B58E65" Cc: freebsd-hackers@freebsd.org Subject: Re: normal users calling setpriority(2) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 17:02:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDFDCA8A953D350A346B58E65 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigDFDCA8A953D350A346B58E65 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enigDFDCA8A953D350A346B58E65--