summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-source-file.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-10-16 00:08:31 +0000
committertedu <tedu@openbsd.org>2016-10-16 00:08:31 +0000
commit3a558f8b13921d7492532b5e9e63126a33442ff8 (patch)
tree999f0d6870aa1c91a939fb4bee5cea350bb1ace0 /usr.bin/tmux/cmd-source-file.c
parentOnly use pane with run-shell if -t is given. (diff)
downloadwireguard-openbsd-3a558f8b13921d7492532b5e9e63126a33442ff8.tar.xz
wireguard-openbsd-3a558f8b13921d7492532b5e9e63126a33442ff8.zip
switch to a re-exec model instead of plain forking to reduce sharing.
this shuffles about some of the initialization code and consolidates all the worker initialization in one place. the parent process runs the monitor loop and execs workers via -W, which then drop immediately into the worker loop. file descriptors currently inherited across exec, which probably exceeds safe magic levels, but fits the existing model without too many changes.
Diffstat (limited to 'usr.bin/tmux/cmd-source-file.c')
0 files changed, 0 insertions, 0 deletions