Home
last modified time | relevance | path

Searched refs:child_ns_mode (Results 1 – 5 of 5) sorted by relevance

/linux/include/net/netns/
H A Dvsock.h19 enum vsock_net_mode child_ns_mode; member
/linux/include/net/
H A Daf_vsock.h297 WRITE_ONCE(net->vsock.child_ns_mode, mode); in vsock_net_set_child_mode()
306 return READ_ONCE(net->vsock.child_ns_mode); in vsock_net_child_mode()
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst536 child_ns_mode
540 creation, ``ns_mode`` is inherited from the parent's ``child_ns_mode``. The
552 The first write to ``child_ns_mode`` locks its value. Subsequent writes of the
555 Changing ``child_ns_mode`` only affects namespaces created after the change;
559 ``child_ns_mode`` to ``global`` (returns ``-EPERM``).
581 child_ns_mode global() chapter
/linux/tools/testing/selftests/vsock/
H A Dvmtest.sh91 "Check /proc/sys/net/vsock/ns_mode is read-only and child_ns_mode is writable."
217 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null
220 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null
1302 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null; then
/linux/net/vmw_vsock/
H A Daf_vsock.c93 * - /proc/sys/net/vsock/child_ns_mode (write-once) controls what mode future
97 * Changing child_ns_mode only affects newly created namespaces, not the
99 * child_ns_mode to "global". child_ns_mode is write-once, so that it may be
102 * is inherited from the parent's child_ns_mode.
105 * child_ns_mode is also write-once, so an init process (e.g. systemd) can
2880 net = container_of(table->data, struct net, vsock.child_ns_mode); in vsock_net_child_mode_string()
2911 .procname = "child_ns_mode",
2912 .data = &init_net.vsock.child_ns_mode,
2940 table[1].data = &net->vsock.child_ns_mode; in vsock_sysctl_register()
[all...]