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
F162633444: D56085.diff
Wed, Jul 15, 6:58 AM
Unknown Object (File)
Sun, Jul 12, 1:53 PM
Unknown Object (File)
Fri, Jul 3, 10:30 AM
Unknown Object (File)
Sat, Jun 27, 1:14 AM
Unknown Object (File)
Thu, Jun 25, 7:54 AM
Unknown Object (File)
Thu, Jun 25, 4:17 AM
Unknown Object (File)
Wed, Jun 24, 9:01 PM
Unknown Object (File)
Wed, Jun 24, 7:20 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!