diff options
author | 2017-01-15 23:18:05 +0000 | |
---|---|---|
committer | 2017-01-15 23:18:05 +0000 | |
commit | 37a1797906d1a7c7372119b9e86902fc2b1a5f4f (patch) | |
tree | afb2f0bc1589cd1446b774a64b9cc34f09873f2a /usr.bin/mandoc/html.h | |
parent | Add some guidelines how to write regression tests to the bsd.regress.mk(5) (diff) | |
download | wireguard-openbsd-37a1797906d1a7c7372119b9e86902fc2b1a5f4f.tar.xz wireguard-openbsd-37a1797906d1a7c7372119b9e86902fc2b1a5f4f.zip |
When traversing the mount list, the current mount point is locked
with vfs_busy(). If the FOREACH_SAFE macro is used, the next pointer
is not locked and could be freed by another process. Unless
necessary, do not use _SAFE as it is unsafe. In vfs_unmountall()
the current pointer is actullay freed. Add a comment that this
race has to be fixed later.
OK krw@
Diffstat (limited to 'usr.bin/mandoc/html.h')
0 files changed, 0 insertions, 0 deletions