Re: [PATCH] kevent_user: remove non-chardev interface

From: Evgeniy Polyakov
Date: Tue Aug 22 2006 - 08:15:10 EST


On Tue, Aug 22, 2006 at 12:54:59PM +0100, Christoph Hellwig (hch@xxxxxxxxxxxxx) wrote:
> Currently a user can create a user kevents in two ways:
>
> a) simply open() the kevent chardevice
> b) use sys_kevent_ctl with the KEVENT_CTL_INIT cmd type
>
> both are equally easy to use for the user, but to support type b) a lot
> of code in kernelspace is required. remove type b to save lots of code
> without functionality loss.

I personally do not have objections against it, but it introduces
additional complexies - one needs to open /dev/kevent and then perform
syscalls on top of returuned file descriptor.

If there are no objections, I will apply this patch.

--
Evgeniy Polyakov
-
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/