diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2014-08-14 22:33:56 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2014-08-14 22:33:56 +0000 |
| commit | c060b30250b3b666ae19dc91192abdfc89250b62 (patch) | |
| tree | 963f29830f563a411f68c88b71743f4d31e4af9b | |
| parent | 7c572a56f392c33e60cf546c4fc40bbd5eb47353 (diff) | |
| parent | 951482ac3f45859a8ad6913d7f49cb97c7cb847c (diff) | |
| download | pw-darwin-c060b30250b3b666ae19dc91192abdfc89250b62.tar.gz pw-darwin-c060b30250b3b666ae19dc91192abdfc89250b62.zip | |
Convert devd's client socket to type SOCK_SEQPACKET.
This change consists of two merges from projects/zfsd/head along with the
addition of an ATF test case for the new functionality.
sbin/devd/tests/Makefile
sbin/devd/tests/client_test.c
Add ATF test cases for reading events from both devd socket types.
r266519:
sbin/devd/devd.8
sbin/devd/devd.cc
Create a new socket, of type SOCK_SEQPACKET, for communicating with
clients. SOCK_SEQPACKET sockets preserve record boundaries,
simplying code in the client. The old SOCK_STREAM socket is retained
for backwards-compatibility with existing clients.
r269993:
sbin/devd/devd.8
Fix grammar bug.
CR: https://reviews.freebsd.org/rS266519
MFC after: 5 days
Sponsored by: Spectra Logic
0 files changed, 0 insertions, 0 deletions
