Page MenuHomeFreeBSD

arm64: fix struct l_sigaction_t layout
ClosedPublic

Authored by mhorne on Dec 3 2020, 4:35 PM.
Tags
None
Referenced Files
F163449310: D27460.id80451.diff
Thu, Jul 23, 7:24 AM
Unknown Object (File)
Tue, Jul 21, 6:04 PM
Unknown Object (File)
Tue, Jul 21, 5:07 AM
Unknown Object (File)
Thu, Jul 16, 1:20 AM
Unknown Object (File)
Mon, Jul 6, 4:12 PM
Unknown Object (File)
Apr 24 2026, 2:32 AM
Unknown Object (File)
Apr 23 2026, 7:23 PM
Unknown Object (File)
Apr 21 2026, 7:52 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.