Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261268AbTH2NfR (ORCPT ); Fri, 29 Aug 2003 09:35:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261273AbTH2NfR (ORCPT ); Fri, 29 Aug 2003 09:35:17 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:3513 "EHLO perninha.conectiva.com.br") by vger.kernel.org with ESMTP id S261268AbTH2NfN (ORCPT ); Fri, 29 Aug 2003 09:35:13 -0400 Date: Fri, 29 Aug 2003 10:30:52 -0300 (BRT) From: Marcelo Tosatti X-X-Sender: marcelo@freak.distro.conectiva To: olof@austin.ibm.com Cc: lkml Subject: /proc/ioports overrun patch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 24 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/