summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-21 01:09:11 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-21 01:09:11 +0000
commitaec49b06efd518437143ea082ebc3444b205f905 (patch)
tree519a11628903805f9d127bb601f4e36b25cb8bd9 /usr.bin
parent134cdfb67d09790ddb041cb0c8a22ddd7fc6e166 (diff)
Add assertwaitok(9) to declare code paths that assume they can sleep.
Currently only checks that we're not in an interrupt context, but will soon check that we're not holding any mutexes either. Update malloc(9) and pool(9) to use assertwaitok(9) as appropriate. "i like it" art@, oga@, marco@; "i see no harm" deraadt@; too trivial for me to bother prying actual oks from people.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions