Date: Sun, 25 Mar 2001 15:32:56 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/nfsd nfsd.c Message-ID: <200103252332.f2PNWuI69209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/03/25 15:32:55 PST
Modified files:
sbin/nfsd nfsd.c
Log:
Don't call daemon() and setup our signal handlers until after we check
and do the unregister/reregister work.
Don't call syslog in the unregister/reregister code as we haven't called
openlog() yet.
Be a more conservative about accepting errno values from socket(2),
only EPROTONOSUPPORT means that the kernel isn't supporting it
something like INET6. The other possible errnos would be returned
if there was a mistake in the socket(2) call so remove them from the
list of "acceptable" return values.
Revision Changes Path
1.19 +35 -42 src/sbin/nfsd/nfsd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103252332.f2PNWuI69209>
