diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-02-21 01:44:31 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-02-21 01:44:31 +0000 |
commit | 721a81c369ac039ad98c2caed4e25d5b338b5308 (patch) | |
tree | b1d91c467f39edc674161cd062219b16782a5d39 /sys/netgraph | |
parent | 7de6c5ebbddfec6c6ccd8e00c6e53336f046be5d (diff) | |
download | src-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