git: kernel/linker: Resolve module's relative path to full path

Aaron LI aly at crater.dragonflybsd.org
Tue Feb 21 06:17:25 PST 2023


commit b6d2621bc1a41a4cc7fad1df70437493282c260b
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Feb 12 15:23:32 2023 +0800

    kernel/linker: Resolve module's relative path to full path
    
    Before this change, the relative path was stored and shown in
    'kldstat -v' output when a relative path was used to load it.
    That behavior wasn't actually expected since we really want the full
    paths in 'kldstat -v' output to avoid any confusion.  So resolve the
    relative paths to absolute full paths.

Summary of changes:
 sys/kern/kern_linker.c | 49 +++++++++++++++++++++++++++++++++++--------------
 1 file changed, 35 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b6d2621bc1a41a4cc7fad1df70437493282c260b


-- 
DragonFly BSD source repository


More information about the Commits mailing list