From owner-cvs-src Sun Mar 16 22:27:18 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E31537B401; Sun, 16 Mar 2003 22:27:13 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03ABB43F75; Sun, 16 Mar 2003 22:27:10 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-a002.otenet.gr [212.205.215.2]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2H6R55u023787; Mon, 17 Mar 2003 08:27:06 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2H6R4Kh000994; Mon, 17 Mar 2003 08:27:04 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2H4lSq3038870; Mon, 17 Mar 2003 06:47:28 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Mon, 17 Mar 2003 06:47:28 +0200 (EET) From: Giorgos Keramidas X-X-Sender: giorgos@gothmog To: Mike Silbersack Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/vm ... SIGDANGER In-Reply-To: <20030314160313.O4480@odysseus.silby.com> Message-ID: <20030317064452.L38829@gothmog> References: <8023.1047662161@critter.freebsd.dk> <20030314140414.V4480@odysseus.silby.com> <20030314152510.A4480@odysseus.silby.com> <20030314160313.O4480@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RAVMilter-Version: 8.4.2(snapshot 20021217) (terpsi) Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-14 16:07, Mike Silbersack wrote: >On Fri, 14 Mar 2003, Garance A Drosihn wrote: >> Almost all of the suggestions that have come forward are good >> ideas to do *in addition* to SIGDANGER, but SIGDANGER provides >> a program with a way to SPECIFICALLY address this very SPECIFIC >> issue, without having to care what UID it got, or what nice > > The problem with SIGDANGER is that only two programs will use it: > > 1. lpd at RPI. > > 2. The forkbomb someone will post to bugtraq the day after we add the > feature. > > I fully agree that there needs to be a way to prioritize processes. > However, adding an extra signal is just not the way to do it. If we want > a manual system like that, let's just add a "don't kill" bit to the proc > structure which can be set through nice or some other utility by the > system administrator. If we do it this way, then we might also make it generic enough and write pctl(1) as a userland tool that sets 'process properties'. Then add to each process a list or bitmap of property bits that would control the kernel's behavior for that particular process :) :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message