lkml.org 
[lkml]   [2004]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] inotify: make user visible types portable
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.087 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site