From owner-freebsd-audit Sun Jun 30 6:16:26 2002 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6DF937B400 for ; Sun, 30 Jun 2002 06:16:20 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B387D43E13 for ; Sun, 30 Jun 2002 06:16:19 -0700 (PDT) (envelope-from keramida@FreeBSD.org) Received: from hades.hell.gr (patr530-b143.otenet.gr [212.205.244.151]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g5UDGElm012658 for ; Sun, 30 Jun 2002 16:16:16 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5UDGGeh061493 for ; Sun, 30 Jun 2002 16:16:16 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5U41eKG017652 for audit@FreeBSD.org; Sun, 30 Jun 2002 07:01:40 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Sun, 30 Jun 2002 07:01:40 +0300 From: Giorgos Keramidas To: audit@FreeBSD.org Subject: sysconf(_SC_CLK_TCK) [NetBSD: basesrc/lib/libc/gen] Message-ID: <20020630040139.GC1223@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, Does the following change look like a nice thing to make to our libc too? I'm asking before trying to make a diff that does this, because the log mentions that the standards do not require this to return the value of HZ, and it's probably improper if programs depend on this being == HZ. Date: Sun, 23 Jun 2002 22:19:03 +0300 (EEST) From: "Perry E. Metzger" Subject: CVS commit: basesrc/lib/libc/gen To: source-changes@netbsd.org Modified Files: basesrc/lib/libc/gen: sysconf.c Log Message: make sysconf(_SC_CLK_TCK) return the kernel hz value, instead of a fixed constant, as is done on Solaris, Linux, etc. Technically, standards don't *require* this, but having it return a constant is a violation of the spirit, and screws up programs that (perhaps improperly) assume that it will return kernel hz. ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message