From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 9B61D376BE5 for ; Tue, 24 Feb 2026 15:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771945859; cv=none; b=OMUCSO0tPMEgWLBozNnWfpdD+Yn8Y6oQE8v0iCECzaom46Wne2QwJ+2BxvNFteRrnVL5md2hVEX+YqclRyX4yST8/6NWwQqkug6avYc8mvoo2iZfgJJJ8M2a4dIcsyi3gIw4zAOo0Jebc9BbRliEDnNj4zucZkFcLHjznclwIuc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771945859; c=relaxed/simple; bh=Yw++ySpwmZARZwDkHxFtsIMZXrLfykb7FK8NOCCtc9o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oOjaLBeMZ4ccP4fWhYHctc/gmFG2tG51dWuwhLXB9SbEOaJWr1zjqYfKGJMeuJKYEtmM2TVsHg8ei3cqe5x6TBO+ksCypA9IrTlhfZOFoAq2vk/e5ZHolJ6U8Yk7yL4gWoTIE2/sYttYJwc8VvnPxBokySsk1dDDxojoFeF1H1Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=MX/IrIVq; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=btAvDqr7; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MX/IrIVq"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="btAvDqr7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771945856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CWBmRFKI0tFktXtE/HuJ4+L1Im2+ihdnnfM72IEIXjQ=; b=MX/IrIVqMkw86AOkR8JyYlL19npBfM4zm7yXdMs4NwkOblUvTcvDbNoEzlS2qImjydCluq oa42RfzJ5ZjJAQ7jkzqEaRjqGEk0R5YWGqL0UGWlwUwc6jLUydjDyDZtue+fh9iEKX03P1 4S95+WykCQpY0liUWTIuYKPh0v43PJQ= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-329-dtGp69WgPHelun6lNZVHwA-1; Tue, 24 Feb 2026 10:10:54 -0500 X-MC-Unique: dtGp69WgPHelun6lNZVHwA-1 X-Mimecast-MFC-AGG-ID: dtGp69WgPHelun6lNZVHwA_1771945853 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-483101623e9so49170985e9.3 for ; Tue, 24 Feb 2026 07:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1771945853; x=1772550653; 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=CWBmRFKI0tFktXtE/HuJ4+L1Im2+ihdnnfM72IEIXjQ=; b=btAvDqr7vvNnFS4194jqRw4VC3ROpgBO6TygWYlhe6ZG9pJOhGvuaAIxz6x/RIaFM4 vfNUYADX7F4j+MDVdCRlXREZacwsIs5eeHNvPyRJtaoo/3h9U8pEFBU7rhjHsH2p/bDG 1swDCn9xmuN5nk4W19vrnQLSnQK9mJweJXsQwmj2kgltLdR2zoBvRI/qGy25NabkkUcP GsCJWJz/GMgqtphXCbaFuJhoq1vKao9HOwXcuqCIoPTERYrlXArwZPgRAnlJfp9arWg6 wWhMkLwalVmuhL3Q8MBjP2VpNLkx1mSR6LSqlkddtGLGKOzTqMvTlarl7YcgRUox6o8K h3rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771945853; x=1772550653; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CWBmRFKI0tFktXtE/HuJ4+L1Im2+ihdnnfM72IEIXjQ=; b=DR5FO69Nn+YwbJoQQcM0UBikBezjWu0YTSDCdVAzNqQRX63lTzipyJBh2uBQy3o1j/ mIc0cg161q8nF7V/Zt8XHqgAGetzdYPZv7PbSkSMAzG60El9OUUk9aH8H7P6UGPjocpO TUafu/GTu2j1cgggHqEGIh3MrPzL4UBJO8rsnQBa9fNaUiVZsL0YpbODO0J2BCHpidFj oVPrxO4yxSpRqPWFPu6pskiZU1lebgi6itV2e6MDZg0WAiUC6MoKOGMTnCGaF7EUeEaH xBkNeoVQV9FBAo2smH999J3VnL1GMU3/VKMo3bu+SIp/Aau2NKY4LJJGW31eTyHTzfpw LEYg== X-Forwarded-Encrypted: i=1; AJvYcCW+oeXL8f1PFXo+rNGiLs6gwob5K5gkmxoDS4S+JgffzTbQu+0ggE50Y89Kzob5VHvv1FnWb3dtncaO9UY=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3zNxwI6JuKOVty53vj4HMP3P6kdWVRbX4hvBFAoqvxKjtchy3 G1Or+RmcbJz3lHnvIm+150U72zW7Y7LPGBVZRgKXvChUWKnpzNG6tr5tJxdyvYPrRJQH4ux2v7p GgkFFxxNzJaMwlkSSPCpw7PZ6mVYLEtNn6nO1iqje6nXXlJ6GQ+6mJHeGHEKfDBZu5d+9LzAWgw == X-Gm-Gg: AZuq6aJDs3f4Ixd6RyIwyoJqUGx1ZaoEP+YIMw4J+hkh5raYm96fx9Wi1WCE99hNPnm tHpIKWLT9fcbcxJBpHPrr5wAxgSc+6kJ2m6Pz3MqdjFSAUQUzS9+S+VDGXWsUkbOtab9gIRLP48 3jA0msvH81T2CfCZlDvYfNvdAxDmPomfSwg6DdjAKRn9CQftt9utr/nP5D97NMacKr4GYLeRtsq UIlpaKGLth5O5u4kOwe+gzShDGo66seOJiaZqE4fA6TZpZXrVd0IL2Df6s/vCwxt4UXghRGqvLr wSjafcZYhHPDlKfSIhh1npcOTDEHJxd/P3ZYddXqvMOFDF3k9/wVBHhtQ2b2RaksGh5h5s8D0JK fFgylpj1hKyVekwXuDXXzg7sMBfhcpFDnNRFyQOE5u/WCEkzhQyLNqaSNz+M7ZveaG0YXvv4= X-Received: by 2002:a05:600c:1e1d:b0:480:f27c:6335 with SMTP id 5b1f17b1804b1-483a9637a55mr225647085e9.25.1771945853019; Tue, 24 Feb 2026 07:10:53 -0800 (PST) X-Received: by 2002:a05:600c:1e1d:b0:480:f27c:6335 with SMTP id 5b1f17b1804b1-483a9637a55mr225646485e9.25.1771945852482; Tue, 24 Feb 2026 07:10:52 -0800 (PST) Received: from sgarzare-redhat (host-82-53-134-58.retail.telecomitalia.it. [82.53.134.58]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483bd68826asm9484475e9.0.2026.02.24.07.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 07:10:51 -0800 (PST) Date: Tue, 24 Feb 2026 16:10:49 +0100 From: Stefano Garzarella To: Bobby Eshleman Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Stefan Hajnoczi , Shuah Khan , Bobby Eshleman , "Michael S. Tsirkin" , Jonathan Corbet , Shuah Khan , virtualization@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, kuniyu@google.com, ncardwell@google.com Subject: Re: [PATCH net v3 3/3] vsock: document write-once behavior of the child_ns_mode sysctl Message-ID: References: <20260223-vsock-ns-write-once-v3-0-c0cde6959923@meta.com> <20260223-vsock-ns-write-once-v3-3-c0cde6959923@meta.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; format=flowed Content-Disposition: inline In-Reply-To: <20260223-vsock-ns-write-once-v3-3-c0cde6959923@meta.com> On Mon, Feb 23, 2026 at 02:38:34PM -0800, Bobby Eshleman wrote: >From: Bobby Eshleman > >Update the vsock child_ns_mode documentation to include the new >write-once semantics of setting child_ns_mode. The semantics are >implemented in a preceding patch in this series. > >Signed-off-by: Bobby Eshleman >--- >Changes in v3: >- update language to clarify language that first value is locked, but subsequent > writes succeed. >--- > Documentation/admin-guide/sysctl/net.rst | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Stefano Garzarella > >diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/admin-guide/sysctl/net.rst >index c10530624f1e..3b2ad61995d4 100644 >--- a/Documentation/admin-guide/sysctl/net.rst >+++ b/Documentation/admin-guide/sysctl/net.rst >@@ -594,6 +594,9 @@ Values: > their sockets will only be able to connect within their own > namespace. > >+The first write to ``child_ns_mode`` locks its value. Subsequent writes of the >+same value succeed, but writing a different value returns ``-EBUSY``. >+ > Changing ``child_ns_mode`` only affects namespaces created after the change; > it does not modify the current namespace or any existing children. > > >-- >2.47.3 >