Page MenuHomeFreeBSD

Use 4 byte stack alignment instead of 8 byte.
ClosedPublic

Authored by jhb on Dec 5 2019, 9:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 15 2025, 5:06 PM
Unknown Object (File)
Dec 14 2025, 8:46 PM
Unknown Object (File)
Nov 28 2025, 2:04 PM
Unknown Object (File)
Nov 27 2025, 7:58 PM
Unknown Object (File)
Nov 25 2025, 11:56 PM
Unknown Object (File)
Nov 13 2025, 8:45 PM
Unknown Object (File)
Nov 13 2025, 4:27 PM
Unknown Object (File)
Nov 13 2025, 11:12 AM
Subscribers
None

Details

Summary

This was an old bug prior to r355373 and mostly harmless as it would
waste at most a handful of bytes on the stack.

Test Plan
  • compiled only

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 27990
Build 26151: arc lint + arc unit

Event Timeline

kib added inline comments.
sys/amd64/linux32/linux32_sysvec.c
751

Does linux need canary in auxv ?

This revision is now accepted and ready to land.Dec 6 2019, 1:04 PM
jhb marked an inline comment as done.Dec 9 2019, 6:33 PM
jhb added inline comments.
sys/amd64/linux32/linux32_sysvec.c
229

Linux uses the canary here for AT_RANDOM.