From 99c9166015cb50a6814489ec28d2988e688d4879 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 16 Aug 2006 18:33:35 +0000 Subject: Use setproctitle(3) to provide identification of the client and server processes created by rpc.lockd. MFC after: 1 week --- usr.sbin/rpc.lockd/kern.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/rpc.lockd') diff --git a/usr.sbin/rpc.lockd/kern.c b/usr.sbin/rpc.lockd/kern.c index 6073f55..9a39e8f 100644 --- a/usr.sbin/rpc.lockd/kern.c +++ b/usr.sbin/rpc.lockd/kern.c @@ -147,8 +147,10 @@ client_request(void) case -1: err(1, "fork"); case 0: + setproctitle ("client"); break; default: + setproctitle ("server"); return (child); } -- cgit v1.1