summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/experimental/filesystem/operations.cpp
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-09-03 16:22:17 +0000
committerrenato <renato@openbsd.org>2016-09-03 16:22:17 +0000
commit51512aa9ed17e49d6e8cbedfb86ca21e57952312 (patch)
treecf9faf28a674361b84946c445c0d0abdf74531af /lib/libcxx/src/experimental/filesystem/operations.cpp
parentThe iwm code was torn between 'error' and 'err'; error -> err everywhere (diff)
downloadwireguard-openbsd-51512aa9ed17e49d6e8cbedfb86ca21e57952312.tar.xz
wireguard-openbsd-51512aa9ed17e49d6e8cbedfb86ca21e57952312.zip
Simplify shutdown process.
On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. ok benno@ claudio@
Diffstat (limited to 'lib/libcxx/src/experimental/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions