mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: Hugh Dickins <hugh@veritas.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] Fix mmap_kmem (was: [question] What's the  difference between /dev/km
Date: Fri, 12 Aug 2005 14:35:44 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0508121434001.10689@localhost.localdomain> (raw)
In-Reply-To: <200508121422_MC3-1-A70F-D742@compuserve.com>


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


      reply	other threads:[~2005-08-12 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12 18:18 Chuck Ebbert
2005-08-12 18:35 ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0508121434001.10689@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=76306.1226@compuserve.com \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®