Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1198993imm; Fri, 28 Sep 2018 13:55:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV63uskij4/zjmPWNBZgvGWo2ABpgzyuhQQjS3WhRndbCFKneEXgq1jSswaaz7wlxv5/3dXeF X-Received: by 2002:a63:1c1b:: with SMTP id c27-v6mr256437pgc.351.1538168109097; Fri, 28 Sep 2018 13:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538168109; cv=none; d=google.com; s=arc-20160816; b=k9VHhec+KKEs0nyYKbah0c0mQr4+J89/DiQ8pO8zf0LDTbqpTY7I/KiIoWoB54VbcR /wL0Rexc1C7vgFZWpLzYD9GSKZ/KXhVk24Jg9gAsNjRLIprno+7wnglwnd0jRBcgZVzW 3MFkUelSd5E04m96xKbuyRAJFL1qfbPPHAoaSyPI0j1PAfy02ohOTjQntfJXIK0CkKuu DdT/Cj78KxFZPlv57leSUkywoBlgLJ/6XtxBdAAwo2r3S17cqISwqI1B+2CMLgpy+onL EHJbYz+dv8NB2r1C3rgt6OIQwgbziFiKsuY2ajKVoKdGNGXytQj34jucZL20jLv2d89y QuFg== 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; bh=eo/Y9cUiTa2FJkL9XobLvlA6LGBEt5Rqn8JaEc6iKEA=; b=Ocgngrpb61wrF5XF/7Qjv46ainjauh+V9R4yZC6lf6kU7ewbzCCLs+AW4VsEEMFVg0 uJMWUBmPtCwXETcyHwdqF+u5P7NRRDvwZ/xDibbzse04Eql0mIk8hfmFwFSPTZJVyTm4 /rzDNxOiSzVzd6m8XXYpQmbiUlF2jRG5AWSPGkkVp9p5SzPQSO7NQYMeHs0nP7aJeREW 1qHuanxaUe4OH4akZmrzXjfiDLL2LyHQfValS08/vInfBhyh9vhQjP8+GThuGmE4fe0U go0aFmgEU/dk5qXoiYtvQyfoVoQAKiJRzCHCACtqRmSSC6diqaS+3vsOvsiUmuTk//xA w4qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KYA1GWYh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x22-v6si5561946pgi.367.2018.09.28.13.54.54; Fri, 28 Sep 2018 13:55:09 -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=@chromium.org header.s=google header.b=KYA1GWYh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727268AbeI2DUI (ORCPT + 99 others); Fri, 28 Sep 2018 23:20:08 -0400 Received: from mail-yb1-f196.google.com ([209.85.219.196]:46597 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbeI2DUH (ORCPT ); Fri, 28 Sep 2018 23:20:07 -0400 Received: by mail-yb1-f196.google.com with SMTP id o8-v6so3211177ybk.13 for ; Fri, 28 Sep 2018 13:54:38 -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=eo/Y9cUiTa2FJkL9XobLvlA6LGBEt5Rqn8JaEc6iKEA=; b=KYA1GWYhgim1f3rgeiEzJeYK5w0RKRABJKgJw/mdcckCmjBKBWlUUf1wI6wwy6iBoR huHD9F3KL9DOvLGb6Tfn98L8B1ReFdxqUwNKbkJTv8wZA+0aXOY3uhP48jJD/wBMpNCA 8XRevKKdGAEElqKAfmwnjKOMyv/urFmzixK5w= 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=eo/Y9cUiTa2FJkL9XobLvlA6LGBEt5Rqn8JaEc6iKEA=; b=Pj7BwgomXxQ3Ed5rQAa/HrgbWU8HKTSfqQOv+BCq2VTVRdQIb3ffftD9xq5HCgoK9K EWBzY8XSXPjc4VfsEqgjFsQ9KPlE7F3U+TkVZl0r65fgdGpQ6wOl/tTlzK6ahVmJ7cnJ LSJDmCxtp/l0QhkkWYzFB34F8CA7Sh6HUkuOXa2b4YeOse/mMMdcUqe+oH6T9L3L9c90 TQWGfIyt0MKcDn7LRpiERANzTn+NdaFrvRdfYCgwSbwSPsBUEDjY5E0YqtWGjc/zK/CY 032J76a2pwMmbZloPcf8zdShGUdNjR+6BaSgpfkZ63GO23Qwlbqx9s53PZnRHe0+EXES rCRA== X-Gm-Message-State: ABuFfoiu9uRkJlx+fMgFFNFaEkVAKathCPMac+7gbHnsRu20ZpeHrfGt eNoVAjhEveBe/rNu32JlMezPrVgvIWc= X-Received: by 2002:a25:f605:: with SMTP id t5-v6mr214597ybd.83.1538168077249; Fri, 28 Sep 2018 13:54:37 -0700 (PDT) Received: from mail-yw1-f48.google.com (mail-yw1-f48.google.com. [209.85.161.48]) by smtp.gmail.com with ESMTPSA id r12-v6sm2301042ywg.67.2018.09.28.13.54.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Sep 2018 13:54:34 -0700 (PDT) Received: by mail-yw1-f48.google.com with SMTP id k66-v6so3191331ywa.10 for ; Fri, 28 Sep 2018 13:54:34 -0700 (PDT) X-Received: by 2002:a81:2288:: with SMTP id i130-v6mr224963ywi.288.1538168074051; Fri, 28 Sep 2018 13:54:34 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:d116:0:0:0:0:0 with HTTP; Fri, 28 Sep 2018 13:54:33 -0700 (PDT) In-Reply-To: <145fab48-969f-0aed-74e8-ac0a5bb1c79b@tycho.nsa.gov> References: <20180925001832.18322-1-keescook@chromium.org> <145fab48-969f-0aed-74e8-ac0a5bb1c79b@tycho.nsa.gov> From: Kees Cook Date: Fri, 28 Sep 2018 13:54:33 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH security-next v3 00/29] LSM: Explict LSM ordering To: Stephen Smalley Cc: Casey Schaufler , James Morris , John Johansen , Tetsuo Handa , Paul Moore , "Schaufler, Casey" , LSM , Jonathan Corbet , "open list:DOCUMENTATION" , linux-arch , LKML 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 Fri, Sep 28, 2018 at 1:33 PM, Stephen Smalley wrote: > On 09/28/2018 04:25 PM, Stephen Smalley wrote: >> >> On 09/28/2018 04:01 PM, Kees Cook wrote: >>> >>> On Fri, Sep 28, 2018 at 8:55 AM, Casey Schaufler >>> wrote: >>>> >>>> On 9/24/2018 5:18 PM, Kees Cook wrote: >>>>> >>>>> v3: >>>>> - add CONFIG_LSM_ENABLE and refactor resulting logic >>>> >>>> >>>> Kees, you can add my >>>> >>>> Reviewed-by:Casey Schaufler >>>> >>>> for this entire patch set. Thank you for taking this on, it's >>>> a significant and important chunk of the LSM infrastructure >>>> update. >>> >>> >>> Thanks! >>> >>> John, you'd looked at this a bit too -- do the results line up with >>> your expectations? >>> >>> Any thoughts from SELinux, TOMOYO, or IMA folks? >> >> >> What's it relative to? First patch fails for me on current security/next. > > Never mind - user error ;) FWIW, it's against v4.19-rc2. >> Is there a branch in your repo that has the v3 patches? > > But still wondered about this one. Oops! Sorry, I didn't push to kernel.org. Now pushed! https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=lsm/ordering-v3 (and "preview" v4 also with Reviewed-bys added and a cosmetic fix.) -Kees -- Kees Cook Pixel Security