From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB43683CBA; Mon, 29 Apr 2024 17:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714411009; cv=none; b=DWDoVNBN50RGlvVRhx0dnoi1i6KC1k+Gu38n4pEjBDkgfhj+E+++xyYGE0Fj6fA8R/i1QpMSdb8wlK90k0kqHGKyB4xU9GIYA4T1bKYLGRrGRpZQGFn0tIndARF4cTm3wMS6Eupt0FU3lWZ4zCf3/tq98O3UDp2Q9t64YJSrBWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714411009; c=relaxed/simple; bh=Jf99MEr0EpcNQAp05QOEx0Ed6w8E09DIYgzKMwWYMdI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=phoYOXISRSMn0Ea87bqfp/asPpN0hWsjTJGSTf8kBvWwWsFCdjfP/k3J8x6qw2cgkhGlRyLYyRNkComGBBhLPF7EZ7f0JAdSiKu7Zd9t+RO8U3TJ2GLwF1msc4YPkuNnrcclEvugQF1rXMInzhJizMwY4rmZkGb1E/Khwbgq6xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mUJtqOK1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mUJtqOK1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8A6DC113CD; Mon, 29 Apr 2024 17:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714411009; bh=Jf99MEr0EpcNQAp05QOEx0Ed6w8E09DIYgzKMwWYMdI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mUJtqOK1t9bYyIOz16i4YaVlAB03uNUlv1ln53D5j8C0+THNP26tsWaytERDaM8bl sF+HbyO4U2QD0MU/QpCaZkoL7LJ6keopNVaReHU7RuG7ojYW5lTuH6eBX1jE0bdWry WFC+qAI/oHyK1d9HWAOMr9v2Q/b0E1rvFjNP8zfUk7XGSC6aeht1J6jah9WuSnHMVB nSWf2XEGpuR66IOUTIyS1PEap9vOw+NHORGWN6CdfYjSKkAr3Otsd/tn/spJUfyXvb 3wUAifAU8XmvX2WtrDRsBJn984bQMMtmx8izdAa53uD0mSqBcdcPP79n+Lt5A5oZva Zpx80WQrAgT8w== Date: Mon, 29 Apr 2024 10:16:47 -0700 From: Jakub Kicinski To: Kees Cook Cc: =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Christian Brauner , Mark Brown , Shengyu Li , Shuah Khan , "David S . Miller" , =?UTF-8?B?R8O8bnRoZXI=?= Noack , Will Drewry , kernel test robot , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 4/9] selftests/harness: Fix interleaved scheduling leading to race conditions Message-ID: <20240429101647.756a1ac7@kernel.org> In-Reply-To: <202404290852.C327596A@keescook> References: <20240429130931.2394118-1-mic@digikod.net> <20240429130931.2394118-5-mic@digikod.net> <202404290852.C327596A@keescook> 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-Transfer-Encoding: 7bit On Mon, 29 Apr 2024 08:52:36 -0700 Kees Cook wrote: > > +/* Wait for the child process to end but without sharing memory mapping. */ > > +static pid_t __attribute__((__unused__)) clone3_vfork(void) > > Why "unused"? Right, static inline is enough