Messages in this thread | | | Date | Fri, 18 Apr 2003 09:55:06 -0700 | From | Greg KH <> | Subject | Re: [PATCH] struct loop_info64 |
| |
On Fri, Apr 18, 2003 at 09:26:08AM -0700, Linus Torvalds wrote: > > We should literally have the rule that any user-visible data structures > cannot use _any_ types other than u8/u16/u32/u64 (and _maybe_ the signed > ones, if there is any real reason to).
I thought we did have such a rule. Well, it's unwritten I guess... I'll go knock up a Documentation/user_to_kernel_datatypes.txt file to set this in stone.
Oh, and shouldn't we be using the "__*" style types for crossing the user/kernel boundry (__u8, __u16, __u32, etc.)? I thought that is what those versions were for.
thanks,
greg k-h - 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/
| |