From owner-freebsd-current Sun Mar 14 14:13:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from helios.dnttm.ru (dnttm-gw.rssi.ru [193.232.0.205]) by hub.freebsd.org (Postfix) with ESMTP id 65C8115421 for ; Sun, 14 Mar 1999 14:13:20 -0800 (PST) (envelope-from dima@tejblum.dnttm.rssi.ru) Received: (from uucp@localhost) by helios.dnttm.ru (8.9.1/8.9.1/IP-3) with UUCP id BAA20206; Mon, 15 Mar 1999 01:01:08 +0300 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.9.3/8.9.1) with ESMTP id BAA03697; Mon, 15 Mar 1999 01:04:31 +0300 (MSK) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199903142204.BAA03697@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: Matthew Dillon Cc: current@FreeBSD.ORG Subject: Re: Simple DOS against 3.x locks box solid In-reply-to: Your message of "Thu, 04 Mar 1999 23:06:28 PST." <199903050706.XAA38141@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Mar 1999 01:04:30 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Dillon wrote: > - error = acquire(lkp, extflags, > - LK_HAVE_EXCL | LK_WANT_EXCL | LK_WANT_UPGRADE); > + if (p->p_flag & P_DEADLKTREAT) { > + error = acquire( This is broken: p may be NULL, it is checked several lines before. My kernel just paniced for this reason. Well, sorry for late response, but: what was wrong with Tor Egge's "workaround" from kern/8416? Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message