summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormestre <mestre@openbsd.org>2020-06-22 15:09:34 +0000
committermestre <mestre@openbsd.org>2020-06-22 15:09:34 +0000
commitb0e92afdb4c1febd6a9c51d593bd84477c9b51f6 (patch)
tree9ae9916a466ffd0db027ffe1d2498bee84f9b860 /sys
parentSome connectors attach late when the drm driver is registers. For (diff)
downloadwireguard-openbsd-b0e92afdb4c1febd6a9c51d593bd84477c9b51f6.tar.xz
wireguard-openbsd-b0e92afdb4c1febd6a9c51d593bd84477c9b51f6.zip
On my previous commit I made the wrong assumption that the control socket was
being unlink(2)ed from the main proc so I removed "cpath" from the pledge(2) on the ldpe proc but actually the socket was unlink(2)ed from here, this means the daemon would crash on exit due to pledge(2) not having "cpath" permissions anymore. Finish the job by just not deleting the socket at all during control_cleanup(), which keeps the control program still working without issues but more importantly prevents the crash during exit, sorry about that. Crash reported by wlund at iki.fi OK deraadt@ claudio@ remi@
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions