Rename socket wait channels when sleeping.
authorbluhm <bluhm@openbsd.org>
Thu, 25 Apr 2024 17:32:53 +0000 (17:32 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 25 Apr 2024 17:32:53 +0000 (17:32 +0000)
commit876c1a079433e9865eb1ca0b12e99aeb2723603d
treef1ce30ba72d6e9189748cc61a8bf073517bd6f94
parent1c5e8a2973e5b53672057252a9fafcac41dc28a4
Rename socket wait channels when sleeping.

Use "netacc" for accept(2) and "netcon" for connect(2).  Call sleep
in sys_ypconnect() "ypcon" to make it unique.  sblock() now has
"sblock" to distinguish it from netlock.

OK claudio@ mvs@ kn@
sys/kern/uipc_socket2.c
sys/kern/uipc_syscalls.c