diff options
| author | Bobby Eshleman <bobbyeshleman@meta.com> | 2026-02-23 14:38:34 -0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-02-26 11:10:03 +0100 |
| commit | b6302e057fdc8f199ddae736ecdf45029f892e5c (patch) | |
| tree | d00d3bb96d13214ca2a927071ef16b3e8d135c95 | |
| parent | 102eab95f025b4d3f3a6c0a858400aca2af2fe52 (diff) | |
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>
| -rw-r--r-- | Documentation/admin-guide/sysctl/net.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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. |
