HomeFreeBSD

Drop group privileges after opening the kvm descriptor, otherwise, the code

Description

Drop group privileges after opening the kvm descriptor, otherwise, the code
would not drop privileges as expected.

While there also add checks for the drop and bail out immediately if we
failed.

MFC after: 3 days

Details

Provenance
delphijAuthored on
Parents
rS287344: Handle held pages earlier in the inactive queue scan.
Branches
Unknown
Tags
Unknown