Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/km

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Aug 2005, Chuck Ebbert wrote:
>  Even with Steven's patch applied, root cannot read from /dev/kmem with the
> following program, which works on 2.6.9.  "Invalid argument" means that the
> "fd is attached to an object that is unsuitable for reading."
>

Yeah, I noticed this too. But my programs were only mmaping kmem, and not
reading it, so I didn't bother to fix that.  When I get a chance, I could
also look into that too.  But I guess the next thing to do is send in a
patch that makes kmem a config option, with the default off.

-- Steve

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux