From owner-freebsd-bugs Tue Oct 3 12:10:39 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id AA45337B66D for ; Tue, 3 Oct 2000 12:10:24 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id PAA43095; Tue, 3 Oct 2000 15:10:02 -0400 (EDT) (envelope-from wollman) Date: Tue, 3 Oct 2000 15:10:02 -0400 (EDT) From: Garrett Wollman Message-Id: <200010031910.PAA43095@khavrinen.lcs.mit.edu> To: Bruce Evans Cc: freebsd-bugs@FreeBSD.ORG, freebsd-standards@khavrinen.lcs.mit.edu Subject: Re: misc/21644: /usr/include/sys/mman.h uses a type defined in /usr/include/sys/types.h In-Reply-To: References: <200009291628.MAA92746@khavrinen.lcs.mit.edu> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > Not precisely the change in the PR. has too much namespace > pollution to include nested. The correct change (unless P1003.1-200x is > so broken as to require everything that may be in a POSIX > to be declared in ) is to replace mode_t by a basic type that > is compatible with mode_t and whose name is not in the application namespace. In certain instances, POSIX actually requires that the types themselves be defined; for example, is required to cause the definition of the types `blkcnt_t', `blksize_t', `dev_t', `ino_t', `mode_t', `nlink_t', `uid_t', `gid_t', `off_t', and `time_t' from . This suggests to me that we may need to use the _BSD_SIZE_T trick on many or all of the types in question. If we can centralize these definitions it would be better than allowing the various _t types to potentially become desynchronized with their consumers. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message