HomeFreeBSD

kcmp_pget(): do not accept TIDs

Description

kcmp_pget(): do not accept TIDs

Otherwise pget() might still look up and hold the current process.

Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on Apr 29 2024, 9:04 PM
Parents
rG1e01650a7870: kcmp_pget(): add an assert that we did not hold the current process
Branches
Unknown
Tags
Unknown