correct the vnd-on-vnd dev_t test, and avoid leaking a cred in an
authorderaadt <deraadt@openbsd.org>
Sun, 21 Nov 2021 23:07:11 +0000 (23:07 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 21 Nov 2021 23:07:11 +0000 (23:07 +0000)
commitc9989a63e9e08ce5601f18723d41620630c38f71
treebd2952fd3f2bad5067adf832dfca7c0838c04e1d
parentf015889e23152549944ca94514b4faf95a3cbfe6
correct the vnd-on-vnd dev_t test, and avoid leaking a cred in an
obscure condition
ok tb
sys/dev/vnd.c