From owner-freebsd-chat Thu Jan 23 11:17:10 2003 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0580B37B401 for ; Thu, 23 Jan 2003 11:17:09 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 764E843F7B for ; Thu, 23 Jan 2003 11:17:08 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 14455 invoked from network); 23 Jan 2003 19:17:12 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 23 Jan 2003 19:17:12 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h0NJGqUT042074; Thu, 23 Jan 2003 14:16:56 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <000901c2c267$119172c0$0502000a@sentinel> Date: Thu, 23 Jan 2003 14:16:55 -0500 (EST) From: John Baldwin To: Stacy Olivas Subject: RE: FreeBSD code that gives you the *shivers*? Cc: chat@freebsd.org Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 22-Jan-2003 Stacy Olivas wrote: > A while back I ran across something on one of the Linux lists asking what > the > scariest code in the linux kernel was. > > Just out of sheer curiosity, what would people consider to be the scariest > code in the FreeBSD > codebase? And why? (Please don't post something like "everything under > /usr/src/gnu" because it's > all GNU code). In the kernel without question: src/sys/i386/isa/gpib.c (at least as far as ugly code goes) I think Peter broke down and cleaned it up in -current though. It's still nice and grotty in 4.x. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message