Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758817AbXKUOOO (ORCPT ); Wed, 21 Nov 2007 09:14:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752861AbXKUON7 (ORCPT ); Wed, 21 Nov 2007 09:13:59 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:36233 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751911AbXKUON7 (ORCPT ); Wed, 21 Nov 2007 09:13:59 -0500 Date: Wed, 21 Nov 2007 14:13:47 +0000 From: Christoph Hellwig To: Stephen Smalley Cc: Christoph Hellwig , Alexey Dobriyan , akpm@osdl.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, devel@openvz.org, James Morris , Eric Paris Subject: Re: [patch 1/1] selinux: do not clear f_op when removing entries Message-ID: <20071121141347.GA5695@infradead.org> References: <20071116150651.GC19517@localhost.sw.ru> <20071119125139.GB15942@infradead.org> <1195571105.20910.31.camel@moss-spartans.epoch.ncsc.mil> <20071120151731.GA20322@infradead.org> <1195653696.759.29.camel@moss-spartans.epoch.ncsc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1195653696.759.29.camel@moss-spartans.epoch.ncsc.mil> User-Agent: Mutt/1.4.2.3i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 15 On Wed, Nov 21, 2007 at 09:01:36AM -0500, Stephen Smalley wrote: > Do not clear f_op when removing entries since it isn't safe to do. If this is still safe for selinux I'm fine with it. It also gets rid of one of them few remaining s_files users which is always good. Btw, after this patch we should be able to kill all places that check for a non-zero file->f_op because it should never be non-zero. Of course we'll need an actual audit first to make sure nothing has been slipping through. - 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/