PROBLEM: (79815, 80599, BCSM31G03) (PATCH ID: OSF445-124) ******** This patch fixes a problem in rpc.lockd where the FCNTL () function fails to lock nfs mounted directories. PROBLEM: (95967, 84881, 90712, 88451, 73615) (PATCH ID: OSF445-678) ******** This patch fixes three issues with rpc.lockd dealing with replies to message passing RPCs, requests from hosts with multiple IP addresses and grant messages issued to down clients. Message passing RPC replies would be sent to the IP address of the lock's "caller_name" field instead of to the call message's source. This patch fixes that problem. This patch also addresses problems handling requests from clients with multiple IP addresses for its hostname. This patch further addresses the situation when granted messages are sent to a down server. Finally, this patch uses mkstemp for temporary file creation.