Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp648305pxv; Thu, 15 Jul 2021 12:25:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJGkbrKSEJzW7G7PlrkVB8W1JksVfAfrF4SwV3LXXSjH/eLeuAtqY11ob5heq5aPnnO2CQ X-Received: by 2002:a17:907:1c01:: with SMTP id nc1mr6782376ejc.504.1626377117166; Thu, 15 Jul 2021 12:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626377117; cv=none; d=google.com; s=arc-20160816; b=v7rbF6MHh7LBj4BE4XeCHGvcu3oR+whbGFvDQYboU2XtU58MOlBQhygDqc5r8pwePu 6O+OEPTLZ0j5zlyaQib5Uldz4XDPLoHlOV2G5Q4h1VwZbSeBB3xQ7k36xv14KMsTkx3t sZEW7BvPpzOi9ed2AYSOPSXEbxWqrlRovMQcEl9T9r1zUoe9oGIaZ8HNUyIqoaJvTC08 XGtCRQSwBmVMm8JOMz2//c6NUgazMDjqBFnJWePwb4DvClvZExXt7o+uIq/Jra2L1obq xJgrHwnxHGLzJVmfMVtP4CKYAETj3FmWFkWQW0r7nI/FtuoL65MAxOdfsKzw8rPX+BFO 5XKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YhJNm39pkdDXZGFZwn8mnTqIPFjqML6tCHWBZdR6oMs=; b=IDIZQs0fdgK+mwfwfuQfu5FVMuOOdi+O1wXpeU1DydyNN0NLtsHMWYE7MtUMXHvInn WzSZ4LYRzaro9e9v4UlPwhvJu+muTS9tkujOBraSfQ8F5XS2/vGz0IjnWapl+7Dr/hhH agYZAZEVnzb6rt/3EypkTogEzg6jeXeBrbh3JWyIDbJ9uWni0CXAMajrMD5TAYb1queI SKa5dR4Jbwxr3eWbpy8MbCOZA9AoKPAPezxoNbnzQXLN31pnVdyX5I/4EzrcIeSJHOLG GOIo+0mUBQ2PZB5MdkLMsdYhs6O9vlZLfdRjExbzoeCTMg4uMmgRyzSzQ4FqrVv42R+Q GL2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OqaRPEY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si8582718edw.135.2021.07.15.12.24.54; Thu, 15 Jul 2021 12:25:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OqaRPEY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245565AbhGOTYR (ORCPT + 99 others); Thu, 15 Jul 2021 15:24:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:45710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242013AbhGOTHZ (ORCPT ); Thu, 15 Jul 2021 15:07:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EBD55613EB; Thu, 15 Jul 2021 19:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375806; bh=u2pXChmv/abYFozz3+Ur5PX7t1oaZc8roKxMZgPfjvQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OqaRPEY03H1H86hvHzKtIr9LMFn/yBu2xDNYOwc4/215a0PyGLCqEc/cMb7GhoKll s9Pnbkipq/dgI7+b3oG4J8ZMFmGhjaNsiceo+jZ7UYqpdPEvg2mK2axRdOhyh+6Xyr UMemqu6urgztc75Znm7Arbt9oegCRk3qaMH67C64= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kees Cook Subject: [PATCH 5.12 207/242] lkdtm: Enable DOUBLE_FAULT on all architectures Date: Thu, 15 Jul 2021 20:39:29 +0200 Message-Id: <20210715182629.714061042@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kees Cook commit f123c42bbeff26bfe8bdb08a01307e92d51eec39 upstream. Where feasible, I prefer to have all tests visible on all architectures, but to have them wired to XFAIL. DOUBLE_FAIL was set up to XFAIL, but wasn't actually being added to the test list. Fixes: cea23efb4de2 ("lkdtm/bugs: Make double-fault test always available") Cc: stable@vger.kernel.org Signed-off-by: Kees Cook Link: https://lore.kernel.org/r/20210623203936.3151093-7-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman --- drivers/misc/lkdtm/core.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/misc/lkdtm/core.c +++ b/drivers/misc/lkdtm/core.c @@ -176,9 +176,7 @@ static const struct crashtype crashtypes CRASHTYPE(STACKLEAK_ERASING), CRASHTYPE(CFI_FORWARD_PROTO), CRASHTYPE(FORTIFIED_STRSCPY), -#ifdef CONFIG_X86_32 CRASHTYPE(DOUBLE_FAULT), -#endif #ifdef CONFIG_PPC_BOOK3S_64 CRASHTYPE(PPC_SLB_MULTIHIT), #endif