diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-10-20 20:21:19 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-10-20 20:21:19 +0000 |
commit | d0745ab1593a099ccda19b36e5f94bc6bb482393 (patch) | |
tree | 021d0a45222700d8a5812324931bbec294d32856 /lib/libmenu | |
parent | ea4bdaf738113109e0ef80599a2ffe2150e44d69 (diff) |
Fix write to other user's tty. The device has to be opened with
O_WRONLY, but without O_CREAT. So freopen(3) has to be replaced
with open(2) and dup2(2).
from deraadt@
Diffstat (limited to 'lib/libmenu')
0 files changed, 0 insertions, 0 deletions