Date: Wed, 30 Aug 2000 11:45:06 -0600 From: Warner Losh <imp@village.org> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: Sheldon Hearn <sheldonh@uunet.co.za>, Ruslan Ermilov <ru@sunbay.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libalias alias_proxy.c Message-ID: <200008301745.LAA17412@harmony.village.org> In-Reply-To: Your message of "Wed, 30 Aug 2000 21:40:33 %2B0400." <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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008301745.LAA17412>