From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C208C02182 for ; Mon, 20 Jan 2025 22:00:42 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4YcPRF3sgmz30KY; Tue, 21 Jan 2025 09:00:41 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2604:1380:45d1:ec00::3" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1737410441; cv=none; b=erqj2rd5gLJ+Q9FrfNym3NPdXIGEKq30deGldRe8uUirAkBaLJ4NJTf8zlpZ5O0WnNEJi9jqaHn/Zz5v572/I/g8OW1oFWR/KR5OKWOs1RJ8EPGD4bvP6oqsBlCeDVF8p8KA7eJScwrU5T3waxQhUWojyUwuufZaaanmfhT4eY/hzGjgOQJrYjYMEJt3jiGQMycxZRjndWhOblapV/VVJp4ybn7efbHnt3qLcs7g5QS7jRXJOozF5WOzaWf1CJ9zxyqqwgsc41rn4w/4ZVF7yZPwWiC6V9rmKSgBAnCuaqXuJs9/Mx/d6Bd/pycMhXh5U92hq5ma5uTSs7iBcgLFZA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1737410441; c=relaxed/relaxed; bh=0VBzDlbXYdy/UmsV+7csHAfHvMtvGzDQ7LSEmakNkrQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ITcXLbu7ssGemJD0lpqaWVoAGoqUcDnYnMJwmfiGDpVOcROs6htTqJEcAIZDD0CnvQSq7ZTdmrUhaSgLL/OJLJQBxkLAgxRCSQ6G5Yam2CHYQ5WHNb0e+0IuQHihqgOw+URNP8V0dhjfvcajHE/oNLTOey4SJlw8c6uyW9omFA6icnnMpimGXPGHTLDNaVf6rm+1NxIY4eLAuGLZoojODDLRCf1oD/efRpCIawz2oDiVl+FGYea8XGKbLDKg/lUqvjTZcPBLKOHub+cfJV4sW1u8O77LegHllwHaO3Dq6ITkvZDc2AmRjHfzxDsHR/OktZl5r7mlDhOAdyq+DNLHdg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=KSz3FXjO; dkim-atps=neutral; spf=pass (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=kees@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=KSz3FXjO; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=kees@kernel.org; receiver=lists.ozlabs.org) Received: from nyc.source.kernel.org (nyc.source.kernel.org [IPv6:2604:1380:45d1:ec00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4YcPRD6q62z30Hf for ; Tue, 21 Jan 2025 09:00:40 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 44490A406A6; Mon, 20 Jan 2025 21:58:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CE52C4CEDD; Mon, 20 Jan 2025 22:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737410438; bh=QydTgFx2tlV3wKwstA1o+PHgPAeyZHx6Y5RneVhyBxY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KSz3FXjOnhJSy+OViALjtWEPph6mytJgOz7i+y2ylB3MRrDTtCgGvj0l0Q7+IrAp3 FDZjbc0e4xG5lsHdKOy5Np6xziYExDu53QsRIY3Es3iEy+LN5e9HYrOjhH9FZJ+1J0 VTMd8hZDRbZTSxa3X2V/4ff5u3s0fwEtbQxq9bnIcUte1Kp7xJaCFimsbXMH2q2qS2 yTG4CSaiUXI3AA0MRE0BAOyPOvxH3N0B0Np1MxXQnJ5PCmA1KcqRl4Yxtz5eHVYtLU fgOU6Ej9LTu906sGjQPavBoyxR8u0j/cNfI6mR/ymR4X++b35Z3gtnzba6AzrLVCOb XiMhu1kEiP31Q== Date: Mon, 20 Jan 2025 14:00:35 -0800 From: Kees Cook To: Oleg Nesterov Cc: Andy Lutomirski , Will Drewry , Thomas Bogendoerfer , Madhavan Srinivasan , Michael Ellerman , Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 4/4] seccomp: remove the 'sd' argument from __seccomp_filter() Message-ID: <202501201400.3518CED7C@keescook> References: <20250120134409.GA21241@redhat.com> <20250120134505.GA21290@redhat.com> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250120134505.GA21290@redhat.com> On Mon, Jan 20, 2025 at 02:45:05PM +0100, Oleg Nesterov wrote: > After the previous change 'sd' is always NULL. > > Signed-off-by: Oleg Nesterov Reviewed-by: Kees Cook -- Kees Cook