Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp95367lqf; Tue, 26 Mar 2024 15:53:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPiPcVyIX0r88zJQ8x2fS+BLU/F1CARDeMlokP2caxtsKQnHqu7ZhlwT7dEoVrunbrhqGbqnbtW6kNxHwJRKuzNKQ2DlEDgn1jeIfLdg== X-Google-Smtp-Source: AGHT+IEyJdDGjVVLBnghiyqIq33qCLm2r2RGWBCIpR+25TQkWRFickaBfuOtFQaNgjcru6gAWTgV X-Received: by 2002:a05:6a20:3d88:b0:1a3:e2d1:7c5d with SMTP id s8-20020a056a203d8800b001a3e2d17c5dmr512714pzi.6.1711493619100; Tue, 26 Mar 2024 15:53:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711493619; cv=pass; d=google.com; s=arc-20160816; b=uU/r3XIAI6yh9UdLHK/auu+iXe5UnrtSzb43kNgELjrV5GrjvhxSsIRxScAWuJuRvP KOgvgO8IrHygMKeyQLi9gzoC8mvzaQUkhVHy3Eo9XpEqH8cLKwKNXyIFv2cynsoX0UBs B09svCWkhUdwX6gR0cilWdOcT8B0LUMxeL4m58+fv4QpVLo7uZuwZRTo1PiEXyJ0uWcG jOZGMXAdNl6wvyj3NENocT7iWng7JjLoXooGRTrJSo6KfETmmvJRvItEfeUx1EfhbOJJ bAmFrx5WlTKdaq5d+ReUItcy2iwLXtGwgTg3XqVRPYYGYbJHF13RaHod8+KcJ6wOkOk0 nNiw== 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=MvOJt/m6EX1Fwx/utuRWvS5dkTN8eAFwRhRBD4PxWcU=; fh=JekPriiz9BFf7vx/NoLiLVv4q93SB7LZ3nAVpzDd4LA=; b=Rc2E0KJbk0/qgHTX4qqaCgl7DfYNYiemStFxnP1epsclHH9zz9+WgA99DuYUsJqOal baaR6Yw6aIAC2wjJ/IsW26zaOvwEzjKOJmCHjOWlwynrCmKLCIqmxtUSF91pEZ+yM0/c Xs/OaH8xsfPUhyCM/jNneN0iQBodLtsCW97Q3DjwEDTOVdSuINl6zCOUY5S6LyM+U/ER oBKoxdYepoU1YL9nhJ31nW0n+8xxVYx/3DCksvaamsJlm+KjqkKE4e0vC/yhwPOFk7fF RgGaOE5R4jQJN0QUnLGdZcbKhuHEn6xSE5LT9Khu3KwNyCrtcfoWxKIuMXV+SXYhZzVc VQ3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JyuJz1sn; 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-120081-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u1-20020a17090a518100b0029ff777c440si191475pjh.7.2024.03.26.15.53.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 15:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120081-linux.lists.archive=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=@chromium.org header.s=google header.b=JyuJz1sn; 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-120081-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120081-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 227C0B22D12 for ; Tue, 26 Mar 2024 22:42:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7555F13E3EA; Tue, 26 Mar 2024 22:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="JyuJz1sn" Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 A5B9713DBBF for ; Tue, 26 Mar 2024 22:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711492838; cv=none; b=qYXU7Dm5R4dE/Grum/fBPM9FzoASHg4pjK0J1MXu5lYNy6suPtqdNjZnu2PtMuU+im8IRMR3ohsA0DQISRLwtr0VLE9rUnQkweJZOwSNG5KlWPWQKtbNxGTmJQC1MX7xWXW3JB+1IO49U5rJeDPN9NIaeD5UjcSWnD+Wkcv9Qyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711492838; c=relaxed/simple; bh=yx8FqHoYQC1PWSggMb1zsMpypq8jpF4oFVsUHceinSc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H361I//4Lt3beBN7w0IbGXaEAA3TysV4miSVFz+t1Jo0x1Bfh8oDa7q8lumO23usJFcXpHRSOhQhVUR0N3xAFNb3JaFiOU43Tif9SStckKiu3Q6foeD71/rWPyOsvCbt2jFO33/m4ERnnlxFGr9lZKOPWJ+Pgu7lyN7YQv290hw= 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=JyuJz1sn; arc=none smtp.client-ip=209.85.216.45 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-pj1-f45.google.com with SMTP id 98e67ed59e1d1-29de4e12d12so4304278a91.3 for ; Tue, 26 Mar 2024 15:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711492836; x=1712097636; 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=MvOJt/m6EX1Fwx/utuRWvS5dkTN8eAFwRhRBD4PxWcU=; b=JyuJz1snuaNpYTlA+i/4xYc+mVvynUDy9D5DDc7Eac3f7xnI0TjujQCBHvw5wOPQxO ML5NJ6PRBuP3Og8FPFyyMS64OkuI/UqO05nT7P/xcBvUThiP8RHYZq+rBj72JCc5JqjG VO8L+mzrTEhdt17mbJhsIHv97WsB3EHzUNcgI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711492836; x=1712097636; 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=MvOJt/m6EX1Fwx/utuRWvS5dkTN8eAFwRhRBD4PxWcU=; b=TLwdZDTh6Togtv3qHyris5SSQhWtASFFcnEpnDibr7g0uKJXv+AZ6pu05jUbXmGj6h stawDJ4DKNlxaMKKT1eTFyVySeL7xOidiDncD6zcI1OVx8iSIEvIW5pOXqJTQzdGLMJQ JWRZvHvc8ycmrAm+TQ9tACf9aM8lwZF37d2bbQpbyxom9SEZRfyssZqVhLVZgoISSnSl 9ZeWi/CVSVk3L+/Dg+OolLhHJQn2H5JQ2g2ulk2p3zVEdIpQeYP8W+F4KBzIFDhMuKHw U7j1HlPEmdz/ItiB+GCdxcA6rnyJvzPeEC4HCB0KvCKuwJGngLaiVr3xzlDRwyBreD+H xfbg== X-Forwarded-Encrypted: i=1; AJvYcCXWxFwAri1Ghj6aKVZTSqoefurj/PB0Qe7lMlyrzVKRgTyVOGaXf2zEub7dDfhLvYc1wuO9SE0fJDTNXiBGGFcoq7Xk/kWLv/SWgxSF X-Gm-Message-State: AOJu0Yz++7vd3kyMb4K4ckTp5pKthjrXAoLzYGMW75Tq7AAhapV6iLCp HXUcvaYKRy7u7fZ8NKwvjYwC4OwAT555EZzpiyPYj3HVt1idNaQNazwsC7pf9A== X-Received: by 2002:a17:90a:53e4:b0:2a0:3724:6c70 with SMTP id y91-20020a17090a53e400b002a037246c70mr1191157pjh.39.1711492836017; Tue, 26 Mar 2024 15:40:36 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id sg17-20020a17090b521100b002a08ddb5bb3sm130502pjb.12.2024.03.26.15.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 15:40:35 -0700 (PDT) Date: Tue, 26 Mar 2024 15:40:34 -0700 From: Kees Cook To: Shuah Khan Cc: Muhammad Usama Anjum , Eric Biederman , Shuah Khan , Mark Brown , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] selftests/exec: execveat: Improve debug reporting Message-ID: <202403261540.8F0D7A0@keescook> References: <20240313185606.work.073-kees@kernel.org> <1dd87e89-2306-4669-844f-ffe9e56523b6@collabora.com> 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: On Tue, Mar 26, 2024 at 02:46:02PM -0600, Shuah Khan wrote: > On 3/14/24 02:54, Muhammad Usama Anjum wrote: > > On 3/13/24 11:56 PM, Kees Cook wrote: > > > Children processes were reporting their status, duplicating the > > > parent's. Remove that, and add some additional details about the test > > > execution. > > > > > > Signed-off-by: Kees Cook > > > --- > > > Cc: Eric Biederman > > > Cc: Shuah Khan > > > Cc: Mark Brown > > > Cc: Muhammad Usama Anjum > > > Cc: linux-mm@kvack.org > > > Cc: linux-kselftest@vger.kernel.org > > Reviewed-by: Muhammad Usama Anjum > > > > Applied to linux-kselftest fixes for the next rc. This is already part of the execve tree... -- Kees Cook