From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5867737C92B for ; Tue, 23 Jun 2026 19:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782241883; cv=none; b=kTKj+k/DYtvsr8TS4VK9vlLx/BHszgGrSBw8feGuAI90wp1+p0eRLvmDTRY0QG6CA6nuXrogZG+THhLqFV8xZGlGjckECYXqvsQncU39iUVF8xt9tgG7xHw5l2/jAYlcG71MkrPaIquS0rjx7GurrBBDmTJmTLH0+2YAo9ko+nM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782241883; c=relaxed/simple; bh=GYyK0XQngY7bl5gh4ISkDtC/m76qiLLB2y9lNBsBNw4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Eau9cOicEZj/ehmpGV2OPIMtVN6hh1BiESPNv//HEJJUwob2Pdb+elhdrBQpKaoa/vepr0oVbzNtAhFstvAerMyV8uxqgsuOcu3NclgpX/BaQUftJWXBskhfTVMpvTKk5WEtV4qIBnLQfzg7LwzfjWIyVYRoHHUxFRML5U92pwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zc+8AROl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Zc+8AROl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBC071F000E9; Tue, 23 Jun 2026 19:11:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782241881; bh=ZR7OT3XyjupsTt7essTpOcQFyuphYN1OPI6s8K6AX50=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Zc+8AROlTpv3r95abPEZ5ZlJiYEfQ3dOzZ7XZR1QZzirCLFRIMUEkQ2GySgF8AO7J Jnf1SvVUigllb/xwLBAGwM09MPHuetW/SaslHpBMhb0V73/o/vLM1OtYapzCTmfwHL xq/5kWmYN5uKoqCSH4F21llPY+uRIzzA57PBGpg4x/cOPXj6wg7/EH7EGEUdce9VJt MRbfguQhoB40fvDTSNLZKotGcSo9iyLOESJpNiIl5he0S4wtH2C+UfPuT7RgTlhXyD TRWSGBEvrcHSJSVifzQCH/YbkxDAs0LXeczcHgMXumIyf/m6SssI80o+LBDG2nRIOx ofaMe/BZD4n9Q== Date: Tue, 23 Jun 2026 12:11:21 -0700 From: Kees Cook To: Cong Wang Cc: Andy Lutomirski , linux-kernel@vger.kernel.org, Will Drewry , Christian Brauner Subject: Re: [RFC PATCH v3 2/3] seccomp: add kernel-installed pinned-memfd redirect Message-ID: <202606231206.EF1A049019@keescook> References: <20260613001533.314739-1-xiyou.wangcong@gmail.com> <20260613001533.314739-3-xiyou.wangcong@gmail.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, Jun 23, 2026 at 12:02:32PM -0700, Andy Lutomirski wrote: > I'm really not convinced that the min is needed to preserve any useful > behavior. But Kees is very conservative about these things, with good > reason. What is going to use this feature? I'd rather not try to have a USER_NOTIF security boundary since there are so many corner cases. -- Kees Cook