Before ypconnect(2) addition, "getpw" was a horrible "hole" that triggered
authorderaadt <deraadt@openbsd.org>
Mon, 8 Aug 2022 01:53:01 +0000 (01:53 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 8 Aug 2022 01:53:01 +0000 (01:53 +0000)
commit872aa40061f74843b17033e4a5e03135e58206d1
treedcaa191774a4d433bd4e03bf625cda3304e1bf29
parent0403d5bcc6af6e3b8d03ad1c6de319d5acc58295
Before ypconnect(2) addition, "getpw" was a horrible "hole" that triggered
on libc trying to open /var/run/ypbind.lock, so pledge had to BYPASSUNVEIL
accesses to this file.  We accepted the opening of that file for a small
period for build cross-over, but that waiting period ends now.
sys/kern/kern_pledge.c