Re: [RFC][PATCH] inotify 0.10.0

From: Robert Love
Date: Tue Sep 28 2004 - 17:19:50 EST


On Tue, 2004-09-28 at 14:39 -0700, Ray Lee wrote:

> It's just as easy to pass crap via ioctl() as write().

The ioctl() at least forces you to break up your calls into request and
argument pairs. And as the requests are inotify-based preprocessor
defines, at least that half of the equation is impossible to mess up.

In other words, ioctl() is slightly more structured than write(), which
is utterly non-structured.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/