freebsd-skq/sbin/devd
asomers 5efc9173fa MFC devd-related changes
r270004
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.

r270019 (from bz)
Remove bogus ; at the end of the if condition in order to unbreak gcc builds
  after r270004.

  MFC after:    4 days
  X-MFX with:   r270004
2014-08-20 19:30:58 +00:00
..
tests MFC devd-related changes 2014-08-20 19:30:58 +00:00
devd.8 MFC devd-related changes 2014-08-20 19:30:58 +00:00
devd.cc MFC devd-related changes 2014-08-20 19:30:58 +00:00
devd.conf.5 Reflect CARP media-type departure. 2013-02-21 21:35:09 +00:00
devd.h According to devctl(4), clients must read events whole; they may not 2013-04-26 19:49:37 +00:00
devd.hh devd: Remove unnecessary empty default constructors. 2013-03-04 02:21:24 +00:00
Makefile MFC devd-related changes 2014-08-20 19:30:58 +00:00
parse.y Fix world after byacc import: 2012-05-22 16:33:10 +00:00
token.l Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00