git: kernel: Expose the build-ID via "kern.build_id" sysctl
Aaron LI
aly at crater.dragonflybsd.org
Sun Jun 21 03:01:59 PDT 2026
commit 4e67623b16745c432edc850fedc01d1b086bdc32
Author: Aaron LI <aly at aaronly.me>
Date: Sun Jun 21 13:52:23 2026 +0800
kernel: Expose the build-ID via "kern.build_id" sysctl
Update the linker scripts to expose the start and end of the
linker-generated build-ID, and add the "kern.build_id" sysctl handler to
fetch the information.
A subsequent commit will update uname(1) to report it as well.
Obtained-from: FreeBSD (https://reviews.freebsd.org/D20326)
Summary of changes:
sys/kern/kern_mib.c | 44 +++++++++++++++++++++++++++++
sys/platform/pc64/conf/ldscript.x86_64 | 6 +++-
sys/platform/vkernel64/conf/ldscript.x86_64 | 6 +++-
3 files changed, 54 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e67623b16745c432edc850fedc01d1b086bdc32
--
DragonFly BSD source repository
More information about the Commits
mailing list