Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/04/2000 22:58:48
Module Name:	basesrc
Committed By:	thorpej
Date:		Mon Jun  5 05:58:47 UTC 2000

Modified Files:
	basesrc/lib/libc/rpc: svc_vc.c

Log Message:
- An initialized variable kept LOCAL_CREDS from being set on
  the listen socket properly.  This caused spurious rpcbind(8)
  failures.
- Don't define a "credmsg" structure.  Instead, dynamically
  allocate a buffer of the correct size of the message with
  CMSG_SPACE() and free it when we're done.  This gets the
  size of the buffer right on LP64 platforms, which has padding
  for alignment thrown in.
- Check for non-present or truncated cred messages when recvmsg(2)
  returns.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/lib/libc/rpc/svc_vc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.