Use setproctitle(3) to provide identification of the client and server

processes created by rpc.lockd.

MFC after:	1 week
This commit is contained in:
Thomas Quinot 2006-08-16 18:33:35 +00:00
parent 0d1fe37a04
commit c6d0f16db1

View File

@ -147,8 +147,10 @@ client_request(void)
case -1:
err(1, "fork");
case 0:
setproctitle ("client");
break;
default:
setproctitle ("server");
return (child);
}