Skip to content

Commit b6302e0

Browse files
beshlemanPaolo Abeni
authored andcommitted
vsock: document write-once behavior of the child_ns_mode sysctl
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 <bobbyeshleman@meta.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://patch.msgid.link/20260223-vsock-ns-write-once-v3-3-c0cde6959923@meta.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 102eab9 commit b6302e0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • Documentation/admin-guide/sysctl

Documentation/admin-guide/sysctl/net.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,9 @@ Values:
594594
their sockets will only be able to connect within their own
595595
namespace.
596596

597+
The first write to ``child_ns_mode`` locks its value. Subsequent writes of the
598+
same value succeed, but writing a different value returns ``-EBUSY``.
599+
597600
Changing ``child_ns_mode`` only affects namespaces created after the change;
598601
it does not modify the current namespace or any existing children.
599602

0 commit comments

Comments
 (0)