svn commit: r335690 - head/sys/kern

Gleb Smirnoff glebius at freebsd.org
Wed Jun 27 23:52:24 UTC 2018


On Wed, Jun 27, 2018 at 04:11:09AM +0000, Warner Losh wrote:
W> Author: imp
W> Date: Wed Jun 27 04:11:09 2018
W> New Revision: 335690
W> URL: https://svnweb.freebsd.org/changeset/base/335690
W> 
W> Log:
W>   Fix devctl generation for core files.
W>   
W>   We have a problem with vn_fullpath_global when the file exists. Work
W>   around it by printing the full path if the core file name starts with /,
W>   or current working directory followed by the filename if not.

Is this going to work when a core is dumped not at current working directory,
but at absolute path? e.g. kern.corefile=/var/log/cores/%N.core

Looks like the vn_fullpath_global needs to be fixed rather than problem
workarounded.

-- 
Gleb Smirnoff


More information about the svn-src-all mailing list