vmmdev_lookup() is used from sysctl context to find a VM by name.
There, a reference credential is already passed, so use that instead of
assuming that it's the same as curthread->td_ucred, even though that's
true today. No functional change intended.
Details
Details
- Reviewers
corvink jhb - Group Reviewers
bhyve - Commits
- rGc23da668fa8e: vmm: Be more consistent with the credential used for VM lookup
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable