From owner-freebsd-current Mon May 17 2:28: 1 1999 Delivered-To: freebsd-current@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id BABC414BF4 for ; Mon, 17 May 1999 02:27:57 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id LAA00690; Mon, 17 May 1999 11:27:56 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id LAA03170; Mon, 17 May 1999 11:27:55 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Doug Rabson Cc: John Polstra , current@freebsd.org Subject: Re: sys/types.h rev. 1.33 breaks ps etc. on alpha In-reply-to: Your message of "Mon, 17 May 1999 09:50:42 BST." Date: Mon, 17 May 1999 11:27:55 +0200 Message-ID: <3168.926933275@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try it and tell me if it works... In message , Doug Rabson writes: >On Mon, 17 May 1999, Poul-Henning Kamp wrote: > >> >> In message , John Polstra writes: >> >Revision 1.33 of src/sys/types.h, which changed dev_t to a void * in >> >the kernel, breaks ps and a bunch of other things on the alpha. >> >Since dev_t now has a different size in the kernel than in userland, >> >ps and friends get a "proc size mismatch". >> >> Uhm... Ahh... >> >> change >> >> #define udev_t dev_t >> >> to >> >> typedef void *dev_t; >> >> and tell me how much that breaks... > >If we define udev_t as a uintptr_t then they will both be the same size. > >-- >Doug Rabson Mail: dfr@nlsystems.com >Nonlinear Systems Ltd. Phone: +44 181 442 9037 > > > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message