/var/run/ypbind.lock doesn't need to be created with an advisory lock anymore,
authorderaadt <deraadt@openbsd.org>
Sun, 17 Jul 2022 03:12:20 +0000 (03:12 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 17 Jul 2022 03:12:20 +0000 (03:12 +0000)
commit95e50ed9e97f3d4aa5a3f30b642116c39a94e0a2
tree8215dce8437115b87b412114184ee73019fed1f8
parentfa136f0389f3685de9d2a20d99ff580a276303aa
/var/run/ypbind.lock doesn't need to be created with an advisory lock anymore,
because libc & pledge() doesn't care.
libc now calls ypconnect(), which still cares about the advisory lock on
/var/yp/bindings/$domain.2, so that code remains.
ok jmatthew miod
usr.sbin/ypbind/ypbind.c