summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2007-01-20 18:21:51 +0000
committerkrw <krw@openbsd.org>2007-01-20 18:21:51 +0000
commit32b9121c9cf995b8d6ef7f7fb144572ce6c01b73 (patch)
tree2beaa83fa03b5bfba3ae0cb804091c9e82f2569d /usr.bin/ssh/clientloop.c
parentIgnore SIGPIPE in the parent and RDE as well. (diff)
downloadwireguard-openbsd-32b9121c9cf995b8d6ef7f7fb144572ce6c01b73.tar.xz
wireguard-openbsd-32b9121c9cf995b8d6ef7f7fb144572ce6c01b73.zip
Add media_fileno, media_blkno into st_softc and report their values
back via MTIOCGET ioctl, rather than always reporting -1 (unknown). Simple 'Set to 0 on rewind, increment on file marks and positioning, and set back to -1 on any ambiguity' logic. No functional impact on current operation. Should allow things like Bacula to work much faster by keeping track of the current media position. Adapted from FreeBSD code. ok beck@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
0 files changed, 0 insertions, 0 deletions