Message ID | 20190228231203.212359-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 4F66C139A for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 23:14:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FFA6288E0 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 23:14:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 341872897C; Thu, 28 Feb 2019 23:14:08 +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 29568288E0 for <patchwork-linux-security-module@patchwork.kernel.org>; Thu, 28 Feb 2019 23:14:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387898AbfB1XMp (ORCPT <rfc822;patchwork-linux-security-module@patchwork.kernel.org>); Thu, 28 Feb 2019 18:12:45 -0500 Received: from mail-qk1-f202.google.com ([209.85.222.202]:49706 "EHLO mail-qk1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387872AbfB1XMo (ORCPT <rfc822;linux-security-module@vger.kernel.org>); Thu, 28 Feb 2019 18:12:44 -0500 Received: by mail-qk1-f202.google.com with SMTP id s65so17276179qke.16 for <linux-security-module@vger.kernel.org>; Thu, 28 Feb 2019 15:12:44 -0800 (PST) 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=Wqh1XdjrR2tvM3s7JD9p7Uz2t1LkZeFbYNWqPw8a2Aw=; b=ageJCM95rFFnT+xvmUfxE0iJAoV+n+N8mVj52V+6FViQT9B9gThHA1Dux7SYXzh757 vW07/zc36SNBzPb7yLPanIUYV4txRFnWY0HPa7vFyNMXwygb4ma3/2VaqKtguwXLB31c y06GyPMa0kjPa0dfBTGkO9WB9kGU17MGsLsGAikRv9+zuPf6l0bwgJteKFBghHOSdTSa Cg1u9+NdHPJs5Dn7cbi8GBKy6ZVzmXduON7YW2/CgSjFUDVFeGCDQGM8IYb5cvXHY2sL Ov+LWR6ufzXIr7NqMCosbz/hUJc8Glr4TF325/gs0oBJI6BvEmgB/3gxy+DCW95Tg4/2 TtUw== 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=Wqh1XdjrR2tvM3s7JD9p7Uz2t1LkZeFbYNWqPw8a2Aw=; b=EOM842K0ABJ9FD1mWwc3i99OgTsqBQ8FLoKWcnOEe6OQGvQJ0UhwQa/a0FbwbjyOVp UfK086Hc0gMbB5b56+xtoJt721pQIg+zQnlaIOwUUOy6s0yi6tL7WHL0e2Buk6s+EZni 7ocHIy5YMcr8RQjWPxKPq+EgZrZB918iVn55aXh2kkZYHUXNjrDyVNAfwz9893DVM9Ln onoS/ipvIUjDBB6umOZUzFEx1hqZ9+ZSa2/HZufthqrsq0jMde5zpi1Vf99qNO50W42b u1ly1nGrhA09Lv9UvTpV74QoUMjbhJoLiceo6q48CkTeYsCxE8gjqBzczwI+VqjZS/4o owfQ== X-Gm-Message-State: APjAAAUPQwNvmKD1w9zT39jDq9xUoDqHl9sGFUNMPCbMxIkr1LVgm30i DmYVpQ5V1ctvWOK0GAL4YguCv6usUeKltsFzkb65Rw== X-Google-Smtp-Source: APXvYqzMYtXMIbPpyBJ53LzazIQ0J3J476+ftoTfkkRnqsTBZKh5DwMy7w3f+Yq4e1XEX0j8l3KXmtYFbsoIiTcS9h7BtA== X-Received: by 2002:a0c:869d:: with SMTP id 29mr1097176qvf.34.1551395564025; Thu, 28 Feb 2019 15:12:44 -0800 (PST) Date: Thu, 28 Feb 2019 15:11:51 -0800 In-Reply-To: <20190228231203.212359-1-matthewgarrett@google.com> Message-Id: <20190228231203.212359-15-matthewgarrett@google.com> Mime-Version: 1.0 References: <CACdnJuvW47m3JvEcuEX1bsr+L2Ht9LDn_iCuPbHLOoaohOFW4Q@mail.gmail.com> <20190228231203.212359-1-matthewgarrett@google.com> X-Mailer: git-send-email 2.21.0.352.gf09ad66450-goog Subject: [PATCH 15/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 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] Lock down patches
|
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();