Page MenuHomeFreeBSD

Consolidate identical ELF auxargs type defintions.
ClosedPublic

Authored by brooks on Oct 3 2018, 11:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 2:51 PM
Unknown Object (File)
Mon, Apr 29, 7:02 AM
Unknown Object (File)
Feb 8 2024, 5:08 PM
Unknown Object (File)
Jan 21 2024, 12:16 PM
Unknown Object (File)
Dec 20 2023, 5:20 AM
Unknown Object (File)
Dec 18 2023, 5:57 PM
Unknown Object (File)
Dec 1 2023, 5:17 AM
Unknown Object (File)
Sep 24 2023, 1:09 AM
Subscribers

Details

Summary

All platforms except powerpc use the same values and powerpc shares a majority of them.

Go ahead and declare AT_NOTELF, AT_UID, and AT_EUID in favor of the unused AT_DCACHEBSIZE, AT_ICACHEBSIZE, and AT_UCACHEBSIZE for powerpc as the supposed conflict doesn't matter

Test Plan

universe build

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19982
Build 19489: arc lint + arc unit

Event Timeline

Actually, my plan is to just change them on powerpc and have them unified across the board. They should then really just live in sys/elf_common.h. I think if we want to move them now we should just move them and maybe add some #ifdef powerpc that we eventually remove when renumbering powerpc's vectors. I think the actual renumbering change is probably too big of a change during code freeze.

  • Move all of AT_* to sys/elf_common.h with powerpc ifdefs.
This revision is now accepted and ready to land.Oct 4 2018, 9:08 PM

Universe builds except for the perennially broken riscv64sf. Tested amd64 with new and old user land and kernel in all parings (new, old; old, new; new, new).

imp added a subscriber: imp.

Love the deduplication of code.
No clue if it will work :)

This revision was automatically updated to reflect the committed changes.