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)
Sun, Mar 29, 12:39 PM
Unknown Object (File)
Tue, Mar 24, 7:29 PM
Unknown Object (File)
Sat, Mar 21, 4:15 AM
Unknown Object (File)
Fri, Mar 20, 10:16 PM
Unknown Object (File)
Tue, Mar 17, 10:20 PM
Unknown Object (File)
Tue, Mar 17, 10:14 PM
Unknown Object (File)
Mar 6 2026, 12:26 PM
Unknown Object (File)
Mar 2 2026, 4:35 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.