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)
Wed, Jun 10, 7:18 AM
Unknown Object (File)
Mon, Jun 1, 7:18 PM
Unknown Object (File)
Mon, Jun 1, 11:02 AM
Unknown Object (File)
Sun, May 31, 8:31 AM
Unknown Object (File)
Fri, May 29, 12:16 PM
Unknown Object (File)
May 21 2026, 11:49 PM
Unknown Object (File)
May 9 2026, 8:45 AM
Unknown Object (File)
Apr 29 2026, 9:41 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.