Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

From: Steven Rostedt (rostedt_at_goodmis.org)
Date: 08/12/05

  • Next message: Steven Rostedt: "Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)"
    Date:	Fri, 12 Aug 2005 13:01:05 -0400 (EDT)
    To: Linus Torvalds <torvalds@osdl.org>
    
    

    On Fri, 12 Aug 2005, Linus Torvalds wrote:
    >
    > I'm actually more inclined to try to deprecate /dev/kmem.. I don't think
    > anybody has ever really used it except for some rootkits. It only exists
    > in the first place because it's historical.
    >
    > We do need to support /dev/mem for X, but even that might go away some
    > day.
    >
    > So I'd be perfectly happy to fix this, but I'd be even happier if we made
    > the whole kmem thing a config variable (maybe even default it to "off").
    >

    I don't mind it as a config option, but please don't deprecate it. I
    use it a lot (actually I've been using /dev/mem until now, that kmem seems
    better) for debug tools that I write. That is, user land programs to
    monitor various parts of the kernel.

    Thanks,

    -- Steve

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


  • Next message: Steven Rostedt: "Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)"

    Relevant Pages

    • Re: Kernel Rootkits
      ... I know that SucKIT is a rootkit that gets loaded as a kernel module ... Some other rootkits change machine ... instructions in several kernel functions. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • FS Corruption [Re: Linux 2.6.10-rc3]
      ... Linus Torvalds wrote: ... there is no such corruption on -rc2. ... Untainted vanilla kernel. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: interrupts across PCI bridge(s) not handled
      ... On Mon, 3 Nov 2003, Linus Torvalds wrote: ... > sure that you build the kernel with a big printk buffer. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Kernel Rootkits
      ... > (specifically the ones that modify the kernel) can get installed on ... Some other rootkits change machine ... but that doesn't prevent replacing libc which most programs ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: The naming wars continue...
      ... Linus Torvalds wrote: ... > the main complaints about 2.6.9 was the apparently release naming scheme. ... for a few days and release the -rc1 as a new kernel. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)