diff options
author | Robert Wing <rew@FreeBSD.org> | 2021-03-08 00:23:29 +0000 |
---|---|---|
committer | Robert Wing <rew@FreeBSD.org> | 2021-03-08 00:23:29 +0000 |
commit | 38dfb0626fd35c64b2e2d5faae2c90e7981a3307 (patch) | |
tree | 6ad0a6eb51932390b2c13dcd74b3fd52191e40ff /contrib/openpam/INSTALL | |
parent | 0424d9ebeb17d669f680c696f0d741b714461b4c (diff) | |
download | src-38dfb0626fd35c64b2e2d5faae2c90e7981a3307.tar.gz src-38dfb0626fd35c64b2e2d5faae2c90e7981a3307.zip |
bhyve/snapshot: use SOCK_DGRAM instead of SOCK_STREAM
The save/restore feature uses a unix domain socket to send messages
from bhyvectl(8) to a bhyve(8) process. A datagram socket will suffice
for this.
An added benefit of using a datagram socket is simplified code. For
bhyve, the listen/accept calls are dropped; and for bhyvectl, the
connect() call is dropped.
EPRINTLN handles raw mode for bhyve(8), use it to print error messages.
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D28983
Diffstat (limited to 'contrib/openpam/INSTALL')
0 files changed, 0 insertions, 0 deletions