Remove cpath pledge(2) promise. We decided that not deleting the unix control
authormestre <mestre@openbsd.org>
Sun, 5 Aug 2018 08:16:24 +0000 (08:16 +0000)
committermestre <mestre@openbsd.org>
Sun, 5 Aug 2018 08:16:24 +0000 (08:16 +0000)
commiteea063d2bd2142b90b55603a38bc5656ba13d7ec
tree43c4201c1ec259d9eb3072ae6767ba6075adbe8d
parentd0f844f18a158f99a8c18502965d7944f3977dd5
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.

OK akoshibe@ florian@
usr.sbin/switchd/control.c
usr.sbin/switchd/proc.c
usr.sbin/switchd/proc.h