From owner-cvs-all Sun Dec 27 10:03:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17704 for cvs-all-outgoing; Sun, 27 Dec 1998 10:03:40 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17697; Sun, 27 Dec 1998 10:03:38 -0800 (PST) (envelope-from dfr@FreeBSD.org) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA28679; Sun, 27 Dec 1998 10:03:30 -0800 (PST) Date: Sun, 27 Dec 1998 10:03:30 -0800 (PST) Message-Id: <199812271803.KAA28679@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/alpha/pci pcibus.c src/sys/kern kern_exec.c kern_sysctl.c subr_devstat.c src/sys/sys sysctl.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dfr 1998/12/27 10:03:29 PST Modified files: sys/alpha/pci pcibus.c sys/kern kern_exec.c kern_sysctl.c subr_devstat.c sys/sys sysctl.h Log: Fix some 64bit truncation problems which crept into SYSCTL_LONG() with the last cleanup. Since the oid_arg2 field of struct sysctl_oid is not wide enough to hold a long, the SYSCTL_LONG() macro has been modified to only support exporting long variables by pointer instead of by value. Reviewed by: bde Revision Changes Path 1.8 +5 -8 src/sys/alpha/pci/pcibus.c 1.91 +6 -3 src/sys/kern/kern_exec.c 1.81 +4 -34 src/sys/kern/kern_sysctl.c 1.8 +2 -2 src/sys/kern/subr_devstat.c 1.68 +4 -4 src/sys/sys/sysctl.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message