If the called of ypconnect(2) is root, the socket should acquire a
authorderaadt <deraadt@openbsd.org>
Wed, 7 Dec 2022 01:02:28 +0000 (01:02 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 7 Dec 2022 01:02:28 +0000 (01:02 +0000)
commit28141d3d274b8eca124c3a4f4efaf8f6e38e134d
tree672822ef9ab8247b53d0ed475e07b79216c91db4
parent2ed3dc7b4786140b95b6392404c4b99bb5852d7d
If the called of ypconnect(2) is root, the socket should acquire a
reserved port to received secure-maps from the ypserver.
issue found by niklas, using a simpler diff i proposed
ok miod
sys/kern/uipc_syscalls.c