From owner-freebsd-current Wed Feb 19 11:32:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8256837B401 for ; Wed, 19 Feb 2003 11:32:18 -0800 (PST) Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EAB243F3F for ; Wed, 19 Feb 2003 11:32:17 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by phk.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1JJWG6E097565; Wed, 19 Feb 2003 19:32:16 GMT (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1JJWFOx095734; Wed, 19 Feb 2003 20:32:15 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Peter Wemm Cc: current@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha busdma_machdep.c src/sys/alpha/osf1 imgact_osf1.c osf1_misc.c src/sys/cam cam_periph.c cam_sim.c cam_xpt.c src/sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_low.c scsi_sa.c scsi_target.c src/sys/coda cnode.h ... From: phk@phk.freebsd.dk In-Reply-To: Your message of "Wed, 19 Feb 2003 10:34:22 PST." <20030219183422.059862A8C3@canning.wemm.org> Date: Wed, 19 Feb 2003 20:32:15 +0100 Message-ID: <95733.1045683135@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030219183422.059862A8C3@canning.wemm.org>, Peter Wemm writes: >phk@phk.freebsd.dk wrote: > >> The attached patch will print a backtrace if any calls to malloc >> fail to have either M_WAITOK or M_NOWAIT. > >Please do not commit this as-is.. There is a DoS here if a user figures >out how to provoke this. This is exactly the situation that Alfred was >worried about. I have no intention of committing this. The email from the TRB@ indicated that a plan exists, this patch was merely meant as an aid to people to find any issues up front. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message