Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757429Ab3DXS6C (ORCPT ); Wed, 24 Apr 2013 14:58:02 -0400 Received: from mail-qe0-f44.google.com ([209.85.128.44]:36250 "EHLO mail-qe0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757283Ab3DXS56 (ORCPT ); Wed, 24 Apr 2013 14:57:58 -0400 From: Paul Moore To: Casey Schaufler Cc: LSM , LKLM , SE Linux , James Morris , John Johansen , Eric Paris , Tetsuo Handa , Kees Cook Subject: Re: [PATCH v13 0/9] LSM: Multiple concurrent LSMs Date: Wed, 24 Apr 2013 14:57:55 -0400 Message-ID: <3554062.6nBMExN24s@sifl> User-Agent: KMail/4.10.2 (Linux/3.8.5-gentoo; KDE/4.10.2; x86_64; ; ) In-Reply-To: <5176B0F6.7080506@schaufler-ca.com> References: <5176ABB7.5080300@schaufler-ca.com> <5176B0F6.7080506@schaufler-ca.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit 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: 1482 Lines: 36 On Tuesday, April 23, 2013 09:04:06 AM Casey Schaufler wrote: > Subject: [PATCH v13 0/9] LSM: Multiple concurrent LSMs > > Change the infrastructure for Linux Security Modules (LSM)s from a > single vector of hook handlers to a list based method for handling > multiple concurrent modules. > > The "security=" boot option takes a comma separated list of LSMs, > registering them in the order presented. The LSM hooks will be > executed in the order registered. Hooks that return errors are > not short circuited. All hooks are called even if one of the LSM > hooks fails. The result returned will be that of the last LSM > hook that failed. ... > The NetLabel, XFRM and secmark facilities are restricted to use > by one LSM at a time. This is due to limitations of the underlying > networking mechanisms. The good news is that viable configurations > can be created. The bad news is that the complexity of configuring > a system is necessarily increased. I know we had a good discussion about this a while back and I just wanted to hear from you about this current patchset; how does the labeled networking LSM assignment work? Is it first-come-first-served based on the 'security=' setting? -- paul moore www.paul-moore.com -- 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/