Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752690AbXJWE5X (ORCPT ); Tue, 23 Oct 2007 00:57:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751324AbXJWE5P (ORCPT ); Tue, 23 Oct 2007 00:57:15 -0400 Received: from namei.org ([69.55.235.186]:53067 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750891AbXJWE5O (ORCPT ); Tue, 23 Oct 2007 00:57:14 -0400 Date: Tue, 23 Oct 2007 14:56:52 +1000 (EST) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: Arjan van de Ven cc: Jan Engelhardt , Linus Torvalds , Andreas Gruenbacher , Thomas Fricaccia , Linux Kernel Mailing List Subject: Re: LSM conversion to static interface [revert patch] In-Reply-To: <20071022210956.31f7bbcf@laptopd505.fenrus.org> Message-ID: References: <167451.96128.qm@web38607.mail.mud.yahoo.com> <200710192226.53233.agruen@suse.de> <20071022210956.31f7bbcf@laptopd505.fenrus.org> 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: 902 Lines: 25 On Mon, 22 Oct 2007, Arjan van de Ven wrote: > @@ -4895,6 +4908,7 @@ static struct security_operations selinu > .sem_semop = selinux_sem_semop, > > .register_security = selinux_register_security, > + .unregister_security = selinux_unregister_security, > > .d_instantiate = selinux_d_instantiate, You also need to consider whether to allow capabilities to be built as an unloadable module. If not, then we don't need this hook added back into SELinux. Otherwise, if it is desired, you also need to reinstate capability_exit and general modular bits for security/capability.c. - 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/