Messages in this thread | | | Date | Fri, 12 Mar 2004 13:48:54 -0800 | From | Jonathan Lundell <> | Subject | Re: [PATCH] ethtool.h should use userspace-accessible types |
| |
At 10:06 AM -0700 3/12/04, Eric W. Biederman wrote: >My intent was to say: Why change the types when there is no #ifdef >__KERNEL__ in the header. With no #ifdef __KERNEL__ it exports >definitions that are private to the kernel making it not safe for >userspace to use. With kernel private definitions in there it will >generate name space pollution if included by user space.
Presumably because it *is* included by userspace, because it defines the interface between the kernel and userspace; of course userspace will (does) include it.
-- /Jonathan Lundell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |