mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
33e6392fce
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
26 lines
317 B
Makefile
26 lines
317 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG_CXX=devd
|
|
SRCS= devd.cc token.l parse.y y.tab.h
|
|
MAN= devd.8 devd.conf.5
|
|
|
|
WARNS?= 3
|
|
|
|
NO_SHARED?=YES
|
|
|
|
DPADD= ${LIBL} ${LIBUTIL}
|
|
LDADD= -ll -lutil
|
|
|
|
YFLAGS+=-v
|
|
CFLAGS+=-I. -I${.CURDIR}
|
|
|
|
CLEANFILES= y.output
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|