Remove cpath pledge(2) promise. We decided that not deleting the unix control
authormestre <mestre@openbsd.org>
Sun, 5 Aug 2018 09:33:13 +0000 (09:33 +0000)
committermestre <mestre@openbsd.org>
Sun, 5 Aug 2018 09:33:13 +0000 (09:33 +0000)
commit4480d17bd1445ce355199aae931b874dc0fced14
tree833d709df2428b8e972cc1d9e7c0e83bc4a63336
parentcd04ef62831cef188ab431d4333660da1fde01bf
Remove cpath pledge(2) promise. We decided that not deleting the unix control
sockets cause no harm and this way we close another attack surface by not
allowing the daemon to create/delete any more files.

While here also scramble pledge promises to their canonical form.

OK florian@
usr.sbin/snmpd/control.c
usr.sbin/snmpd/proc.c
usr.sbin/snmpd/snmpd.c
usr.sbin/snmpd/snmpd.h