summaryrefslogtreecommitdiff
path: root/usr.bin/shar
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-23 06:05:03 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-23 06:05:03 +0000
commit2b84192e7b8eb93391d542663ddeb26ad4cec6d5 (patch)
tree98a56b06d2927f5f59975ce74d3924d03f0b9fc4 /usr.bin/shar
parent516ffc77ed11b859ee38796488a8b3bb726d11a8 (diff)
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 'usr.bin/shar')
0 files changed, 0 insertions, 0 deletions