Page MenuHomeFreeBSD

imgact: Mark brandinfo and note structures as const
ClosedPublic

Authored by zlei on Oct 17 2025, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 29, 12:16 PM
Unknown Object (File)
Thu, May 21, 11:49 PM
Unknown Object (File)
Sat, May 9, 8:45 AM
Unknown Object (File)
Apr 29 2026, 9:41 AM
Unknown Object (File)
Apr 29 2026, 9:33 AM
Unknown Object (File)
Apr 27 2026, 6:39 PM
Unknown Object (File)
Apr 21 2026, 5:20 PM
Unknown Object (File)
Apr 15 2026, 6:10 AM

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Oct 17 2025, 5:30 PM

This is for other architectures, i386, arm, powerpc and riscv.

Another brandnotes to be constified are freebsd_brandnote and kfreebsd_brandnote.

Discussed with Mark. Posted to review to see if I missed anything.

sys/sys/imgact_elf.h
90

To add more to the const fest.

jrtc27 added inline comments.
sys/sys/imgact_elf.h
90

None of the other fields are const though?

kib added inline comments.
sys/sys/imgact_elf.h
90

This is why I am talking about fest.

This revision is now accepted and ready to land.Oct 17 2025, 11:10 PM
zlei marked 2 inline comments as done.Oct 18 2025, 4:17 PM
zlei added inline comments.
sys/sys/imgact_elf.h
90

const header_supported is now in final commit.