Page MenuHomeFreeBSD

arm64: fix struct l_sigaction_t layout
ClosedPublic

Authored by mhorne on Dec 3 2020, 4:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 16, 4:31 PM
Unknown Object (File)
Nov 18 2025, 7:42 AM
Unknown Object (File)
Nov 18 2025, 2:07 AM
Unknown Object (File)
Nov 18 2025, 1:13 AM
Unknown Object (File)
Nov 17 2025, 7:22 AM
Unknown Object (File)
Nov 17 2025, 5:24 AM
Unknown Object (File)
Nov 10 2025, 12:46 AM
Unknown Object (File)
Nov 5 2025, 4:44 PM
Subscribers

Details

Summary

This was likely copied from amd64, but the layout of the struct differs
slightly between these platforms. This fixes spurious `unsupported sigaction
flag 0xXXXXXXXX` messages when executing some Linux binaries on arm64.

Linux struct definition: https://github.com/torvalds/linux/blob/34816d20f173a90389c8a7e641166d8ea9dce70a/include/uapi/asm-generic/signal.h#L104

Diff Detail

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

Event Timeline

mhorne requested review of this revision.Dec 3 2020, 4:35 PM

Yes, seems I just incorrectly copied this from x86.

This revision is now accepted and ready to land.Dec 8 2020, 3:48 PM
This revision was automatically updated to reflect the committed changes.