Page MenuHomeFreeBSD

devmatch: read linker.hints from all module paths
ClosedPublic

Authored by bapt on May 6 2026, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 8, 2:48 PM
Unknown Object (File)
Sun, Sep 6, 7:50 PM
Unknown Object (File)
Sun, Sep 6, 12:17 AM
Unknown Object (File)
Fri, Sep 4, 10:02 AM
Unknown Object (File)
Thu, Sep 3, 11:10 PM
Unknown Object (File)
Wed, Sep 2, 6:52 AM
Unknown Object (File)
Tue, Sep 1, 11:04 PM
Unknown Object (File)
Mon, Aug 31, 6:09 AM
Subscribers

Details

Reviewers
imp
Summary

Previously, devmatch would stop at the first linker.hints file
found in kern.module_path. This meant modules installed in
/boot/modules/ were invisible to devmatch if /boot/kernel/
contained a linker.hints file (which it always does).

Merge hints from all directories in kern.module_path.
This allows third-party or out-of-tree kernel modules in
/boot/modules/ to be auto-loaded by devmatch just like
built-in modules.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72846
Build 69729: arc lint + arc unit