From owner-freebsd-hackers Thu Jan 9 13: 0:53 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F8ED37B401; Thu, 9 Jan 2003 13:00:52 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A9C343F13; Thu, 9 Jan 2003 13:00:52 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 9E05AAE027; Thu, 9 Jan 2003 13:00:48 -0800 (PST) Date: Thu, 9 Jan 2003 13:00:48 -0800 From: Alfred Perlstein To: Matthew Dillon Cc: hackers@FreeBSD.ORG, tegge@FreeBSD.ORG Subject: Re: rfork DoS Message-ID: <20030109210048.GT33821@elvis.mu.org> References: <20030109202346.GS33821@elvis.mu.org> <200301092037.h09Kbo9v005055@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301092037.h09Kbo9v005055@apollo.backplane.com> User-Agent: Mutt/1.4i 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 * Matthew Dillon [030109 12:37] wrote: > Well, the manual page (which may be out of date) infers > that the rfork() only operates on the current process if > RFPROC is not set. If we extend that to include RFTHREAD > then the inference is that either RFPROC or RFTHREAD must be > set and if neither is set an error should be returned. Am > I missing something? That sounds right. The only reason I didn't go that far was because I wasn't sure if we wanted to allow shared sigacts without leadership. I think that it would be safest to require userland to set either RFPROC or RFTHREAD. Yes, the manpage is out of date. What the hell is a sigact anyhow? Can someone please fixup the manpage? :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message