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, Sep 19, 5:25 PM
Unknown Object (File)
Sep 15 2025, 9:20 PM
Unknown Object (File)
Jul 6 2025, 6:46 AM
Unknown Object (File)
Jul 5 2025, 2:26 PM
Unknown Object (File)
Jun 25 2025, 7:53 AM
Unknown Object (File)
Jun 25 2025, 3:40 AM
Unknown Object (File)
Jun 22 2025, 10:19 PM
Unknown Object (File)
Jun 21 2025, 1:17 AM
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.