freebsd-dev/usr.sbin/rpc.statd
Don Lewis 098935f8d5 If the mmap() call in rpc.statd fails, rpc.statd prints a warning
message and then dumps core because the subsequent code assumes that
mmap() succeeded.  Since rpc.statd does not have fallback code to
implement the functionality needed to operate on the status file if
it is not memory mapped, rpc.statd should use err() to force the process
to exit if the mmap() call fails.

PR:		bin/115430 (mmap() failure previously fixed in statd.c 1.15)
Approved by:	re (kensmith)
MFC after:	1 week
2007-08-13 15:04:39 +00:00
..
file.c If the mmap() call in rpc.statd fails, rpc.statd prints a warning 2007-08-13 15:04:39 +00:00
Makefile Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
procs.c Make rpc.statd INET* indipendent by converting sockaddr_in structures 2007-04-02 18:59:48 +00:00
rpc.statd.8 Add the "-p" option, which allows to specify a port which the daemon 2007-04-03 21:15:00 +00:00
statd.c The call to init_file() needs to be moved outside the loop in statd.c, 2007-08-05 16:33:06 +00:00
statd.h
test.c