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:
parent
0d1fe37a04
commit
c6d0f16db1
@ -147,8 +147,10 @@ client_request(void)
|
||||
case -1:
|
||||
err(1, "fork");
|
||||
case 0:
|
||||
setproctitle ("client");
|
||||
break;
|
||||
default:
|
||||
setproctitle ("server");
|
||||
return (child);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user