freebsd-dev/lib/libdevdctl
Alexander Motin e49d3eb403 Fix race in case of device destruction.
During device destruction it is possible that open() succeed, but
fdevname() return NULL, that can't be assigned to string variable.
Fix that by adding explicit NULL check.

Also while there switch from fdevname() to fdevname_r().

Sponsored by:	iXsystems, Inc.
MFC after:	2 weeks
2021-04-13 11:25:27 -04:00
..
tests Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc 2017-01-20 04:55:14 +00:00
consumer.cc directly create the socket with SOCK_NONBLOCK instead of calling fcntl(2) 2016-10-15 13:16:52 +00:00
consumer.h Coverity fixes for r300906 2016-05-31 23:26:45 +00:00
event_factory.cc
event_factory.h
event.cc Fix race in case of device destruction. 2021-04-13 11:25:27 -04:00
event.h libdevdctl: minor spelling fixes. 2016-05-30 19:25:00 +00:00
exception.cc
exception.h
guid.cc
guid.h libdevdctl: g++9 avoid Wdeprecated-copy 2019-12-21 02:44:26 +00:00
Makefile Another round of attempting to squelch -Wdeprecated-declarations, which 2019-09-17 06:07:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00