Subject: standards/16143: sys/uio.h exposes struct uio, causing compilation problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: netbsd-bugs
Date: 03/31/2002 09:42:59
>Number:         16143
>Category:       standards
>Synopsis:       sys/uio.h exposes struct uio, causing compilation problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 31 07:44:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Haszlakiewicz
>Release:        NetBSD 1.5ZA
>Organization:
	...
>Environment:
System: NetBSD diana.nimenees.com 1.5ZA NetBSD 1.5ZA (DIANA) #35: Fri Feb 22 20:13:38 CST 2002 root@diana.nimenees.com:/usr/build/DIANA i386
Architecture: i386
Machine: i386
>Description:
	The sys/uio.h header file exposes struct uio to userland programs.  
This contains a struct proc which causes problems when building certain
userland applications: for example gawk 3.1.0, because it #define's proc
for its own use.
	No standards that I found require anything other than a struct iovec
in uio.h, but ipf needs it, and vmstat, ktrace, kdump and ktruss need the
enums.  On the other hand, they don't seem to exclude additional structures.
>How-To-Repeat:
	Get gawk-3.1.0, try to compile.
>Fix:
	Not sure yet, investigating.
>Release-Note:
>Audit-Trail:
>Unformatted: