Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755954AbZLXS5z (ORCPT ); Thu, 24 Dec 2009 13:57:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754480AbZLXS5y (ORCPT ); Thu, 24 Dec 2009 13:57:54 -0500 Received: from bob75-7-88-160-5-175.fbx.proxad.net ([88.160.5.175]:48566 "EHLO cerbere.dyndns.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752957AbZLXS5y (ORCPT ); Thu, 24 Dec 2009 13:57:54 -0500 From: Samir Bellabes To: Evgeniy Polyakov Cc: Michael Stone , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Alan Cox , Herbert Xu , Valdis Kletnieks , Bryan Donlan , "C. Scott Ananian" , James Morris , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , =?iso-8859-15?Q?Am=E9rico?= Wang Subject: Re: A basic question about the security_* hooks References: <20091224022902.GA24234@heat> <20091224073654.GD16133@ioremap.net> Date: Thu, 24 Dec 2009 19:57:52 +0100 In-Reply-To: <20091224073654.GD16133@ioremap.net> (Evgeniy Polyakov's message of "Thu, 24 Dec 2009 10:36:54 +0300") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) 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: 887 Lines: 21 Evgeniy Polyakov writes: > I believe you should convice selinux and friends to add support for your > extension, otherwise no distribution will be able to turn it on, since > no two security frameworks can be registered simultaneously. I agree, as a LSM module, this purpose is a no sense, because it will avoid using another security module. On the other hand, adding this capacity directly to the syscalls seems to be a little bit ugly (it reminds me security post_accept hook strategy of returning or not a value). But the way to go is to add this directly to existing security models, if it make sens for them. sam -- 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/