From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,GAPPY_SUBJECT,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4B6CC04AB8 for ; Fri, 14 Sep 2018 00:03:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11B362086D for ; Fri, 14 Sep 2018 00:03:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="kflDmLcD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11B362086D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728204AbeINFPC (ORCPT ); Fri, 14 Sep 2018 01:15:02 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:38512 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726826AbeINFPC (ORCPT ); Fri, 14 Sep 2018 01:15:02 -0400 Received: by mail-yw1-f68.google.com with SMTP id n21-v6so1938387ywh.5 for ; Thu, 13 Sep 2018 17:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PGMyLGOKWFCdq4C7vfGyO1VxcUIAuRD+Go9wY1N8Vjk=; b=kflDmLcDLbEQmpAQ4DIez7lAhxb5heBlFmEfpPQDJA+Smz9G/33Vgz76x6trCobSiC 6QWUOB94Cavb2k2LuFySt1u6+dQ4gQpnG5JYSkWWdVpPYTFcxHOda4I/1mx2UQU9TVUS C1mEAUvg/d38nFZAP/YTcmj8PBEufaIq0Zuiw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PGMyLGOKWFCdq4C7vfGyO1VxcUIAuRD+Go9wY1N8Vjk=; b=p6yNZ1p81b+TVVcvqbmg+saMYbYlBv2SfrMfnJFptazpBFk/EN5vPw+hY1uLb9g8v3 +Bo6auIPoJ7kKVPYjUMbKG/lRo5ZnjXmWFpMA4pDUXH5QFDSnsRyBUxMBZnkYO+VMuqR kyZLn1qaOYd02zZRCGNVCt/S07+awqcgPfPG/RTfMm1AEJKwtpeE581M4D30HJsl6Iis vDKgpc1B3se6IwxxxEL6+zMoV79DC6jwVWoP6Js6Kq72DF2kWZvRXf3pqGAmEMuPqgbK sNc17AIkE0igWvF4aVG1d8vPrgSzMg1nAP4eEvNSGgBpsrU+VesF816A7Ok7SxYTaUUQ vxmQ== X-Gm-Message-State: APzg51A9eUIIRpGTORI42fVJB9qdNExHFlm1wewKealCJaCKZzgavNMN KlsWrQ8rr6h1049epavIjIdfxCLW+zY= X-Google-Smtp-Source: ANB0VdY6Hpch+XhASjvTujm4eoa4KgIwMGSv7JdVhRBbXrMauSYxz1mBgE7nWSWjXLfFPdytbkY8Gw== X-Received: by 2002:a81:4e17:: with SMTP id c23-v6mr4774240ywb.229.1536883395965; Thu, 13 Sep 2018 17:03:15 -0700 (PDT) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com. [209.85.219.171]) by smtp.gmail.com with ESMTPSA id l69-v6sm1882772ywe.40.2018.09.13.17.03.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Sep 2018 17:03:15 -0700 (PDT) Received: by mail-yb1-f171.google.com with SMTP id k5-v6so4052104ybo.10 for ; Thu, 13 Sep 2018 17:03:14 -0700 (PDT) X-Received: by 2002:a25:e5c3:: with SMTP id c186-v6mr4602818ybh.209.1536883393169; Thu, 13 Sep 2018 17:03:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:5f04:0:0:0:0:0 with HTTP; Thu, 13 Sep 2018 17:03:12 -0700 (PDT) In-Reply-To: References: <99cb1ae7-8881-eb9a-a8cb-a787abe454e1@schaufler-ca.com> From: Kees Cook Date: Thu, 13 Sep 2018 17:03:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 10/10] LSM: Blob sharing support for S.A.R.A and LandLock To: Casey Schaufler Cc: Paul Moore , linux-security-module , James Morris , LKML , SE Linux , John Johansen , Tetsuo Handa , Stephen Smalley , "linux-fsdevel@vger.kernel.org" , Alexey Dobriyan , "Schaufler, Casey" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 13, 2018 at 4:51 PM, Casey Schaufler wrote: > On 9/13/2018 4:06 PM, Kees Cook wrote: >> If security= is >> specified, all other major LSMs are disabled (i.e. it is not possible >> to switch between SELinux/AppArmor/SMACK without also disabling >> TOMOYO). > > Correct. If we assume patch 10 is the way forward, how could we go about fixing this specific problem? -Kees -- Kees Cook Pixel Security From mboxrd@z Thu Jan 1 00:00:00 1970 From: keescook@chromium.org (Kees Cook) Date: Thu, 13 Sep 2018 17:03:12 -0700 Subject: [PATCH 10/10] LSM: Blob sharing support for S.A.R.A and LandLock In-Reply-To: References: <99cb1ae7-8881-eb9a-a8cb-a787abe454e1@schaufler-ca.com> Message-ID: To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Thu, Sep 13, 2018 at 4:51 PM, Casey Schaufler wrote: > On 9/13/2018 4:06 PM, Kees Cook wrote: >> If security= is >> specified, all other major LSMs are disabled (i.e. it is not possible >> to switch between SELinux/AppArmor/SMACK without also disabling >> TOMOYO). > > Correct. If we assume patch 10 is the way forward, how could we go about fixing this specific problem? -Kees -- Kees Cook Pixel Security