From patchwork Thu Feb 8 09:10:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 198235 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp43176dyd; Thu, 8 Feb 2024 01:21:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUbX79G2nxle8W5vVBSN8P5zGiwT5I+AbXWlvy9gd8I07s+UBuGRD/Kyfh87gFwsGWt2we X-Received: by 2002:a05:6a21:680b:b0:19e:a565:7dc6 with SMTP id wr11-20020a056a21680b00b0019ea5657dc6mr4715369pzb.15.1707384079484; Thu, 08 Feb 2024 01:21:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707384079; cv=pass; d=google.com; s=arc-20160816; b=0U1ZY/cSITlQSxVMFihBv+Icn9Nom3jL1387hQySCiknywjR3BikxYfw635nwrfOr2 IhAixLn5ZKQZo3KZtVb2u3TSFbUENmIM9zpuKsn9/B8PTy50ZhDfCpiLj/GtocoT+4Et wtfKVr+jFjA4Cgn+Lm1iCOlPYkBZKhV7cZoIEDg6lqWjFuwgX6g8E9l6WWz6Cx0wAUCc h628je/mgFPanXJr1YLR3VxiccTzxjSI0nldWMK7PXDiLHTf7gShGlN2GMtTbraFXsmL YkAo+D4rorXXj4zMk7QfTDBHB9ZXNBdxY4FQrys3yK6M7sD2p/pAH9yDb2aId4+jCgZ5 BpQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=SgZIIpOjpH8X4ZedBeUEAEFmQnSOxMry/KstJ3anrUk=; fh=jFR/hixOH3ng9jdvUNoL3E5YObQ1CJbzdRJEv0ApLaI=; b=Knw8tvVVT6Agb7GF2TLX/PqymGfj5ELTMQHeIFTk80C6G1tFgYpKubjg1mAAF6b6jo Gq9R//sg5vPpnO2BnD3+WQ/zWPZUEcDa0k0tWEzh8Pr/2fgSrJhI6B79WzZYkBmJ/Bo1 wCE55NWHZa8dAKTPLtZbc5G1sLg7jGL0o5toaR8KMxucSn9vM+/q1fNiaFxlcqnAMy4r v6mvuzfp39e/6RsaiVxQQZ1mJNQtjoggTImsIHU8MGsde8d0QNee9u/wE7a2Mt4tyIXT jsFJS6Luxkx7lCC2piFaLjwugP16+3ptXPCLESRsxFedDG6Fmjc7N1cVDK5dDkV6a9jg azWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XsJPd4uB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-57697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57697-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCX5TNr5wu7nYAeBSVB5F0Qm4aCQVTrDbECrLZt+uIMPvwzXo5tt2drja5VogwoojUhcx5wjx+JTgk73khl5IN7gCKHFAg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b11-20020a170903228b00b001d91df66e24si4089718plh.164.2024.02.08.01.21.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:21:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XsJPd4uB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-57697-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57697-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 18885B22E9D for ; Thu, 8 Feb 2024 09:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 918EF6D1A2; Thu, 8 Feb 2024 09:11:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XsJPd4uB" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57FDB6BB46; Thu, 8 Feb 2024 09:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383459; cv=none; b=cV+CEP2+zAmk3JjvQVNxkWeYZnLDEAfWvLL2qMHLWxot0efBeMGEYzuB2yc59sC1J8VHuNsmh51036RbKbF59vat3pma/Jii+XIjln/BU98gvQ5AdCuqS0oSLR8hbeDVrOH3HyT8LajlxHQL9G+eUBhihBas79b3lPnQ8o1TTBc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383459; c=relaxed/simple; bh=XTItBWIPLNi1ruKfQXimlR8ToFhWiDyjrNOkTpIjJ+w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=nMiLKYoLRfPinPy0SlLgMFDnWib0aZaxb4dKOdtbEHgzlgWcbsoBX5x1r1tQzQKAeAUCzzL1Jk2H+C4Lb/wdQ1773xpFUHirILPSwYvGJyL7VUUHJnmQeDURgqCXxW+LwdOFvRrJhtAL3ZpwKmuZFmv5TuEE6DYhG3h2/LHa7MQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XsJPd4uB; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-55c2cf644f3so1924156a12.1; Thu, 08 Feb 2024 01:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707383455; x=1707988255; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=SgZIIpOjpH8X4ZedBeUEAEFmQnSOxMry/KstJ3anrUk=; b=XsJPd4uBJunGWwNk64iJoQBDDv7EPozKNIy66/VpqSr1uNM17JvKIrQeIKk039iqRc vGdMrn8YTORGxz4ZUkMp/Co57LPA579slu22ADuAJu5tE8Ium197susA5RCEEko8Vkxw BsEUDyQhm5LihYsDgzsoYZ0lv09O1gHVUDBEzDEsafjhn1DGRvd1ixEE9fk9Md6fUFJi ZP4ocInAtTiZLVdp8CrbuCGVfnUzqCObKuh6b1vLiI9Rzc8+OUymkgE2nKEeJQpiD662 Qn8FK7CGI3KHK5jxPev8GyR1oW/culVkdXnP2lCXlbGvrJuNG/Pnjw5St22+zKojF6EO ohvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707383455; x=1707988255; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SgZIIpOjpH8X4ZedBeUEAEFmQnSOxMry/KstJ3anrUk=; b=je+WIp2V/dl4nPsOksal3pplYQDvpfXX7/CZb6Lpo/BWlbcMR4+mjypVB9/N5rvKRl Ynx8oIfo1P8x9KeATOMYSG5lKPJjNR6yLsmCXRLYTpdYMroLwuIzzhi5EKzeTx7zshJ0 pEYPY2entgzPT5I6V+VC8BfG13tgWbd7DUNbnNgbJWOFmelUnhkNFbHNH5APb9DZzfVK CN7NIdiO8dE8nYhxpNTzPbn35eKf0XjtUX8uJWWKtTAyd+0baapqxzXVfOWg5O7Du1Jh wXQEIuhYjD2TO6B9TClXBjvV1lKlD1zJwlURoKYSHPraaiPVb6Sh0yNv4FQ0JY4DB29y hu+Q== X-Gm-Message-State: AOJu0YwfHP3u+5wZ7KRKpXxf1ddM22HTA7c6VrDRy3YrKb1GIsD8C3nx lW3DaN2F0rAAIvHJlr/r1xg/LvQtyZG2Z/GzPbGsqdh+AcDwsIpT X-Received: by 2002:a17:906:e1a:b0:a36:5e34:3a34 with SMTP id l26-20020a1709060e1a00b00a365e343a34mr6110385eji.69.1707383455424; Thu, 08 Feb 2024 01:10:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX7/0x+jGVzXgiJHEN42juvnDeaSWfZibrtbcX1R540Tcct5jycehvYt85C7DVgv6keGKRJ0jm+Vprf6YPCEOQ+BS++wbVqCZYOqsuiIij6KkHYi0A1Svxqe/GjUg1pFrkaADOZAmc8DemfoM31p7mKqNZZ0hsT6QAL6QDeUdwpjWsfT/wV8hSjVtOS8+G16+xN2JNbMbnaQAWGrEFa Received: from felia.fritz.box ([2a02:810d:7e40:14b0:f81c:5b24:d269:24d]) by smtp.gmail.com with ESMTPSA id k5-20020a17090646c500b00a38535c6be0sm1691887ejs.16.2024.02.08.01.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:10:55 -0800 (PST) From: Lukas Bulwahn To: Kees Cook , "Gustavo A . R . Silva" , linux-hardening@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH 1/2] hardening: drop obsolete UBSAN_SANITIZE_ALL from config fragment Date: Thu, 8 Feb 2024 10:10:44 +0100 Message-Id: <20240208091045.9219-2-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240208091045.9219-1-lukas.bulwahn@gmail.com> References: <20240208091045.9219-1-lukas.bulwahn@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790321968632123056 X-GMAIL-MSGID: 1790321968632123056 Commit 7a628f818499 ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") removes the config UBSAN_SANITIZE_ALL, but one reference to that config is left in the hardening.config fragment. Drop this reference in hardening.config fragment. Note that CONFIG_UBSAN is still enabled in the hardening.config fragment, so the functionality when using this fragment remains the same. Signed-off-by: Lukas Bulwahn --- kernel/configs/hardening.config | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/configs/hardening.config b/kernel/configs/hardening.config index 95a400f042b1..4dc0cd342ced 100644 --- a/kernel/configs/hardening.config +++ b/kernel/configs/hardening.config @@ -44,7 +44,6 @@ CONFIG_UBSAN_BOUNDS=y # CONFIG_UBSAN_BOOL # CONFIG_UBSAN_ENUM # CONFIG_UBSAN_ALIGNMENT -CONFIG_UBSAN_SANITIZE_ALL=y # Linked list integrity checking. CONFIG_LIST_HARDENED=y From patchwork Thu Feb 8 09:10:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 198233 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp39142dyd; Thu, 8 Feb 2024 01:11:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHrHAGnSVr9yX8DbWAw/ekMSA2/UAZxvGpf4I1v8myin3gSX2An/c9a0orBUaOLirYuXGHV X-Received: by 2002:a17:906:23e9:b0:a31:4e96:f40a with SMTP id j9-20020a17090623e900b00a314e96f40amr5638791ejg.26.1707383517817; Thu, 08 Feb 2024 01:11:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707383517; cv=pass; d=google.com; s=arc-20160816; b=RTvpP2wwd5pxTJnsDjUS331wSmypn+LerbWCF0PjWo5zHb1f92wQzvLfENPKmCGTCP bFnT2nblXtqB+BFMyHVNMVnTmvqIjnvTJH7C0VUNAB88m06ypnwEucG/waqO7eOjSUNo CCWJ2KOR5xqSE8qV7medhDucBYxyoYjK3yVDghyrTvesKojaWqtoFEEoCfuQpPhMg/ag qDxPDnhuXQGxtSsGT73QBN0l7U2LK/66QDTiKWCNjYIOuKD073dL/sLOsG12/DUkd7yM CBv4twbxuWwDot7IbmvuWaujBWcZGOCeC+QjDUkjNQeYoFNP3RgcSV6yiAQwPsq37kAf xqxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=jf+IpQUM3GkSU331X0U1mVeh/2v5Zggac5yTBr9mH/Y=; fh=OgtIhICLftNa2Jvuo/pt4jDDzaFU/xOqoM3QyuAcAc0=; b=WaSvDWnrANuWKNcL1scxs2yQRJ3Vpt6JlAGseFIPKjE3oiCu+IKiTAFM0h1LrZddKp C8meObmxHbpTTNkAtQy/gLdcdArdgA7Cpqplf+U2J/Fo3u57wmkYQ+qdEfZHwlgnTx6R t8/Gv60+n/gSXnQyaozZ4gTGKHC5+gwEgu9OiPQK+dPLBCXHpmu85bjIfflrmFRX6U8U BDyv0UUu4vOa6z7x5TdxbMXCVuXXtut2AebmTEfjS/Mo5SekkKwS2c0QRdBSqsijSfuq NVxnw1tAVcJ+/1mDvJRORJFdHXYnQkKgudHOSmlohY1yqL/6s+ASpG36ZkgJZ6M5376j 2BDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=asaT2fk2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-57698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57698-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCVJkQpNTRBD5eMbhYur0iKJCywbtZOF00Cv0ZG26HL5BwXU9CLwjjCsf2hoXwSSbrwTNUJQQjcffF5z6k8ZjriSpjY/iA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h23-20020a17090634d700b00a3807bbf583si1953203ejb.268.2024.02.08.01.11.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:11:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=asaT2fk2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-57698-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57698-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B33791F22E31 for ; Thu, 8 Feb 2024 09:11:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7A1E6D1B8; Thu, 8 Feb 2024 09:11:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="asaT2fk2" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 864D66BFBF; Thu, 8 Feb 2024 09:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383461; cv=none; b=f1zye2SieKH2YsuxtnDt3z5FaJsj4i3fFeMunpggFu22XVIu+nvYDB8ttRZvjDKcvezObhWlpe8H+6earKjCP6FAStpMQ9tXZvxWNMRSlNqDUHFlm3zqQthB43zCRSCTVm/AXz04LCalELBnhX1EY3vnF4xhusWWeMsOvkTODjI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707383461; c=relaxed/simple; bh=xztAfe8NIrTxTOh+SaDpX4UWTD8vUatoOqQ8o2Ddmg4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=to+n2pTADVh14KcQLz3CPi8vhBfId1PxmqTaKi/XsMs70fe93WYUnjdaJUIOxbJ5hhsqQbgHBGvq1L9lrs8a/AcNmk1GKsUoKqPOuAQCB98K68ejenSrS2B1BEK0DE/nnHBg6m6k6+LwAymyREDma/cWGAvJcM1laLntWw9VF5E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=asaT2fk2; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-55f279dca99so2340172a12.3; Thu, 08 Feb 2024 01:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707383458; x=1707988258; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=jf+IpQUM3GkSU331X0U1mVeh/2v5Zggac5yTBr9mH/Y=; b=asaT2fk2xxJru586BZ+omuHroe8lydrgxo0As/jFX04Hth9G7aFXQACRK3TYGNeZuF 0aPgVTg7Cmkm9KS3JQYM8TRlAa6UCNPEV8p5VNpH5Z40Lezunkt0e1gW2bsmyhbSlOHJ x5aV9usyuUQFQb6AylAQbsZ2wbpsd24Tj1K7DImI+LUzBNiezEwgFPNKuowwP+w3tIhy ycfqAUfNwkO9/294KId0KITjyxRN/NgQ7F/1c8zd44FV4FGCSrG2mqBZN5N5qBq2rlAT XmEPIUAtwQUnv7X82Qa0kATo41h0BzNmiJvc+Lf66Ifw9S1gssgK/pakhYEnOJ5Wq3XA HQEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707383458; x=1707988258; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jf+IpQUM3GkSU331X0U1mVeh/2v5Zggac5yTBr9mH/Y=; b=upfok5SaJU5zPzHyTv/FAwUdM7R04c8kXW9vRpUg2+sN3fieOVRq3JXr7ayJ41Ykmd rZai7/yIbXuSGisyXMcnvUxKo/V3KHnVnERrAJen7hR/eQbw9d/5Ka6UlC8K9Wb9Rbnw RvuntuTyKMime3OXLkBbnFXXFX2uY32+1uDTop6nqnEt1nu52yvG+GriVQMLTS+wHYXw YNXyVVAlIEIfSK4pLiAIVuI3gdXm9gdC0cpxQVWdWPcw9XHmTXBI+XYqd9VOFJZp+ZZX b2Bli2NWtT+bU6huXsnJ1pJ55RnwH19g71HmBc1rued+C5l9tjD/uM1yg1QdWgqrcDaq mizQ== X-Gm-Message-State: AOJu0YxHYuyj45uXSeRGkveggOqdDL4UiVDuDdiM0XEAzG8GguZDV5zj E9AGpdYxT20+ByL1CvJQQSShUiRJS1Tb5dN297t6xujPyoyBzrNE X-Received: by 2002:a17:907:778a:b0:a38:174c:c985 with SMTP id ky10-20020a170907778a00b00a38174cc985mr5328923ejc.63.1707383457589; Thu, 08 Feb 2024 01:10:57 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUMwbC3ZfT8JJu+zXu2Yw6lHz1u5DESJSr8MH8BvzWT14jYqm+iTCb0IHHAoyL2fDe/D8vqzajCtcA5zPvaWZrVjR2Ojcx4b5/r/COxIkVqAfRj+f46e+9eTvKT7hx3pDk1tNbHYc8CevniMt2d+D9GqslCKg9CgsixRpjGDdbw1SsCJxmPrRkYBYuCFxe5axO5FK5phtTHKV/f6t0g Received: from felia.fritz.box ([2a02:810d:7e40:14b0:f81c:5b24:d269:24d]) by smtp.gmail.com with ESMTPSA id k5-20020a17090646c500b00a38535c6be0sm1691887ejs.16.2024.02.08.01.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:10:57 -0800 (PST) From: Lukas Bulwahn To: Kees Cook , "Gustavo A . R . Silva" , linux-hardening@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH 2/2] hardening: drop obsolete DRM_LEGACY from config fragment Date: Thu, 8 Feb 2024 10:10:45 +0100 Message-Id: <20240208091045.9219-3-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240208091045.9219-1-lukas.bulwahn@gmail.com> References: <20240208091045.9219-1-lukas.bulwahn@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790321379463764552 X-GMAIL-MSGID: 1790321379463764552 Commit 94f8f319cbcb ("drm: Remove Kconfig option for legacy support (CONFIG_DRM_LEGACY)") removes the config DRM_LEGACY, but one reference to that config is left in the hardening.config fragment. As there is no drm legacy driver left, we do not need to recommend this attack surface reduction anymore. Drop this reference in hardening.config fragment. Signed-off-by: Lukas Bulwahn --- kernel/configs/hardening.config | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/configs/hardening.config b/kernel/configs/hardening.config index 4dc0cd342ced..ed126d7b5e83 100644 --- a/kernel/configs/hardening.config +++ b/kernel/configs/hardening.config @@ -92,6 +92,3 @@ CONFIG_SYN_COOKIES=y # Attack surface reduction: Use the modern PTY interface (devpts) only. # CONFIG_LEGACY_PTYS is not set - -# Attack surface reduction: Use only modesetting video drivers. -# CONFIG_DRM_LEGACY is not set