Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 6 Oct 2002 23:57:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 6 Oct 2002 23:57:35 -0400 Received: from orion.netbank.com.br ([200.203.199.90]:51463 "EHLO orion.netbank.com.br") by vger.kernel.org with ESMTP id ; Sun, 6 Oct 2002 23:57:34 -0400 Date: Mon, 7 Oct 2002 01:03:05 -0300 From: Arnaldo Carvalho de Melo To: Alexander Viro Cc: "David S. Miller" , Linux Kernel Mailing List Subject: Re: [BKPATCH] X25: use seq_file for proc stuff Message-ID: <20021007040305.GE1201@conectiva.com.br> Mail-Followup-To: Arnaldo Carvalho de Melo , Alexander Viro , "David S. Miller" , Linux Kernel Mailing List References: <20021007033155.GB1201@conectiva.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Url: http://advogato.org/person/acme Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 19 Em Sun, Oct 06, 2002 at 11:56:20PM -0400, Alexander Viro escreveu: > Huh??? > > a) ->permission() always returning 0 on a read-only file is... interesting. > b) if you want it world-readable, kernel is perfectly capable of doing that; > had been since the very beginning. Just set mode to 0444 and be done with > that; no need to have anything special in ->proc_iops. Just that? Cool, I'll be sending a fix in some minutes. Thanks Al. - Arnaldo - 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/