linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo@conectiva.com.br>
To: olof@austin.ibm.com
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: /proc/ioports overrun patch
Date: Fri, 29 Aug 2003 10:30:52 -0300 (BRT)	[thread overview]
Message-ID: <Pine.LNX.4.55L.0308291025340.21063@freak.distro.conectiva> (raw)


Hello Olof,

Let me make sure I understood the patch right:

Your change to do_resource_list() will avoid copying out of bound by
truncating the resource output. Which means users might get truncated
information (only information that fits in the buffer) and not the full
information.

Is that correct?

If so, I would prefer to have a fix which outputs the full resource
information. For that we would need seq_file().

Please correct me if my reading of the code is wrong.

Thanks


             reply	other threads:[~2003-08-29 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 13:30 Marcelo Tosatti [this message]
2003-08-29 18:59 ` /proc/ioports overrun patch john stultz
2003-09-24 19:42 ` [PATCH] [2.4] " olof
2003-09-24 19:51   ` viro
2003-09-24 19:59     ` viro
2003-09-24 21:47       ` viro
2003-09-24 22:36         ` viro
2003-09-24 22:54           ` Linus Torvalds
2003-08-30 15:02 Marcelo Tosatti

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.55L.0308291025340.21063@freak.distro.conectiva \
    --to=marcelo@conectiva.com.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@austin.ibm.com \
    /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;
as well as URLs for NNTP newsgroup(s).