summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-10-05 09:37:47 +0000
committerbms <bms@FreeBSD.org>2003-10-05 09:37:47 +0000
commit44fa0fe4a22addde4c11acaf13d43cae411409e1 (patch)
tree617c187fa38be463e1ff1b5d7a0b5a44d0284983 /sys/ufs
parent0f917818e614fa0b71f349f7d3ad6c9d380a6b60 (diff)
downloadFreeBSD-src-44fa0fe4a22addde4c11acaf13d43cae411409e1.zip
FreeBSD-src-44fa0fe4a22addde4c11acaf13d43cae411409e1.tar.gz
Fix a security problem in sysctl() the long way round.
Use pre-emption detection to avoid the need for wiring a userland buffer when copying opaque data structures. sysctl_wire_old_buffer() is now a no-op. Other consumers of this API should use pre-emption detection to notice update collisions. vslock() and vsunlock() should no longer be called by any code and should be retired in subsequent commits. Discussed with: pete, phk MFC after: 1 week
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud