aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-23 14:39:30 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-23 14:39:30 +0000
commitacedc2dcf2673cf199ba1ba08705dc8fd270c0c7 (patch)
treef51d5c52a93e0f6f2fba161d87e0cd0ac7230ea0 /cmd-set-option.c
parentc40d8cbda4c391008b4c46d211d6f3c09accd81a (diff)
downloadrtmux-acedc2dcf2673cf199ba1ba08705dc8fd270c0c7.tar.gz
rtmux-acedc2dcf2673cf199ba1ba08705dc8fd270c0c7.tar.bz2
rtmux-acedc2dcf2673cf199ba1ba08705dc8fd270c0c7.zip
Sync OpenBSD patchset 345:
Don't attempt to open() the tty path, rely on the client sending its stdin fd with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init instead of tty_open to prevent them leaking into child processes if any are created between the two calls. This bumps the protocol version, so the tmux server should be killed before upgrading.
Diffstat (limited to 'cmd-set-option.c')
0 files changed, 0 insertions, 0 deletions