HomeFreeBSD

Do not call vn_fullpath(9) (through the pmc_getfilename() wrapper)

Description

Do not call vn_fullpath(9) (through the pmc_getfilename() wrapper)
when its result is immediately ignored, i.e. for kernel processes
forked from the user process. Do not test for non-null before freeing
string.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

Details

Provenance
kibAuthored on
Parents
rS295351: Merge ^/head r294961 through r295350.
Branches
Unknown
Tags
Unknown