From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 6581138F9E for ; Tue, 23 Jan 2024 21:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045474; cv=none; b=SFOTtzJ79w9M2WNT6wFYGxPUjBeiGr9EBMoj5skPx25/nYaVxDo+uFXmg1Cc5kflA5WgLonTQuFAJVtkOM7bszkW6oKekhgCiCL+iXS1u98BYx8v93zRCIPN+bM0QRAn1aiOMxBxNvqIn8c4zuVoSjup9/wHEvQb/5IFotnQgDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045474; c=relaxed/simple; bh=jP2/IW9UNkEjSgAKZeY0ax+X34XlCZzhZYmXu4icG+o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bt5u7gyag6PhZ4Q1trldtWqLo2iFa2ZV79Rf8flpGWtg0Xz9YmeZ4xSV8qY6d1HBzPwSeWeXCKBOtnS7ol+HZzy3jkEYS4XS2LnGFoVJ44/WJkTYQpQJrGELoW5KcAso7QvHCMobBhhFCr4LsKCKdCcY95h8hjS9Li3UBqUt3d4= 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=Ad60CBuj; arc=none smtp.client-ip=209.85.215.176 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ad60CBuj" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5d42e7ab8a9so465944a12.3 for ; Tue, 23 Jan 2024 13:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706045472; x=1706650272; 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=cLSrHTqApY0rnoNDPNmTbGyM4UlT798vTtkhFOVuGO8=; b=Ad60CBujlqu06M2IFBbPXvjYD8g/BEXRejYj+DNvOwe8wY8n5vBoew7hrTl/u+VcTX Mw1Suq5x7dhwT8+Kg1UpTRVofpgjJnrHYr6gl+HBY//ZZHbqrNqMWfVbigTZJZHXagmU rnCo70Rr5QxK6vUJfK1EJi4krFDpBRl+2UwKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706045472; x=1706650272; 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=cLSrHTqApY0rnoNDPNmTbGyM4UlT798vTtkhFOVuGO8=; b=msqLj4CW1KEiUrJfb1KhW6BaIexj2z+f80PCQ05bIdzJ0eCpZ6nmagBtqvacWi1agn nZ8mnXKglq0r6DuYYVBihyqiPDywn+ZY8HBzHMY+QhRtNFfV8P3R3X/+0ZF4Wi8QTjIB COY2iQolEkQQx3srJjWohQH4G6zZ9FgB/9AhIIxqiSroihmc/s4DvpsSIIiU9LeXS6hW ydR40FqXcNAlerTSgIsVKfVIq+1r+ytYQEFq+7DA62auMUEU1rMhkQVwJX1tfQ/NtxOC pnp5QOmN/6q8iHENhAnrtE5qtT1NS2gLY+VctwPQ50FUmI+z/psUeJyA0K2P11ZLeRcy ot6g== X-Gm-Message-State: AOJu0YwoolOz8RY9TtyNbHDvnOMO1MF9Xh2Zq1oeWRU3lopXH8xWQPot vR49iovX0mew4bRvGzjQ/o6MWj5gnCg3Fsev0KrQuUHSEX8W+30SBKx+ZIZpMw== X-Google-Smtp-Source: AGHT+IFZZEebKX2R0JqbRWEEh9em7MQ0hN72r+XKI76xsV+huWAf7uMifAtdFdhTI+U9kp5jq78zPg== X-Received: by 2002:a05:6a20:28a1:b0:19a:3a7f:63cd with SMTP id q33-20020a056a2028a100b0019a3a7f63cdmr3098127pzf.49.1706045472672; Tue, 23 Jan 2024 13:31:12 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id kr8-20020a056a004b4800b006da73b90fe4sm12541675pfb.14.2024.01.23.13.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:31:12 -0800 (PST) Date: Tue, 23 Jan 2024 13:31:11 -0800 From: Kees Cook To: Adrian Hunter Cc: linux-hardening@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , John Garry , Fangrui Song , linux-perf-users@vger.kernel.org, "Gustavo A. R. Silva" , Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org Subject: Re: [PATCH 69/82] perf tools: Refactor intentional wrap-around test Message-ID: <202401231330.C55D17922@keescook> References: <20240122235208.work.748-kees@kernel.org> <20240123002814.1396804-69-keescook@chromium.org> Precedence: bulk X-Mailing-List: linux-perf-users@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: On Tue, Jan 23, 2024 at 08:21:41AM +0200, Adrian Hunter wrote: > perf tools has separate includes to the kernel, so does not > seem to include add_would_overflow() in any of its include > files at this point. Need to update > tools/include/linux/overflow.h first. Oops, thank you! I will adjust this. -- Kees Cook