aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-02-21 01:44:31 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-02-21 01:44:31 +0000
commit721a81c369ac039ad98c2caed4e25d5b338b5308 (patch)
treeb1d91c467f39edc674161cd062219b16782a5d39 /sys/netgraph
parent7de6c5ebbddfec6c6ccd8e00c6e53336f046be5d (diff)
downloadsrc-721a81c369ac039ad98c2caed4e25d5b338b5308.tar.gz
src-721a81c369ac039ad98c2caed4e25d5b338b5308.zip
vfs: stop duplicating vnode work in audit during path lookup
Duplicating the work was putting an avoidable requirement that the filedesc lock is held across the entire operation (otherwise by the time audit reads vnode pointers another thread in the same process can chdir somewhere else, making audit log things using different vnode than the one which will be used for actual lookup). Do the obvious thing and pass down vnodes which will be used.
Notes
Notes: svn path=/head/; revision=358192
Diffstat (limited to 'sys/netgraph')
0 files changed, 0 insertions, 0 deletions