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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161364
@ -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