From owner-p4-projects@FreeBSD.ORG Tue Oct 12 10:57:25 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 02EF816A4D1; Tue, 12 Oct 2004 10:57:25 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B116716A4CE; Tue, 12 Oct 2004 10:57:24 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2387343D45; Tue, 12 Oct 2004 10:57:24 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9CAtmxl065291; Tue, 12 Oct 2004 06:55:48 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i9CAtm2H065288; Tue, 12 Oct 2004 06:55:48 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 12 Oct 2004 06:55:48 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Peter Wemm In-Reply-To: <200410112126.i9BLQlCu093658@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Perforce Change Reviews Subject: Re: PERFORCE change 63016 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 10:57:25 -0000 On Mon, 11 Oct 2004, Peter Wemm wrote: > Change 63016 by peter@peter_melody on 2004/10/11 21:26:18 > > Make the i386 sysctl binary work on amd64. This covers > most of the visible fields. Things like kern.proc.* and the > netstat structs are a nightmare. I think I'm going to cry. I wonder if it would make sense to convert 32-bit 6.x to use 64-bit-happy datastructures for the xfoo versions of the structures. We go through an externalization stage for all x structures anyway, and likely bzero() the structure, so 32-bit binaries would truncate the kernel values, which result in often useful numbers. Byte order might or might not be an issue, I suppose. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research