HomeFreeBSD

filedesc: obtain a stable copy of credentials in fget_unlocked

Description

filedesc: obtain a stable copy of credentials in fget_unlocked

This was broken in r278930.

While here tidy up fget_mmap to use fdp from local var instead of obtaining
the same pointer from td.

Details

Provenance
mjgAuthored on
Parents
rS278955: Added more mmap(2)/mlock(2) test scenarios.
Branches
Unknown
Tags
Unknown

Event Timeline