Re: [PATCH] adjust /dev/{kmem,mem,port} write handlers

From: Andi Kleen
Date: Fri Mar 03 2006 - 08:43:33 EST


Arjan van de Ven <arjan@xxxxxxxxxxxxx> writes:

> On Fri, 2006-03-03 at 10:31 +0100, Jan Beulich wrote:
> > The /dev/mem and /dev/kmem write handlers weren't fully POSIX compliant in
> > that they wouldn't always force the file pointer to be updated when returning
> > success status.
>
> should we instead just remove the /dev/mem and/or /dev/kmem write
> handlers entirely?

If you mmap it doesn't make any sense to not have read/write.
And they are sometimes quite useful for debugging.

-Andi
-
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/