Received: by 10.192.165.156 with SMTP id m28csp2182586imm; Thu, 12 Apr 2018 09:55:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx48DRleABNJSmIBR1GWRzEFd+X1VqCjEdTNAVKwlplPs1tX29CYC2aImhe0DdrcXzX2qlCIZ X-Received: by 10.98.63.75 with SMTP id m72mr8250779pfa.167.1523552106728; Thu, 12 Apr 2018 09:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523552106; cv=none; d=google.com; s=arc-20160816; b=mTiBoM0R75/OCovu8PlXdOlHpG2rKbliEuGhrKafF21IkFuSrQy4C6K8Y/eqe27usr VQZIdrgtgbN5wd5u9wQL/sCGnEerPf4Yi8sr80MWmrTgY23iBqIwAxihYqsTCzezn2Uy zas5ubfjiWfUby6h8x7EHy1KckmdaLoTex+9XjAKs8iCy/HA4pxVzeSqzYR6OlIEzRY3 bbSAdFzh62uZTDmH0wvEXiHvlKtvcUDUUO1L59yUp+7i1BxH6cdSf5KLf3USkPm4mBTV vzqwT3lnJtjeF6I6pG/5QJdifVoninfAcFiPIZEiUFuY1NKI17el2wmKPjgsCSOyZr7g CsoA== 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:dkim-signature :arc-authentication-results; bh=Fd7m4QamFnLPwPExiDjC0OIe/SbsFTGLn2WCljmMLz4=; b=MKuwKpBcLJUuoR++gOn7xXZTZzqHOvFZFko9ZmyXyFuY6svojJI3FjlAIFPkoXPBkw bXOouWYfXcwtXdnDQBwPTr9rug/8xvtHUzjyVAJsnuE6JqUhKPR7MZ7oNppulxQpWs52 O9D51bzi7WJH3Mq5cOUzRFJU1GV9icD42Ol1uIrrnvX/c/rtSzUBhvbXEHlsE6Le9PYb VyK1/nH9bBpY/np2hiEk48yA3iLbKv3GHCdvaOkeCe1OuU0UixI6N9FdWVOoy1lPyxt4 PB7mROgowRT7YS4jMLYYqS2cdjQFx8Jh50+fo6P6ZIty/2uLQ+Ayh89wNH3uktag661k Un1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Ob3yhzfE; dkim=fail header.i=@linux-foundation.org header.s=google header.b=YVEnZt0h; 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 j1si2598344pgn.136.2018.04.12.09.54.52; Thu, 12 Apr 2018 09:55:06 -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=fail header.i=@gmail.com header.s=20161025 header.b=Ob3yhzfE; dkim=fail header.i=@linux-foundation.org header.s=google header.b=YVEnZt0h; 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 S1753279AbeDLQxB (ORCPT + 99 others); Thu, 12 Apr 2018 12:53:01 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:51921 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753236AbeDLQw4 (ORCPT ); Thu, 12 Apr 2018 12:52:56 -0400 Received: by mail-it0-f67.google.com with SMTP id b5-v6so8225820itj.1; Thu, 12 Apr 2018 09:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Fd7m4QamFnLPwPExiDjC0OIe/SbsFTGLn2WCljmMLz4=; b=Ob3yhzfEscXkEzGqOoeV0lhsDixkpBhg1JoQ9vm3hFxPxdyVvdJzxhcMaEM1ueI9zv B0nr7sQbm3ars23Sji4O7PyeusdheduQpBlzV7mnONR9kRcjECwCMw9E4dyoBsddGp3P P8C8v2F9jSTFlLlTirgQLqaCXhQgLq0+mVCWcQDbxHIlGoaRTUpcygLe7O0haF2KeQyr c8dNU4jfVZC3jjhkQlRNXfhqolFG71H0LxN5PfjZztzMR3//50m8Y8ElZwQaM1Q9tgeM SylKv6Rc3DqGTb+WkSQCXATKvwjDH2QUGfmZBLKKzrypfK/v9IUcChPfKzMPy54xTxqT zXiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Fd7m4QamFnLPwPExiDjC0OIe/SbsFTGLn2WCljmMLz4=; b=YVEnZt0h2kPmZxrrw4R+L2xS8fCy9E5bP4SMEKE0JbmQqcTg7r15Oz8Cn9Gq+1OULD QHCnanJKHE+TQy5m1rgVzMAwpEhOdjyBps8FVWw5SAtuVhWBGzeumc43nc+R5UsCUDZm EdXNFy8gryeyZYkLtSqNM/r4bB5SYWZLlPv7w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Fd7m4QamFnLPwPExiDjC0OIe/SbsFTGLn2WCljmMLz4=; b=FYf//7jdfA8yneGWhoO7S+ypxf7qMwVV72WEXeauwS317eIwyjLtJmWl66nbtOcNby XImZg+sVoobAH+lH0ohdaZjKKyta8LrG47SHWyrWyQPCLsro8H3500rM8SCr8kP1kB2j 9IIX7AqqpCAQcPG/H9sRkKYh9yZmPDjq1dh85LwIQagdZXLAWr9j2FtSvUVu/zsg43lK LTzPz+baBCcV80ZE36OS0eXCDbij+Vu19b2rxLjDkE7bkxOlmzF7845YUEPDgPjDtAyW pji6EX8JC/Mlf+YRn2GU9tTnKgl7yCJfQEbt8l0SvLgM8UQFpedanfs0z2J5Oi/h9SU1 C0eA== X-Gm-Message-State: ALQs6tBtobBsDfP4tVVSOxRtRj3Np6yYTh6N2OvyWexiE2Jt2sGTqOM3 B6IoPtiTAIKf2SDv6IOopRa1JtHDyDn+8x5iXco= X-Received: by 2002:a24:5852:: with SMTP id f79-v6mr1836645itb.108.1523551975691; Thu, 12 Apr 2018 09:52:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.95.15 with HTTP; Thu, 12 Apr 2018 09:52:54 -0700 (PDT) In-Reply-To: References: <152346387861.4030.4408662483445703127.stgit@warthog.procyon.org.uk> <152346388583.4030.15146667041427303547.stgit@warthog.procyon.org.uk> <8z0aRQyD-6Krqntk8UD9WQjK5JSqEai2Pt5oeFU2EplgxoWiHlX5nlJXwCDHQ1WcS1oIprXimgz7UvwHCWDB9Z3dYFrEmZmtkEJSqaYMel8=@protonmail.ch> From: Linus Torvalds Date: Thu, 12 Apr 2018 09:52:54 -0700 X-Google-Sender-Auth: Cs_IH-1mrQQ72a3BRUwdDRX4P1o Message-ID: Subject: Re: [PATCH 01/24] Add the ability to lock down access to the running kernel image To: Justin Forbes Cc: Jordan Glover , David Howells , linux-man , Linux API , James Morris , Linux Kernel Mailing List , LSM List 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, Apr 12, 2018 at 6:09 AM, Justin Forbes wrote: > On Wed, Apr 11, 2018, 5:38 PM Linus Torvalds > wrote: >> >> So it's really the whole claim that distributions have been running >> for this for the last five years that I wonder about, and how often >> people end up being told: "just disable secure boot":. > > Very rarely in my experience. Good. Do you have a handle on the reasons? Because I'm assuming it's not /dev/{mem,kmem,port}? Because I'd really be happier if we just say "those are legacy, don't enable them at all for modern distros". That way they'd _stay_ disabled even if somebody cannot handle the other limitations, like DMA etc. Linus