Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1359835lql; Tue, 12 Mar 2024 15:03:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/VmtvCGgeloS8WeK9IQ+QYy3Z+dSpujnWKgxuMhIztm/EvEcQIhfS2rYSiEQw3JNzORFS8/gfzbKiKYjujoIyqWrXT6+IXta2317HyQ== X-Google-Smtp-Source: AGHT+IFR1YdWZJdqJsggkBcaGZ3K0iXLBhCgtRv7GXkUBPSnUDNNZTM0XrQjARS23AJKSomhKCEA X-Received: by 2002:a17:902:f707:b0:1dc:efb2:95fe with SMTP id h7-20020a170902f70700b001dcefb295femr12901071plo.48.1710280995546; Tue, 12 Mar 2024 15:03:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710280995; cv=pass; d=google.com; s=arc-20160816; b=Z50lJ4RzGO3vsm4tBoZMHSbnRnqGmRgL3RS2tNQ9jZxj9W6oX8SKJz3NC44qc5a6KA m8stXahrabHALMI9D2rbyCRFQa81oV7dT/pvkp8S1w/KbVFeby5esPLAVXvq6w/iZQhE OPtLEbjgZ6W1BWCuYCUHyjyzdISMKKgLdxA08ySqfgLxlaQxcU0g40yd5PR854rgDW0Y oUWnd1dEinV346q+rMy98elR6f7Ev/jVGDhuHIZSLo3AjdeZplsMxXphPFAQgsXmxmz/ jjeGvuvLIneEgrg38rlBepnYiQECzRYq0/99diYiPHcjTZ2tYVw8fue55qflORCn7s5F TQqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1akdFCp/NrQTZkdZoE61av7sk42pTtpjjQoFP3uV05s=; fh=3YZXsTgMZeUmn5YaimqekAEw3Mq8wxFXaWV5vPR530M=; b=m2YPXvohpVKaoDuwdRw2V+gmsTnpGYLyXbNPp+sG5mxjnqs1oo1X+S5nH69CtAU6AM el9PJtJAcHWELuGp3RczKS4ZZl5E4jHEQ7BRtqHWVsCRV05sJrTjAn1DuvC66lLDjKBg FOqKik0eBdVLSp3k6oVkca4dlCmHReQiTUAq+1YI+6GB/bZRl7A5M1HGt91noY23yhx1 O0dXttdATVw3Bivy/Co+ROAkB4H5ufyPDgRzzMmSEBSLuaVCyo9gDwfakovQmT7OEXUM 5wYmpxNoSA8F6PKygkinu+H6DVXfVjkuKY1hP+wj9jD0qfYXXW7Shju6HQ12vMcDa4zi 9iVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UKdaCNSH; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-100848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n11-20020a170902f60b00b001dd7aa7475bsi7804035plg.45.2024.03.12.15.03.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 15:03:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UKdaCNSH; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-100848-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100848-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DE2AA281F0B for ; Tue, 12 Mar 2024 22:02:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07F50143C43; Tue, 12 Mar 2024 22:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="UKdaCNSH" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 ADE7E14375D for ; Tue, 12 Mar 2024 22:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710280969; cv=none; b=KkmLBNpSg1GpYDK2ugdgrw3zR4BAE/Leuy3JYfgfUI7SI7gIvyNxiORRTaxK0QsSHSC3RtLHVuZ0YI9EnBY3ikysSpMthF6t7UcA7vzqBV1KjLkltnPANCG9RRXrFNKp5UcyrJKiXJfexuIk1Td/8D3Eph6m8yWAmEN3/Ve8OJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710280969; c=relaxed/simple; bh=oexVpmdnuJzE5NnIT+grB7HUdJL7OkTLS1ozx4Z/KWY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oc6T0+0mn+dTalVUKZL0H0AMxjpTBN5pI/g2y+fGdt97aNeJM9T5x/7go3tOC3RVGC3lZeBxxvla7ey0La0HlufpoWeST9NhAc0oN8VBTqqxE+1MtyVPDPc/dvHxXgBQLMF4i1C1nRX0/eS3w+wLHdimjvvndlHB3z8+A9qN5DM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=UKdaCNSH; arc=none smtp.client-ip=209.85.210.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6da202aa138so3959676b3a.2 for ; Tue, 12 Mar 2024 15:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710280967; x=1710885767; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1akdFCp/NrQTZkdZoE61av7sk42pTtpjjQoFP3uV05s=; b=UKdaCNSHKEqp7yHzh1hBZoDxJwCzZjZRy6+JjsapHreO1jfLoFeUMD5jYHQjq/4bay /zCfBcW4JCaxFORrTCqjiPUfHGTTDSjcREvxdT247oraD4oDWaOeAD9ZlOHbwjvhUpM6 OXbpZNcNfffCyei+nBKm03msxYqMhQxiZQgBc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710280967; x=1710885767; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1akdFCp/NrQTZkdZoE61av7sk42pTtpjjQoFP3uV05s=; b=bq4PS5lEVMvshE/dEKY9+NYKv0J98xS7E/2jRzkv3w59m6xPgMdBAcDnTN+88g+i5b p71hnZiozTpYDhBJA2nGxpz24Sm9dxmjkOyRNFx2IS15opzHRbWtDeCyUcYAVcebcWZH zuiqMIRmXBuZzKaI4bwyHsWwBvfowvjFB+MDdlB3pZtAIyNwep5JkyU5F3nSrZPYHmw0 2PPDuLrEXf6LxeW2PymPYgjXKYFdOYwLqidcvwKyWNVVKBOJ/YBCUyHqke+hYUah3d45 eB5anCfzc/J1j7bckbtBiyk4F5Abpj192ej7Uah3l8CL2fAd/Gj5e6dpil4vx2YBcH0B Sj5g== X-Forwarded-Encrypted: i=1; AJvYcCXeafiHiGefKfGQlOV4K6JJHrVtSLpy0Pnt116JU2m4uUIuFaweFStcl5FEQ5G1Ms1WFhzI8GGW+u8+6D5jre6Nerxj7za/Oazvu9Wh X-Gm-Message-State: AOJu0YwsJOA/LkVh80+2D/fq5mnxzWr+n1JxAz0VmSOz3Yj9gdVYUkjf /5PCDvyd/Z03dBxMuobugGpsNVyQEUSmzJBGJvNY83fj3dCmMIOw+ZCPWy6EVA== X-Received: by 2002:a05:6a20:9382:b0:1a0:efd0:b183 with SMTP id x2-20020a056a20938200b001a0efd0b183mr14145890pzh.44.1710280967019; Tue, 12 Mar 2024 15:02:47 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id e11-20020a17090301cb00b001dd6c0800b4sm7193896plh.188.2024.03.12.15.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 15:02:46 -0700 (PDT) Date: Tue, 12 Mar 2024 15:02:46 -0700 From: Kees Cook To: Guenter Roeck Cc: linux-kselftest@vger.kernel.org, David Airlie , Arnd Bergmann , =?iso-8859-1?Q?Ma=EDra?= Canal , Dan Carpenter , Daniel Diaz , David Gow , Arthur Grillo , Brendan Higgins , Naresh Kamboju , Maarten Lankhorst , Andrew Morton , Maxime Ripard , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Daniel Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, loongarch@lists.linux.dev, netdev@lists.linux.dev Subject: Re: [PATCH 03/14] kunit: Add test cases for backtrace warning suppression Message-ID: <202403121502.95F27A01@keescook> References: <20240312170309.2546362-1-linux@roeck-us.net> <20240312170309.2546362-4-linux@roeck-us.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240312170309.2546362-4-linux@roeck-us.net> On Tue, Mar 12, 2024 at 10:02:58AM -0700, Guenter Roeck wrote: > Add unit tests to verify that warning backtrace suppression works. > > If backtrace suppression does _not_ work, the unit tests will likely > trigger unsuppressed backtraces, which should actually help to get > the affected architectures / platforms fixed. > > Signed-off-by: Guenter Roeck Reviewed-by: Kees Cook -- Kees Cook