summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2007-05-29 23:02:02 +0000
committertom <tom@openbsd.org>2007-05-29 23:02:02 +0000
commit88978aa0085a93c67d2028cdaa60cf0ea12f72d2 (patch)
tree8fbc0c31b494fb138be52abd325732879b72e856 /usr.bin/diff/diff.h
parentteach hoststatectl's parser about reload. the code to handle it is (diff)
downloadwireguard-openbsd-88978aa0085a93c67d2028cdaa60cf0ea12f72d2.tar.xz
wireguard-openbsd-88978aa0085a93c67d2028cdaa60cf0ea12f72d2.zip
Improve copyinstr and copyoutstr by performing the check against
VM_MAXUSER_ADDRESS before running the loop rather than for every byte we copy. Saves 4 bytes in locore :) Similar to how this is done on amd64. ok weingart@ art@
Diffstat (limited to 'usr.bin/diff/diff.h')
0 files changed, 0 insertions, 0 deletions