From owner-freebsd-hackers Tue Mar 26 3:10:59 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id CF60437B416 for ; Tue, 26 Mar 2002 03:10:55 -0800 (PST) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id g2QBAqY12273; Tue, 26 Mar 2002 12:10:52 +0100 (MET) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.DE [137.226.194.33]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/7) with ESMTP id g2QBApv12263; Tue, 26 Mar 2002 12:10:51 +0100 (MET) Received: from margaux.informatik.rwth-aachen.de (margaux.Informatik.RWTH-Aachen.DE [137.226.194.72]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id MAA02342; Tue, 26 Mar 2002 12:10:47 +0100 (MET) Received: (from stolz@localhost) by margaux.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id MAA03956; Tue, 26 Mar 2002 12:10:46 +0100 (MET) Date: Tue, 26 Mar 2002 12:10:46 +0100 From: Volker Stolz To: Ian Cc: hackers@freebsd.org Subject: Re: idprio Message-ID: <20020326121046.A3952@margaux.informatik.rwth-aachen.de> References: <3C9FB98C.BB0F4621@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd-hackers, you wrote: > Speaking of idprio... I liked the good old days (3.x) when you didn't have > to be root to use the command. Given that idprio can be used to raise > priorities as well as lower them, I can see the point of having some > restrictions, but shouldn't it be possible to structure the code such that a > non-root user can lower but not raise the priority on a process they own? It's in the "BUGS" section: BUGS ... Under FreeBSD system calls are currently never preempted, therefore non- realtime processes can starve realtime processes, or idletime processes can starve normal priority processes. -- Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * stolz@i2.informatik.rwth-aachen.de Please use PGP or S/MIME for correspondence! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message