linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /proc/ioports overrun patch
@ 2003-08-29 13:30 Marcelo Tosatti
  2003-08-29 18:59 ` john stultz
  2003-09-24 19:42 ` [PATCH] [2.4] " olof
  0 siblings, 2 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2003-08-29 13:30 UTC (permalink / raw)
  To: olof; +Cc: lkml


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-24 22:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 13:30 /proc/ioports overrun patch Marcelo Tosatti
2003-08-29 18:59 ` 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

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).