Messages in this thread | | | Subject | Re: [patch] inotify: make user visible types portable | From | Robert Love <> | Date | Fri, 01 Oct 2004 11:47:04 -0400 |
| |
On Fri, 2004-10-01 at 08:40 -0700, Paul Jackson wrote:
> For now, I will remain in the alternative school that says the "other" > way to keep the kernel and user interfaces aligned is to have two > separate header files, one tuned for each space, using the human brain > to keep them aligned, and keeping things simple enough that the brain > can do so reliably. I find that optimizing the human readability of > this code is more valuable than automatable header sharing across the > kernel-user boundary. In some cases, such as RPC or CORBA, automatic > header sharing is damn near essential, but not here.
I'm not disagreeing with this, at all.
Most distributions ship kernel headers that have somehow been sanitized.
The canonical structure is still the thing located in inotify.h, though, whether or not it is 'kept aligned by the human brain' or used wholesale.
The structure needs to be used exactly the same between the kernel and the user. We both agree to that, right? It is user visible.
Robert Love
- 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/
| |