Page MenuHomeFreeBSD

arm64: fix struct l_sigaction_t layout
ClosedPublic

Authored by mhorne on Dec 3 2020, 4:35 PM.
Tags
None
Referenced Files
F167309399: D27460.diff
Thu, Aug 20, 8:12 PM
Unknown Object (File)
Mon, Aug 17, 5:05 PM
Unknown Object (File)
Mon, Aug 17, 5:05 PM
Unknown Object (File)
Mon, Aug 17, 5:05 PM
Unknown Object (File)
Mon, Aug 10, 10:08 PM
Unknown Object (File)
Mon, Aug 10, 1:03 AM
Unknown Object (File)
Sat, Aug 8, 4:38 AM
Unknown Object (File)
Fri, Aug 7, 10:57 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.