diff options
author | 2017-04-20 17:48:30 +0000 | |
---|---|---|
committer | 2017-04-20 17:48:30 +0000 | |
commit | c2a62bf3db04acca153f21fa3dd7148f75564929 (patch) | |
tree | 1abaa91d04b536c269e085b26156b114061d6c94 /usr.bin/tmux/tmux.c | |
parent | Fix previous. (diff) | |
download | wireguard-openbsd-c2a62bf3db04acca153f21fa3dd7148f75564929.tar.xz wireguard-openbsd-c2a62bf3db04acca153f21fa3dd7148f75564929.zip |
Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs
to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege
separation or pledge().
Based on a diff from reyk@.
ok deraadt millert
Diffstat (limited to 'usr.bin/tmux/tmux.c')
0 files changed, 0 insertions, 0 deletions