Re: [PATCH] mtrr: s/suser/capable/

From: Tigran Aivazian (tigran@veritas.com)
Date: Thu Aug 31 2000 - 08:14:29 EST


On Thu, 31 Aug 2000, Chris Evans wrote:
> I'm not sure about /proc/kcore (it looks to be read only),

even reading from certaing ioremap'd areas is dangerous. (ok current
/proc/kcore prevents that from happening by skipping such).

> but /dev/mem
> and /dev/kmem are good examples.

speaking of /dev/kmem, I always wondered why Alan Cox (or someone
else?) objected to adding vwrite() ability to write to vmalloc'd addresses
via /dev/kmem and this discussion is as good as any to ask here :)

I.e. it is kind of assymetric to allow reading (via vread()) and disallow
writing. I have a patch (by Amit Kale) that adds this support.

Regards,
Tigran

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:27 EST