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)
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
Unknown Object (File)
Sep 14 2023, 8:32 PM
Unknown Object (File)
Sep 14 2023, 8:32 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.