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.h287 WRITE_ONCE(net->vsock.child_ns_mode, mode); in vsock_net_set_child_mode()
296 return READ_ONCE(net->vsock.child_ns_mode); in vsock_net_child_mode()
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst581 child_ns_mode chapter
585 creation, ``ns_mode`` is inherited from the parent's ``child_ns_mode``. The
597 The first write to ``child_ns_mode`` locks its value. Subsequent writes of the
600 Changing ``child_ns_mode`` only affects namespaces created after the change;
604 ``child_ns_mode`` to ``global`` (returns ``-EPERM``).
/linux/tools/testing/selftests/vsock/
H A Dvmtest.sh215 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null
218 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null
1253 tee /proc/sys/net/vsock/child_ns_mode &>/dev/null; then
/linux/net/vmw_vsock/
H A Daf_vsock.c2845 net = container_of(table->data, struct net, vsock.child_ns_mode); in vsock_net_child_mode_string()
2877 .data = &init_net.vsock.child_ns_mode,
2896 table[1].data = &net->vsock.child_ns_mode; in vsock_sysctl_register()
2930 net->vsock.child_ns_mode = net->vsock.mode; in vsock_net_init()