Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 16:52:25 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        chat@FreeBSD.ORG
Subject:   Re: FreeBSD code that gives you the *shivers*?
Message-ID:  <20030122225225.GA87532@grumpy.dyndns.org>
In-Reply-To: <000901c2c267$119172c0$0502000a@sentinel>
References:  <000901c2c267$119172c0$0502000a@sentinel>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2003 at 11:39:03PM +0100, Stacy Olivas wrote:
> 
> 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).

The code which implements the "r" and "f" options in
/usr/src/bin/rm/rm.c, specifically rm_tree().

OTOH suspect you really mean "bad code", rather than code which is
frightening.  :-)

-- 
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030122225225.GA87532>