Message ID | 20190325220954.29054-15-matthewgarrett@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-security-module-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C607C186D for <patchwork-linux-security-module@patchwork.kernel.org>; Mon, 25 Mar 2019 22:12:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0F0728C1D for <patchwork-linux-security-module@patchwork.kernel.org>; Mon, 25 Mar 2019 22:12:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A59F529053; Mon, 25 Mar 2019 22:12:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,USER_IN_DEF_DKIM_WL autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B7492905C for <patchwork-linux-security-module@patchwork.kernel.org>; Mon, 25 Mar 2019 22:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730486AbfCYWMI (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Mon, 25 Mar 2019 18:12:08 -0400 Received: from mail-oi1-f201.google.com ([209.85.167.201]:36933 "EHLO mail-oi1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731013AbfCYWKe (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Mon, 25 Mar 2019 18:10:34 -0400 Received: by mail-oi1-f201.google.com with SMTP id v10so4459028oie.4 for <linux-security-module@vger.kernel.org>; Mon, 25 Mar 2019 15:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Du3LfKxiyrtDY9MxBnvqQFXXPhu80u18vHOumdetHcI=; b=VrMauZb+eQPOvofd+xivyKVFEkCCOvSF8qKqadOua3cMjf6D5TrZT1WMbTz8H7OVz0 DTdtIpcsVj9NOl3gcpVjzhO4mVKMyvI92hijoEdACD7E9B0Ji7wOX5LjuH7s6YD/i25P Oseo8bd0Gl1AQ3njPd9plNxAfzUIRFQuLezCj97MS32mNFhMUCza34R5bNPVl8F8ku/k 41yAMHG6zWtWCIuprn6o8f+ymsKRLuicHupSUH3sSaBODUhbYI42er5M3Ti7yr9LLFVL z43jrgjDfO9c9rGNDsQh765vnzu8REms7ZS1bs87OebwLENhNYfJV+1Eb8FDrFtWYkch N5Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Du3LfKxiyrtDY9MxBnvqQFXXPhu80u18vHOumdetHcI=; b=TqRS8UQENvIMMCZ+e9U92m/4x2VPblm+xrH4AlpbNS6T5ZG49opXejcBu9Hl9KUq2R YeZFWVzuSqO4HmvJv6aJv0j2lAFLlsPAfEGnO0JBvA/1/LUmV+aRJUo1eSCAhp6DU/Pf v0sUBzHjfbawFMnqhuwpArB+DzlQZAPhXNAM+z5gHYGClGg1S8iAE7Dth1lqHv70tT/a I1iDhMQGK/V/GVJ195bjB3P9KTe2snOiGcD+bDQbQce90AI1dHhF2QvuR8BHy9YZOyaW dO82DED6okn4DNe8vIpORyDuCNT+E0BJZCYfhTqwPsCgkHQrrVOdAI3x+ipHtpkDta56 MNsg== X-Gm-Message-State: APjAAAUC3ZWdAqze+eP5y7KrAZtt89yLa2Er3BHMjJ3AZMn3gUhigv24 SpJlK5/gnOcHhDJhSHwNaJoWOiDjGEduNSmKsozdIw== X-Google-Smtp-Source: APXvYqxDupMpWfLNMtoM3g47UnWhv4hMiRU+qH/WEMXcvRbfp6XpdqUzUlhxxmt1k3IP1YQclBpCIBQB4OZ6Pn0WW24s5A== X-Received: by 2002:aca:4103:: with SMTP id o3mr13576902oia.71.1553551834252; Mon, 25 Mar 2019 15:10:34 -0700 (PDT) Date: Mon, 25 Mar 2019 15:09:41 -0700 In-Reply-To: <20190325220954.29054-1-matthewgarrett@google.com> Message-Id: <20190325220954.29054-15-matthewgarrett@google.com> Mime-Version: 1.0 References: <20190325220954.29054-1-matthewgarrett@google.com> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog Subject: [PATCH 14/27] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down From: Matthew Garrett <matthewgarrett@google.com> To: jmorris@namei.org Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, dhowells@redhat.com, Josh Boyer <jwboyer@redhat.com>, Dave Young <dyoung@redhat.com>, linux-acpi@vger.kernel.org, Matthew Garrett <matthewgarrett@google.com> Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: <linux-security-module.vger.kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[PULL,REQUEST] Lockdown patches for 5.2
|
expand
|
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index f29e427d0d1d..3e44cef7a0cd 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -194,7 +194,7 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) acpi_physical_address pa; #ifdef CONFIG_KEXEC - if (acpi_rsdp) + if (acpi_rsdp && !kernel_is_locked_down("ACPI RSDP specification")) return acpi_rsdp; #endif pa = acpi_arch_get_root_pointer();