summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-20 17:48:30 +0000
committernicm <nicm@openbsd.org>2017-04-20 17:48:30 +0000
commitc2a62bf3db04acca153f21fa3dd7148f75564929 (patch)
tree1abaa91d04b536c269e085b26156b114061d6c94 /usr.bin/tmux/tmux.c
parentFix previous. (diff)
downloadwireguard-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