diff options
author | 2015-11-13 02:27:17 +0000 | |
---|---|---|
committer | 2015-11-13 02:27:17 +0000 | |
commit | 0468c08fb6167cb97b9d5edc07c92bba65e584e4 (patch) | |
tree | 0c4b9dc84f000e307d08bc2e202fee697a9757cb /sys/dev/usb/if_uath.c | |
parent | 4-step pledge in a program noone really uses anymore. (diff) | |
download | wireguard-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