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)
Mon, Nov 17, 12:24 AM
Unknown Object (File)
Sun, Nov 16, 5:50 AM
Unknown Object (File)
Sun, Nov 16, 12:16 AM
Unknown Object (File)
Sat, Nov 15, 2:54 AM
Unknown Object (File)
Mon, Nov 3, 4:36 AM
Unknown Object (File)
Mon, Nov 3, 4:36 AM
Unknown Object (File)
Mon, Oct 27, 2:35 AM
Unknown Object (File)
Mon, Oct 27, 2:34 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.