summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_uath.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2015-11-13 02:27:17 +0000
committerkrw <krw@openbsd.org>2015-11-13 02:27:17 +0000
commit0468c08fb6167cb97b9d5edc07c92bba65e584e4 (patch)
tree0c4b9dc84f000e307d08bc2e202fee697a9757cb /sys/dev/usb/if_uath.c
parent4-step pledge in a program noone really uses anymore. (diff)
downloadwireguard-openbsd-0468c08fb6167cb97b9d5edc07c92bba65e584e4.tar.xz
wireguard-openbsd-0468c08fb6167cb97b9d5edc07c92bba65e584e4.zip
Move from opening/closing disk for every i/o to opening the disk once
and saving the fd in the global 'disk' structure. Stop passing around fd's and just use the global. Makes pledge() feasible. Prompted by and ok deraadt@
Diffstat (limited to 'sys/dev/usb/if_uath.c')
0 files changed, 0 insertions, 0 deletions