Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4756871ooa; Tue, 14 Aug 2018 10:07:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPySW3aaVuJAmNCoLZ2ClB6GSaw3ox+v6yDubn/WmL0f+RfOj0vHzWqhuxln3NbKcYe5tpY6 X-Received: by 2002:a63:fb57:: with SMTP id w23-v6mr21897318pgj.441.1534266439658; Tue, 14 Aug 2018 10:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534266439; cv=none; d=google.com; s=arc-20160816; b=G6ussPXBuFnKLVDZwt2Eg8QePKriM9rwWm+8UFW27GLhDkgRPN9GeaGk6lOADi3a7h sRM2KLlV6Tog1rsWo2zxq59Vm/+CmpO1UzZ2pwjElEu71O6keI4ATzTLbsuQsRtTalbW 7GZK6krlqwLMENvWCGq/EVl3P/mgmYDCdGoyth4ZR7XUCCDfkuVCGWDZQN2h7VNSSYLD 3z7YYOWkHLIsUZnc2kUipovXSO4AdsTRgEnPFwgtnoe+5UsDGKkO/PtN40yTc/QJDJCf pOYmqCRVqhY5J+FPWoaIVdvTuzCRqAe2+7q4rR0SKbnwzExxo2UioIbjkuXAl/cgZSca bnWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=mVpf3iBLV5E1SlBkuM9FBYCPNdtJHu5pIFhXuPrdFo4=; b=OkOOWBufEoozWBRhj/zCvSpGwiTmUqmnVNn+Zglt6o/q/BCtK8V76J1mVzlK2X3Z5U hqoaU2mWHWK0fKWZW6K0erZ9KRJG1p8upmzQw8PKuWncWYL6P21vrEIE961UZICgnref cMmVgWpejpoXegsrMLCpg6V2KNWyrVmlYQHmAdpMo22qCI7HnB/M8iMSV7zpr6zXnckG xUH6hbUxqnAVQjFen3byAhwVd9orD05pOP9w2fvP5xsrloC/4zSnhYZRwEPbHbNwK5oL 7a7GhkWPNXj0PY5v38S34i289yyEqYoXm1ol87fJgjUdMU2B7igy5RWRbKuW1PqYlTHZ 6Pyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sargun.me header.s=google header.b=OAGgfGa9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k30-v6si22420724pgf.415.2018.08.14.10.07.04; Tue, 14 Aug 2018 10:07:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sargun.me header.s=google header.b=OAGgfGa9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387584AbeHNTxs (ORCPT + 99 others); Tue, 14 Aug 2018 15:53:48 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:37357 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387566AbeHNTxs (ORCPT ); Tue, 14 Aug 2018 15:53:48 -0400 Received: by mail-ed1-f68.google.com with SMTP id b10-v6so10503606eds.4 for ; Tue, 14 Aug 2018 10:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sargun.me; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mVpf3iBLV5E1SlBkuM9FBYCPNdtJHu5pIFhXuPrdFo4=; b=OAGgfGa9zcKb03inrNyhw/L8kRdC2cBpPEP8u7XlPjzb3V55FAVfMF/QbHMw3u5ATK nWAxk9Sv1V59J+F8uj3a9GqBHo5rucRLmrtmQVrlf4Hq5ykFk5LYYdAD3m5w/BmJ7A/A eCPYSqBUse/FKj8gK4wrBO1z/9fGNUhnNkPq4= 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=mVpf3iBLV5E1SlBkuM9FBYCPNdtJHu5pIFhXuPrdFo4=; b=Hiu0SY7soUi8QLO8CImi8kIb1TcgbHwjqhh+/qayj88vrFKrpViKyK4CasnBMjVJ/+ x7ezzHzEmkUXXwMSCT0BXX/WHXCf4myu2PuN7n8xosDGN8+MW8InWRQlBxluSB9aEPr0 MNlHa8ST7K/PpkGwt7oGnDuX5SuiD1CHykvWcEy44Up7RBnvuyZ+lYrEalOprMVD0u5z aJa5C4X9zpZze0GEsjRXiEonor3iIHmFR1k0TOnim26w3nLZlkFm7vw5bEeLYlFuJRbN 2U8mIkN62hBnGpL90qLC1+CRPfQ07OUM/qHKv0D7AksqvKh69ApYBshpS8NzIapP3WLh wOYw== X-Gm-Message-State: AOUpUlGZTtb6kDTTK/3vaeaSjVhqrrPdCFIxyLl1QDqOAvOB7WMwpufq N0Q8kRjT9sLlXMe0jPgl/ABWMyz9REXsAuCktORhgw== X-Received: by 2002:a50:86a1:: with SMTP id r30-v6mr28843744eda.138.1534266347634; Tue, 14 Aug 2018 10:05:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:906:35d3:0:0:0:0 with HTTP; Tue, 14 Aug 2018 10:05:07 -0700 (PDT) In-Reply-To: <8a325db8-e7eb-9581-2b77-fc987a165df7@schaufler-ca.com> References: <8a325db8-e7eb-9581-2b77-fc987a165df7@schaufler-ca.com> From: Sargun Dhillon Date: Tue, 14 Aug 2018 10:05:07 -0700 Message-ID: Subject: Re: [PATCH v1 00/22] LSM: Full security module stacking To: Casey Schaufler Cc: LSM , LKLM , Paul Moore , Stephen Smalley , SE Linux , "SMACK-discuss@lists.01.org" , John Johansen , Kees Cook , Tetsuo Handa , James Morris , "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 Mon, Jul 16, 2018 at 10:53 AM, Casey Schaufler wrote: > LSM: Full security module stacking > > I'm calling this v1 not because it's the first version > I've put out but because it's the first version I'm getting > serious external pressure to get upstream. Awesome work, I'm glad that this is getting further. > > The blob management part (through "LSM: Sharing of security blobs") > is ready for prime-time. These changes move the management of > security blobs out of the security modules and into the security > module infrastructure. With this change the proposed S.A.R.A, > LandLock and PTAGS security modules could co-exist with any of > the existing "major" security modules. The changes reduce some > code duplication. > > Beyond the blob management there's a bit of clean-up. > Mounting filesystems had to be changed so that options > a security module doesn't recognize won't be considered > a fatal error. The mount infrastructure is somewhat > more complex than one might assume. > Casey, Do you think you can break out 1 into its own patch? It seems like that'd be valuable to everyone. What's your thought here if we ever introduce dynamic security modules? It's nice that we now have a way around rolling back blobs if one fails, but what if a new module was activated, would we just resize the slab cache?