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)
Sun, Aug 9, 8:54 AM
Unknown Object (File)
Sun, Aug 9, 2:35 AM
Unknown Object (File)
Sat, Aug 8, 5:15 PM
Unknown Object (File)
Fri, Aug 7, 8:23 AM
Unknown Object (File)
Mon, Jul 27, 3:31 AM
Unknown Object (File)
Sun, Jul 26, 1:27 PM
Unknown Object (File)
Sat, Jul 25, 7:30 PM
Unknown Object (File)
Sat, Jul 25, 5:46 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!

Any updates regarding this patch ? :) @emaste @kib