Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp660557pxv; Thu, 15 Jul 2021 12:46:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6xAIooeyd/N5NslxIOtam2HWvMG2mjSXOcgvRAI6u1ijEYiurVTfSBEr7/kp0BEIdCCJa X-Received: by 2002:a05:6e02:12e1:: with SMTP id l1mr3752107iln.0.1626378388456; Thu, 15 Jul 2021 12:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626378388; cv=none; d=google.com; s=arc-20160816; b=taTx7UoCUy08eXK0r3LKlLTD7U2j+Wc41W5OfjZ9pgi1Kt0MCHvmv9u8McHDkpp/po 57T/RhkKkzvum+udcfFWdom70ks0fvSZayp825bsWugOTjRrkYZvP8ei+xNK2mj11cd1 E/9hJkPaRus7KEJwxu+XqUuffhsoZpqUvFTU9QUaU/t9cUWu1bRRvPxfbqhnEq9YBsSy nHXbh+pTk31W17cJkFVEPioQuBoY/TXGsmAbvTIfCN+bJ8nJ9ZCVu61nmLr4R3q8cRHJ jEba13i+D7dQUDIgz2OfaNwvvAoZhamqqyvo62aAku0tfTtC40C5LX4xC6ZqBAYMdP2x zjHw== 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=xV8rvaykkjh1Uih7SIXOyn3n/PNZzdvNvpTPxFbUWzs=; b=0LVsYyZ0tx8vlGJEfsF8tBkUnFDUtEueB9hthr8iWEBlsY94YdyWQS7nKR41Fn2tWa dH4mEzN49FpsXdzbDlV/I85mg0iVuaiK5orl6WWGMIbw6+qPkp0NAqUgmn8qWUUpI+ev LSHNxsA0g45AS3O85F4u659ObXxcbvTIpfRQIzjzxFUs82CFzWBKlfwIRB2tRLKNfWH+ G9N0hnGQK4K150PkzrPYeNtIt/aG1PH2xH+7aoBfmhtRLONd4BQFe8/b6vCRup0JNpMY 6oHoRI32chEv5ahEXregYJbbAMLK6BFQ4jL9HsHaJkpb855eZwNGLeB+cKzmHxdvfet7 4fRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1HHDpM0a; 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 y14si7324865iot.9.2021.07.15.12.46.16; Thu, 15 Jul 2021 12:46:28 -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=1HHDpM0a; 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 S1343825AbhGOTre (ORCPT + 99 others); Thu, 15 Jul 2021 15:47:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:51090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244301AbhGOTQS (ORCPT ); Thu, 15 Jul 2021 15:16:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B4A07613ED; Thu, 15 Jul 2021 19:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376344; bh=2M7JojDu52S5+PbtEO65Idqxw6cb7+62V046UCki0XI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1HHDpM0aKZUWRJTE3rzzyv7TpgmdoeCeXlyW1R3gQZ4oBpS1dlzLDGJVs0N+91/8V oUPQHvFn8eGCPvZA5jXdC7CQLchXIknFDwCas49AxYDPzEd+ZMEjX1daRA4WwmPiIz j4cPZEhkNF4PSqce4I+26rWqp3qPb4fOlEZL+EP8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kees Cook Subject: [PATCH 5.13 231/266] lkdtm: Enable DOUBLE_FAULT on all architectures Date: Thu, 15 Jul 2021 20:39:46 +0200 Message-Id: <20210715182650.217658895@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@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 @@ -177,9 +177,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