HomeFreeBSD

Fix devctl generation for core files.

Description

Fix devctl generation for core files.

We have a problem with vn_fullpath_global when the file exists. Work
around it by printing the full path if the core file name starts with /,
or current working directory followed by the filename if not.

Sponsored by: Netflix
Differential Review: https://reviews.freebsd.org/D16026

Details

Provenance
impAuthored on Jun 27 2018, 4:11 AM
Parents
rGab531b882577: Create new devctl_safe_quote_sb to copy a source string into a struct
Branches
Unknown
Tags
Unknown