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)
Thu, Aug 13, 12:13 AM
Unknown Object (File)
Sun, Aug 9, 8:10 PM
Unknown Object (File)
Sat, Aug 8, 6:11 PM
Unknown Object (File)
Fri, Aug 7, 8:28 PM
Unknown Object (File)
Jul 25 2026, 7:51 PM
Unknown Object (File)
Jul 25 2026, 5:56 AM
Unknown Object (File)
Jul 23 2026, 7:35 AM
Unknown Object (File)
Jul 21 2026, 6:40 PM

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.