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)
Sat, May 4, 7:43 PM
Unknown Object (File)
Thu, May 2, 11:30 AM
Unknown Object (File)
Feb 18 2024, 1:07 AM
Unknown Object (File)
Dec 20 2023, 5:55 AM
Unknown Object (File)
Dec 3 2023, 2:23 PM
Unknown Object (File)
Oct 28 2023, 5:30 PM
Unknown Object (File)
Sep 5 2023, 10:45 PM
Unknown Object (File)
Sep 5 2023, 10: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.