git: kernel/linker: Support preloaded modules to use full path as name
Aaron LI
aly at crater.dragonflybsd.org
Tue Feb 21 06:17:25 PST 2023
commit 135d05a574d45cd0f89e3c73b275766479ea23b5
Author: Aaron LI <aly at aaronly.me>
Date: Tue Feb 21 13:45:54 2023 +0800
kernel/linker: Support preloaded modules to use full path as name
Now that the preloaded modules use full paths as their names, so pass
the pathname to preload_delete_name(), and also update it to correctly
compare the pathname to module's MODINFO_NAME field.
Meanwhile, do minor style cleanups.
Summary of changes:
sys/kern/kern_linker.c | 11 ++++-------
sys/kern/link_elf.c | 4 ++--
sys/kern/link_elf_obj.c | 4 ++--
sys/kern/subr_module.c | 21 ++++-----------------
sys/sys/linker.h | 4 ++--
5 files changed, 14 insertions(+), 30 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/135d05a574d45cd0f89e3c73b275766479ea23b5
--
DragonFly BSD source repository
More information about the Commits
mailing list