diff options
author | asomers <asomers@FreeBSD.org> | 2014-08-14 22:33:56 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2014-08-14 22:33:56 +0000 |
commit | c511ec0ad85c2a70edc55e4d611ddcb3314bd7f2 (patch) | |
tree | c8d1cc74dacd9acb180d0594625e77b0a617569c /etc/mtree | |
parent | c280bfb95ca144802000a145b6fab32c01e7c8d6 (diff) | |
download | FreeBSD-src-c511ec0ad85c2a70edc55e4d611ddcb3314bd7f2.zip FreeBSD-src-c511ec0ad85c2a70edc55e4d611ddcb3314bd7f2.tar.gz |
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
Diffstat (limited to 'etc/mtree')
-rw-r--r-- | etc/mtree/BSD.tests.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 3c561bb..5438176 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -105,6 +105,8 @@ sbin dhclient .. + devd + .. growfs .. mdconfig |