Revert back previous commit, we have decided that socket files don't cause any
authormestre <mestre@openbsd.org>
Sat, 4 Aug 2018 11:07:14 +0000 (11:07 +0000)
committermestre <mestre@openbsd.org>
Sat, 4 Aug 2018 11:07:14 +0000 (11:07 +0000)
commitbf3450a9cfcd43400ed9ded8f001b182d471a264
treeeebea29fb6033a9302be64bf896bd829c3e60029
parent1258db737c3fbca31589b8d71c917f93a340b8ba
Revert back previous commit, we have decided that socket files don't cause any
harm if not deleted after the daemon is shutdown and at the same time we also
tackle another attack surface by not allowing the program to create/delete
any more files (by removing "cpath" promise from pledge(2)).

Discussion initiated by a question from deraadt@ OK florian@
usr.sbin/ntpd/control.c
usr.sbin/ntpd/ntpd.c
usr.sbin/ntpd/ntpd.h