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

From: Steven Rostedt
Date: Fri Aug 12 2005 - 13:36:32 EST



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/