Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4534960imb; Wed, 6 Mar 2019 16:13:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyfVj/GpT+zx+Q2y/TGAzxlR6AmA2P07BuPbfCnUylZ4vLmi7Kpi1Us9w+P6uznhubJw0Sl X-Received: by 2002:a65:42c6:: with SMTP id l6mr8886540pgp.344.1551917599235; Wed, 06 Mar 2019 16:13:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551917599; cv=none; d=google.com; s=arc-20160816; b=r6gKh1zAoDoI2fcy2DSdfzm741mAhtPQwIQqn9bGQC/pGGp52HarpvaZMdYjwUOZaz kl10SxtT49Tl87/XLOYbKPBiYhxjfGGFwpXBGiQqmfkriQC59m3iCwBzuxgjrP+vx7c0 wEZdYLe/9Kst/0c4or12spMKA3n00rLOvzO7NcnDZI+xp0VKp3ZNBaRulVcH844a7lkV VOUtcZHF0u/FNjQZjt1nsAgklI9MT+U/C3LPHtltbXOcQNp+sbC3dfB12EYkh0PFIc4l yEZOf61Rf+Qx9Vkfpi6L0sH2bdPLwgKRE34aC5uqVnEIZVzJH/3HiB8kNcCoAq+pxM1T 9Eow== 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 :in-reply-to:references:mime-version:dkim-signature; bh=ezOAVi/+85xQ0cQ5uMUhyfKczC6Zcgc3Xf7/a9KMpt0=; b=0MiV47A88RbPX2PSAfJlEhVi1VRCFCErr8dIB5o8OhEMhDzufsk5cyZ2atSTh7NKh+ HR0+u7jpMErd4rIKGXz9O7YsiL6dD9KY5ZOYHLGnjYKJxsFyEzjq6PL9jkVxxrAjUHVk kcJ1IahxyEt+x5kLGT/y8/TXQvOEmTLNMn0FGLFQ4K/VqI3+wgEqNHglilBelAR9lquZ fNuW1VJBnPrQqBLCOL7+zP5PGxlt0BrQRZuVRQtz6v3J+wJFvYcM3uKLXGDDd04PlRP4 H3DfiSFuc3DZFGKIRylCHtaBfSPXG5nYH0OinSMuTjUOyGQGV3GTQO5LixMsMU9alzny 0P2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ljG3pXDv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k127si2689716pgc.124.2019.03.06.16.13.03; Wed, 06 Mar 2019 16:13:19 -0800 (PST) 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=@google.com header.s=20161025 header.b=ljG3pXDv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726210AbfCGAMc (ORCPT + 99 others); Wed, 6 Mar 2019 19:12:32 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:35093 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbfCGAMb (ORCPT ); Wed, 6 Mar 2019 19:12:31 -0500 Received: by mail-it1-f196.google.com with SMTP id 188so13115003itb.0 for ; Wed, 06 Mar 2019 16:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ezOAVi/+85xQ0cQ5uMUhyfKczC6Zcgc3Xf7/a9KMpt0=; b=ljG3pXDvh/JGlXb3cfYGf7sz7TnKMIjIB2DmSLlmU4D2ZQAv8s7NDzdS4aQBZGn86v mCgxEM9mHOTEdQdE/50dDMpay9ORCxGyAK2BysihUw4ExkoZ3p7gP9WgIVNSeau8yxal gkMfi9530MJUOaAFOjZYghkIFxSptRTN5A+bVA893Jt3QXt3WYZh2nBZCs/9NDpVVmS9 vOU/GNvfMQC+iAaUB6UByNG/g91jxSIFx8JU0gkiT8DPDcjAOpCuJRd45k/h6cMatOAg fs4YQFp9ZOewTRxHvKVRtMIRe4LhaFf2XPaCSkU77PhKM6vB26g7SxgUrOjvYWJ6U1fW 2YVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ezOAVi/+85xQ0cQ5uMUhyfKczC6Zcgc3Xf7/a9KMpt0=; b=oJZqEVdcicnU9SGYM0hinm7OG6mNZB7zRETipuLCw/MFYh8GSaoNrI4IsJ92elWv5L 8UFMK5tcDC3FBIRmj0ifOve/ZQCg20sGfIQsVY2W3i4cnaGfzBxXcrF+oNzRlzFkEqdz 2ICjFrfrmgK3v7A6r5ghB3dMT1G58Up7n2/SAkUWBajx350vHqDP7H85+9qu36EnoqQp 1BxY3QRkFHr5eMR9qri6WfBdX4H1sbrMwZyYDFw8KBT9mLLaCjee8v11ph+zx+yN2hja nx3lbC2oZz4tEGqQcIVWNBiRXnESt19JuaBOUcZ/YtUth45VjIgSFecwUYhsJp9IyabX Wbbg== X-Gm-Message-State: APjAAAXkAMcIZhiN/387LH2qStfT4jn4xrsimbzYryEn32BBDhsvMFJi 8zimpa1Bi1g3PjpPgW9ZulLMbYZxQD1HnYls8M6ebA== X-Received: by 2002:a24:2c48:: with SMTP id i69mr3942607iti.161.1551917550566; Wed, 06 Mar 2019 16:12:30 -0800 (PST) MIME-Version: 1.0 References: <20190306235913.6631-1-matthewgarrett@google.com> <20190306235913.6631-3-matthewgarrett@google.com> <7bcd6149-332d-15f8-31e1-ef0a6b7f496e@infradead.org> In-Reply-To: <7bcd6149-332d-15f8-31e1-ef0a6b7f496e@infradead.org> From: Matthew Garrett Date: Wed, 6 Mar 2019 16:12:19 -0800 Message-ID: Subject: Re: [PATCH 02/27] Add a SysRq option to lift kernel lockdown To: Randy Dunlap Cc: jmorris@namei.org, LSM List , Linux Kernel Mailing List , David Howells 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 Wed, Mar 6, 2019 at 4:10 PM Randy Dunlap wrote: > > On 3/6/19 3:58 PM, Matthew Garrett wrote: > > From: Kyle McMartin > > > > Make an option to provide a sysrq key that will lift the kernel lockdown, > > thereby allowing the running kernel image to be accessed and modified. > > You still need to document this in Documentation/admin-guide/sysrq.rst, > like I mentioned last week. Hm.. On reflection this patch doesn't make much sense without the automatic lockdown enable functionality, so I'll just drop it from the patchset instead. Thanks!