From owner-freebsd-arch@FreeBSD.ORG Tue May 15 11:10:52 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0E7316A402 for ; Tue, 15 May 2007 11:10:52 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4F69D13C459 for ; Tue, 15 May 2007 11:10:52 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4FB9k8r029523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 May 2007 14:09:52 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4FB9Qks004682; Tue, 15 May 2007 14:09:38 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4FB9Ouv004680; Tue, 15 May 2007 14:09:24 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Tue, 15 May 2007 14:09:23 +0300 From: Giorgos Keramidas To: Ivan Voras Message-ID: <20070515110923.GA4471@kobe.laptop> References: <20070512153532.GQ21795@elvis.mu.org> <63984.1178992555@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.261, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.14, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-arch@freebsd.org Subject: Re: HEADS DOWN X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 11:10:52 -0000 On 2007-05-13 02:30, Ivan Voras wrote: >Poul-Henning Kamp wrote: >> In message <20070512153532.GQ21795@elvis.mu.org>, Alfred Perlstein writes: >>> I like how phk malloc has it as an option. >> >> But notice that it is not an option for programs that runs as root >> or setuid/setgid etc. >> >> Given the hostility of networks, I would support a more hardcore >> attitude to memory mismanagement these days. > > Just a data point: many people were turned away from FreeBSD because a > few PHP releases did a double-free or malloc-inside-signal-handler > calls. Yes, GNU's malloc should have been stricter, but it's not funny > when your apache crashes with SIGABORT. This seems to imply that not crashing would somehow be better. But I doubt anybody would be happy if they realized that their PHP randomly corrupted user data because the system malloc() implementation was not strict enough. While I agree that an Apache server crashing is a bar thing, I don't buy into the mindset that would accept random heap corruption because "not crashing would be good". - Giorgos