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)
Thu, Jun 18, 2:55 AM
Unknown Object (File)
Thu, Jun 4, 3:33 PM
Unknown Object (File)
Thu, Jun 4, 9:00 AM
Unknown Object (File)
Sat, May 30, 7:48 PM
Unknown Object (File)
May 20 2026, 11:32 PM
Unknown Object (File)
May 20 2026, 11:32 PM
Unknown Object (File)
May 11 2026, 4:06 AM
Unknown Object (File)
May 11 2026, 2:45 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!