summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-08-14 10:58:33 +0000
committermiod <miod@openbsd.org>2005-08-14 10:58:33 +0000
commit03093bfc8744965caa175fc7b6c24a83ecd07356 (patch)
tree7193b006d951e52277753f75d3385ca367ee8d7d /usr.bin/cvs/diff.c
parentAdd mquery to the system calls which need extra care due to off_t arguments (diff)
downloadwireguard-openbsd-03093bfc8744965caa175fc7b6c24a83ecd07356.tar.xz
wireguard-openbsd-03093bfc8744965caa175fc7b6c24a83ecd07356.zip
Add more flexibility to the fast trap handlers mechanism:
- add the ability to deregister a fast trap handler. - when registering a fast trap, provide an optional callback which will be invoked if we try to register a regular trap handler later; the callback will be responsible to replace the fast trap handler with a regular trap handler (and is allowed to fail). Alter audioamd(4) to take advantage of this, so that it can share its interrupt with stp(4) on SPARCclassic machines. Problem found the hard way and fix tested by Jason George; discussed and ok deraadt@
Diffstat (limited to 'usr.bin/cvs/diff.c')
0 files changed, 0 insertions, 0 deletions