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

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

  • Next message: Trond Myklebust: "Re: [NFS] [PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak?"

    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 - 09:08:10 EDT