From owner-cvs-all Wed Aug 30 10:45:35 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 7CAF337B42C; Wed, 30 Aug 2000 10:45:29 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA98864; Wed, 30 Aug 2000 11:45:27 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA17412; Wed, 30 Aug 2000 11:45:06 -0600 (MDT) Message-Id: <200008301745.LAA17412@harmony.village.org> To: "Andrey A. Chernov" Subject: Re: cvs commit: src/lib/libalias alias_proxy.c Cc: Sheldon Hearn , Ruslan Ermilov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 30 Aug 2000 21:40:33 +0400." <20000830214032.A6643@nagual.pp.ru> References: <20000830214032.A6643@nagual.pp.ru> <20000830191124.A5556@nagual.pp.ru> <20000830173420.A80504@sunbay.com> <83666.967647763@axl.fw.uunet.co.za> <20000830191124.A5556@nagual.pp.ru> <200008301717.LAA16963@harmony.village.org> Date: Wed, 30 Aug 2000 11:45:06 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000830214032.A6643@nagual.pp.ru> "Andrey A. Chernov" writes: : On Wed, Aug 30, 2000 at 11:17:57AM -0600, Warner Losh wrote: : > In message <20000830191124.A5556@nagual.pp.ru> "Andrey A. Chernov" writes: : > : Detect somehow at compile time that dangerous function present during : > : library building process and produce compile-time warning. : > : > For 1 function, this hardly seems worth the effort. However, as the : > numbers grow, this becomes desirable. However, I think that the : > current set of warning tools is not sufficient to cope. : : We have many, consider whole srandom*() family f.e.. It will be good, if : somebody will examine libc for more offending functions... And getopt... and the passwd and group file functions... Ditto, I think for mount points... Basically anything that is STATEFUL in a global way (as opposed to fopen which is stateful in a localized way, for the purposes of this discussion). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message