Page MenuHomeFreeBSD

kern_mib: remove kern.fallback_elf_brand compat sysctl
AcceptedPublic

Authored by chris.longros_gmail.com on Mar 25 2026, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 4:06 AM
Unknown Object (File)
Mon, May 11, 2:45 AM
Unknown Object (File)
Mon, May 11, 1:21 AM
Unknown Object (File)
Mon, May 11, 1:21 AM
Unknown Object (File)
Sat, May 9, 4:30 PM
Unknown Object (File)
Sat, May 9, 4:23 PM
Unknown Object (File)
Thu, May 7, 5:04 PM
Unknown Object (File)
Wed, Apr 29, 7:11 AM
Subscribers

Details

Reviewers
kib
emaste
Summary

This compatibility alias for kern.elf{32,64}.fallback_brand has been
marked for removal since FreeBSD 6.0.

Signed-off-by: Christos Longros <chris.longros@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71725
Build 68608: arc lint + arc unit

Event Timeline

Does the extern declaration for __elfN(fallback_brand) in sys/sys/imgact_elf.h is needed after the patch? Could the __elfN(fallback_brand) var made static in kern_elf.c?

Good point. Updated the made __elfN(fallback_brand) from extern to static in imgact_elf.c.

make fallback_brand static, remove extern

This revision is now accepted and ready to land.Mar 27 2026, 2:04 AM

@kib Hi, could you commit this when you time? Thanks!