bin/115430: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Mon Aug 13 08:10:08 PDT 2007


The following reply was made to PR bin/115430; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/115430: commit references a PR
Date: Mon, 13 Aug 2007 15:04:46 +0000 (UTC)

 truckman    2007-08-13 15:04:39 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.sbin/rpc.statd   file.c 
   Log:
   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
   
   Revision  Changes    Path
   1.8       +1 -1      src/usr.sbin/rpc.statd/file.c
 _______________________________________________
 cvs-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list