Netdev List
 help / color / mirror / Atom feed
* AF_VSOCK unimplemented sockopts
@ 2017-08-03 10:41 Stefan Hajnoczi
  2017-08-11  9:23 ` Jorgen S. Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2017-08-03 10:41 UTC (permalink / raw)
  To: Jorgen Hansen; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

Hi Jorgen,
There are 3 sockopts defined in include/uapi/linux/vm_sockets.h that are
currently not implemented in net/vmw_vsock/af_vsock.c:

 * SO_VM_SOCKETS_PEER_HOST_VM_ID
 * SO_VM_SOCKETS_TRUSTED
 * SO_VM_SOCKETS_NONBLOCK_TXRX

I noticed this because SO_VM_SOCKETS_TRUSTED is interesting for
virtio-vsock.  Services listening on AF_VSOCK inside the guest may not
want arbitrary unprivileged host processes to connect.  Instead of
inventing a new solution I wanted to look into SO_VM_SOCKETS_TRUSTED but
found it is not implemented in linux.git.

What is the status of these sockopts?

Thanks,
Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-15  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 10:41 AF_VSOCK unimplemented sockopts Stefan Hajnoczi
2017-08-11  9:23 ` Jorgen S. Hansen
2017-08-15  8:36   ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox