Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758202AbYCEA7k (ORCPT ); Tue, 4 Mar 2008 19:59:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751827AbYCEA7M (ORCPT ); Tue, 4 Mar 2008 19:59:12 -0500 Received: from namei.org ([69.55.235.186]:50141 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753026AbYCEA7L (ORCPT ); Tue, 4 Mar 2008 19:59:11 -0500 Date: Wed, 5 Mar 2008 11:58:08 +1100 (EST) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: "Ahmed S. Darwish" cc: Casey Schaufler , Linus Torvalds , LKML Subject: Re: [PATCH BUGFIX -rc3] Smack: Don't register smackfs if we're not loaded In-Reply-To: Message-ID: References: <521493.30745.qm@web36606.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 631 Lines: 24 On Tue, 4 Mar 2008, Linus Torvalds wrote: > > > On Tue, 4 Mar 2008, Casey Schaufler wrote: > > > > One solution would be to tighten the smackfs code so that it > > handles the uninitialized LSM case properly. > > I really would tend to prefer that. Can you simply call init_smk_fs() from smack_init() prior to register_security() ? - James -- James Morris -- 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/