Delete the YPACTIVE toggling code when "getpw" code access/open are done to
authorderaadt <deraadt@openbsd.org>
Mon, 18 Jul 2022 17:45:46 +0000 (17:45 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 18 Jul 2022 17:45:46 +0000 (17:45 +0000)
commit5c5d783283c9458e365e37184bd964f0ac3ed5aa
tree7e9bdd7a2f40f48c30955404cd9fb97f1ee784af
parentfa72fed3834f22993f8a8523767e25647afe0528
Delete the YPACTIVE toggling code when "getpw" code access/open are done to
/var/run/ypbind.lock.  "getpw" is now only allows ypconnect(2) and the minimum
unveil bypasses.
Still allow open/acesss to file for a little while, because getpwent/getgrent/etc
were opening it unconditionally to hint for YPACTIVE.
That code should be deleted before 7.2
sys/kern/kern_pledge.c
sys/sys/pledge.h