From owner-freebsd-security Sun Sep 5 1:57:56 1999 Delivered-To: freebsd-security@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 8EEDF153EC for ; Sun, 5 Sep 1999 01:57:49 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.3/8.8.7) with ESMTP id EAA84842; Sun, 5 Sep 1999 04:57:51 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Sun, 5 Sep 1999 04:57:50 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Matthew Dillon Cc: security@FreeBSD.org Subject: Re: another local DoS fix (PR ???) In-Reply-To: <199909050048.RAA63733@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It would be nice to replace all access of fp with getfp() and have it release. It would make a lot of sense, and perhaps it could also be used with a lock system to make it closer to possible to push down the lock for this area. Processes could share file descriptors in SMP and not have race conditions there! I like lockmgr (maybe I'm insane...) but I'd like to know if there's anything faster that works. Didn't you say something about qlocks a long time ago? I wouldn't mind having a faster lock. -- Brian Fundakowski Feldman / "Any sufficiently advanced bug is \ green@FreeBSD.org | indistinguishable from a feature." | FreeBSD: The Power to Serve! \ -- Rich Kulawiec / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message